Title: [238917] trunk/LayoutTests
Revision
238917
Author
[email protected]
Date
2018-12-05 16:13:46 -0800 (Wed, 05 Dec 2018)

Log Message

REGRESSION: Layout Test http/tests/security/cross-origin-css-resource-timing.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=192408
<rdar://problem/46492201>

Reviewed by Ryosuke Niwa.

Some of the tests are loading the same subresource and check for resource timing.
We need to clear internal caches to have stable results.

* http/tests/security/clean-origin-css-exposed-resource-timing.html:
* http/tests/security/cross-origin-clean-css-resource-timing.html:
* http/tests/security/cross-origin-css-resource-timing.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (238916 => 238917)


--- trunk/LayoutTests/ChangeLog	2018-12-05 23:51:12 UTC (rev 238916)
+++ trunk/LayoutTests/ChangeLog	2018-12-06 00:13:46 UTC (rev 238917)
@@ -1,3 +1,18 @@
+2018-12-05  Youenn Fablet  <[email protected]>
+
+        REGRESSION: Layout Test http/tests/security/cross-origin-css-resource-timing.html is flaky
+        https://bugs.webkit.org/show_bug.cgi?id=192408
+        <rdar://problem/46492201>
+
+        Reviewed by Ryosuke Niwa.
+
+        Some of the tests are loading the same subresource and check for resource timing.
+        We need to clear internal caches to have stable results.
+
+        * http/tests/security/clean-origin-css-exposed-resource-timing.html:
+        * http/tests/security/cross-origin-clean-css-resource-timing.html:
+        * http/tests/security/cross-origin-css-resource-timing.html:
+
 2018-12-05  Matt Baker  <[email protected]>
 
         Web Inspector: SelectionController should not extend the selection when allowsMultipleSelection is false

Modified: trunk/LayoutTests/http/tests/security/clean-origin-css-exposed-resource-timing.html (238916 => 238917)


--- trunk/LayoutTests/http/tests/security/clean-origin-css-exposed-resource-timing.html	2018-12-05 23:51:12 UTC (rev 238916)
+++ trunk/LayoutTests/http/tests/security/clean-origin-css-exposed-resource-timing.html	2018-12-06 00:13:46 UTC (rev 238917)
@@ -9,6 +9,10 @@
 <body>
 <div id="mydiv" style="font: 12px 'ahem'">Test</div>
 <script>
+if (window.internals) {
+    internals.clearMemoryCache();
+    internals.invalidateFontCache();
+}
 const waitOnLoad = new Promise((resolve) => {
     window._onload_ = resolve;
 })

Modified: trunk/LayoutTests/http/tests/security/cross-origin-clean-css-resource-timing.html (238916 => 238917)


--- trunk/LayoutTests/http/tests/security/cross-origin-clean-css-resource-timing.html	2018-12-05 23:51:12 UTC (rev 238916)
+++ trunk/LayoutTests/http/tests/security/cross-origin-clean-css-resource-timing.html	2018-12-06 00:13:46 UTC (rev 238917)
@@ -9,6 +9,10 @@
 <body>
 <div id="mydiv" style="font: 12px 'ahem'">Test</div>
 <script>
+if (window.internals) {
+    internals.clearMemoryCache();
+    internals.invalidateFontCache();
+}
 const waitOnLoad = new Promise((resolve) => {
     window._onload_ = resolve;
 })

Modified: trunk/LayoutTests/http/tests/security/cross-origin-css-resource-timing.html (238916 => 238917)


--- trunk/LayoutTests/http/tests/security/cross-origin-css-resource-timing.html	2018-12-05 23:51:12 UTC (rev 238916)
+++ trunk/LayoutTests/http/tests/security/cross-origin-css-resource-timing.html	2018-12-06 00:13:46 UTC (rev 238917)
@@ -9,6 +9,10 @@
 <body>
 <div id="mydiv" style="font: 12px 'ahem'">Test</div>
 <script>
+if (window.internals) {
+    internals.clearMemoryCache();
+    internals.invalidateFontCache();
+}
 const waitOnLoad = new Promise((resolve) => {
     window._onload_ = resolve;
 })
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to