diff options
17 files changed, 334 insertions, 0 deletions
diff --git a/tests/wpt/include.ini b/tests/wpt/include.ini index 50b3bae353e..d37502e0356 100644 --- a/tests/wpt/include.ini +++ b/tests/wpt/include.ini @@ -27,6 +27,8 @@ skip: true skip: true [activation] skip: false +[navigation-timing] + skip: false [old-tests] skip: true [submission] diff --git a/tests/wpt/metadata/navigation-timing/idlharness.html.ini b/tests/wpt/metadata/navigation-timing/idlharness.html.ini new file mode 100644 index 00000000000..c5b0f355386 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/idlharness.html.ini @@ -0,0 +1,185 @@ +[idlharness.html] + type: testharness + [Window interface: attribute performance] + expected: FAIL + + [Window interface: window must inherit property "performance" with the proper type (0)] + expected: FAIL + + [PerformanceTiming interface: attribute unloadEventStart] + expected: FAIL + + [PerformanceTiming interface: attribute unloadEventEnd] + expected: FAIL + + [PerformanceTiming interface: attribute redirectStart] + expected: FAIL + + [PerformanceTiming interface: attribute redirectEnd] + expected: FAIL + + [PerformanceTiming interface: attribute fetchStart] + expected: FAIL + + [PerformanceTiming interface: attribute domainLookupStart] + expected: FAIL + + [PerformanceTiming interface: attribute domainLookupEnd] + expected: FAIL + + [PerformanceTiming interface: attribute connectStart] + expected: FAIL + + [PerformanceTiming interface: attribute connectEnd] + expected: FAIL + + [PerformanceTiming interface: attribute secureConnectionStart] + expected: FAIL + + [PerformanceTiming interface: attribute requestStart] + expected: FAIL + + [PerformanceTiming interface: attribute responseStart] + expected: FAIL + + [PerformanceTiming interface: attribute responseEnd] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "unloadEventStart" with the proper type (1)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "unloadEventEnd" with the proper type (2)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "redirectStart" with the proper type (3)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "redirectEnd" with the proper type (4)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "fetchStart" with the proper type (5)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "domainLookupStart" with the proper type (6)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "domainLookupEnd" with the proper type (7)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "connectStart" with the proper type (8)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "connectEnd" with the proper type (9)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "secureConnectionStart" with the proper type (10)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "requestStart" with the proper type (11)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "responseStart" with the proper type (12)] + expected: FAIL + + [PerformanceTiming interface: window.performance.timing must inherit property "responseEnd" with the proper type (13)] + expected: FAIL + + [PerformanceNavigation interface: existence and properties of interface object] + expected: FAIL + + [PerformanceNavigation interface object length] + expected: FAIL + + [PerformanceNavigation interface object name] + expected: FAIL + + [PerformanceNavigation interface: existence and properties of interface prototype object] + expected: FAIL + + [PerformanceNavigation interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_NAVIGATE on interface object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_NAVIGATE on interface prototype object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_RELOAD on interface object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_RELOAD on interface prototype object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_BACK_FORWARD on interface object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_BACK_FORWARD on interface prototype object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_RESERVED on interface object] + expected: FAIL + + [PerformanceNavigation interface: constant TYPE_RESERVED on interface prototype object] + expected: FAIL + + [PerformanceNavigation interface: attribute type] + expected: FAIL + + [PerformanceNavigation interface: attribute redirectCount] + expected: FAIL + + [PerformanceNavigation must be primary interface of window.performance.navigation] + expected: FAIL + + [Stringification of window.performance.navigation] + expected: FAIL + + [PerformanceNavigation interface: window.performance.navigation must inherit property "TYPE_NAVIGATE" with the proper type (0)] + expected: FAIL + + [PerformanceNavigation interface: window.performance.navigation must inherit property "TYPE_RELOAD" with the proper type (1)] + expected: FAIL + + [PerformanceNavigation interface: window.performance.navigation must inherit property "TYPE_BACK_FORWARD" with the proper type (2)] + expected: FAIL + + [PerformanceNavigation interface: window.performance.navigation must inherit property "TYPE_RESERVED" with the proper type (3)] + expected: FAIL + + [PerformanceNavigation interface: window.performance.navigation must inherit property "type" with the proper type (4)] + expected: FAIL + + [PerformanceNavigation interface: window.performance.navigation must inherit property "redirectCount" with the proper type (5)] + expected: FAIL + + [Performance interface: existence and properties of interface object] + expected: FAIL + + [Performance interface: existence and properties of interface prototype object] + expected: FAIL + + [Performance interface: attribute navigation] + expected: FAIL + + [Performance interface: window.performance must inherit property "navigation" with the proper type (1)] + expected: FAIL + + [EventTarget interface: window.performance must inherit property "addEventListener" with the proper type (0)] + expected: FAIL + + [EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on window.performance with too few arguments must throw TypeError] + expected: FAIL + + [EventTarget interface: window.performance must inherit property "removeEventListener" with the proper type (1)] + expected: FAIL + + [EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on window.performance with too few arguments must throw TypeError] + expected: FAIL + + [EventTarget interface: window.performance must inherit property "dispatchEvent" with the proper type (2)] + expected: FAIL + + [EventTarget interface: calling dispatchEvent(Event) on window.performance with too few arguments must throw TypeError] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_document_open.html.ini b/tests/wpt/metadata/navigation-timing/test_document_open.html.ini new file mode 100644 index 00000000000..d59307e0ac7 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_document_open.html.ini @@ -0,0 +1,3 @@ +[test_document_open.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/navigation-timing/test_navigation_attributes_exist.html.ini b/tests/wpt/metadata/navigation-timing/test_navigation_attributes_exist.html.ini new file mode 100644 index 00000000000..d47a6bfcb85 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_navigation_attributes_exist.html.ini @@ -0,0 +1,11 @@ +[test_navigation_attributes_exist.html] + type: testharness + [window.performance.navigation is defined] + expected: FAIL + + [window.performance.navigation.type is defined.] + expected: FAIL + + [window.performance.navigation.redirectCount is defined.] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_navigation_redirectCount_none.html.ini b/tests/wpt/metadata/navigation-timing/test_navigation_redirectCount_none.html.ini new file mode 100644 index 00000000000..57ff6920754 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_navigation_redirectCount_none.html.ini @@ -0,0 +1,11 @@ +[test_navigation_redirectCount_none.html] + type: testharness + [window.performance.navigation is defined] + expected: FAIL + + [timing.redirectStart on an non-redirected navigation] + expected: FAIL + + [timing.redirectEnd on an non-redirected navigation] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_navigation_type_backforward.html.ini b/tests/wpt/metadata/navigation-timing/test_navigation_type_backforward.html.ini new file mode 100644 index 00000000000..aa92e29a101 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_navigation_type_backforward.html.ini @@ -0,0 +1,6 @@ +[test_navigation_type_backforward.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_navigation_type_enums.html.ini b/tests/wpt/metadata/navigation-timing/test_navigation_type_enums.html.ini new file mode 100644 index 00000000000..e2c56dcdfec --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_navigation_type_enums.html.ini @@ -0,0 +1,29 @@ +[test_navigation_type_enums.html] + type: testharness + [window.performance.navigation is defined] + expected: FAIL + + [window.performance.navigation.TYPE_NAVIGATE is defined.] + expected: FAIL + + [window.performance.navigation.TYPE_NAVIGATE = 0] + expected: FAIL + + [window.performance.navigation.TYPE_RELOAD is defined.] + expected: FAIL + + [window.performance.navigation.TYPE_RELOAD = 1] + expected: FAIL + + [window.performance.navigation.TYPE_BACK_FORWARD is defined.] + expected: FAIL + + [window.performance.navigation.TYPE_BACK_FORWARD = 2] + expected: FAIL + + [window.performance.navigation.TYPE_RESERVED is defined.] + expected: FAIL + + [window.performance.navigation.TYPE_RESERVED = 255] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_navigation_type_reload.html.ini b/tests/wpt/metadata/navigation-timing/test_navigation_type_reload.html.ini new file mode 100644 index 00000000000..2c31efb1f7f --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_navigation_type_reload.html.ini @@ -0,0 +1,6 @@ +[test_navigation_type_reload.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_no_previous_document.html.ini b/tests/wpt/metadata/navigation-timing/test_no_previous_document.html.ini new file mode 100644 index 00000000000..c2521d7415d --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_no_previous_document.html.ini @@ -0,0 +1,6 @@ +[test_no_previous_document.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_performance_attributes_exist.html.ini b/tests/wpt/metadata/navigation-timing/test_performance_attributes_exist.html.ini new file mode 100644 index 00000000000..66bafed742d --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_performance_attributes_exist.html.ini @@ -0,0 +1,5 @@ +[test_performance_attributes_exist.html] + type: testharness + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_performance_attributes_exist_in_object.html.ini b/tests/wpt/metadata/navigation-timing/test_performance_attributes_exist_in_object.html.ini new file mode 100644 index 00000000000..4968568bc3f --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_performance_attributes_exist_in_object.html.ini @@ -0,0 +1,3 @@ +[test_performance_attributes_exist_in_object.html] + type: testharness + expected: TIMEOUT diff --git a/tests/wpt/metadata/navigation-timing/test_timing_attributes_exist.html.ini b/tests/wpt/metadata/navigation-timing/test_timing_attributes_exist.html.ini new file mode 100644 index 00000000000..e72584e33d0 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_timing_attributes_exist.html.ini @@ -0,0 +1,38 @@ +[test_timing_attributes_exist.html] + type: testharness + [window.performance.timing.connectEnd is defined.] + expected: FAIL + + [window.performance.timing.connectStart is defined.] + expected: FAIL + + [window.performance.timing.domainLookupEnd is defined.] + expected: FAIL + + [window.performance.timing.domainLookupStart is defined.] + expected: FAIL + + [window.performance.timing.fetchStart is defined.] + expected: FAIL + + [window.performance.timing.redirectEnd is defined.] + expected: FAIL + + [window.performance.timing.redirectStart is defined.] + expected: FAIL + + [window.performance.timing.requestStart is defined.] + expected: FAIL + + [window.performance.timing.responseEnd is defined.] + expected: FAIL + + [window.performance.timing.responseStart is defined.] + expected: FAIL + + [window.performance.timing.unloadEventEnd is defined.] + expected: FAIL + + [window.performance.timing.unloadEventStart is defined.] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_timing_attributes_order.html.ini b/tests/wpt/metadata/navigation-timing/test_timing_attributes_order.html.ini new file mode 100644 index 00000000000..933721b6c2d --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_timing_attributes_order.html.ini @@ -0,0 +1,6 @@ +[test_timing_attributes_order.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_timing_client_redirect.html.ini b/tests/wpt/metadata/navigation-timing/test_timing_client_redirect.html.ini new file mode 100644 index 00000000000..94efb582fc4 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_timing_client_redirect.html.ini @@ -0,0 +1,6 @@ +[test_timing_client_redirect.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_timing_reload.html.ini b/tests/wpt/metadata/navigation-timing/test_timing_reload.html.ini new file mode 100644 index 00000000000..fba8c5bfd7c --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_timing_reload.html.ini @@ -0,0 +1,6 @@ +[test_timing_reload.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_timing_server_redirect.html.ini b/tests/wpt/metadata/navigation-timing/test_timing_server_redirect.html.ini new file mode 100644 index 00000000000..cda80629d89 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_timing_server_redirect.html.ini @@ -0,0 +1,5 @@ +[test_timing_server_redirect.html] + type: testharness + [window.performance.navigation is defined] + expected: FAIL + diff --git a/tests/wpt/metadata/navigation-timing/test_timing_xserver_redirect.html.ini b/tests/wpt/metadata/navigation-timing/test_timing_xserver_redirect.html.ini new file mode 100644 index 00000000000..1ced1993a12 --- /dev/null +++ b/tests/wpt/metadata/navigation-timing/test_timing_xserver_redirect.html.ini @@ -0,0 +1,6 @@ +[test_timing_xserver_redirect.html] + type: testharness + expected: TIMEOUT + [window.performance.navigation is defined] + expected: FAIL + |