Description[Extensions] Fix improper extension tab ownership bug
An extension can "own" a tab if it owns the main frame, and
we block content scripts in this case. But there was a race
that meant the tab wasn't being updated in time for document_start.
Instead of informing the tab of its owner across IPC, use the
security origin of the top frame, since this can now be
accessed from remote frames as well.
BUG=507461
Committed: https://crrev.com/f01734ae15fc5c2a39181b25999683d336109dbf
Cr-Commit-Position: refs/heads/master@{#338300}
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Created: 5 years, 5 months ago
Messages
Total messages: 12 (4 generated)
|