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

Unified Diff: lib/whitelisting.js

Issue 29372398: Issue 4804 - Avoid trashing pagemaps prematurely (Closed)
Patch Set: Rebased Created Jan. 23, 2017, 10:19 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 | « chrome/ext/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/whitelisting.js
diff --git a/lib/whitelisting.js b/lib/whitelisting.js
index da2f187d797906149caf29831a0187942a74525e..93a5a5a20bdb17d166d852bcd1e14da0fcb06914 100644
--- a/lib/whitelisting.js
+++ b/lib/whitelisting.js
@@ -182,11 +182,6 @@ function onHeadersReceived(details)
let key = checkKey(header.value, url);
if (key)
{
- // For pre-rendered tabs we don't know for sure the navigation is going
- // to happen until the onCommitted event fires. Unfortunately if we want
- // sitekey whitelisting to work for requests made before onCommitted has
- // been fired we must update the page structure now anyway.
- ext._updatePageFrameStructure(details.frameId, details.tabId, details.url, true);
recordKey(key, page, url);
break;
}
« no previous file with comments | « chrome/ext/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld