mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
Update web-platform-tests to revision fab2c513bffb2bd19600d23b495264d123df092f
This commit is contained in:
parent
c226bf85a9
commit
ebddcc2d7f
441 changed files with 3689 additions and 1521 deletions
|
@ -7,7 +7,7 @@ skip: true
|
||||||
skip: false
|
skip: false
|
||||||
[domparsing]
|
[domparsing]
|
||||||
skip: false
|
skip: false
|
||||||
[DOMEvents]
|
[uievents]
|
||||||
skip: false
|
skip: false
|
||||||
[eventsource]
|
[eventsource]
|
||||||
skip: false
|
skip: false
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[EventObject.multiple.dispatchEvent.html]
|
|
||||||
type: testharness
|
|
||||||
[Test Description: An event object may be properly dispatched multiple times while also allowing to prevent the event objects propagation prior to the event dispatch.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[ProcessingInstruction.DOMCharacterDataModified.html]
|
|
||||||
type: testharness
|
|
||||||
disabled: mutation events
|
|
|
@ -1,5 +0,0 @@
|
||||||
[dispatchEvent.click.checkbox.html]
|
|
||||||
type: testharness
|
|
||||||
[Test Description: MouseEvent: Default action is performed when a synthetic click event is dispatched on a checkbox element]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[domnodeinserted.html]
|
|
||||||
type: testharness
|
|
||||||
disabled: mutation events
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,8 +0,0 @@
|
||||||
[setrequestheader-bogus-name.htm]
|
|
||||||
type: testharness
|
|
||||||
[setRequestHeader should throw with header name "テスト".]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[setRequestHeader should throw with header name "X-テスト".]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
[DOMTokenList-coverage-for-attributes.html]
|
||||||
|
type: testharness
|
||||||
|
[a.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[area.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[link.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[iframe.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[output.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[th.dropzone in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.headers in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[th.headers in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[output.htmlFor in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[a.ping in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[area.ping in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[iframe.sandbox in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[link.sizes in http://www.w3.org/1999/xhtml namespace should be DOMTokenList.]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -8391,3 +8391,111 @@
|
||||||
[Document interface: new Document() must inherit property "onvolumechange" with the proper type (155)]
|
[Document interface: new Document() must inherit property "onvolumechange" with the proper type (155)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: attribute scope]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: attribute abbr]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement must be primary interface of document.createElement("td")]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Stringification of document.createElement("td")]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "scope" with the proper type (4)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "abbr" with the proper type (5)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "align" with the proper type (6)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "axis" with the proper type (7)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "height" with the proper type (8)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "ch" with the proper type (10)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "chOff" with the proper type (11)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "noWrap" with the proper type (12)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("td") must inherit property "vAlign" with the proper type (13)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement must be primary interface of document.createElement("th")]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Stringification of document.createElement("th")]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "scope" with the proper type (4)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "abbr" with the proper type (5)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "align" with the proper type (6)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "axis" with the proper type (7)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "height" with the proper type (8)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "ch" with the proper type (10)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "chOff" with the proper type (11)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "noWrap" with the proper type (12)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLTableCellElement interface: document.createElement("th") must inherit property "vAlign" with the proper type (13)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: existence and properties of interface object]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface object length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface object name]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: existence and properties of interface prototype object]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: existence and properties of interface prototype object's "constructor" property]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: attribute name]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: operation assignedNodes(AssignedNodesOptions)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement must be primary interface of document.createElement("slot")]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Stringification of document.createElement("slot")]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: document.createElement("slot") must inherit property "name" with the proper type (0)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: document.createElement("slot") must inherit property "assignedNodes" with the proper type (1)]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLSlotElement interface: calling assignedNodes(AssignedNodesOptions) on document.createElement("slot") with too few arguments must throw TypeError]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -2868,9 +2868,6 @@
|
||||||
[link.crossOrigin: IDL set to "\\0" followed by IDL get]
|
[link.crossOrigin: IDL set to "\\0" followed by IDL get]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[link.crossOrigin: IDL set to null followed by IDL get]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[link.crossOrigin: IDL set to object "test-toString" followed by getAttribute()]
|
[link.crossOrigin: IDL set to object "test-toString" followed by getAttribute()]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -7386,3 +7383,6 @@
|
||||||
[style.tabIndex: setAttribute() to "\\r7" followed by IDL get]
|
[style.tabIndex: setAttribute() to "\\r7" followed by IDL get]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[link.crossOrigin: IDL set to null followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -17031,3 +17031,303 @@
|
||||||
[th.rowSpan: IDL set to 4294967295 followed by IDL get]
|
[th.rowSpan: IDL set to 4294967295 followed by IDL get]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: typeof IDL attribute]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL get with DOM attribute unset]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to undefined followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to 7 followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to 1.5 followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to true followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to false followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to NaN followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to Infinity followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to -Infinity followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to null followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to object "test-toString" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "row" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "xrow" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "row\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "ow" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "ROW" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "col" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "xcol" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "col\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "ol" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "COL" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "rowgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "xrowgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "rowgroup\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "owgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "ROWGROUP" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "colgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "xcolgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "colgroup\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "olgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: setAttribute() to "COLGROUP" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to undefined followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to undefined followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to 7 followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to 7 followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to 1.5 followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to 1.5 followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to true followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to true followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to false followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to false followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to object "[object Object\]" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to NaN followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to NaN followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to Infinity followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to Infinity followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to -Infinity followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to -Infinity followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "\\0" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to null followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to object "test-toString" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to object "test-toString" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to object "test-valueOf" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to object "test-valueOf" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "row" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xrow" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xrow" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "row\\0" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "row\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ow" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ow" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ROW" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ROW" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "col" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xcol" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xcol" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "col\\0" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "col\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ol" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ol" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "COL" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "COL" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "rowgroup" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xrowgroup" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xrowgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "rowgroup\\0" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "rowgroup\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "owgroup" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "owgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ROWGROUP" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "ROWGROUP" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "colgroup" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xcolgroup" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "xcolgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "colgroup\\0" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "colgroup\\0" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "olgroup" followed by getAttribute()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "olgroup" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[td.scope: IDL set to "COLGROUP" followed by IDL get]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -26,3 +26,4 @@
|
||||||
|
|
||||||
[HTMLTrackElement.src resolvable value in content attribute]
|
[HTMLTrackElement.src resolvable value in content attribute]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[Interfaces for keygen]
|
[Interfaces for keygen]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for listing]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for marquee]
|
[Interfaces for marquee]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -18,18 +15,9 @@
|
||||||
[Interfaces for plaintext]
|
[Interfaces for plaintext]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for xmp]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for command]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for KEYGEN]
|
[Interfaces for KEYGEN]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for LISTING]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for MARQUEE]
|
[Interfaces for MARQUEE]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -42,12 +30,6 @@
|
||||||
[Interfaces for PLAINTEXT]
|
[Interfaces for PLAINTEXT]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Interfaces for XMP]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for COMMAND]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Interfaces for rb]
|
[Interfaces for rb]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -60,3 +42,45 @@
|
||||||
[Interfaces for RTC]
|
[Interfaces for RTC]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for basefont]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for BASEFONT]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for foo-bar]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for FOO-BAR]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for menuitem]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for MENUITEM]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for picture]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for PICTURE]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for slot]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for SLOT]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for td]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for TD]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for th]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for TH]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[initial-linefeed-pre.html]
|
||||||
|
type: testharness
|
||||||
|
[outer div]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[inner div]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
cb42be98279348981951933aeee4b1bfcf1517d1
|
0558687d71295023b27860436e7a5aa5da7f49d0
|
|
@ -3,3 +3,10 @@
|
||||||
[WebSockets: Send/Receive blob, blob size less than network array buffer]
|
[WebSockets: Send/Receive blob, blob size less than network array buffer]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[001.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: Send/Receive blob, blob size less than network array buffer]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
|
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[002.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
|
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[004.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,10 @@
|
||||||
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
|
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[005.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[002.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[002.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: server sends closing handshake]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[003.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: client sends closing handshake]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[003.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[004.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[004.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: data after closing handshake]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/006.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/006.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[006.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[006.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: converting first arguments]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/009.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/009.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[009.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: protocol]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[009.html]
|
||||||
|
type: testharness
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: protocol in response but no requested protocol]
|
[WebSockets: protocol in response but no requested protocol]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[010.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: protocol in response but no requested protocol]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/011.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/011.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[011.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[011.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: protocol mismatch]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/013.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/013.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[013.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[013.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: multiple WebSocket objects]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: serialize establish a connection]
|
[WebSockets: serialize establish a connection]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[014.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: serialize establish a connection]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: non-ascii URL in query, document encoding windows-1252]
|
[WebSockets: non-ascii URL in query, document encoding windows-1252]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[016.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: non-ascii URL in query, document encoding windows-1252]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/018.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/018.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[018.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[018.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: NULL char in url]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/019.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/019.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[019.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[019.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: uppercase 'WS:']
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/020.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/020.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[020.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[020.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: uppercase host]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/constructor/022.html.ini
Normal file
8
tests/wpt/metadata/websockets/constructor/022.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[022.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: protocol array]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[022.html]
|
||||||
|
type: testharness
|
8
tests/wpt/metadata/websockets/cookies/001.html.ini
Normal file
8
tests/wpt/metadata/websockets/cookies/001.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[001.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: Cookie in request]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[001.html]
|
||||||
|
type: testharness
|
8
tests/wpt/metadata/websockets/cookies/002.html.ini
Normal file
8
tests/wpt/metadata/websockets/cookies/002.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[002.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[002.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: Set-Cookie in response]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/cookies/003.html.ini
Normal file
8
tests/wpt/metadata/websockets/cookies/003.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[003.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[003.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: sending HttpOnly cookies in ws request]
|
||||||
|
expected: FAIL
|
||||||
|
|
8
tests/wpt/metadata/websockets/cookies/004.html.ini
Normal file
8
tests/wpt/metadata/websockets/cookies/004.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[004.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[004.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: setting HttpOnly cookies in ws response, checking document.cookie]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
[005.html]
|
[005.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
disabled: https://github.com/servo/servo/issues/9772
|
disabled: https://github.com/servo/servo/issues/9772
|
||||||
|
|
||||||
|
[005.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: setting HttpOnly cookies in ws response, checking ws request]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
[006.html]
|
[006.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
disabled: https://github.com/servo/servo/issues/9803
|
disabled: https://github.com/servo/servo/issues/9803
|
||||||
|
|
||||||
|
[006.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: setting Secure cookie with document.cookie, checking ws request]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
8
tests/wpt/metadata/websockets/cookies/007.html.ini
Normal file
8
tests/wpt/metadata/websockets/cookies/007.html.ini
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[007.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[007.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: when to process set-cookie fields in ws response]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
[extended-payload-length.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[extended-payload-length.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[Application data is 125 byte which means any 'Extended payload length' field isn't used at all.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Application data is 126 byte which starts to use the 16 bit 'Extended payload length' field.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Application data is 0xFFFF byte which means the upper bound of the 16 bit 'Extended payload length' field.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Application data is (0xFFFF + 1) byte which starts to use the 64 bit 'Extended payload length' field]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[clean-close.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: wasClean, true]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[clean-close.html]
|
||||||
|
type: testharness
|
|
@ -3,3 +3,10 @@
|
||||||
[WebSockets: bufferedAmount for ArrayBuffer]
|
[WebSockets: bufferedAmount for ArrayBuffer]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[bufferedAmount-arraybuffer.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: bufferedAmount for ArrayBuffer]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,10 @@
|
||||||
[WebSockets: bufferedAmount for blob]
|
[WebSockets: bufferedAmount for blob]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[bufferedAmount-blob.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: bufferedAmount for blob]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[bufferedAmount-getting.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: bufferedAmount after send()ing]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[bufferedAmount-getting.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[bufferedAmount-large.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[bufferedAmount-large.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: bufferedAmount for 65K data]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
[bufferedAmount-unicode.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[bufferedAmount-unicode.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: bufferedAmount for unicode data]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: close() when connecting]
|
[WebSockets: close() when connecting]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[close-connecting.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: close() when connecting]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[016.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[016.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: addEventListener]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
[018.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[018.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[open event]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[message event]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: getting extensions in connecting]
|
[WebSockets: getting extensions in connecting]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[001.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: getting extensions in connecting]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[006.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: getting readyState in open]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[006.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[007.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: getting readyState in closing]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[007.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[008.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: getting readyState in closed]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[008.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,9 @@
|
||||||
|
[005.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[005.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: send() return value]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
[006.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[006.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: send() with unpaired surrogate when readyState is OPEN]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[007.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: close() followed by send()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[007.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[008.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[008.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: send() in onclose]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[009.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[009.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: send('')]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
[010.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[Constructor succeeds]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings (null)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings (undefined)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings (1)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings ([object Window\])]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings ([object HTMLBodyElement\])]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings ([object Object\])]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings ()]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings ([object WebSocket\])]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings (function (){})]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
[WebSockets: sending non-strings (Error)]
|
||||||
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
||||||
|
[010.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[011.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[011.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: sending non-ascii, combining chars and non-BMP]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[012.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[012.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: sending null]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[001.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: 20s inactivity after handshake]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[001.html]
|
||||||
|
type: testharness
|
|
@ -0,0 +1,8 @@
|
||||||
|
[002.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[002.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: valid handshake]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[003.html]
|
||||||
|
type: testharness
|
||||||
|
|
||||||
|
[003.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: origin]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -3,3 +3,10 @@
|
||||||
[WebSockets: proper first line]
|
[WebSockets: proper first line]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[005.html?wss]
|
||||||
|
type: testharness
|
||||||
|
expected: TIMEOUT
|
||||||
|
[WebSockets: proper first line]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: navigating top-level browsing context]
|
[WebSockets: navigating top-level browsing context]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[001.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: navigating top-level browsing context]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: navigating top-level browsing context with closed websocket]
|
[WebSockets: navigating top-level browsing context with closed websocket]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[002.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: navigating top-level browsing context with closed websocket]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,3 +3,9 @@
|
||||||
[WebSockets: navigating nested browsing context with a websocket in top-level]
|
[WebSockets: navigating nested browsing context with a websocket in top-level]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[005.html?wss]
|
||||||
|
type: testharness
|
||||||
|
[WebSockets: navigating nested browsing context with a websocket in top-level]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
[interface_member_exposed.html]
|
[interface_member_exposed.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
prefs: [dom.testbinding.enabled:true,
|
prefs: [dom.testbinding.enabled:true, dom.testbinding.prefcontrolled2.enabled:true]
|
||||||
dom.testbinding.prefcontrolled2.enabled:true]
|
|
||||||
|
|
|
@ -1,64 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> Event dispatch and DOM event flow </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<table id="table" border="1" style="display: none">
|
|
||||||
<tbody id="table-body">
|
|
||||||
<tr id="table-row">
|
|
||||||
<td id="table-cell">Shady Grove</td>
|
|
||||||
<td>Aeolian</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="parent">
|
|
||||||
<td id="target">Over the river, Charlie</td>
|
|
||||||
<td>Dorian</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var EVENT = "foo";
|
|
||||||
var TARGET = document.getElementById("target");
|
|
||||||
var PARENT = document.getElementById("parent");
|
|
||||||
var TBODY = document.getElementById("table-body");
|
|
||||||
var TABLE = document.getElementById("table");
|
|
||||||
var BODY = document.body;
|
|
||||||
var HTML = document.documentElement;
|
|
||||||
var CurrentTargets = [window, document, HTML, BODY, TABLE, TBODY, PARENT, TARGET];
|
|
||||||
var ExpectResult = CurrentTargets.concat([TARGET, PARENT, TBODY, TABLE, BODY, HTML, document, window]);
|
|
||||||
var ActualResult = [];
|
|
||||||
var ExpectPhases = [1,1,1,1,1,1,1,2,2,3,3,3,3,3,3,3,];
|
|
||||||
var ActualPhases = [];
|
|
||||||
|
|
||||||
var description = "Test Description: Dispatch an event in a DOM tree using the DOM event flow.";
|
|
||||||
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
for (var i=0; i < CurrentTargets.length; i++)
|
|
||||||
{
|
|
||||||
CurrentTargets[i].addEventListener(EVENT, TestEvent, true);
|
|
||||||
CurrentTargets[i].addEventListener(EVENT, TestEvent, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
var evt = document.createEvent("Event");
|
|
||||||
evt.initEvent(EVENT, true, true);
|
|
||||||
TARGET.dispatchEvent(evt);
|
|
||||||
|
|
||||||
assert_array_equals(ActualResult, ExpectResult, "ActualResult");
|
|
||||||
assert_array_equals(ActualPhases, ExpectPhases, "ActualPhases");
|
|
||||||
|
|
||||||
}, description);
|
|
||||||
|
|
||||||
function TestEvent(evt)
|
|
||||||
{
|
|
||||||
ActualResult.push(evt.currentTarget);
|
|
||||||
ActualPhases.push(evt.eventPhase);
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,60 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> EventLister member: handleEvent() </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<table id="table" border="1" style="display: none">
|
|
||||||
<tbody id="table-body">
|
|
||||||
<tr id="table-row">
|
|
||||||
<td id="table-cell">Shady Grove</td>
|
|
||||||
<td>Aeolian</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="parent">
|
|
||||||
<td id="target">Over the river, Charlie</td>
|
|
||||||
<td>Dorian</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var EVENT = "foo";
|
|
||||||
var TARGET = document.getElementById("target");
|
|
||||||
var TestResult = false;
|
|
||||||
|
|
||||||
var description = "Test Description: " +
|
|
||||||
"handleEvent - This method shall be called whenever an event occurs of the event type for " +
|
|
||||||
"which the EventListener interface was registered.";
|
|
||||||
|
|
||||||
var EventListener = {};
|
|
||||||
EventListener.handleEvent = function(evt)
|
|
||||||
{
|
|
||||||
if ((EVENT == evt.type) && (TARGET == evt.target) && (this === EventListener))
|
|
||||||
{
|
|
||||||
TestResult = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
TestResult = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
var evt = document.createEvent("Event");
|
|
||||||
evt.initEvent(EVENT, true, true);
|
|
||||||
|
|
||||||
TARGET.addEventListener(EVENT, EventListener, true);
|
|
||||||
TARGET.dispatchEvent(evt);
|
|
||||||
TARGET.removeEventListener(EVENT, EventListener, true);
|
|
||||||
|
|
||||||
assert_true(TestResult);
|
|
||||||
|
|
||||||
}, description);
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,55 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> Multiple dispatchEvent() and stopPropagation() </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<div id="parent" style="display: none">
|
|
||||||
<input id="target" type="hidden" value=""/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var EVENT = "foo";
|
|
||||||
var TARGET = document.getElementById("target");
|
|
||||||
var PARENT = document.getElementById("parent");
|
|
||||||
var ExpectResult = [TARGET, PARENT, PARENT, document, window];
|
|
||||||
var ActualResult = [];
|
|
||||||
|
|
||||||
var description = "Test Description: " +
|
|
||||||
"An event object may be properly dispatched multiple times while also allowing to prevent the event objects " +
|
|
||||||
"propagation prior to the event dispatch.";
|
|
||||||
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
var evt = document.createEvent("Event");
|
|
||||||
evt.initEvent(EVENT, true, true);
|
|
||||||
|
|
||||||
TARGET.addEventListener(EVENT, TestEvent, false);
|
|
||||||
PARENT.addEventListener(EVENT, TestEvent, false);
|
|
||||||
document.addEventListener(EVENT, TestEvent, false);
|
|
||||||
window.addEventListener(EVENT, TestEvent, false);
|
|
||||||
|
|
||||||
TARGET.dispatchEvent(evt);
|
|
||||||
PARENT.dispatchEvent(evt);
|
|
||||||
document.dispatchEvent(evt);
|
|
||||||
|
|
||||||
assert_array_equals(ActualResult, ExpectResult);
|
|
||||||
|
|
||||||
}, description);
|
|
||||||
|
|
||||||
function TestEvent(evt)
|
|
||||||
{
|
|
||||||
ActualResult.push(evt.currentTarget);
|
|
||||||
|
|
||||||
if (PARENT == evt.currentTarget)
|
|
||||||
{
|
|
||||||
evt.stopPropagation();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,32 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> ProcessingInstruction.data and DOMCharacterDataModified event </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<iframe id="helper" style="display: none"></iframe>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var description = "Test Description: " +
|
|
||||||
"DOMCharacterDataModified event fires after ProcessingInstruction.data have been modified, " +
|
|
||||||
"but the node itself has not been inserted or deleted. The proximal event target of this " +
|
|
||||||
"event shall be the ProcessingInstruction node.";
|
|
||||||
|
|
||||||
var t = async_test(description);
|
|
||||||
|
|
||||||
var HELPER = document.getElementById("helper");
|
|
||||||
|
|
||||||
HELPER.onload = t.step_func(function()
|
|
||||||
{
|
|
||||||
assert_true(HELPER.contentWindow.TestResult);
|
|
||||||
t.done();
|
|
||||||
});
|
|
||||||
|
|
||||||
HELPER.src = "./support/ProcessingInstruction.DOMCharacterDataModified.xml";
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,80 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> MouseEvent: Default action and synthetic click event </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<div style="display: none">
|
|
||||||
<input type="checkbox" id="target">
|
|
||||||
<button id="button"> Click Here </button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
setup({explicit_done:true});
|
|
||||||
var EVENT = "click";
|
|
||||||
var TARGET = document.getElementById("target");
|
|
||||||
var BUTTON = document.getElementById("button");
|
|
||||||
var state;
|
|
||||||
|
|
||||||
var description = "Test Description: " +
|
|
||||||
"MouseEvent: Default action is performed when a synthetic click event is dispatched on a checkbox element";
|
|
||||||
|
|
||||||
BUTTON.addEventListener(EVENT, TestEvent, true);
|
|
||||||
TARGET.addEventListener(EVENT, TestEvent, true);
|
|
||||||
|
|
||||||
window.onload = function()
|
|
||||||
{
|
|
||||||
state = TARGET.checked;
|
|
||||||
BUTTON.click();
|
|
||||||
}
|
|
||||||
|
|
||||||
function TestEvent(evt)
|
|
||||||
{
|
|
||||||
if (BUTTON == evt.target)
|
|
||||||
{
|
|
||||||
var e;
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
BUTTON.removeEventListener(EVENT, TestEvent, true);
|
|
||||||
|
|
||||||
e = document.createEvent("MouseEvent");
|
|
||||||
e.initMouseEvent(EVENT, /* type */
|
|
||||||
false, /* bubbles */
|
|
||||||
true, /* cancelable */
|
|
||||||
window, /* view */
|
|
||||||
1, /* detail */
|
|
||||||
0, /* screenX */
|
|
||||||
0, /* screenY */
|
|
||||||
0, /* clientX */
|
|
||||||
0, /* clientY */
|
|
||||||
false, /* ctrlKey */
|
|
||||||
false, /* altKey */
|
|
||||||
false, /* shiftKey */
|
|
||||||
false, /* metaKey */
|
|
||||||
0, /* button */
|
|
||||||
null /* relatedTarget */);
|
|
||||||
|
|
||||||
assert_array_equals([TARGET.checked, e.type, e.bubbles], [state, EVENT, false]);
|
|
||||||
|
|
||||||
}, "Checkbox state is unchanged before the synthetic click event is dispatched");
|
|
||||||
|
|
||||||
TARGET.dispatchEvent(e);
|
|
||||||
}
|
|
||||||
else if (TARGET == evt.target)
|
|
||||||
{
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
assert_array_equals([TARGET.checked, evt.type, evt.bubbles], [!state, EVENT, false]);
|
|
||||||
|
|
||||||
}, description);
|
|
||||||
|
|
||||||
done();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<title>MutationEvent: DOMNodeInserted Event Type</title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<div id="target" style="display: none"></div>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var EVENT = "DOMNodeInserted";
|
|
||||||
var TARGET;
|
|
||||||
var NODE;
|
|
||||||
|
|
||||||
var t = async_test("Test Description: DOMNodeInserted event fires when a node has been added as a child of another node.");
|
|
||||||
|
|
||||||
TARGET = document.getElementById("target");
|
|
||||||
|
|
||||||
TARGET.addEventListener(EVENT, t.step_func(function(evt)
|
|
||||||
{
|
|
||||||
assert_equals(evt.type, EVENT);
|
|
||||||
t.done();
|
|
||||||
}), true);
|
|
||||||
|
|
||||||
NODE = document.createElement("INPUT");
|
|
||||||
TARGET.appendChild(NODE);
|
|
||||||
</script>
|
|
|
@ -1,71 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> Event.stopImmediatePropagation() immediate effect </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<table id="table" border="1" style="display: none">
|
|
||||||
<tbody id="table-body">
|
|
||||||
<tr id="table-row">
|
|
||||||
<td id="table-cell">Shady Grove</td>
|
|
||||||
<td>Aeolian</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="parent">
|
|
||||||
<td id="target">Over the river, Charlie</td>
|
|
||||||
<td>Dorian</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var EVENT = "foo";
|
|
||||||
var TARGET = document.getElementById("target");
|
|
||||||
var PARENT = document.getElementById("parent");
|
|
||||||
var TBODY = document.getElementById("table-body");
|
|
||||||
var TABLE = document.getElementById("table");
|
|
||||||
var BODY = document.body;
|
|
||||||
var HTML = document.documentElement;
|
|
||||||
var CurrentTargets = [window, document, HTML, BODY, TABLE, TBODY, PARENT, TARGET];
|
|
||||||
var ExpectResult = [window, window, document, document, HTML, HTML, BODY, BODY, TABLE];
|
|
||||||
var ActualResult = [];
|
|
||||||
var ExpectListeners = [0,1,0,1,0,1,0,1,0];
|
|
||||||
var ActualListeners = [];
|
|
||||||
|
|
||||||
var description = "Test Description: " +
|
|
||||||
"stopImmediatePropagation() prevents other event listeners from being triggered and, unlike " +
|
|
||||||
"Event.stopPropagation(), its effect must be immediate. Once it has been called, further calls " +
|
|
||||||
"to this method have no additional effect.";
|
|
||||||
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
for (var i=0; i < CurrentTargets.length; i++)
|
|
||||||
{
|
|
||||||
CurrentTargets[i].addEventListener(EVENT, function(e){TestEvent(e, 0)}, true);
|
|
||||||
CurrentTargets[i].addEventListener(EVENT, function(e){TestEvent(e, 1)}, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
var evt = document.createEvent("Event");
|
|
||||||
evt.initEvent(EVENT, true, true);
|
|
||||||
TARGET.dispatchEvent(evt);
|
|
||||||
|
|
||||||
assert_array_equals(ActualResult, ExpectResult, "ActualResult");
|
|
||||||
assert_array_equals(ActualListeners, ExpectListeners, "ActualListeners");
|
|
||||||
|
|
||||||
}, description);
|
|
||||||
|
|
||||||
function TestEvent(evt, i)
|
|
||||||
{
|
|
||||||
ActualResult.push(evt.currentTarget);
|
|
||||||
ActualListeners.push(i);
|
|
||||||
if ((1 == evt.eventPhase) && (TABLE == evt.currentTarget) && (0 == i))
|
|
||||||
{
|
|
||||||
evt.stopImmediatePropagation();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,70 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title> Event.stopPropagation() deferred effect </title>
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id=log></div>
|
|
||||||
|
|
||||||
<table id="table" border="1" style="display: none">
|
|
||||||
<tbody id="table-body">
|
|
||||||
<tr id="table-row">
|
|
||||||
<td id="table-cell">Shady Grove</td>
|
|
||||||
<td>Aeolian</td>
|
|
||||||
</tr>
|
|
||||||
<tr id="parent">
|
|
||||||
<td id="target">Over the river, Charlie</td>
|
|
||||||
<td>Dorian</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
var EVENT = "foo";
|
|
||||||
var TARGET = document.getElementById("target");
|
|
||||||
var PARENT = document.getElementById("parent");
|
|
||||||
var TBODY = document.getElementById("table-body");
|
|
||||||
var TABLE = document.getElementById("table");
|
|
||||||
var BODY = document.body;
|
|
||||||
var HTML = document.documentElement;
|
|
||||||
var CurrentTargets = [window, document, HTML, BODY, TABLE, TBODY, PARENT, TARGET];
|
|
||||||
var ExpectResult = [window, window, document, document, HTML, HTML, BODY, BODY, TABLE, TABLE];
|
|
||||||
var ActualResult = [];
|
|
||||||
var ExpectListeners = [0,1,0,1,0,1,0,1,0,1];
|
|
||||||
var ActualListeners = [];
|
|
||||||
|
|
||||||
var description = "Test Description: " +
|
|
||||||
"stopPropagation() prevents other event listeners from being triggered but its effect must be " +
|
|
||||||
"deferred until all event listeners attached on the Event.currentTarget have been triggered.";
|
|
||||||
|
|
||||||
test(function()
|
|
||||||
{
|
|
||||||
for (var i=0; i < CurrentTargets.length; i++)
|
|
||||||
{
|
|
||||||
CurrentTargets[i].addEventListener(EVENT, function(e){TestEvent(e, 0)}, true);
|
|
||||||
CurrentTargets[i].addEventListener(EVENT, function(e){TestEvent(e, 1)}, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
var evt = document.createEvent("Event");
|
|
||||||
evt.initEvent(EVENT, true, true);
|
|
||||||
TARGET.dispatchEvent(evt);
|
|
||||||
|
|
||||||
assert_array_equals(ActualResult, ExpectResult, "ActualResult");
|
|
||||||
assert_array_equals(ActualListeners, ExpectListeners, "ActualListeners");
|
|
||||||
|
|
||||||
}, description);
|
|
||||||
|
|
||||||
function TestEvent(evt, i)
|
|
||||||
{
|
|
||||||
ActualResult.push(evt.currentTarget);
|
|
||||||
ActualListeners.push(i);
|
|
||||||
if ((1 == evt.eventPhase) && (TABLE == evt.currentTarget) && (0 == i))
|
|
||||||
{
|
|
||||||
evt.stopPropagation();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,3 +0,0 @@
|
||||||
BODY {
|
|
||||||
PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #eef0eb; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
|
|
||||||
}
|
|
|
@ -33,6 +33,7 @@ following entries are required:
|
||||||
127.0.0.1 www2.web-platform.test
|
127.0.0.1 www2.web-platform.test
|
||||||
127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test
|
127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test
|
||||||
127.0.0.1 xn--lve-6lad.web-platform.test
|
127.0.0.1 xn--lve-6lad.web-platform.test
|
||||||
|
0.0.0.0 nonexistent-origin.web-platform.test
|
||||||
```
|
```
|
||||||
|
|
||||||
Because web-platform-tests uses git submodules, you must ensure that
|
Because web-platform-tests uses git submodules, you must ensure that
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
@caitp
|
@caitp
|
||||||
@Manishearth
|
@Manishearth
|
||||||
@plehegar
|
@plehegar
|
||||||
@foolip
|
|
||||||
@jungkees
|
@jungkees
|
||||||
@ibelem
|
@ibelem
|
||||||
@mathiasbynens
|
@mathiasbynens
|
||||||
|
|
|
@ -30,18 +30,29 @@
|
||||||
assert_throws("SyntaxError", function() { client.setRequestHeader(name, 'x-value') })
|
assert_throws("SyntaxError", function() { client.setRequestHeader(name, 'x-value') })
|
||||||
}, "setRequestHeader should throw with header name " + format_value(invalid_headers[i]) + ".")
|
}, "setRequestHeader should throw with header name " + format_value(invalid_headers[i]) + ".")
|
||||||
}
|
}
|
||||||
|
function try_byte_string(name) {
|
||||||
|
test(function() {
|
||||||
|
var client = new XMLHttpRequest()
|
||||||
|
client.open("GET", "...")
|
||||||
|
assert_throws(new TypeError(), function() { client.setRequestHeader(name, 'x-value') })
|
||||||
|
}, "setRequestHeader should throw with header name " + format_value(invalid_byte_strings[i]) + ".")
|
||||||
|
}
|
||||||
var invalid_headers = ["(", ")", "<", ">", "@", ",", ";", ":", "\\",
|
var invalid_headers = ["(", ")", "<", ">", "@", ",", ";", ":", "\\",
|
||||||
"\"", "/", "[", "]", "?", "=", "{", "}", " ",
|
"\"", "/", "[", "]", "?", "=", "{", "}", " ",
|
||||||
/* HT already tested in the loop below */
|
/* HT already tested in the loop below */
|
||||||
"\u007f", "テスト", "", "t\rt", "t\nt", "t: t", "t:t",
|
"\u007f", "", "t\rt", "t\nt", "t: t", "t:t",
|
||||||
"t<t", "t t", " tt", ":tt", "\ttt", "\vtt", "t\0t",
|
"t<t", "t t", " tt", ":tt", "\ttt", "\vtt", "t\0t",
|
||||||
"t\"t", "t,t", "t;t", "()[]{}", "a?B", "X-テスト", "a=B"]
|
"t\"t", "t,t", "t;t", "()[]{}", "a?B", "a=B"]
|
||||||
|
var invalid_byte_strings = ["テスト", "X-テスト"]
|
||||||
for (var i = 0; i < 32; ++i) {
|
for (var i = 0; i < 32; ++i) {
|
||||||
invalid_headers.push(String.fromCharCode(i))
|
invalid_headers.push(String.fromCharCode(i))
|
||||||
}
|
}
|
||||||
for (var i = 0; i < invalid_headers.length; ++i) {
|
for (var i = 0; i < invalid_headers.length; ++i) {
|
||||||
try_name(invalid_headers[i])
|
try_name(invalid_headers[i])
|
||||||
}
|
}
|
||||||
|
for (var i = 0; i < invalid_byte_strings.length; ++i) {
|
||||||
|
try_byte_string(invalid_byte_strings[i])
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
@zqzhang
|
@zqzhang
|
||||||
@foolip
|
|
||||||
@dontcallmedom
|
@dontcallmedom
|
||||||
@deniak
|
@deniak
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>no default src doesn't behave exactly like *</title>
|
||||||
|
<script src='/resources/testharness.js'></script>
|
||||||
|
<script src='/resources/testharnessreport.js'></script>
|
||||||
|
<script src="../support/alertAssert.sub.js?alerts=[]"> </script>
|
||||||
|
<script src='positiveTest.js'></script>
|
||||||
|
<!-- enforcing policy: foobar; report-uri ...
|
||||||
|
-->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>no default src doesn't behave exactly like *</h1>
|
||||||
|
This page has a CSP header but an unknown directive.
|
||||||
|
This should have no impact on an img loaded from a data:
|
||||||
|
uri, or an inline script, although that would be blocked by a default-src policy of *.
|
||||||
|
<br>
|
||||||
|
<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAABACAIAAAABPqsMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1QoMCC8h3if5rgAAAB10RVh0Q29tbWVudABDcmVhdGVkIHdpdGggVGhlIEdJTVDvZCVuAAAGD0lEQVR42u2aa0yTVxiA39ILxa4KIkKrVCCIitzrqkAXQiXDSFjQHyZDBRRdtoDzgooao5uaoInID4hRJFC8RBOzxQuKigyYokuDSB0WlaJQlQrITRCwte1+nKVhpbT9aGUue59fb84573dO+uR7v/drS4OfAPkf4oQfAYpHUDyC4hEUj6B4BMUjKB5B8QiKR1A8guIRFI+geATFIygeQfEIikdQPEIVxmd1GsN+w9hBrV7bN9Kn7FHWqmqLHxY3vW2ycIWtS7Yeiz9G4h0VO47eO2rj1p4cz7WhayW+kuCZwdNdpjsznIe0Q53vO1X9qsbOxrr2uprWmrb+Nofn/lvQPqs/W5oVb0KBrCDrVpZGpzE7++iHR8Ezg0ms6FIsPL7Qho+Ali3O3h+zn81gW1n5M82BuVjqqZEpyjyVeMrs1CL+IqN1AAj0CBTNElm9YGFiYc7SHKvmHJ6Lpd7K/cF0YvK5/KV+S3eLd/tP9weAlNAUaYO0qrXKJGtd2DoS6A16J5oTGZG9llnYKDEgcUPEBhI/636WL8uvelHV1t82rB1mM9geHA8fV58QzxAhTxjjE+PAXCz15ku92cLIZXFr1tWEe4UDwLk/z635dc3oWWe6s3q72o3tBgD7qvYdiD0AAH0jfbxc3sjHkfF2LF9dvsx/GQDcbLmZdCHJwkrH5mKpp8CAZiC7IpvEUd5RJrMrFqwg1pU9ykO/H2rpbQEAV7brygUrLVxz8ezFJNh2cxtVc/bkonhq3Ht5jwReX3iNV+elDVIDGKQNUpNxs0x1nkoCZY+S6mHsyUXxE30oGP7R/3tP9Y7ziyNP91J5KQCUNpTqDXoAkPhKBNME412ne6ibBEEzg6iewZ5cFE8NY4XveN8xejw1LJV0cxXPK169ewUAL9+9vP38NgA40ZxSQ1OtlpDCxMI50+ZMrPxMIBfFU4DD5ByOO2zyoRPSwtJIUPyw2DhojNPC0mhg/jU67488AxgAQMgTNv/YfPXbq5miTNEskQvDxep57MnFrt56V890YvK4vFif2D1f7QlwDyCDcafjKl9UkjhmTkx1WjUA9Az38HP5H3Qfxvb5saWx1a3VZjfdsmRL7te5pGAY0Rl0ii7FnbY7l55cqnxRSZ4ajs1F8WbEW8bkXU6aJCXFvEBWsKl80+iVBcsLMr7MAIDT8tOpl8Yt+JGzIw9KDkp8JWYLg7JHmXUr68rTKw7PRfEUxJ98cHJz+Wbjbc1lcdXb1RwmBwCEhcJ6df3oxUKesO67OgAY0g55HfUa0AxYuLJgmmD53OVigTiCFxHgHkCn0UfP7rq960jtkU+Ri+LH/ZGmf6S/pbelVlVb0lDS2Nk4ejY9PL3omyIAkHfIw06EjU2Xfy8P8QwBgI1XNxbVF9l4EheGi5AvTJibkB6R7jHFAwAMYBAXi016C4fn4jPe1p807q6/G+0dbWMTHl0cTfVIbmy3suQy8jZxUXFx1cVVk5OLXb0lAtwDbLROXgWNvaHt9I70ZlzPILFYIJ60XBRvCcvfytm/ntDU9fc/AEjdnrTcTwrjv2udTqOnhKaQOOlC0uWnl8dbmTA3oSy5DABSQlP2/rZXZ9BR2mjejHkksNwbOjwX73jzxPvH87l8AOh433Gt+ZqFlTeUN9SDagDgc/nx/vGUdpnCnJIXn0fiB+0PJi0X73jrdfvso7Mf9R8trNQZdGfkZ3ZG7yRZ15uvG6dUW1W1qtp6db2iS9HW36YeUA9qBrV6LYfJ8XPzk/hKMkWZfm5+ZLHJS4E9udjVT7Crd3dxb89qZ9FZABB0POhx12PL6+fPmN+U0QQAGp2Gn8vvHu6m9JWR2bbcnlws9RNkdchqYl32WmbVOgA8efvk/qv7AMCis5KDkyntpdFpcu7mJP+SPIFz2pOLpd5SnS9pKLExpeRhSeTsSABYH74+X5ZPBgV5gijvqAheRKBHoI+rD4/L47K4TDpzWDv8ZvCNoktR3Vp9vvF8+0D72Avak4ulHsFSj6B4BMUjKB5B8QiKR1A8guIRFI+geATFo3gExSMoHkHxCIpHUDyC4hEUj6B45HPmL9so2ZKs94sNAAAAAElFTkSuQmCC'>
|
||||||
|
<script>
|
||||||
|
var allowedScriptRan = true;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id='log'></div>
|
||||||
|
|
||||||
|
<script async defer src='../support/checkReport.sub.js?reportExists=false'></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,6 @@
|
||||||
|
Expires: Mon, 26 Jul 1997 05:00:00 GMT
|
||||||
|
Cache-Control: no-store, no-cache, must-revalidate
|
||||||
|
Cache-Control: post-check=0, pre-check=0, false
|
||||||
|
Pragma: no-cache
|
||||||
|
Set-Cookie: no-default-src={{$id:uuid()}}; Path=/content-security-policy/generic/
|
||||||
|
Content-Security-Policy: foobar; report-uri ../support/report.py?op=put&reportID={{$id}}
|
|
@ -1,3 +1,9 @@
|
||||||
@deepak-sa
|
|
||||||
@sgrekhov
|
|
||||||
@alsemenov
|
@alsemenov
|
||||||
|
@deepak-sa
|
||||||
|
@domenic
|
||||||
|
@dominiccooney
|
||||||
|
@hayatoito
|
||||||
|
@kojiishi
|
||||||
|
@rniwa
|
||||||
|
@sgrekhov
|
||||||
|
@takayoshikochi
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue