DescriptionAllow cross-origin XHR in unblessed extension context
Allow non-sandboxed extension pages in a non-extension process to use cross-origin XHR when the extension has the correct permissions.
Removed duplicate XHR origin whitelisting logic. Now the XHR origin logic for content scripts is identical to the extension's.
Contributed by Rob Wu <rob@robwu.nl>
BUG=302548
TEST=Follow the steps-to-reproduce in the linked bug.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254951
Patch Set 1 #
Total comments: 1
Patch Set 2 : Refactor content script origin logic #
Total comments: 1
Patch Set 3 : Combine origin whitelist logic #Patch Set 4 : disable chrome://extension-icon for non-extension contexts #
Total comments: 1
Patch Set 5 : remove curly braces #
Messages
Total messages: 16 (0 generated)
|