Bug 75838 - Re-wire same-origin security checks through ScriptExecutionContext rather than DOMWindow
Summary: Re-wire same-origin security checks through ScriptExecutionContext rather tha...
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adam Barth
URL:
Keywords:
Depends on:
Blocks: 75793
  Show dependency treegraph
 
Reported: 2012-01-09 02:27 PST by Adam Barth
Modified: 2012-08-02 11:08 PDT (History)
2 users (show)

See Also:


Attachments
Patch (7.63 KB, patch)
2012-01-09 02:30 PST, Adam Barth
abarth: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Barth 2012-01-09 02:27:19 PST
Re-wire same-origin security checks through ScriptExecutionContext rather than DOMWindow
Comment 1 Adam Barth 2012-01-09 02:30:14 PST
Created attachment 121635 [details]
Patch
Comment 2 Eric Seidel (no email) 2012-01-09 11:10:37 PST
Comment on attachment 121635 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=121635&action=review

> Source/WebCore/bindings/js/JSDOMBinding.cpp:231
> +bool shouldAllowAccessToContext(JSC::ExecState* exec, ScriptExecutionContext* targetContext)

What to put FIXME: remove this, next to the dom window equivalants?