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

Unified Diff: background.js

Issue 5989914281771008: Use Shadow DOM for element hiding (Closed)
Patch Set: Created April 15, 2014, 9:48 a.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 | « no previous file | include.preload.js » ('j') | include.preload.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -483,7 +483,7 @@
switch (msg.type)
{
case "get-selectors":
- var selectors = null;
+ var selectors = [];
if (!isFrameWhitelisted(sender.page, sender.frame, "DOCUMENT") &&
!isFrameWhitelisted(sender.page, sender.frame, "ELEMHIDE"))
« no previous file with comments | « no previous file | include.preload.js » ('j') | include.preload.js » ('J')

Powered by Google App Engine
This is Rietveld