Skip to content

Commit f9b6049

Browse files
committed
Update tests
1 parent 3998196 commit f9b6049

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

crates/spidermonkey-embedding-splicer/src/bindgen.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,6 @@ pub fn componentize_bindgen(
359359
let repCnt = 1;
360360
let repTable = new Map();
361361
362-
contentGlobal.Symbol.dispose = Symbol.dispose = Symbol.for('dispose');
363-
364362
let [$memory, $realloc{}] = $bindings;
365363
delete globalThis.$bindings;
366364

test/builtins/console-object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ export async function test (run) {
5454
5555
}], m: [Getter], n: [Getter], o: [ function () {
5656
57-
}], p: [ () => {}], q: 5, s: 29879287298374924, t: Set(3) { 1, 2, 3 }, u: Map(3) { 1 => 2, 3 => 4, [ function foo () {}] => {} }, v: Symbol.for("blah"), w: Symbol(), x: undefined, y: null, z: URL { hash: "", host: "site.com", hostname: "site.com", href: "https://site.com/x?a&b", origin: "https://site.com", password: "", pathname: "/x", port: "", protocol: "https:", search: "?a&b", searchParams: URLSearchParams {}, username: "" }, zz: Uint8Array [1, 2, 3], zzz: Z {} }\n`);
57+
}], p: [ () => {}], q: 5, s: 29879287298374924, t: Set(3) { 1, 2, 3 }, u: Map(3) { 1 => 2, 3 => 4, [ function foo () {}] => {} }, v: Symbol.for("blah"), w: Symbol(), x: undefined, y: null, z: URL { hash: "", host: "site.com", hostname: "site.com", href: "https://site.com/x?a&b", origin: "https://site.com", password: "", pathname: "/x", port: "", protocol: "https:", search: "?a&b", searchParams: URLSearchParams { size: 2 }, username: "" }, zz: Uint8Array [1, 2, 3], zzz: Z {} }\n`);
5858
strictEqual(stderr, '');
5959
}

test/builtins/globals.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const EXPECTED_GLOBALS = [
3838
'EvalError',
3939
'RangeError',
4040
'ReferenceError',
41+
'SuppressedError',
4142
'SyntaxError',
4243
'TypeError',
4344
'URIError',
@@ -67,6 +68,8 @@ const EXPECTED_GLOBALS = [
6768
'Iterator',
6869
'FinalizationRegistry',
6970
'WeakRef',
71+
'DisposableStack',
72+
'AsyncDisposableStack',
7073
'ReadableStream',
7174
'ReadableStreamBYOBReader',
7275
'ReadableStreamBYOBRequest',

test/cases/resource-floats/source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { MyFloat as ImportFloat } from "resource-floats-imports";
22
import { MyFloat as ImportFloat2 } from "test:test/resource-floats";
33

4-
const symbolDispose = Symbol.for('dispose');
4+
const symbolDispose = Symbol.dispose;
55

66
class MyFloat {
77
constructor(value) {

0 commit comments

Comments
 (0)