Changeset 122528 in webkit


Ignore:
Timestamp:
Jul 12, 2012 4:30:47 PM (12 years ago)
Author:
dpranke@chromium.org
Message:

[Navigation Timing] Import the W3C Navigation Timing test suite
https://bugs.webkit.org/show_bug.cgi?id=84887

Patch by James Simonsen <simonjam@chromium.org> on 2012-07-12
Reviewed by Tony Gentilcore.

Tools:

  • Scripts/import-w3c-performance-wg-tests: Added.

LayoutTests:

  • http/tests/resources/testharness.css: Added.
  • http/tests/resources/testharness.js: Copied from LayoutTests/resources/testharness.js.
  • http/tests/resources/testharnessreport.js: Copied from LayoutTests/resources/testharnessreport.js.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_document_open-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_document_open.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_document_readiness_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_document_readiness_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigate_within_document-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigate_within_document.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_attributes_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_attributes_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_redirectCount_none-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_redirectCount_none.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_backforward-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_backforward.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_enums-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_enums.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_reload-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_reload.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_no_previous_document-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_no_previous_document.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist_in_object-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist_in_object.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_readwrite-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_readwrite.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_order-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_order.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_client_redirect-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_client_redirect.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_reload-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_reload.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_server_redirect-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_server_redirect.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_unique_performance_objects-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html/test_unique_performance_objects.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_open-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_open.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_readiness_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_readiness_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigate_within_document-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigate_within_document.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_attributes_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_attributes_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_redirectCount_none-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_redirectCount_none.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_backforward-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_backforward.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_enums-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_enums.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_reload-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_reload.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_no_previous_document-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_no_previous_document.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist_in_object-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist_in_object.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_readwrite-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_readwrite.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_exist-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_exist.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_order-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_order.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_client_redirect-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_client_redirect.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_reload-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_reload.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_server_redirect-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_server_redirect.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_xserver_redirect-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_xserver_redirect.html: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_unique_performance_objects-expected.txt: Added.
  • http/tests/w3c/webperf/approved/navigation-timing/html5/test_unique_performance_objects.html: Added.
  • http/tests/w3c/webperf/resources/blank_page_green.htm: Added.
  • http/tests/w3c/webperf/resources/blank_page_green_with_onunload.htm: Added.
  • http/tests/w3c/webperf/resources/blank_page_meta_redirect.htm: Added.
  • http/tests/w3c/webperf/resources/blank_page_unload.htm: Added.
  • http/tests/w3c/webperf/resources/blank_page_yellow.htm: Added.
  • http/tests/w3c/webperf/resources/blank_page_yellow_with_onunload.htm: Added.
  • http/tests/w3c/webperf/resources/pagevistestharness.js: Added.
  • http/tests/w3c/webperf/resources/redirect.php: Added.
  • http/tests/w3c/webperf/resources/webperftestharness.js: Added.
  • platform/mac/Skipped: Skip new webperf tests.
  • platform/win/Skipped: Ditto.
  • platform/wincairo/Skipped: Ditto.
  • resources/testharness.css: Added.
  • resources/testharnessreport.js: Support async tests.
Location:
trunk
Files:
98 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r122521 r122528  
     12012-07-12  James Simonsen  <simonjam@chromium.org>
     2
     3        [Navigation Timing] Import the W3C Navigation Timing test suite
     4        https://bugs.webkit.org/show_bug.cgi?id=84887
     5
     6        Reviewed by Tony Gentilcore.
     7
     8        * http/tests/resources/testharness.css: Added.
     9        * http/tests/resources/testharness.js: Copied from LayoutTests/resources/testharness.js.
     10        * http/tests/resources/testharnessreport.js: Copied from LayoutTests/resources/testharnessreport.js.
     11        * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_open-expected.txt: Added.
     12        * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_open.html: Added.
     13        * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_readiness_exist-expected.txt: Added.
     14        * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_readiness_exist.html: Added.
     15        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigate_within_document-expected.txt: Added.
     16        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigate_within_document.html: Added.
     17        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_attributes_exist-expected.txt: Added.
     18        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_attributes_exist.html: Added.
     19        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_redirectCount_none-expected.txt: Added.
     20        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_redirectCount_none.html: Added.
     21        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_backforward-expected.txt: Added.
     22        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_backforward.html: Added.
     23        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_enums-expected.txt: Added.
     24        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_enums.html: Added.
     25        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_reload-expected.txt: Added.
     26        * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_reload.html: Added.
     27        * http/tests/w3c/webperf/approved/navigation-timing/html/test_no_previous_document-expected.txt: Added.
     28        * http/tests/w3c/webperf/approved/navigation-timing/html/test_no_previous_document.html: Added.
     29        * http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist-expected.txt: Added.
     30        * http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist.html: Added.
     31        * http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist_in_object-expected.txt: Added.
     32        * http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist_in_object.html: Added.
     33        * http/tests/w3c/webperf/approved/navigation-timing/html/test_readwrite-expected.txt: Added.
     34        * http/tests/w3c/webperf/approved/navigation-timing/html/test_readwrite.html: Added.
     35        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_exist-expected.txt: Added.
     36        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_exist.html: Added.
     37        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_order-expected.txt: Added.
     38        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_attributes_order.html: Added.
     39        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_client_redirect-expected.txt: Added.
     40        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_client_redirect.html: Added.
     41        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_reload-expected.txt: Added.
     42        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_reload.html: Added.
     43        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_server_redirect-expected.txt: Added.
     44        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_server_redirect.html: Added.
     45        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect-expected.txt: Added.
     46        * http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect.html: Added.
     47        * http/tests/w3c/webperf/approved/navigation-timing/html/test_unique_performance_objects-expected.txt: Added.
     48        * http/tests/w3c/webperf/approved/navigation-timing/html/test_unique_performance_objects.html: Added.
     49        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_open-expected.txt: Added.
     50        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_open.html: Added.
     51        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_readiness_exist-expected.txt: Added.
     52        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_document_readiness_exist.html: Added.
     53        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigate_within_document-expected.txt: Added.
     54        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigate_within_document.html: Added.
     55        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_attributes_exist-expected.txt: Added.
     56        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_attributes_exist.html: Added.
     57        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_redirectCount_none-expected.txt: Added.
     58        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_redirectCount_none.html: Added.
     59        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_backforward-expected.txt: Added.
     60        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_backforward.html: Added.
     61        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_enums-expected.txt: Added.
     62        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_enums.html: Added.
     63        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_reload-expected.txt: Added.
     64        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_navigation_type_reload.html: Added.
     65        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_no_previous_document-expected.txt: Added.
     66        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_no_previous_document.html: Added.
     67        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist-expected.txt: Added.
     68        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist.html: Added.
     69        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist_in_object-expected.txt: Added.
     70        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_performance_attributes_exist_in_object.html: Added.
     71        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_readwrite-expected.txt: Added.
     72        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_readwrite.html: Added.
     73        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_exist-expected.txt: Added.
     74        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_exist.html: Added.
     75        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_order-expected.txt: Added.
     76        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_attributes_order.html: Added.
     77        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_client_redirect-expected.txt: Added.
     78        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_client_redirect.html: Added.
     79        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_reload-expected.txt: Added.
     80        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_reload.html: Added.
     81        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_server_redirect-expected.txt: Added.
     82        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_server_redirect.html: Added.
     83        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_xserver_redirect-expected.txt: Added.
     84        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_timing_xserver_redirect.html: Added.
     85        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_unique_performance_objects-expected.txt: Added.
     86        * http/tests/w3c/webperf/approved/navigation-timing/html5/test_unique_performance_objects.html: Added.
     87        * http/tests/w3c/webperf/resources/blank_page_green.htm: Added.
     88        * http/tests/w3c/webperf/resources/blank_page_green_with_onunload.htm: Added.
     89        * http/tests/w3c/webperf/resources/blank_page_meta_redirect.htm: Added.
     90        * http/tests/w3c/webperf/resources/blank_page_unload.htm: Added.
     91        * http/tests/w3c/webperf/resources/blank_page_yellow.htm: Added.
     92        * http/tests/w3c/webperf/resources/blank_page_yellow_with_onunload.htm: Added.
     93        * http/tests/w3c/webperf/resources/pagevistestharness.js: Added.
     94        * http/tests/w3c/webperf/resources/redirect.php: Added.
     95        * http/tests/w3c/webperf/resources/webperftestharness.js: Added.
     96        * platform/mac/Skipped: Skip new webperf tests.
     97        * platform/win/Skipped: Ditto.
     98        * platform/wincairo/Skipped: Ditto.
     99        * resources/testharness.css: Added.
     100        * resources/testharnessreport.js: Support async tests.
     101
    11022012-07-12  W. James MacLean  <wjmaclean@chromium.org>
    2103
  • trunk/LayoutTests/http/tests/w3c/resources/testharnessreport.js

    r122527 r122528  
    1414
    1515// Setup for WebKit JavaScript tests
    16 if (self.testRunner)
     16if (self.testRunner) {
    1717    testRunner.dumpAsText();
     18    testRunner.waitUntilDone();
     19}
    1820
    1921// Function used to convert the test status code into
     
    7274        // Add results element to document
    7375        document.body.appendChild(results);
     76
     77        if (self.testRunner)
     78                testRunner.notifyDone();
    7479});
  • trunk/LayoutTests/platform/mac/Skipped

    r122216 r122528  
    261261http/tests/misc/webtiming-ssl.php
    262262http/tests/misc/webtiming-two-redirects.php
     263http/tests/w3c/webperf
    263264fast/performance/
    264265
  • trunk/LayoutTests/platform/win/Skipped

    r122473 r122528  
    12301230http/tests/misc/webtiming-ssl.php
    12311231http/tests/misc/webtiming-two-redirects.php
     1232http/tests/w3c/webperf
    12321233fast/performance
    12331234
  • trunk/LayoutTests/platform/wincairo/Skipped

    r122473 r122528  
    17471747http/tests/misc/webtiming-ssl.php
    17481748http/tests/misc/webtiming-two-redirects.php
     1749http/tests/w3c/webperf
    17491750
    17501751# Still working out flakiness issues with the perf tests.
  • trunk/LayoutTests/resources/testharnessreport.js

    r120450 r122528  
    1414
    1515// Setup for WebKit JavaScript tests
    16 if (self.testRunner)
     16if (self.testRunner) {
    1717    testRunner.dumpAsText();
     18    testRunner.waitUntilDone();
     19}
    1820
    1921// Function used to convert the test status code into
     
    7274        // Add results element to document
    7375        document.body.appendChild(results);
     76
     77        if (self.testRunner)
     78                testRunner.notifyDone();
    7479});
  • trunk/Tools/ChangeLog

    r122527 r122528  
     12012-07-12  James Simonsen  <simonjam@chromium.org>
     2
     3        [Navigation Timing] Import the W3C Navigation Timing test suite
     4        https://bugs.webkit.org/show_bug.cgi?id=84887
     5
     6        Reviewed by Tony Gentilcore.
     7
     8        * Scripts/import-w3c-performance-wg-tests: Added.
     9
    1102012-07-12  Adam Barth  <abarth@webkit.org>
    211
Note: See TracChangeset for help on using the changeset viewer.