Remaining tests rely on shell only features like the promise rejection tracker, or rely on CCWs getting created where the new implementation will not create them (as the compartment ends up being determined by the parent object). Differential Revision: https://phabricator.services.mozilla.com/D135292
6 lines
191 B
JavaScript
6 lines
191 B
JavaScript
// This test passes if we don't have a CCW assertion.
|
|
var g = newGlobal();
|
|
var ccwCancelMethod = new g.Function("return 17;");
|
|
|
|
new ReadableStream({ cancel: ccwCancelMethod }).cancel("bye");
|