Repository navigation
Closed
Labels
Description
While running Web Platform Tests, XHR tests are failing for some reason.
Here's the summary of wpt-tests on master.
Summary
=======
Ran 152982 tests (2185 parents, 150797 subtests)
Expected results: 152853
Unexpected results: 47 (FAIL: 28, PASS: 1, TIMEOUT: 18)
Skipped: 82
Unexpected Results
==================
/XMLHttpRequest/event-upload-progress-crossorigin.sub.htm
---------------------------------------------------------
TIMEOUT XMLHttpRequest: upload progress event for cross-origin requests
TIMEOUT [Parent]
/XMLHttpRequest/send-redirect-bogus-sync.htm
--------------------------------------------
FAIL XMLHttpRequest: send() - Redirects (bogus Location header; sync) (302: http://z)
FAIL XMLHttpRequest: send() - Redirects (bogus Location header; sync) (303: http://z)
/XMLHttpRequest/send-redirect-bogus.htm
---------------------------------------
FAIL XMLHttpRequest: send() - Redirects (bogus Location header) (302: http://example.not)
FAIL XMLHttpRequest: send() - Redirects (bogus Location header) (303: http://example.not)
/XMLHttpRequest/send-redirect-to-non-cors.htm
---------------------------------------------
FAIL XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (301)
FAIL XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (302)
FAIL XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (303)
FAIL XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (307)
/XMLHttpRequest/send-network-error-async-events.sub.htm
-------------------------------------------------------
TIMEOUT XmlHttpRequest: The send() method: Fire a
TIMEOUT [Parent]
/XMLHttpRequest/send-non-same-origin.sub.htm
--------------------------------------------
TIMEOUT [Parent]
/XMLHttpRequest/timeout-cors-async.htm
--------------------------------------
PASS expected FAIL XMLHttpRequest: timeout event and cross-origin request
/dom/nodes/Document-getElementsByTagName.html
---------------------------------------------
FAIL Should be able to set expando shadowing a proto prop (item)
FAIL Should be able to set expando shadowing a proto prop (namedItem)
/dom/nodes/Element-getElementsByTagName.html
--------------------------------------------
FAIL Should be able to set expando shadowing a proto prop (item)
FAIL Should be able to set expando shadowing a proto prop (namedItem)
/html/dom/elements/global-attributes/custom-attrs.html
------------------------------------------------------
FAIL Setting an Element's dataset property should not interfere with namespaced attributes with same name
/html/dom/elements/global-attributes/dataset-set.html
-----------------------------------------------------
FAIL Setting element.dataset['foo'] should also change the value of element.getAttribute('data-foo')'
FAIL Setting element.dataset['fooBar'] should also change the value of element.getAttribute('data-foo-bar')'
FAIL Setting element.dataset['-'] should also change the value of element.getAttribute('data--')'
FAIL Setting element.dataset['Foo'] should also change the value of element.getAttribute('data--foo')'
FAIL Setting element.dataset['-Foo'] should also change the value of element.getAttribute('data---foo')'
FAIL Setting element.dataset[''] should also change the value of element.getAttribute('data-')'
FAIL Setting element.dataset['à'] should also change the value of element.getAttribute('data-à')'
/html/dom/reflection-grouping.html
----------------------------------
TIMEOUT [Parent]
/html/dom/reflection-embedded.html
----------------------------------
TIMEOUT [Parent]
/html/dom/reflection-forms.html
-------------------------------
TIMEOUT [Parent]
/html/dom/reflection-sections.html
----------------------------------
TIMEOUT [Parent]
/html/dom/reflection-tabular.html
---------------------------------
TIMEOUT [Parent]
/html/dom/reflection-text.html
------------------------------
TIMEOUT [Parent]
/html/semantics/embedded-content/the-canvas-element/security.drawImage.canvas.sub.html
--------------------------------------------------------------------------------------
TIMEOUT [Parent]
/html/semantics/embedded-content/the-canvas-element/security.drawImage.image.sub.html
-------------------------------------------------------------------------------------
TIMEOUT [Parent]
/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.fillStyle.sub.html
----------------------------------------------------------------------------------------------
TIMEOUT [Parent]
/html/semantics/embedded-content/the-canvas-element/security.pattern.canvas.strokeStyle.sub.html
------------------------------------------------------------------------------------------------
TIMEOUT [Parent]
/html/semantics/embedded-content/the-canvas-element/security.reset.sub.html
---------------------------------------------------------------------------
TIMEOUT [Parent]
/html/webappapis/scripting/processing-model-2/compile-error-cross-origin.html
-----------------------------------------------------------------------------
TIMEOUT [Parent]
/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin.html
-----------------------------------------------------------------------------
TIMEOUT [Parent]
/webstorage/setitem.html
------------------------
FAIL localStorage[]
FAIL localStorage[] update
FAIL localStorage[undefined]
FAIL localStorage[null]
FAIL sessionStorage[]
FAIL sessionStorage[] update
FAIL sessionStorage[undefined]
FAIL sessionStorage[null]
16:15.81 LOG: MainThread INFO Closing logging queue
16:15.81 LOG: MainThread INFO queue closed
Activity
JayNakrani commentedon Apr 18, 2015
Here is the detailed wpt-test output only for
/XMLHttpRequest/send-redirect-bogus-sync.htm[-]Unexepcted behaviour of XHR Tests in WPT[/-][+]Unexpected behaviour of XHR Tests in WPT[/+]jdm commentedon Sep 8, 2015
FTR, I don't think this is a good issue to use to track intermittent failures in various XHR tests. This isn't intermittent for the original reporter.
nox commentedon Sep 30, 2017
Closing for inactivity. The XHR stack was improved a lot since back then.