Bug 1345457 - correct the xhr/open-during-abort-processing.htm web platform test to match the spec; r=annevk
authorThomas Wisniewski <twisniewski@mozilla.com>
Mon, 18 Mar 2019 15:58:47 +0000
changeset 464888 75b190178c5a3cf1aa1cefc0ab2139f7078d126c
parent 464887 711d5fdae7b254489d47f3172e50c7738c4e77dd
child 464889 f525479fabd6ff2bbd6cce61bced03824b4e2c90
push id35727
push userdvarga@mozilla.com
push dateTue, 19 Mar 2019 09:48:59 +0000
treeherdermozilla-central@70baa37ae1eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersannevk
bugs1345457
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1345457 - correct the xhr/open-during-abort-processing.htm web platform test to match the spec; r=annevk correct the xhr/open-during-abort-processing.htm web platform test to match the spec Differential Revision: https://phabricator.services.mozilla.com/D23802
testing/web-platform/meta/xhr/open-during-abort-processing.htm.ini
testing/web-platform/tests/xhr/open-during-abort-processing.htm
deleted file mode 100644
--- a/testing/web-platform/meta/xhr/open-during-abort-processing.htm.ini
+++ /dev/null
@@ -1,4 +0,0 @@
-[open-during-abort-processing.htm]
-  [XMLHttpRequest: open() during abort processing - abort() called from onloadstart]
-    expected: FAIL
-
--- a/testing/web-platform/tests/xhr/open-during-abort-processing.htm
+++ b/testing/web-platform/tests/xhr/open-during-abort-processing.htm
@@ -8,18 +8,16 @@ async_test(t => {
   let client = new XMLHttpRequest(),
       test_state = 1,
       log = [],
       expected = [
         "onloadstart readyState before abort() 1",
         "onreadystatechange readyState before open() 4",
         "onreadystatechange readyState after open() 1",
         "onloadstart readyState 1",
-        "upload.onabort 1",
-        "upload.onloadend 1",
         "client.onabort 1",
         "readyState after abort() 1",
         "client.onload 4"
       ]
 
   client.onreadystatechange = t.step_func(() => {
     if(test_state === 2){
       test_state = 3