Title: [236744] trunk/PerformanceTests
- Revision
- 236744
- Author
- cdu...@apple.com
- Date
- 2018-10-02 08:50:29 -0700 (Tue, 02 Oct 2018)
Log Message
Regression(r236613): Parser/html-parser.html performance test is failing
https://bugs.webkit.org/show_bug.cgi?id=190201
Unreviewed, apply the same fix as in r236699 to make sure the iframe is treated as
same origin, so that calls to document.open() / document.write() succeed.
* Parser/html-parser.html:
Modified Paths
Diff
Modified: trunk/PerformanceTests/ChangeLog (236743 => 236744)
--- trunk/PerformanceTests/ChangeLog 2018-10-02 15:43:47 UTC (rev 236743)
+++ trunk/PerformanceTests/ChangeLog 2018-10-02 15:50:29 UTC (rev 236744)
@@ -1,3 +1,13 @@
+2018-10-02 Chris Dumez <cdu...@apple.com>
+
+ Regression(r236613): Parser/html-parser.html performance test is failing
+ https://bugs.webkit.org/show_bug.cgi?id=190201
+
+ Unreviewed, apply the same fix as in r236699 to make sure the iframe is treated as
+ same origin, so that calls to document.open() / document.write() succeed.
+
+ * Parser/html-parser.html:
+
2018-10-01 Chris Dumez <cdu...@apple.com>
Regression(r236613): Parser/HTML5-8266-ParseOnly.html performance tests no longer runs
Modified: trunk/PerformanceTests/Parser/html-parser.html (236743 => 236744)
--- trunk/PerformanceTests/Parser/html-parser.html 2018-10-02 15:43:47 UTC (rev 236743)
+++ trunk/PerformanceTests/Parser/html-parser.html 2018-10-02 15:50:29 UTC (rev 236744)
@@ -7,7 +7,7 @@
PerfTestRunner.measureTime({run: function() {
var iframe = document.createElement("iframe");
iframe.style.display = "none"; // Prevent creation of the rendering tree, so we only test HTML parsing.
- iframe.sandbox = ''; // Prevent external script loads which could cause write() to return before completing the parse.
+ iframe.sandbox = 'allow-same-origin'; // Prevent external script loads which could cause write() to return before completing the parse.
document.body.appendChild(iframe);
iframe.contentDocument.open();
iframe.contentDocument.write(spec);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes