Index: LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_size_restriction.html |
diff --git a/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_size_restriction.html b/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_size_restriction.html |
index 79167f04ae412b4ba8565dfdf3288118f146937f..514ce3ae604891563426beaa2d2253aff823a9ec 100644 |
--- a/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_size_restriction.html |
+++ b/LayoutTests/http/tests/w3c/webperf/submission/Intel/resource-timing/test_resource_timing_buffer_size_restriction.html |
@@ -1,30 +1,30 @@ |
-<!DOCTYPE HTML> |
-<html> |
- <head> |
- <meta charset="utf-8" /> |
- <title>buffer size restriction functionality of resource timing</title> |
- <script src="/w3c/webperf/resources/webperftestharnessextension.js"></script> |
- <script> |
- var context = new PerformanceContext(performance); |
- var buffer_size = 2; |
- context.setResourceTimingBufferSize(buffer_size); |
- </script> |
- <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> |
- setup({ explicit_done: true }); |
- function onload_test() |
- { |
- test_equals(context.getEntriesByType("resource").length, buffer_size, buffer_size + " resource timing entries should be stored since buffer size is " + buffer_size + "!"); |
- done(); |
- } |
- </script> |
- </head> |
- <body onload=onload_test()> |
- <h1>Description</h1> |
- <p>This test validates the functionality of setResourceTimingBufferSize method in resource timing.</p> |
- </body> |
-</html> |
+<!DOCTYPE HTML> |
+<html> |
+ <head> |
+ <meta charset="utf-8" /> |
+ <title>buffer size restriction functionality of resource timing</title> |
+ <script src="/w3c/webperf/resources/webperftestharnessextension.js"></script> |
+ <script> |
+ var context = new PerformanceContext(performance); |
+ var buffer_size = 2; |
+ context.setResourceTimingBufferSize(buffer_size); |
+ </script> |
+ <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> |
+ setup({ explicit_done: true }); |
+ function onload_test() |
+ { |
+ test_equals(context.getEntriesByType("resource").length, buffer_size, buffer_size + " resource timing entries should be stored since buffer size is " + buffer_size + "!"); |
+ done(); |
+ } |
+ </script> |
+ </head> |
+ <body onload=onload_test()> |
+ <h1>Description</h1> |
+ <p>This test validates the functionality of setResourceTimingBufferSize method in resource timing.</p> |
+ </body> |
+</html> |