Bug 12182 - XMLHttpRequest should raise SECURITY_ERR for same-origin policy violations
Summary: XMLHttpRequest should raise SECURITY_ERR for same-origin policy violations
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Julien Chaffraix
URL: http://www.w3.org/TR/XMLHttpRequest/#...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 05:37 PST by Alexey Proskuryakov
Modified: 2008-03-10 09:26 PDT (History)
0 users

See Also:


Attachments
First version (5.30 KB, patch)
2008-03-02 10:12 PST, Julien Chaffraix
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2007-01-09 05:37:42 PST
Currently, we raise our own exception; the draft now specifies that SECURITY_ERR should be raised.
Comment 1 Eric Seidel (no email) 2008-01-01 16:29:40 PST
http://www.w3.org/TR/XMLHttpRequest/#security-err
Comment 2 Julien Chaffraix 2008-03-02 10:12:26 PST
Created attachment 19484 [details]
First version
Comment 3 Darin Adler 2008-03-02 18:31:54 PST
Comment on attachment 19484 [details]
First version

r=me
Comment 4 Darin Adler 2008-03-10 09:26:39 PDT
Committed revision 30932.