Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (208683 => 208684)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2016-11-14 15:46:05 UTC (rev 208683)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2016-11-14 15:46:28 UTC (rev 208684)
@@ -1,3 +1,29 @@
+2016-11-14 Youenn Fablet <you...@apple.com>
+
+ Support WPT templated tests
+ https://bugs.webkit.org/show_bug.cgi?id=164707
+
+ Reviewed by Sam Weinig.
+
+ * web-platform-tests/IndexedDB/interfaces.worker-expected.txt: Added.
+ * web-platform-tests/IndexedDB/interfaces.worker.html: Added.
+ * web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker-expected.txt: Added.
+ * web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker.html: Added.
+ * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.html: Added.
+ * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.html: Added.
+ * web-platform-tests/XMLHttpRequest/abort-during-open.worker-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/abort-during-open.worker.html: Added.
+ * web-platform-tests/XMLHttpRequest/send-send.worker-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/send-send.worker.html: Added.
+ * web-platform-tests/XMLHttpRequest/send-usp.worker-expected.txt: Added.
+ * web-platform-tests/XMLHttpRequest/send-usp.worker.html: Added.
+ * web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker-expected.txt: Added.
+ * web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker.html: Added.
+ * web-platform-tests/url/historical.worker-expected.txt: Added.
+ * web-platform-tests/url/historical.worker.html: Added.
+
2016-11-12 Ryosuke Niwa <rn...@webkit.org>
document.currentScript should be null when running a script inside a shadow tree
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,42 @@
+
+FAIL WorkerGlobalScope interface: existence and properties of interface object assert_false: expected false got true
+FAIL Event interface: existence and properties of interface object assert_false: expected false got true
+FAIL EventTarget interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBKeyRange interface: existence and properties of interface object assert_false: expected false got true
+PASS IDBKeyRange must be primary interface of IDBKeyRange.only(0)
+PASS Stringification of IDBKeyRange.only(0)
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "lower" with the proper type (0)
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "upper" with the proper type (1)
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "lowerOpen" with the proper type (2)
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "upperOpen" with the proper type (3)
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "only" with the proper type (4)
+PASS IDBKeyRange interface: calling only(any) on IDBKeyRange.only(0) with too few arguments must throw TypeError
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "lowerBound" with the proper type (5)
+PASS IDBKeyRange interface: calling lowerBound(any,boolean) on IDBKeyRange.only(0) with too few arguments must throw TypeError
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "upperBound" with the proper type (6)
+PASS IDBKeyRange interface: calling upperBound(any,boolean) on IDBKeyRange.only(0) with too few arguments must throw TypeError
+PASS IDBKeyRange interface: IDBKeyRange.only(0) must inherit property "bound" with the proper type (7)
+PASS IDBKeyRange interface: calling bound(any,any,boolean,boolean) on IDBKeyRange.only(0) with too few arguments must throw TypeError
+FAIL IDBRequest interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBOpenDBRequest interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBVersionChangeEvent interface: existence and properties of interface object assert_false: expected false got true
+PASS IDBVersionChangeEvent must be primary interface of new IDBVersionChangeEvent('foo')
+PASS Stringification of new IDBVersionChangeEvent('foo')
+PASS IDBVersionChangeEvent interface: new IDBVersionChangeEvent('foo') must inherit property "oldVersion" with the proper type (0)
+PASS IDBVersionChangeEvent interface: new IDBVersionChangeEvent('foo') must inherit property "newVersion" with the proper type (1)
+FAIL IDBFactory interface: existence and properties of interface object assert_false: expected false got true
+PASS IDBFactory must be primary interface of self.indexedDB
+PASS Stringification of self.indexedDB
+PASS IDBFactory interface: self.indexedDB must inherit property "open" with the proper type (0)
+PASS IDBFactory interface: calling open(DOMString,unsigned long long) on self.indexedDB with too few arguments must throw TypeError
+PASS IDBFactory interface: self.indexedDB must inherit property "deleteDatabase" with the proper type (1)
+PASS IDBFactory interface: calling deleteDatabase(DOMString) on self.indexedDB with too few arguments must throw TypeError
+PASS IDBFactory interface: self.indexedDB must inherit property "cmp" with the proper type (2)
+PASS IDBFactory interface: calling cmp(any,any) on self.indexedDB with too few arguments must throw TypeError
+FAIL IDBDatabase interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBObjectStore interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBIndex interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBCursor interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBCursorWithValue interface: existence and properties of interface object assert_false: expected false got true
+FAIL IDBTransaction interface: existence and properties of interface object assert_false: expected false got true
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,10 @@
+
+FAIL existence and properties of DOMException assert_equals: prototype of self's property "DOMException" is not Error expected function "function Error() {
+ [native code]
+}" but got function "function () {
+ [native code]
+}"
+PASS existence and properties of DOMException.prototype
+PASS existence of name and code properties on DOMException.prototype
+PASS existence and properties of exception interface prototype object's "constructor" property
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,7 @@
+
+PASS default value is false, set value is true
+PASS can also be set in OPEN state
+PASS setting on synchronous XHR
+PASS setting withCredentials when not in UNSENT, OPENED state (asynchronous)
+PASS setting withCredentials when in DONE state (synchronous)
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,4 @@
+
+Harness Error (FAIL), message = Error in worker: [object Event]
+
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,3 @@
+
+FAIL Untitled assert_equals: after abort() expected 1 but got 0
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,3 @@
+
+PASS Untitled
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,131 @@
+
+PASS Overall fetch with URLSearchParams
+PASS XMLHttpRequest.send(URLSearchParams) (0)
+PASS XMLHttpRequest.send(URLSearchParams) (1)
+PASS XMLHttpRequest.send(URLSearchParams) (2)
+PASS XMLHttpRequest.send(URLSearchParams) (3)
+PASS XMLHttpRequest.send(URLSearchParams) (4)
+PASS XMLHttpRequest.send(URLSearchParams) (5)
+PASS XMLHttpRequest.send(URLSearchParams) (6)
+PASS XMLHttpRequest.send(URLSearchParams) (7)
+PASS XMLHttpRequest.send(URLSearchParams) (8)
+PASS XMLHttpRequest.send(URLSearchParams) (9)
+PASS XMLHttpRequest.send(URLSearchParams) (10)
+PASS XMLHttpRequest.send(URLSearchParams) (11)
+PASS XMLHttpRequest.send(URLSearchParams) (12)
+PASS XMLHttpRequest.send(URLSearchParams) (13)
+PASS XMLHttpRequest.send(URLSearchParams) (14)
+PASS XMLHttpRequest.send(URLSearchParams) (15)
+PASS XMLHttpRequest.send(URLSearchParams) (16)
+PASS XMLHttpRequest.send(URLSearchParams) (17)
+PASS XMLHttpRequest.send(URLSearchParams) (18)
+PASS XMLHttpRequest.send(URLSearchParams) (19)
+PASS XMLHttpRequest.send(URLSearchParams) (20)
+PASS XMLHttpRequest.send(URLSearchParams) (21)
+PASS XMLHttpRequest.send(URLSearchParams) (22)
+PASS XMLHttpRequest.send(URLSearchParams) (23)
+PASS XMLHttpRequest.send(URLSearchParams) (24)
+PASS XMLHttpRequest.send(URLSearchParams) (25)
+PASS XMLHttpRequest.send(URLSearchParams) (26)
+PASS XMLHttpRequest.send(URLSearchParams) (27)
+PASS XMLHttpRequest.send(URLSearchParams) (28)
+PASS XMLHttpRequest.send(URLSearchParams) (29)
+PASS XMLHttpRequest.send(URLSearchParams) (30)
+PASS XMLHttpRequest.send(URLSearchParams) (31)
+PASS XMLHttpRequest.send(URLSearchParams) (32)
+PASS XMLHttpRequest.send(URLSearchParams) (33)
+PASS XMLHttpRequest.send(URLSearchParams) (34)
+PASS XMLHttpRequest.send(URLSearchParams) (35)
+PASS XMLHttpRequest.send(URLSearchParams) (36)
+PASS XMLHttpRequest.send(URLSearchParams) (37)
+PASS XMLHttpRequest.send(URLSearchParams) (38)
+PASS XMLHttpRequest.send(URLSearchParams) (39)
+PASS XMLHttpRequest.send(URLSearchParams) (40)
+PASS XMLHttpRequest.send(URLSearchParams) (41)
+PASS XMLHttpRequest.send(URLSearchParams) (42)
+PASS XMLHttpRequest.send(URLSearchParams) (43)
+PASS XMLHttpRequest.send(URLSearchParams) (44)
+PASS XMLHttpRequest.send(URLSearchParams) (45)
+PASS XMLHttpRequest.send(URLSearchParams) (46)
+PASS XMLHttpRequest.send(URLSearchParams) (47)
+PASS XMLHttpRequest.send(URLSearchParams) (48)
+PASS XMLHttpRequest.send(URLSearchParams) (49)
+PASS XMLHttpRequest.send(URLSearchParams) (50)
+PASS XMLHttpRequest.send(URLSearchParams) (51)
+PASS XMLHttpRequest.send(URLSearchParams) (52)
+PASS XMLHttpRequest.send(URLSearchParams) (53)
+PASS XMLHttpRequest.send(URLSearchParams) (54)
+PASS XMLHttpRequest.send(URLSearchParams) (55)
+PASS XMLHttpRequest.send(URLSearchParams) (56)
+PASS XMLHttpRequest.send(URLSearchParams) (57)
+PASS XMLHttpRequest.send(URLSearchParams) (58)
+PASS XMLHttpRequest.send(URLSearchParams) (59)
+PASS XMLHttpRequest.send(URLSearchParams) (60)
+PASS XMLHttpRequest.send(URLSearchParams) (61)
+PASS XMLHttpRequest.send(URLSearchParams) (62)
+PASS XMLHttpRequest.send(URLSearchParams) (63)
+PASS XMLHttpRequest.send(URLSearchParams) (64)
+PASS XMLHttpRequest.send(URLSearchParams) (65)
+PASS XMLHttpRequest.send(URLSearchParams) (66)
+PASS XMLHttpRequest.send(URLSearchParams) (67)
+PASS XMLHttpRequest.send(URLSearchParams) (68)
+PASS XMLHttpRequest.send(URLSearchParams) (69)
+PASS XMLHttpRequest.send(URLSearchParams) (70)
+PASS XMLHttpRequest.send(URLSearchParams) (71)
+PASS XMLHttpRequest.send(URLSearchParams) (72)
+PASS XMLHttpRequest.send(URLSearchParams) (73)
+PASS XMLHttpRequest.send(URLSearchParams) (74)
+PASS XMLHttpRequest.send(URLSearchParams) (75)
+PASS XMLHttpRequest.send(URLSearchParams) (76)
+PASS XMLHttpRequest.send(URLSearchParams) (77)
+PASS XMLHttpRequest.send(URLSearchParams) (78)
+PASS XMLHttpRequest.send(URLSearchParams) (79)
+PASS XMLHttpRequest.send(URLSearchParams) (80)
+PASS XMLHttpRequest.send(URLSearchParams) (81)
+PASS XMLHttpRequest.send(URLSearchParams) (82)
+PASS XMLHttpRequest.send(URLSearchParams) (83)
+PASS XMLHttpRequest.send(URLSearchParams) (84)
+PASS XMLHttpRequest.send(URLSearchParams) (85)
+PASS XMLHttpRequest.send(URLSearchParams) (86)
+PASS XMLHttpRequest.send(URLSearchParams) (87)
+PASS XMLHttpRequest.send(URLSearchParams) (88)
+PASS XMLHttpRequest.send(URLSearchParams) (89)
+PASS XMLHttpRequest.send(URLSearchParams) (90)
+PASS XMLHttpRequest.send(URLSearchParams) (91)
+PASS XMLHttpRequest.send(URLSearchParams) (92)
+PASS XMLHttpRequest.send(URLSearchParams) (93)
+PASS XMLHttpRequest.send(URLSearchParams) (94)
+PASS XMLHttpRequest.send(URLSearchParams) (95)
+PASS XMLHttpRequest.send(URLSearchParams) (96)
+PASS XMLHttpRequest.send(URLSearchParams) (97)
+PASS XMLHttpRequest.send(URLSearchParams) (98)
+PASS XMLHttpRequest.send(URLSearchParams) (99)
+PASS XMLHttpRequest.send(URLSearchParams) (100)
+PASS XMLHttpRequest.send(URLSearchParams) (101)
+PASS XMLHttpRequest.send(URLSearchParams) (102)
+PASS XMLHttpRequest.send(URLSearchParams) (103)
+PASS XMLHttpRequest.send(URLSearchParams) (104)
+PASS XMLHttpRequest.send(URLSearchParams) (105)
+PASS XMLHttpRequest.send(URLSearchParams) (106)
+PASS XMLHttpRequest.send(URLSearchParams) (107)
+PASS XMLHttpRequest.send(URLSearchParams) (108)
+PASS XMLHttpRequest.send(URLSearchParams) (109)
+PASS XMLHttpRequest.send(URLSearchParams) (110)
+PASS XMLHttpRequest.send(URLSearchParams) (111)
+PASS XMLHttpRequest.send(URLSearchParams) (112)
+PASS XMLHttpRequest.send(URLSearchParams) (113)
+PASS XMLHttpRequest.send(URLSearchParams) (114)
+PASS XMLHttpRequest.send(URLSearchParams) (115)
+PASS XMLHttpRequest.send(URLSearchParams) (116)
+PASS XMLHttpRequest.send(URLSearchParams) (117)
+PASS XMLHttpRequest.send(URLSearchParams) (118)
+PASS XMLHttpRequest.send(URLSearchParams) (119)
+PASS XMLHttpRequest.send(URLSearchParams) (120)
+PASS XMLHttpRequest.send(URLSearchParams) (121)
+PASS XMLHttpRequest.send(URLSearchParams) (122)
+PASS XMLHttpRequest.send(URLSearchParams) (123)
+PASS XMLHttpRequest.send(URLSearchParams) (124)
+PASS XMLHttpRequest.send(URLSearchParams) (125)
+PASS XMLHttpRequest.send(URLSearchParams) (126)
+PASS XMLHttpRequest.send(URLSearchParams) (127)
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,14 @@
+
+PASS appCodeName
+PASS appName
+PASS appVersion
+PASS platform
+PASS product
+PASS productSub
+PASS userAgent type
+PASS userAgent value
+PASS vendor
+PASS vendorSub
+PASS taintEnabled
+PASS oscpu
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/system-state-and-capabilities/the-navigator-object/NavigatorID.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker-expected.txt (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker-expected.txt 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1,6 @@
+
+PASS searchParams on location object
+FAIL Setting URL's href attribute and base URLs assert_throws: function "function () {
+ url.href = ""
+ }" did not throw
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html (0 => 208684)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.html 2016-11-14 15:46:28 UTC (rev 208684)
@@ -0,0 +1 @@
+<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Modified: trunk/Tools/ChangeLog (208683 => 208684)
--- trunk/Tools/ChangeLog 2016-11-14 15:46:05 UTC (rev 208683)
+++ trunk/Tools/ChangeLog 2016-11-14 15:46:28 UTC (rev 208684)
@@ -1,3 +1,14 @@
+2016-11-14 Youenn Fablet <you...@apple.com>
+
+ Support WPT templated tests
+ https://bugs.webkit.org/show_bug.cgi?id=164707
+
+ Reviewed by Sam Weinig.
+
+ * Scripts/webkitpy/w3c/test_importer.py:
+ (TestImporter.write_html_files_for_templated_js_tests): Generating empty HTML files for templated JS tests.
+ (TestImporter.import_tests):
+
2016-11-13 JF Bastien <jfbast...@apple.com>
Implement WTF::Expected
Modified: trunk/Tools/Scripts/webkitpy/w3c/test_importer.py (208683 => 208684)
--- trunk/Tools/Scripts/webkitpy/w3c/test_importer.py 2016-11-14 15:46:05 UTC (rev 208683)
+++ trunk/Tools/Scripts/webkitpy/w3c/test_importer.py 2016-11-14 15:46:28 UTC (rev 208684)
@@ -360,6 +360,16 @@
return True
return self.options.convert_test_harness_links
+ def write_html_files_for_templated_js_tests(self, orig_filepath, new_filepath):
+ content = '<!-- This file is required for WebKit test infrastructure to run the templated test -->'
+ if (orig_filepath.endswith('.worker.js')):
+ self.filesystem.write_text_file(new_filepath.replace('.worker.js', '.worker.html'), content)
+ return
+ if (orig_filepath.endswith('.any.js')):
+ self.filesystem.write_text_file(new_filepath.replace('.any.js', '.any.html'), content)
+ self.filesystem.write_text_file(new_filepath.replace('.any.js', '.worker.html'), content)
+ return
+
def import_tests(self):
total_imported_tests = 0
total_imported_reftests = 0
@@ -454,6 +464,8 @@
else:
self.filesystem.copyfile(orig_filepath, new_filepath)
+ self.write_html_files_for_templated_js_tests(orig_filepath, new_filepath)
+
copied_files.append(new_filepath.replace(self._webkit_root, ''))
self.remove_deleted_files(new_path, copied_files)