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

Unified Diff: webrequest.js

Issue 5666188336037888: Issue 581 - Fixed element hiding/collapsing in anonymous frames on Chrome (Closed)
Patch Set: Addressed comments Created June 17, 2014, 2:12 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 | « lib/basedomain.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrequest.js
===================================================================
--- a/webrequest.js
+++ b/webrequest.js
@@ -52,7 +52,7 @@
if (isFrameWhitelisted(page, frame))
return true;
- var docDomain = extractHostFromURL(frame.url);
+ var docDomain = extractHostFromFrame(frame);
var filter = defaultMatcher.matchesAny(
url,
type == "sub_frame" ? "SUBDOCUMENT" : type.toUpperCase(),
« no previous file with comments | « lib/basedomain.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld