mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 847484 - Add testcase. r=new-test DONTBUILD
This commit is contained in:
parent
07f2a253be
commit
64582d813a
14
js/src/jit-test/tests/baseline/bug847484.js
Normal file
14
js/src/jit-test/tests/baseline/bug847484.js
Normal file
@ -0,0 +1,14 @@
|
||||
function TestCase(n, d) {}
|
||||
function reportCompare() {
|
||||
new TestCase;
|
||||
}
|
||||
Object.defineProperty(Object.prototype, "name", {});
|
||||
reportCompare();
|
||||
try {
|
||||
function TestCase( n, d ) {
|
||||
this.name = n;
|
||||
this.description = d;
|
||||
}
|
||||
reportCompare();
|
||||
reportCompare();
|
||||
} catch(exc3) { assertEq(0, 1); }
|
Loading…
Reference in New Issue
Block a user