Last Comment Bug 684115 - Test XMLHttpRequests when they're moved between origins
: Test XMLHttpRequests when they're moved between origins
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: x86_64 Linux
: -- normal (vote)
: mozilla9
Assigned To: Blake Kaplan (:mrbkap)
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-01 17:26 PDT by Blake Kaplan (:mrbkap)
Modified: 2011-09-04 17:00 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Test (4.41 KB, patch)
2011-09-01 17:28 PDT, Blake Kaplan (:mrbkap)
jonas: review+
Details | Diff | Splinter Review

Description Blake Kaplan (:mrbkap) 2011-09-01 17:26:13 PDT
dherman asked me on IRC what happened when an XHR from one origin was moved by chrome into another origin. There didn't appear to be any tests for this, so I wrote one.
Comment 1 Blake Kaplan (:mrbkap) 2011-09-01 17:28:19 PDT
Created attachment 557719 [details] [diff] [review]
Test

Is there anything else I should be testing here?
Comment 2 Jonas Sicking (:sicking) No longer reading bugmail consistently 2011-09-01 17:44:51 PDT
Comment on attachment 557719 [details] [diff] [review]
Test

Also try setting xhr.withCredentials to check that setting attributes also throw.

r=me with that.
Comment 3 Ed Morley [:emorley] 2011-09-04 17:00:07 PDT
http://hg.mozilla.org/mozilla-central/rev/9d79f12f8d33

Note You need to log in before you can comment on or make changes to this bug.