Last Comment Bug 684115 - Test XMLHttpRequests when they're moved between origins
: Test XMLHttpRequests when they're moved between origins
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: x86_64 Linux
-- normal (vote)
: mozilla9
Assigned To: Blake Kaplan (:mrbkap)
: Andrew Overholt [:overholt]
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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

Description User image 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 User image Blake Kaplan (:mrbkap) 2011-09-01 17:28:19 PDT
Created attachment 557719 [details] [diff] [review]

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

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

r=me with that.
Comment 3 User image Ed Morley [:emorley] 2011-09-04 17:00:07 PDT

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