diff --git a/third_party/blink/web_tests/http/tests/worklet/webexposed/resources/global-interface-listing-worklet.js b/third_party/blink/web_tests/http/tests/worklet/webexposed/resources/global-interface-listing-worklet.js index 996c21e12dc4f9..d03ce6d845605b 100644 --- a/third_party/blink/web_tests/http/tests/worklet/webexposed/resources/global-interface-listing-worklet.js +++ b/third_party/blink/web_tests/http/tests/worklet/webexposed/resources/global-interface-listing-worklet.js @@ -17,7 +17,7 @@ var globals = []; // List of builtin JS constructors; Blink is not controlling what properties these // objects have, so exercising them in a Blink test doesn't make sense. // -// This list should be kept in sync with the one at LayoutTests/resources/global-interface-listing.js +// This list should be kept in sync with the one at web_tests/resources/global-interface-listing.js var js_builtins = new Set([ 'Array', 'ArrayBuffer', @@ -30,6 +30,7 @@ var js_builtins = new Set([ 'Date', 'Error', 'EvalError', + 'FinalizationRegistry', 'Float32Array', 'Float64Array', 'Function', @@ -62,6 +63,7 @@ var js_builtins = new Set([ 'Uint8Array', 'Uint8ClampedArray', 'WeakMap', + 'WeakRef', 'WeakSet', 'WebAssembly', 'decodeURI', diff --git a/third_party/blink/web_tests/resources/global-interface-listing.js b/third_party/blink/web_tests/resources/global-interface-listing.js index 7d05d90c9d6d92..4899ced7e691f4 100644 --- a/third_party/blink/web_tests/resources/global-interface-listing.js +++ b/third_party/blink/web_tests/resources/global-interface-listing.js @@ -13,7 +13,7 @@ function globalInterfaceListing(globalObject, propertyNamesInGlobal, platformSpe // objects have, so exercising them in a Blink test doesn't make sense. // // If new builtins are added, please update this list along with the one in -// LayoutTests/http/tests/worklet/webexposed/resources/global-interface-listing-worklet.js +// web_tests/http/tests/worklet/webexposed/resources/global-interface-listing-worklet.js var jsBuiltins = new Set([ 'Array', 'ArrayBuffer', @@ -26,6 +26,7 @@ var jsBuiltins = new Set([ 'Date', 'Error', 'EvalError', + 'FinalizationRegistry', 'Float32Array', 'Float64Array', 'Function', @@ -58,6 +59,7 @@ var jsBuiltins = new Set([ 'Uint8Array', 'Uint8ClampedArray', 'WeakMap', + 'WeakRef', 'WeakSet', 'WebAssembly', 'decodeURI',