Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include.preload.js

Issue 5225119261655040: Issue 1282 - Don't generate filters conflicting with existing exception rules (Closed)
Patch Set: Renamed addElemHideFilter() and simplified addStyleAttributeFilter() Created Dec. 15, 2014, 5:25 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include.postload.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include.preload.js
===================================================================
--- a/include.preload.js
+++ b/include.preload.js
@@ -20,10 +20,13 @@
var typeMap = {
"img": "IMAGE",
"input": "IMAGE",
+ "picture": "IMAGE",
"audio": "MEDIA",
"video": "MEDIA",
"frame": "SUBDOCUMENT",
- "iframe": "SUBDOCUMENT"
+ "iframe": "SUBDOCUMENT",
+ "object": "OBJECT",
+ "embed": "OBJECT"
};
function checkCollapse(element)
« no previous file with comments | « include.postload.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld