Bug 1267903 - Part 2: Enable related test cases. r=baku
authorStone Shih <sshih@mozilla.com>
Thu, 17 Nov 2016 19:07:53 +0800
changeset 462258 e8c7c25bb30c25484d8f5a733d2858a168a50fb7
parent 462257 eae4cf8e37a81865865b7a6baa73e041e540f071
child 462259 ba7751450a450324f7d500dca6a75dd9d52a9e95
push id41683
push userbmo:steffen.wilberg@web.de
push dateMon, 16 Jan 2017 21:50:32 +0000
reviewersbaku
bugs1267903
milestone53.0a1
Bug 1267903 - Part 2: Enable related test cases. r=baku MozReview-Commit-ID: KXDlkewqs9n
dom/workers/test/test_worker_interfaces.js
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-close.htm.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-constructor-non-same-origin.htm.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-constructor-url-bogus.htm.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-eventtarget.worker.js.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-onmesage.htm.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-onopen.htm.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-prototype.htm.ini
testing/web-platform/meta/eventsource/dedicated-worker/eventsource-url.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-close.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-constructor-non-same-origin.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-constructor-url-bogus.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-eventtarget.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-onmesage.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-onopen.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-prototype.htm.ini
testing/web-platform/meta/eventsource/shared-worker/eventsource-url.htm.ini
testing/web-platform/meta/workers/constructors/Worker/expected-self-properties.worker.js.ini
testing/web-platform/meta/workers/semantics/interface-objects/001.worker.js.ini
testing/web-platform/meta/workers/semantics/interface-objects/003.html.ini
--- a/dom/workers/test/test_worker_interfaces.js
+++ b/dom/workers/test/test_worker_interfaces.js
@@ -100,16 +100,18 @@ var interfaceNamesInGlobalScope =
     "DOMException",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "DOMRequest",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "DOMStringList",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "Event",
 // IMPORTANT: Do not change this list without review from a DOM peer!
+    "EventSource",
+// IMPORTANT: Do not change this list without review from a DOM peer!
     "EventTarget",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "File",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "FileReader",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "FileReaderSync",
 // IMPORTANT: Do not change this list without review from a DOM peer!
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-close.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-close.htm]
-  type: testharness
-  [dedicated worker - EventSource: close()]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-constructor-non-same-origin.htm.ini
+++ /dev/null
@@ -1,20 +0,0 @@
-[eventsource-constructor-non-same-origin.htm]
-  type: testharness
-  [dedicated worker - EventSource: constructor (act as if there is a network error) (http://example.not/)]
-    expected: FAIL
-
-  [dedicated worker - EventSource: constructor (act as if there is a network error) (https://example.not/test)]
-    expected: FAIL
-
-  [dedicated worker - EventSource: constructor (act as if there is a network error) (ftp://example.not/)]
-    expected: FAIL
-
-  [dedicated worker - EventSource: constructor (act as if there is a network error) (about:blank)]
-    expected: FAIL
-
-  [dedicated worker - EventSource: constructor (act as if there is a network error) (mailto:whatwg@awesome.example)]
-    expected: FAIL
-
-  [dedicated worker - EventSource: constructor (act as if there is a network error) (javascript:alert('FAIL'))]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-constructor-url-bogus.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-constructor-url-bogus.htm]
-  type: testharness
-  [dedicated worker - EventSource: constructor (invalid URL)]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-eventtarget.worker.js.ini
+++ /dev/null
@@ -1,11 +0,0 @@
-[eventsource-eventtarget.worker]
-  type: testharness
-  [dedicated worker - EventSource: addEventListener()]
-    expected: FAIL
-
-
-[eventsource-eventtarget.worker.html]
-  type: testharness
-  [dedicated worker - EventSource: addEventListener()]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-onmesage.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-onmesage.htm]
-  type: testharness
-  [dedicated worker - EventSource: onmessage]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-onopen.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-onopen.htm]
-  type: testharness
-  [dedicated worker - EventSource: onopen (announcing the connection)]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-prototype.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-prototype.htm]
-  type: testharness
-  [dedicated worker - EventSource: prototype et al]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/dedicated-worker/eventsource-url.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-url.htm]
-  type: testharness
-  [dedicated worker - EventSource: url]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-close.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-close.htm]
-  type: testharness
-  [shared worker - EventSource: close()]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-constructor-non-same-origin.htm.ini
+++ /dev/null
@@ -1,20 +0,0 @@
-[eventsource-constructor-non-same-origin.htm]
-  type: testharness
-  [shared worker - EventSource: constructor (act as if there is a network error) (http://example.not)]
-    expected: FAIL
-
-  [shared worker - EventSource: constructor (act as if there is a network error) (https://example.not/test)]
-    expected: FAIL
-
-  [shared worker - EventSource: constructor (act as if there is a network error) (ftp://example.not)]
-    expected: FAIL
-
-  [shared worker - EventSource: constructor (act as if there is a network error) (about:blank)]
-    expected: FAIL
-
-  [shared worker - EventSource: constructor (act as if there is a network error) (mailto:whatwg@awesome.example)]
-    expected: FAIL
-
-  [shared worker - EventSource: constructor (act as if there is a network error) (javascript:alert('FAIL'))]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-constructor-url-bogus.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-constructor-url-bogus.htm]
-  type: testharness
-  [shared worker - EventSource: constructor (invalid URL)]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-eventtarget.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-eventtarget.htm]
-  type: testharness
-  [shared worker - EventSource: addEventListener()]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-onmesage.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-onmesage.htm]
-  type: testharness
-  [shared worker - EventSource: onmessage]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-onopen.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-onopen.htm]
-  type: testharness
-  [shared worker - EventSource: onopen (announcing the connection)]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-prototype.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-prototype.htm]
-  type: testharness
-  [shared worker - EventSource: prototype et al]
-    expected: FAIL
-
deleted file mode 100644
--- a/testing/web-platform/meta/eventsource/shared-worker/eventsource-url.htm.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[eventsource-url.htm]
-  type: testharness
-  [shared worker - EventSource: url]
-    expected: FAIL
-
--- a/testing/web-platform/meta/workers/constructors/Worker/expected-self-properties.worker.js.ini
+++ b/testing/web-platform/meta/workers/constructors/Worker/expected-self-properties.worker.js.ini
@@ -1,17 +1,11 @@
 [expected-self-properties.worker]
   type: testharness
-  [existence of EventSource]
-    expected: FAIL
-
   [existence of SharedWorker]
     expected: FAIL
 
 
 [expected-self-properties.worker.html]
   type: testharness
-  [existence of EventSource]
-    expected: FAIL
-
   [existence of SharedWorker]
     expected: FAIL
 
--- a/testing/web-platform/meta/workers/semantics/interface-objects/001.worker.js.ini
+++ b/testing/web-platform/meta/workers/semantics/interface-objects/001.worker.js.ini
@@ -37,19 +37,16 @@
     expected: FAIL
 
   [The Path2D interface object should be exposed.]
     expected: FAIL
 
   [The PromiseRejectionEvent interface object should be exposed.]
     expected: FAIL
 
-  [The EventSource interface object should be exposed.]
-    expected: FAIL
-
   [The CloseEvent interface object should be exposed.]
     expected: FAIL
 
   [The ReadableStream interface object should be exposed.]
     expected: FAIL
 
   [The WritableStream interface object should be exposed.]
     expected: FAIL
@@ -70,19 +67,16 @@
     expected: FAIL
 
   [The Path2D interface object should be exposed.]
     expected: FAIL
 
   [The PromiseRejectionEvent interface object should be exposed.]
     expected: FAIL
 
-  [The EventSource interface object should be exposed.]
-    expected: FAIL
-
   [The CloseEvent interface object should be exposed.]
     expected: FAIL
 
   [The ProgressEvent interface object should be exposed.]
     expected: FAIL
 
   [The FileList interface object should be exposed.]
     expected: FAIL
--- a/testing/web-platform/meta/workers/semantics/interface-objects/003.html.ini
+++ b/testing/web-platform/meta/workers/semantics/interface-objects/003.html.ini
@@ -13,19 +13,16 @@
     expected: FAIL
 
   [The Path2D interface object should be exposed]
     expected: FAIL
 
   [The PromiseRejectionEvent interface object should be exposed]
     expected: FAIL
 
-  [The EventSource interface object should be exposed]
-    expected: FAIL
-
   [The CloseEvent interface object should be exposed]
     expected: FAIL
 
   [The ProgressEvent interface object should be exposed]
     expected: FAIL
 
   [The FileList interface object should be exposed]
     expected: FAIL