Revision 85f9d70519e5259f01e8653a4916134227e0f178 authored by Adam Rice on 24 April 2018, 09:55:23 UTC, committed by GitHub on 24 April 2018, 09:55:23 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 7a199e9
History
File Mode Size
TAOResponse.py -rw-r--r-- 1.5 KB
all_resource_types.htm -rw-r--r-- 4.3 KB
blank_page_green.htm -rw-r--r-- 257 bytes
blue.png -rw-r--r-- 1010 bytes
empty.js -rw-r--r-- 19 bytes
empty.py -rw-r--r-- 98 bytes
empty_script.js -rw-r--r-- 0 bytes
eventsource.py -rw-r--r-- 105 bytes
fake_responses.html -rw-r--r-- 523 bytes
fake_responses.py -rw-r--r-- 678 bytes
green_frame.htm -rw-r--r-- 115 bytes
gzip_xml.py -rw-r--r-- 576 bytes
iframe_TAO_match_origin.html -rw-r--r-- 459 bytes
iframe_TAO_match_wildcard.html -rw-r--r-- 461 bytes
iframe_TAO_multi.html -rw-r--r-- 452 bytes
iframe_TAO_null.html -rw-r--r-- 451 bytes
iframe_TAO_origin.html -rw-r--r-- 453 bytes
iframe_TAO_origin_uppercase.html -rw-r--r-- 456 bytes
iframe_TAO_space.html -rw-r--r-- 452 bytes
iframe_TAO_wildcard.html -rw-r--r-- 455 bytes
iframe_TAO_zero.html -rw-r--r-- 451 bytes
inject_resource_test.html -rw-r--r-- 101 bytes
multi_redirect.py -rw-r--r-- 1.7 KB
nested.css -rw-r--r-- 208 bytes
notify_parent.html -rw-r--r-- 67 bytes
resource_timing_test0.css -rw-r--r-- 44 bytes
resource_timing_test0.html -rw-r--r-- 215 bytes
resource_timing_test0.js -rw-r--r-- 133 bytes
resource_timing_test0.png -rw-r--r-- 249 bytes
resource_timing_test0.xml -rw-r--r-- 125 bytes
self_navigation.html -rw-r--r-- 74 bytes
webperftestharness.js -rw-r--r-- 5.3 KB
webperftestharnessextension.js -rw-r--r-- 6.0 KB
worker_with_images.js -rw-r--r-- 397 bytes

back to top