Bug 792439 - Insert new lines at end of file. r=me

This commit is contained in:
Tom Schuster 2014-08-19 12:54:23 +02:00
parent 073611f591
commit 7eaad038a6
6 changed files with 6 additions and 6 deletions

View File

@ -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);
}
}

View File

@ -131,4 +131,4 @@ JSObject *
js_InitWeakSetClass(JSContext *cx, HandleObject obj)
{
return WeakSetObject::initClass(cx, obj);
}
}

View File

@ -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 */

View File

@ -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);

View File

@ -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);

View File

@ -29,4 +29,4 @@ function checkMethod(name, arity) {
checkMethod("has", 1);
checkMethod("add", 1);
checkMethod("delete", 1);
checkMethod("clear", 0);
checkMethod("clear", 0);