Skip to content

Commit

Permalink
Update web platform tests
Browse files Browse the repository at this point in the history
Also changes some reasons for failure in order to be more consistent.
  • Loading branch information
Zirro authored and domenic committed Apr 1, 2018
1 parent a38c181 commit c91440a
Show file tree
Hide file tree
Showing 3 changed files with 20,006 additions and 4,902 deletions.
2 changes: 1 addition & 1 deletion test/web-platform-tests/tests
Submodule tests updated from 37585c to 18ce94
67 changes: 34 additions & 33 deletions test/web-platform-tests/to-run.yaml
Expand Up @@ -20,8 +20,9 @@ url/**: [fail, blob URLs not implemented]
DIR: cors

304.htm: [fail, Unknown]
access-control-expose-headers-parsing.window.html: [fail, Requires fetch]
access-control-expose-headers-parsing.window.html: [fail, Depends on fetch]
allow-headers.htm: [timeout, https://github.com/tmpvar/jsdom/issues/1833]
image-tainting-in-cross-origin-iframe.sub.html: [timeout, Unknown]
origin.htm: [timeout, https://github.com/tmpvar/jsdom/issues/1833]
preflight-cache.htm: [fail, Cache should probably be implemented for simple requests before]
redirect-preflight-2.htm: [fail, Preflight should also be done before redirected requests but request module redirects cannot be paused while doing preflight]
Expand All @@ -41,19 +42,10 @@ MediaQueryList-with-empty-string.html: [fail, Unknown]
cssom-getBoundingClientRect-002.html: [fail, Unknown]
cssom-getClientRects-002.html: [fail, Unknown]
cssom-view-img-attributes-001.html: [fail, Unknown]
elementFromPoint-001.html: [fail, Unknown]
elementFromPoint-002.html: [fail, Unknown]
elementFromPoint-003.html: [fail, Unknown]
elementFromPoint.html: [fail, Unknown]
elementFromPoint**: [fail, Not implemented]
elementFromPosition.html: [fail, Unknown]
elementScroll.html: [fail, Unknown]
elementsFromPoint-iframes.html: [fail, Unknown]
elementsFromPoint-invalid-cases.html: [fail, Unknown]
elementsFromPoint-shadowroot.html: [fail, Unknown]
elementsFromPoint-simple.html: [fail, Unknown]
elementsFromPoint-svg.html: [fail, Unknown]
elementsFromPoint-table.html: [fail, Unknown]
elementsFromPoint.html: [fail, Unknown]
elementsFromPoint**: [fail, Not implemented]
interfaces.html: [fail, Depends on Fetch]
matchMedia.xht: [fail, Unknown]
matchMediaAddListener.html: [fail, Unknown]
Expand All @@ -63,8 +55,8 @@ negativeMargins.html: [fail, Unknown]
offsetParent_element_test.html: [fail, Unknown]
offsetTopLeftInScrollableParent.html: [fail, Unknown]
scroll-behavior-smooth.html: [fail, scrollTo() not implemented]
scrollIntoView-shadow.html: [fail, Unknown]
scrollIntoView-smooth.html: [fail, Unknown]
scroll-no-layout-box.html: [fail, scroll() not implemented]
scrollIntoView**: [fail, scrollTo() not implemented]
scrollWidthHeight.xht: [fail, Unknown]
scrollWidthHeightWhenNotScrollable.xht: [fail, Unknown]
scrolling-no-browsing-context.html: [fail, Unknown]
Expand Down Expand Up @@ -131,6 +123,7 @@ Document-createElementNS.html: [fail, Unknown]
Document-createEvent.html: [fail, Unknown]
Document-getElementById.html: [fail, We cache IDs in insertion order]
Document-getElementsByTagName-xhtml.xhtml: [fail, Unknown]
Document-importNode.html: [fail, Attr should be a Node, https://github.com/jsdom/jsdom/issues/1641]
Element-childElement-null-xhtml.xhtml: [fail, Unknown]
Element-childElementCount-dynamic-add-xhtml.xhtml: [fail, Unknown]
Element-childElementCount-dynamic-remove-xhtml.xhtml: [fail, Unknown]
Expand Down Expand Up @@ -213,17 +206,17 @@ DIR: html/browsers/browsing-the-web/history-traversal
001.html: [fail, Unknown]
browsing_context_name.html: [timeout, Unknown]
browsing_context_name_cross_origin.html: [timeout, Unknown]
browsing_context_name_cross_origin_2.html: [fail, window.name unimplemented]
browsing_context_name_cross_origin_3.html: [fail, window.name unimplemented]
browsing_context_name_cross_origin_2.html: [fail, window.name not implemented]
browsing_context_name_cross_origin_3.html: [fail, window.name not implemented]
events.html: [fail, PageTransitionEvent not defined]
persisted-user-state-restoration/resume-timer-on-history-back.html: [timeout, Unknown]
persisted-user-state-restoration/scroll-restoration-basic.html: [fail, Unimplemented]
persisted-user-state-restoration/scroll-restoration-basic.html: [fail, Not implemented]
persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html: [fail, depends on requestAnimationFrame]
persisted-user-state-restoration/scroll-restoration-fragment-scrolling-samedoc.html: [fail, scrollY not implemented]
persisted-user-state-restoration/scroll-restoration-navigation-cross-origin.html: [fail, scrollY not implemented]
persisted-user-state-restoration/scroll-restoration-navigation-samedoc.html: [fail, scrollX not implemented]
same-url.html: [timeout, Unknown]
unset_context_name-1.html: [fail, window.name unimplemented]
unset_context_name-1.html: [fail, window.name not implemented]
window-name-after-cross-origin-aux-frame-navigation.sub.html: [timeout, Unknown]
window-name-after-cross-origin-main-frame-navigation.sub.html: [timeout, Unknown]
window-name-after-cross-origin-sub-frame-navigation.sub.html: [timeout, Unknown]
Expand Down Expand Up @@ -252,6 +245,8 @@ DIR: html/browsers/browsing-the-web/navigating-across-documents
child_navigates_parent_location.html: [timeout, Unknown]
child_navigates_parent_submit.html: [timeout, Unknown]
empty_fragment.html: [fail, Unknown]
javascript-url-abort/javascript-url-abort-return-value-string.tentative.html: [timeout, Unknown]
javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html: [timeout, Unknown]
javascript-url-global-scope.html: [timeout, Unknown]
navigation-unload-form-submit.html: [timeout, Unknown]
navigation-unload-same-origin-fragment.html: [timeout, Unknown]
Expand Down Expand Up @@ -341,8 +336,9 @@ auxiliary-browsing-contexts/opener-closed.html: [fail, Needs ParentNode.append()
auxiliary-browsing-contexts/opener-multiple.html: [timeout, Unknown]
auxiliary-browsing-contexts/opener-noopener.html: [timeout, Unknown]
auxiliary-browsing-contexts/opener-noreferrer.html: [timeout, Unknown]
auxiliary-browsing-contexts/opener-setter.window.html: [fail, Not implemented]
auxiliary-browsing-contexts/opener.html: [timeout, Unknown]
browsing-context-names/**: [fail, Unimplemented]
browsing-context-names/**: [fail, Not implemented]
browsing-context.html: [fail, Unknown]
nested-browsing-contexts/frameElement.html: [fail, Unknown]
nested-browsing-contexts/window-parent-null.html: [fail, Unknown]
Expand Down Expand Up @@ -399,6 +395,7 @@ the-translate-attribute-012.html: [fail, Unknown]

DIR: html/editing/focus

composed.window.html: [fail, Not implemented]
processing-model/focus-fixup-rule-one-no-dialogs.html: [fail, Unknown]
processing-model/preventScroll.html: [fail, Not implemented]
tabindex-focus-flag.html: [fail, Unknown]
Expand Down Expand Up @@ -438,11 +435,11 @@ base_multiple.html: [timeout, We don't support navigation via <a target>]
DIR: html/semantics/document-metadata/the-style-element

style-error-01.html: [timeout, Unknown]
style_disabled.html: [fail, Unimplemented]
style_disabled.html: [fail, Not implemented]
style_events.html: [timeout, Unknown]
style_load_async.html: [timeout, Unknown]
style_media.html: [fail, Unimplemented]
style_media_change.html: [fail, Unimplemented]
style_media.html: [fail, Not implemented]
style_media_change.html: [fail, Not implemented]
style_type_change.html: [fail, Spec mismatches tests https://github.com/whatwg/html/issues/3391]

---
Expand Down Expand Up @@ -500,6 +497,7 @@ datetime-local.html: [fail, min/max constraints not implemented]
datetime.html: [fail, step is not implemented]
email.html: [fail, Validation is not implemented]
hidden.html: [fail, list/step/validation/valueAsDate/valueAsNumber not implemented]
image-click-form-data.html: [timeout, Unknown]
input-checkvalidity.html: [fail, Validation is not implemented]
input-labels.html: [fail, labels attribute is not implemented]
input-setcustomvalidity.html: [fail, Validation is not implemented]
Expand Down Expand Up @@ -576,6 +574,7 @@ async_009.htm: [timeout, Unknown]
async_010.htm: [needs-node8, Something about the vm module and global properties probably]
async_011.htm: [timeout, Unknown]
data-url.html: [timeout, Unknown]
emptyish-script-elements.html: [fail, Unknown]
execution-timing/001.html: [needs-node8, Something about the vm module probably]
execution-timing/002.html: [needs-node8, Something about the vm module probably]
execution-timing/003.html: [needs-node8, Something about the vm module probably]
Expand Down Expand Up @@ -718,14 +717,15 @@ fetch-src/failure.html: [timeout, Unknown]
load-error-events-1.html: [timeout, Unknown]
load-error-events-2.html: [timeout, Unknown]
load-error-events-3.html: [timeout, Unknown]
module/**: [fail, unimplemented]
nomodule-**: [fail, unimplemented]
module/**: [fail, Not implemented]
muted-errors.sub.html: [fail, Muted errors not implemented]
nomodule-**: [fail, Not implemented]
script-charset-02.html: [fail, Unknown]
script-charset-03.html: [fail, Unknown]
script-crossorigin.html: [fail, Unknown]
script-defer.html: [fail, defer semantics unimplemented]
script-for-event-xhtml.xhtml: [fail, Unimplemented]
script-for-event.html: [fail, Unimplemented]
script-defer.html: [fail, defer semantics Not implemented]
script-for-event-xhtml.xhtml: [fail, Not implemented]
script-for-event.html: [fail, Not implemented]
script-not-executed-after-shutdown.html: [fail, Unknown]
script-not-found-not-executed.html: [fail, Unknown]
script-onerror-insertion-point-1.html: [fail, Unknown]
Expand Down Expand Up @@ -758,8 +758,6 @@ the-table-element/caption-methods.html: [fail, needs HTMLIframeElement#srcdoc]
DIR: html/semantics/text-level-semantics

the-a-element/a-download-click.html: [fail, needs URL.createObjectURL]
the-a-element/rellist-feature-detection.html: [fail, needs relList]
the-area-element/rellist-feature-detection.html: [fail, needs relList]

---

Expand All @@ -782,12 +780,14 @@ same-dispatch-time.html: [fail, Probably https://github.com/tmpvar/jsdom/pull/19

DIR: html/webappapis/atob

base64.html: [fail, Depends on fetch]

---

DIR: html/webappapis/scripting/events

compile-event-handler-settings-objects.html: [timeout, Unknown]
event-handler-all-global-events.html: [fail, depends on fetch]
event-handler-all-global-events.html: [fail, Depends on fetch]
event-handler-processing-algorithm-error/script-element.html: [timeout, Unknown]
event-handler-processing-algorithm-error/synthetic-errorevent-click.html: [fail, uses Worker]
event-handler-processing-algorithm-error/worker.html: [fail, workers]
Expand All @@ -802,7 +802,7 @@ DIR: progress-events
DIR: uievents

constructors/inputevent-constructor.html: [fail, InputEvent not implemented]
interfaces.html: [fail, depends on fetch]
interfaces.html: [fail, Depends on fetch]
legacy-domevents-tests/approved/ProcessingInstruction.DOMCharacterDataModified.html: [fail, Unknown]
legacy-domevents-tests/approved/domnodeinserted.html: [fail, Unknown]
order-of-events/**: [fail, Unknown]
Expand All @@ -813,9 +813,10 @@ DIR: url

a-element-xhtml.xhtml: [fail, Unknown]
a-element.html: [fail, Unknown]
failure.html: [fail, Fetch is not implemented]
failure.html: [fail, Depends on fetch]
interfaces.any.html: [fail, Depends on fetch]
url-constructor.html: [fail, url.search vs. url.searchParams propagation]
urlencoded-parser.html: [fail, Fetch is not implemented]
urlencoded-parser.html: [fail, Depends on fetch]

---

Expand Down

0 comments on commit c91440a

Please sign in to comment.