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: Rely on frame's src attribute again Created June 3, 2014, 8:34 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
« include.preload.js ('K') | « 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(),
« include.preload.js ('K') | « lib/basedomain.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld