Title: [253614] trunk
Revision
253614
Author
you...@apple.com
Date
2019-12-17 01:02:12 -0800 (Tue, 17 Dec 2019)

Log Message

FileList should be exposed to workers
https://bugs.webkit.org/show_bug.cgi?id=204074

Reviewed by Chris Dumez.

LayoutTests/imported/w3c:

* web-platform-tests/FileAPI/idlharness.worker-expected.txt:
* web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt:

Source/WebCore:

Covered by rebased test.

* fileapi/FileList.idl:

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (253613 => 253614)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2019-12-17 08:50:20 UTC (rev 253613)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2019-12-17 09:02:12 UTC (rev 253614)
@@ -1,3 +1,13 @@
+2019-12-17  youenn fablet  <you...@apple.com>
+
+        FileList should be exposed to workers
+        https://bugs.webkit.org/show_bug.cgi?id=204074
+
+        Reviewed by Chris Dumez.
+
+        * web-platform-tests/FileAPI/idlharness.worker-expected.txt:
+        * web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt:
+
 2019-12-16  Chris Dumez  <cdu...@apple.com>
 
         REGRESSION: [ Mac wk2 ] imported/w3c/web-platform-tests/service-workers/service-worker/update-no-cache-request-headers.https.html is a flaky failure

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/idlharness.worker-expected.txt (253613 => 253614)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/idlharness.worker-expected.txt	2019-12-17 08:50:20 UTC (rev 253613)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/FileAPI/idlharness.worker-expected.txt	2019-12-17 09:02:12 UTC (rev 253614)
@@ -42,14 +42,14 @@
 FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "stream()" with the proper type assert_inherits: property "stream" not found in prototype chain
 FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "text()" with the proper type assert_inherits: property "text" not found in prototype chain
 FAIL Blob interface: new File(["myFileBits"], "myFileName") must inherit property "arrayBuffer()" with the proper type assert_inherits: property "arrayBuffer" not found in prototype chain
-FAIL FileList interface: existence and properties of interface object assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface object length assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface object name assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface: operation item(unsigned long) assert_own_property: self does not have own property "FileList" expected property "FileList" missing
-FAIL FileList interface: attribute length assert_own_property: self does not have own property "FileList" expected property "FileList" missing
+PASS FileList interface: existence and properties of interface object 
+PASS FileList interface object length 
+PASS FileList interface object name 
+PASS FileList interface: existence and properties of interface prototype object 
+PASS FileList interface: existence and properties of interface prototype object's "constructor" property 
+PASS FileList interface: existence and properties of interface prototype object's @@unscopables property 
+PASS FileList interface: operation item(unsigned long) 
+PASS FileList interface: attribute length 
 PASS FileReader interface: existence and properties of interface object 
 PASS FileReader interface object length 
 PASS FileReader interface object name 

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt (253613 => 253614)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt	2019-12-17 08:50:20 UTC (rev 253613)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/workers/semantics/interface-objects/001.worker-expected.txt	2019-12-17 09:02:12 UTC (rev 253614)
@@ -40,7 +40,7 @@
 PASS The URLSearchParams interface object should be exposed. 
 PASS The File interface object should be exposed. 
 PASS The Blob interface object should be exposed. 
-FAIL The FileList interface object should be exposed. assert_own_property: expected property "FileList" missing
+PASS The FileList interface object should be exposed. 
 PASS The FileReader interface object should be exposed. 
 PASS The FileReaderSync interface object should be exposed. 
 PASS The EventTarget interface object should be exposed. 

Modified: trunk/Source/WebCore/ChangeLog (253613 => 253614)


--- trunk/Source/WebCore/ChangeLog	2019-12-17 08:50:20 UTC (rev 253613)
+++ trunk/Source/WebCore/ChangeLog	2019-12-17 09:02:12 UTC (rev 253614)
@@ -1,3 +1,14 @@
+2019-12-17  youenn fablet  <you...@apple.com>
+
+        FileList should be exposed to workers
+        https://bugs.webkit.org/show_bug.cgi?id=204074
+
+        Reviewed by Chris Dumez.
+
+        Covered by rebased test.
+
+        * fileapi/FileList.idl:
+
 2019-12-16  Joonghun Park  <jh718.p...@samsung.com>
 
         Unreviewed. Remove the build warnings below since r253488.

Modified: trunk/Source/WebCore/fileapi/FileList.idl (253613 => 253614)


--- trunk/Source/WebCore/fileapi/FileList.idl	2019-12-17 08:50:20 UTC (rev 253613)
+++ trunk/Source/WebCore/fileapi/FileList.idl	2019-12-17 09:02:12 UTC (rev 253614)
@@ -24,6 +24,7 @@
  */
 
 [
+    Exposed=(Window,Worker),
     ImplementationLacksVTable,
 ] interface FileList {
     readonly attribute unsigned long length;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to