Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behaviour of XHR Tests in WPT #5740

Closed
dhananjay92 opened this issue Apr 18, 2015 · 3 comments
Closed

Unexpected behaviour of XHR Tests in WPT #5740

dhananjay92 opened this issue Apr 18, 2015 · 3 comments
Labels

Comments

@dhananjay92
Copy link
Contributor

@dhananjay92 dhananjay92 commented Apr 18, 2015

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
@dhananjay92
Copy link
Contributor Author

@dhananjay92 dhananjay92 commented Apr 18, 2015

Here is the detailed wpt-test output only for /XMLHttpRequest/send-redirect-bogus-sync.htm

XMLHttpRequest: send() - Redirects (bogus Location header; sync) (302: http://z)
--------------------------------------------------------------------------------
Expected PASS, got FAIL
assert_throws: function "function () { client.send(null) }" did not throw
@http://localhost:8000/XMLHttpRequest/send-redirect-bogus-sync.htm:6
Test.step@http://localhost:8000/resources/testharness.js:1295
test@http://localhost:8000/resources/testharness.js:428
redirect@http://localhost:8000/XMLHttpRequest/send-redirect-bogus-sync.htm:7
@http://localhost:8000/XMLHttpRequest/send-redirect-bogus-sync.htm:10
@nox nox changed the title Unexepcted behaviour of XHR Tests in WPT Unexpected behaviour of XHR Tests in WPT Jun 9, 2015
@frewsxcv frewsxcv added the A-testing label Jul 29, 2015
@jdm jdm removed the I-intermittent label Sep 8, 2015
@jdm
Copy link
Member

@jdm jdm commented 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
Copy link
Member

@nox nox commented Sep 30, 2017

Closing for inactivity. The XHR stack was improved a lot since back then.

@nox nox closed this Sep 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.