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

Unified Diff: ext/background.js

Issue 29808555: Issue 6746 - Update frame structure for about:srcdoc frames earlier (Closed)
Patch Set: Created June 15, 2018, 10:25 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ext/background.js
diff --git a/ext/background.js b/ext/background.js
index a42a1ad021f31db063287b533d62c99bc29a77c0..1acfcc65e2e385a473a80e8b4e4536aef4c42c94 100644
--- a/ext/background.js
+++ b/ext/background.js
@@ -264,7 +264,7 @@
// Requests can be made by about:blank frames before the frame's
// onCommitted event has fired, so we update the frame structure
// for those now.
- if (details.url == "about:blank")
+ if (details.url.startsWith("about:"))
{
updatePageFrameStructure(details.frameId, details.tabId, details.url,
details.parentFrameId);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld