mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 792439 - Insert new lines at end of file. r=me
This commit is contained in:
parent
073611f591
commit
7eaad038a6
@ -69,4 +69,4 @@ function WeakSet_has(value) {
|
||||
let entries = UnsafeGetReservedSlot(this, WEAKSET_MAP_SLOT);
|
||||
// Steps 7-8.
|
||||
return callFunction(std_WeakMap_has, entries, value);
|
||||
}
|
||||
}
|
||||
|
@ -131,4 +131,4 @@ JSObject *
|
||||
js_InitWeakSetClass(JSContext *cx, HandleObject obj)
|
||||
{
|
||||
return WeakSetObject::initClass(cx, obj);
|
||||
}
|
||||
}
|
||||
|
@ -32,4 +32,4 @@ class WeakSetObject : public JSObject
|
||||
extern JSObject *
|
||||
js_InitWeakSetClass(JSContext *cx, js::HandleObject obj);
|
||||
|
||||
#endif /* builtin_WeakSetObject_h */
|
||||
#endif /* builtin_WeakSetObject_h */
|
||||
|
@ -6,4 +6,4 @@ assertEq(ws.has(Function), true);
|
||||
|
||||
ws = new WeakSet(Set(list));
|
||||
assertEq(ws.has(Number), true);
|
||||
assertEq(ws.has(Function), true);
|
||||
assertEq(ws.has(Function), true);
|
||||
|
@ -25,4 +25,4 @@ assertEq(ws.has(value), true);
|
||||
assertEq(ws.delete(value), true);
|
||||
assertEq(ws.has(value), false);
|
||||
assertEq(ws.delete(value), false);
|
||||
assertEq(ws.has(value), false);
|
||||
assertEq(ws.has(value), false);
|
||||
|
@ -29,4 +29,4 @@ function checkMethod(name, arity) {
|
||||
checkMethod("has", 1);
|
||||
checkMethod("add", 1);
|
||||
checkMethod("delete", 1);
|
||||
checkMethod("clear", 0);
|
||||
checkMethod("clear", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user