| Index: LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_clear_resource_timing_functionality.html
|
| diff --git a/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_clear_resource_timing_functionality.html b/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_clear_resource_timing_functionality.html
|
| index 97c26fb034f00117e10bdd4b4492629ef97130da..1a23e200f3c6b8041762e953566262973b8c6271 100644
|
| --- a/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_clear_resource_timing_functionality.html
|
| +++ b/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_clear_resource_timing_functionality.html
|
| @@ -1,28 +1,28 @@
|
| -<!DOCTYPE HTML>
|
| -<html>
|
| - <head>
|
| - <meta charset="utf-8" />
|
| - <title>clearResourceTimings functionality of resource timing</title>
|
| - <link rel="author" title="Intel" href="http://www.intel.com/" />
|
| - <link rel="help" href="http://www.w3.org/TR/resource-timing/#performanceresourcetiming"/>
|
| - <script src="/w3c/resources/testharness.js"></script>
|
| - <script src="/w3c/resources/testharnessreport.js"></script>
|
| - <script src="/w3c/webperf/resources/webperftestharness.js"></script>
|
| - <script src="/w3c/webperf/resources/webperftestharnessextension.js"></script>
|
| - <script>
|
| - setup({ explicit_done: true });
|
| - var context = new PerformanceContext(performance);
|
| - function onload_test()
|
| - {
|
| - test_equals(context.getEntriesByType("resource").length, 4, 4 + " resource timing entries should be stored in this page!");
|
| - context.clearResourceTimings();
|
| - test_equals(context.getEntriesByType("resource").length, 0, "No resource timing entries should be stored after clearResourceTimings!");
|
| - done();
|
| - }
|
| - </script>
|
| - </head>
|
| - <body onload=onload_test()>
|
| - <h1>Description</h1>
|
| - <p>This test validates the functionality of clearResourceTimings method in resource timing.</p>
|
| - </body>
|
| -</html>
|
| +<!DOCTYPE HTML>
|
| +<html>
|
| + <head>
|
| + <meta charset="utf-8" />
|
| + <title>clearResourceTimings functionality of resource timing</title>
|
| + <link rel="author" title="Intel" href="http://www.intel.com/" />
|
| + <link rel="help" href="http://www.w3.org/TR/resource-timing/#performanceresourcetiming"/>
|
| + <script src="/w3c/resources/testharness.js"></script>
|
| + <script src="/w3c/resources/testharnessreport.js"></script>
|
| + <script src="/w3c/webperf/resources/webperftestharness.js"></script>
|
| + <script src="/w3c/webperf/resources/webperftestharnessextension.js"></script>
|
| + <script>
|
| + setup({ explicit_done: true });
|
| + var context = new PerformanceContext(performance);
|
| + function onload_test()
|
| + {
|
| + test_equals(context.getEntriesByType("resource").length, 4, 4 + " resource timing entries should be stored in this page!");
|
| + context.clearResourceTimings();
|
| + test_equals(context.getEntriesByType("resource").length, 0, "No resource timing entries should be stored after clearResourceTimings!");
|
| + done();
|
| + }
|
| + </script>
|
| + </head>
|
| + <body onload=onload_test()>
|
| + <h1>Description</h1>
|
| + <p>This test validates the functionality of clearResourceTimings method in resource timing.</p>
|
| + </body>
|
| +</html>
|
|
|