Bug 1161950 - patch 2 - fix the webplatform test, r=Ms2ger
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 14 May 2015 13:13:37 +0100
changeset 243790 ef806bb00e1fc881eada12eb4bfe563565e8e9a5
parent 243789 48a1594590341320e84560f0b35844c773849ee4
child 243791 cc60ee6240e207aff52cfaaaf088521b4e28a4eb
push id59777
push useramarchesini@mozilla.com
push dateThu, 14 May 2015 12:14:18 +0000
treeherdermozilla-inbound@ef806bb00e1f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs1161950
milestone41.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 1161950 - patch 2 - fix the webplatform test, r=Ms2ger
testing/web-platform/tests/websockets/interfaces/CloseEvent/historical.html
--- a/testing/web-platform/tests/websockets/interfaces/CloseEvent/historical.html
+++ b/testing/web-platform/tests/websockets/interfaces/CloseEvent/historical.html
@@ -8,11 +8,11 @@
 test(function() {
   assert_throws("NotSupportedError", function() {
     document.createEvent("CloseEvent")
   });
 }, "createEvent(\"CloseEvent\")");
 
 test(function() {
   assert_false("initCloseEvent" in CloseEvent.prototype);
-  assert_false("initCloseEvent" in new CloseEvent());
+  assert_false("initCloseEvent" in new CloseEvent('close'));
 }, "initCloseEvent");
 </script>