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
File | Mode | Size |
---|---|---|
OWNERS | -rw-r--r-- | 15 bytes |
constructor.html | -rw-r--r-- | 2.2 KB |
idlharness.html | -rw-r--r-- | 1.9 KB |
movementX_Y_basic-manual.html | -rw-r--r-- | 5.1 KB |
movementX_Y_no-jumps-manual.html | -rw-r--r-- | 5.7 KB |
pointerlock_basic-manual.html | -rw-r--r-- | 5.6 KB |
pointerlock_fullscreen-manual.html | -rw-r--r-- | 6.2 KB |
pointerlock_indefinite-manual.html | -rw-r--r-- | 3.5 KB |
pointerlock_leave_Tab-manual.html | -rw-r--r-- | 2.1 KB |
pointerlock_leave_UA-manual.html | -rw-r--r-- | 2.1 KB |
pointerlock_remove_target-manual.html | -rw-r--r-- | 2.2 KB |
pointerlock_remove_target_on_mouseup-manual.html | -rw-r--r-- | 742 bytes |
pointerlock_shadow-manual.html | -rw-r--r-- | 3.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...