mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 845569 - Land tests for various bugs. r=terrence
This commit is contained in:
parent
239da2d4cf
commit
dcf70892da
8
js/src/jit-test/tests/basic/bug836601.js
Normal file
8
js/src/jit-test/tests/basic/bug836601.js
Normal file
@ -0,0 +1,8 @@
|
||||
// |jit-test| error: InternalError
|
||||
let k
|
||||
Proxy.createFunction(function() {
|
||||
return {
|
||||
get: Uint32Array
|
||||
}
|
||||
}(), decodeURIComponent) & k
|
||||
|
16
js/src/jit-test/tests/ion/bug831424-1.js
Normal file
16
js/src/jit-test/tests/ion/bug831424-1.js
Normal file
@ -0,0 +1,16 @@
|
||||
// |jit-test| error: TypeError
|
||||
x = [];
|
||||
Object.defineProperty(this, "y", {
|
||||
get: function() {
|
||||
FakeDOMObject.caller
|
||||
}
|
||||
});
|
||||
Object.defineProperty(x, 3, {
|
||||
get: function() {
|
||||
y[13];
|
||||
}
|
||||
});
|
||||
(function() {
|
||||
x.shift();
|
||||
})();
|
||||
|
16
js/src/jit-test/tests/ion/bug831424-2.js
Normal file
16
js/src/jit-test/tests/ion/bug831424-2.js
Normal file
@ -0,0 +1,16 @@
|
||||
// |jit-test| error: TypeError
|
||||
x = [];
|
||||
Object.defineProperty(this, "y", {
|
||||
get: function() {
|
||||
print.caller
|
||||
}
|
||||
});
|
||||
Object.defineProperty(x, 3, {
|
||||
get: function() {
|
||||
y[13];
|
||||
}
|
||||
});
|
||||
(function() {
|
||||
x.shift();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user