Pass | Stream objects created in expected globals | Asserts runPass | assert_equals(true, true, "reader was created in this global (.call)")
at Test.<anonymous> ( /streams/readable-streams/global.html:45:5) | Pass | assert_equals(false, false, "reader was created in other global (new)")
at Test.<anonymous> ( /streams/readable-streams/global.html:46:5) | Pass | assert_equals(false, false, "reader isn't coming from other global (.call)")
at Test.<anonymous> ( /streams/readable-streams/global.html:48:5) | Pass | assert_equals(true, true, "reader isn't coming from other global (new)")
at Test.<anonymous> ( /streams/readable-streams/global.html:49:5) | Pass | assert_equals(false, false, "otherController should come from other gloal")
at Test.<anonymous> ( /streams/readable-streams/global.html:51:5) | Pass | assert_equals(true, true, "Promise comes from this global")
at Test.<anonymous> ( /streams/readable-streams/global.html:55:5) | Pass | assert_equals(true, true, "returned object comes from this global")
at Test.<anonymous> ( /streams/readable-streams/global.html:59:5) |
|
Fail | Cancel promise is created in same global as stream | assert_equals: Cancel promise comes from the same global as the stream expected true but got false at Test.<anonymous> (https://wpt.live/streams/readable-streams/global.html:66:5)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at https://wpt.live/resources/testharness.js:738:36
at new Promise (<anonymous>)
at https://wpt.live/resources/testharness.js:737:20 Asserts runFail | assert_equals(false, true, "Cancel promise comes from the same global as the stream")
at Test.<anonymous> ( /streams/readable-streams/global.html:66:5) |
|
Pass | Closed Promise in correct global | Asserts runPass | assert_equals(true, true, "Closed promise in other global.")
at Test.<anonymous> ( /streams/readable-streams/global.html:96:5) |
|
Pass | Reader objects in correct global | Asserts runPass | assert_equals(true, true, "Reader comes from this global")
at Test.<anonymous> ( /streams/readable-streams/global.html:103:5) | Pass | assert_equals(true, true, "Promise still comes from stream's realm (this realm)")
at Test.<anonymous> ( /streams/readable-streams/global.html:105:5) | Pass | assert_equals(true, true, "Object comes from other realm")
at Test.<anonymous> ( /streams/readable-streams/global.html:107:5) |
|
Pass | Desired size can be grafted from one prototype to another | Asserts runPass | assert_equals(1, 1, "Desired size is expected")
at Test.<anonymous> ( /streams/readable-streams/global.html:113:5) | Pass | assert_equals(1, 1, "Grafting getter from other prototype still returns desired size")
at Test.<anonymous> ( /streams/readable-streams/global.html:116:5) |
|
Pass | Closing errored stream throws object in appropriate global | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => controller.close()", "Current Global controller")
at Test.<anonymous> ( /streams/readable-streams/global.html:126:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => otherController.close.call(controller)", "Other global controller")
at Test.<anonymous> ( /streams/readable-streams/global.html:127:5) |
|
Pass | Can enqueue chunks from multiple globals | Asserts runNo asserts ran |
Pass | Correct errors and globals for closed streams | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => controller.enqueue(new otherGlobal.Uint8Array(10))")
at Test.<anonymous> ( /streams/readable-streams/global.html:148:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => otherController.enqueue.call(controller, chunk)")
at Test.<anonymous> ( /streams/readable-streams/global.html:149:5) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => otherController.enqueue.call(controller, new otherGlobal.Uint8Array(10))")
at Test.<anonymous> ( /streams/readable-streams/global.html:150:5) |
|
Pass | Tee Branches in correct global | Asserts runPass | assert_equals(true, true, "Branch created in this global (as stream is in this global)")
at Test.<anonymous> ( /streams/readable-streams/global.html:159:5) | Pass | assert_equals(true, true, "Branch created in this global (as stream is in this global)")
at Test.<anonymous> ( /streams/readable-streams/global.html:160:5) |
|