From f4bde3676e9e1254b09d7aa37c34ddd3a64e8b2e Mon Sep 17 00:00:00 2001 From: Blake Kaplan Date: Fri, 2 Sep 2011 16:48:49 -0700 Subject: [PATCH] Bug 684115 - Test what happens when chrome takes an XHR from one origin and sticks it in another origin. r=sicking --- dom/tests/mochitest/chrome/Makefile.in | 1 + .../mochitest/chrome/test_moving_xhr.xul | 41 +++++++++++++++++++ dom/tests/mochitest/general/Makefile.in | 1 + .../mochitest/general/file_moving_xhr.html | 26 ++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 dom/tests/mochitest/chrome/test_moving_xhr.xul create mode 100644 dom/tests/mochitest/general/file_moving_xhr.html diff --git a/dom/tests/mochitest/chrome/Makefile.in b/dom/tests/mochitest/chrome/Makefile.in index 4d55d443d07b..8f3c1a0eaf30 100644 --- a/dom/tests/mochitest/chrome/Makefile.in +++ b/dom/tests/mochitest/chrome/Makefile.in @@ -69,6 +69,7 @@ _TEST_FILES = \ test_cyclecollector.xul \ test_resize_move_windows.xul \ test_popup_blocker_chrome.xul \ + test_moving_xhr.xul \ $(NULL) ifeq (WINNT,$(OS_ARCH)) diff --git a/dom/tests/mochitest/chrome/test_moving_xhr.xul b/dom/tests/mochitest/chrome/test_moving_xhr.xul new file mode 100644 index 000000000000..c02737b0d365 --- /dev/null +++ b/dom/tests/mochitest/chrome/test_moving_xhr.xul @@ -0,0 +1,41 @@ + + + + + + + + + + Mozilla Bug 654370 + + + + + +