Revision f7aab0af8bf4ffc4aa24ce4bb5299b0a063ff8ef authored by Adam Rice on 05 April 2018, 15:11:00 UTC, committed by Adam Rice on 13 April 2018, 14:58:07 UTC
ReadableStream, WritableStream and TransformStream look up and validate
properties on their arguments. Add tests to verify that these lookups
and validations happen in the order specified by the standard.

https://github.com/whatwg/streams/pull/922 adjusts some of the ordering
of these operations. These tests correspond to that change.

A new utility file streams/resources/constructor-ordering.js contains
functions to construct objects which track property lookups and
validations and can cause them to fail.

For each constructor the constructor.js file contains a list of the
expected operations in order, and a test case to verify it.

A test in streams/transform-streams/properties.js already detected the
ordering of property accesses by the TransformStream constructor.
writableStrategy is now accessed before readableStrategy to match the
order of the constructor arguments, and so the expectations of this test
are changed to match.
1 parent 6e1b5f4
History
File Mode Size
OWNERS -rw-r--r-- 43 bytes
PrefixedLocalStorage.js -rw-r--r-- 4.2 KB
PrefixedLocalStorage.js.headers -rw-r--r-- 45 bytes
PrefixedPostMessage.js -rw-r--r-- 3.8 KB
PrefixedPostMessage.js.headers -rw-r--r-- 45 bytes
arrays.js -rw-r--r-- 405 bytes
blank.html -rw-r--r-- 0 bytes
canvas-frame.css -rw-r--r-- 222 bytes
canvas-frame.css.headers -rw-r--r-- 38 bytes
canvas-index.css -rw-r--r-- 334 bytes
canvas-index.css.headers -rw-r--r-- 38 bytes
canvas-spec.css -rw-r--r-- 682 bytes
canvas-spec.css.headers -rw-r--r-- 38 bytes
canvas-tests.css -rw-r--r-- 1.8 KB
canvas-tests.css.headers -rw-r--r-- 38 bytes
canvas-tests.js -rw-r--r-- 3.3 KB
canvas-tests.js.headers -rw-r--r-- 45 bytes
css-paint-tests.js.headers -rw-r--r-- 45 bytes
css-red.txt -rw-r--r-- 21 bytes
domain-setter.sub.html -rw-r--r-- 184 bytes
dummy.xhtml -rw-r--r-- 86 bytes
dummy.xml -rw-r--r-- 30 bytes
entities.json -rw-r--r-- 142.5 KB
form-submission.py -rw-r--r-- 414 bytes
get-host-info.sub.js -rw-r--r-- 1.5 KB
get-host-info.sub.js.headers -rw-r--r-- 45 bytes
large.py -rw-r--r-- 1.3 KB
media.js -rw-r--r-- 974 bytes
media.js.headers -rw-r--r-- 45 bytes
namespaces.js -rw-r--r-- 104 bytes
object-association.js -rw-r--r-- 2.3 KB
object-association.js.headers -rw-r--r-- 45 bytes
performance-timeline-utils.js -rw-r--r-- 1.7 KB
performance-timeline-utils.js.headers -rw-r--r-- 45 bytes
redirect-opt-in.py -rw-r--r-- 595 bytes
redirect.py -rw-r--r-- 542 bytes
reftest-wait.js -rw-r--r-- 209 bytes
reftest-wait.js.headers -rw-r--r-- 45 bytes
stringifiers.js -rw-r--r-- 1.4 KB
stringifiers.js.headers -rw-r--r-- 45 bytes
test-setting-immutable-prototype.js -rw-r--r-- 2.3 KB
test-setting-immutable-prototype.js.headers -rw-r--r-- 45 bytes
text-plain.txt -rw-r--r-- 70 bytes
utils.js -rw-r--r-- 1.9 KB
utils.js.headers -rw-r--r-- 45 bytes
worklet-reftest.js -rw-r--r-- 760 bytes

back to top