mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 632778 - Update tests to use test metalines instead, since they are in jit-test.
This commit is contained in:
parent
8cfca23402
commit
b6cc0050fb
@ -1,7 +1,6 @@
|
||||
load(libdir + "asserts.js");
|
||||
// |jit-test| error: TypeError
|
||||
function f() {
|
||||
"use strict";
|
||||
}
|
||||
g = wrap(f);
|
||||
assertThrowsInstanceOf(function () { Object.defineProperty(g, "arguments", {set: function(){}}); }, TypeError);
|
||||
|
||||
Object.defineProperty(g, "arguments", {set: function(){}});
|
||||
|
@ -1,4 +1,3 @@
|
||||
load(libdir + "asserts.js");
|
||||
// |jit-test| error: TypeError
|
||||
obj = wrap(Number.bind());
|
||||
assertThrowsInstanceOf(function () { Object.defineProperty(obj, "caller", {set: function(){}}); }, TypeError);
|
||||
|
||||
Object.defineProperty(obj, "caller", {set: function () {}});
|
||||
|
Loading…
x
Reference in New Issue
Block a user