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; |
} |