mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
2778d077e5
Normally the storage would be expanded by set_shape() upon transition to a new shape, but if the shape is already unique, there is no new transition so we have to expand the storage manually.
10 lines
167 B
JavaScript
10 lines
167 B
JavaScript
load("test-common.js");
|
|
|
|
try {
|
|
a = 1;
|
|
assert(delete globalThis.a === true);
|
|
a = 2;
|
|
console.log("PASS");
|
|
} catch (e) {
|
|
console.log("FAIL: " + e);
|
|
}
|