1
0
Fork 0
firefox/dom/tests/browser/page_bytecode_cache_asm_js.js
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

30 lines
1.3 KiB
JavaScript

window.onerror = function (e) {
document.getElementById("result").textContent = e;
};
function f() {
"use asm";
function test() {
return 10;
}
return test;
}
var dummy = [
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
"dummy text to exceed the minimal source length for bytecode cache",
];