Bug 792439 - Insert new lines at end of file. r=me
authorTom Schuster <evilpies@gmail.com>
Tue, 19 Aug 2014 12:54:23 +0200
changeset 200249 be20d02a5068397ce85c4e54084034c92f82bfb5
parent 200248 68eb1c3336bd0675179f517d555509e77706a674
child 200250 8ad345726327b5a71766e2c50e2e0398123be478
push id47854
push userevilpies@gmail.com
push dateTue, 19 Aug 2014 10:54:35 +0000
treeherdermozilla-inbound@be20d02a5068 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs792439
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 792439 - Insert new lines at end of file. r=me
js/src/builtin/WeakSet.js
js/src/builtin/WeakSetObject.cpp
js/src/builtin/WeakSetObject.h
js/src/jit-test/tests/collections/WeakSet-constructor.js
js/src/jit-test/tests/collections/WeakSet-delete.js
js/src/jit-test/tests/collections/WeakSet-surface.js
--- a/js/src/builtin/WeakSet.js
+++ b/js/src/builtin/WeakSet.js
@@ -64,9 +64,9 @@ function WeakSet_has(value) {
     // Step 5.
     if (!IsObject(value))
         ThrowError(JSMSG_NOT_NONNULL_OBJECT);
 
     // Step 6.
     let entries = UnsafeGetReservedSlot(this, WEAKSET_MAP_SLOT);
     // Steps 7-8.
     return callFunction(std_WeakMap_has, entries, value);
-}
\ No newline at end of file
+}
--- a/js/src/builtin/WeakSetObject.cpp
+++ b/js/src/builtin/WeakSetObject.cpp
@@ -126,9 +126,9 @@ WeakSetObject::construct(JSContext *cx, 
     return true;
 }
 
 
 JSObject *
 js_InitWeakSetClass(JSContext *cx, HandleObject obj)
 {
     return WeakSetObject::initClass(cx, obj);
-}
\ No newline at end of file
+}
--- a/js/src/builtin/WeakSetObject.h
+++ b/js/src/builtin/WeakSetObject.h
@@ -27,9 +27,9 @@ class WeakSetObject : public JSObject
     static bool construct(JSContext *cx, unsigned argc, Value *vp);
 };
 
 } // namespace js
 
 extern JSObject *
 js_InitWeakSetClass(JSContext *cx, js::HandleObject obj);
 
-#endif /* builtin_WeakSetObject_h */
\ No newline at end of file
+#endif /* builtin_WeakSetObject_h */
--- a/js/src/jit-test/tests/collections/WeakSet-constructor.js
+++ b/js/src/jit-test/tests/collections/WeakSet-constructor.js
@@ -1,9 +1,9 @@
 var list = [Number, Function];
 
 var ws = new WeakSet(list);
 assertEq(ws.has(Number), true);
 assertEq(ws.has(Function), true);
 
 ws = new WeakSet(Set(list));
 assertEq(ws.has(Number), true);
-assertEq(ws.has(Function), true);
\ No newline at end of file
+assertEq(ws.has(Function), true);
--- a/js/src/jit-test/tests/collections/WeakSet-delete.js
+++ b/js/src/jit-test/tests/collections/WeakSet-delete.js
@@ -20,9 +20,9 @@ assertEq(ws.has(value), false);
 // Delete non-empty
 for (var i = 0; i < 10; i++)
     ws.add({});
 assertEq(ws.add(value), ws);
 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);
\ No newline at end of file
+assertEq(ws.has(value), false);
--- a/js/src/jit-test/tests/collections/WeakSet-surface.js
+++ b/js/src/jit-test/tests/collections/WeakSet-surface.js
@@ -24,9 +24,9 @@ function checkMethod(name, arity) {
     assertEq(typeof desc.value, 'function');
     assertEq(desc.value.name, name);
     assertEq(desc.value.length, arity);
 }
 
 checkMethod("has", 1);
 checkMethod("add", 1);
 checkMethod("delete", 1);
-checkMethod("clear", 0);
\ No newline at end of file
+checkMethod("clear", 0);