mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00
Bug 1333903 - ErrorEvent, CloseEvent, ProgressEvent and FileList should be exposed in workers, r=baku
--HG-- extra : rebase_source : efcc0f77c1ae9838f1c999ec53a129b6f76c4f01
This commit is contained in:
parent
7a0a9ab067
commit
c3fe34260f
@ -10,7 +10,8 @@
|
||||
* http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#closeevent
|
||||
*/
|
||||
|
||||
[Constructor(DOMString type, optional CloseEventInit eventInitDict),LegacyEventInit]
|
||||
[Constructor(DOMString type, optional CloseEventInit eventInitDict),LegacyEventInit,
|
||||
Exposed=(Window,Worker)]
|
||||
interface CloseEvent : Event
|
||||
{
|
||||
readonly attribute boolean wasClean;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
[Constructor(DOMString type, optional ErrorEventInit eventInitDict),
|
||||
Exposed=(Window,System)]
|
||||
Exposed=(Window,Worker,System)]
|
||||
interface ErrorEvent : Event
|
||||
{
|
||||
readonly attribute DOMString message;
|
||||
|
@ -10,6 +10,7 @@
|
||||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FileList {
|
||||
getter File? item(unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
|
@ -4,7 +4,8 @@
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
[Constructor(DOMString type, optional ProgressEventInit eventInitDict)]
|
||||
[Constructor(DOMString type, optional ProgressEventInit eventInitDict),
|
||||
Exposed=(Window,Worker)]
|
||||
interface ProgressEvent : Event
|
||||
{
|
||||
readonly attribute boolean lengthComputable;
|
||||
|
@ -88,6 +88,8 @@ var interfaceNamesInGlobalScope =
|
||||
"Client",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Clients",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"CloseEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Crypto",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
@ -104,6 +106,8 @@ var interfaceNamesInGlobalScope =
|
||||
"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!
|
||||
"ErrorEvent",
|
||||
// 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!
|
||||
@ -116,6 +120,8 @@ var interfaceNamesInGlobalScope =
|
||||
"FetchEvent",
|
||||
// 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!
|
||||
"FileList",
|
||||
// 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!
|
||||
@ -176,6 +182,8 @@ var interfaceNamesInGlobalScope =
|
||||
{ name: "PerformanceObserver", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "PerformanceObserverEntryList", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"ProgressEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"PushEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -84,6 +84,8 @@ var interfaceNamesInGlobalScope =
|
||||
"Cache",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"CacheStorage",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"CloseEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Crypto",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
@ -102,6 +104,8 @@ var interfaceNamesInGlobalScope =
|
||||
"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!
|
||||
"ErrorEvent",
|
||||
// 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!
|
||||
@ -110,6 +114,8 @@ var interfaceNamesInGlobalScope =
|
||||
"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!
|
||||
"FileList",
|
||||
// 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!
|
||||
@ -170,6 +176,8 @@ var interfaceNamesInGlobalScope =
|
||||
{ name: "PerformanceObserver", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
{ name: "PerformanceObserverEntryList", nightly: true },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"ProgressEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"PushManager",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -21,24 +21,6 @@
|
||||
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "close" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: operation item(unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: attribute length]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[ArrayBuffer interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
@ -51,9 +33,6 @@
|
||||
[Event interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[idlharness.worker.html]
|
||||
type: testharness
|
||||
@ -86,25 +65,3 @@
|
||||
|
||||
[Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "close" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: operation item(unsigned long)]
|
||||
expected: FAIL
|
||||
|
||||
[FileList interface: attribute length]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -1,17 +1,9 @@
|
||||
[001.worker]
|
||||
type: testharness
|
||||
[The ErrorEvent interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
[The SharedWorker interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
[The FileList interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
[The ProgressEvent interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
[The CanvasProxy interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
@ -42,9 +34,6 @@
|
||||
[The PromiseRejectionEvent 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
|
||||
|
||||
@ -72,18 +61,6 @@
|
||||
[The PromiseRejectionEvent 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
|
||||
|
||||
[The ErrorEvent interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
[The ReadableStream interface object should be exposed.]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -18,18 +18,6 @@
|
||||
[The PromiseRejectionEvent 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
|
||||
|
||||
[The ErrorEvent interface object should be exposed]
|
||||
expected: FAIL
|
||||
|
||||
[The ReadableStream interface object should be exposed]
|
||||
expected: FAIL
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user