Title: [222353] trunk/Tools
- Revision
- 222353
- Author
- [email protected]
- Date
- 2017-09-21 14:45:05 -0700 (Thu, 21 Sep 2017)
Log Message
Unreviewed, fix ability to run tests in browser.
* WebGPUShadingLanguageRI/Test.html:
* WebGPUShadingLanguageRI/index.html:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (222352 => 222353)
--- trunk/Tools/ChangeLog 2017-09-21 21:37:04 UTC (rev 222352)
+++ trunk/Tools/ChangeLog 2017-09-21 21:45:05 UTC (rev 222353)
@@ -1,3 +1,10 @@
+2017-09-21 Filip Pizlo <[email protected]>
+
+ Unreviewed, fix ability to run tests in browser.
+
+ * WebGPUShadingLanguageRI/Test.html:
+ * WebGPUShadingLanguageRI/index.html:
+
2017-09-21 Jonathan Bedard <[email protected]>
webkitpy: Ignore failure to get updated selenium version
Modified: trunk/Tools/WebGPUShadingLanguageRI/Test.html (222352 => 222353)
--- trunk/Tools/WebGPUShadingLanguageRI/Test.html 2017-09-21 21:37:04 UTC (rev 222352)
+++ trunk/Tools/WebGPUShadingLanguageRI/Test.html 2017-09-21 21:45:05 UTC (rev 222353)
@@ -77,6 +77,7 @@
<script src=""
<script src=""
<script src=""
+<script src=""
<script src=""
<script src=""
<script src=""
@@ -157,22 +158,15 @@
var lastTime;
function next()
{
- var before = Date.now();
- for (;;) {
- try {
- if (tester.next().done)
- return;
- } catch (e) {
- print("ERROR: " + e.message);
- print(e.stack);
+ try {
+ if (tester.next().done)
return;
- }
- var now = Date.now();
- if (now - before > 100) {
- window.setTimeout(next, 0);
- return;
- }
+ } catch (e) {
+ print("ERROR: " + e.message);
+ print(e.stack);
+ return;
}
+ window.setTimeout(next, 0);
}
next();
}
Modified: trunk/Tools/WebGPUShadingLanguageRI/index.html (222352 => 222353)
--- trunk/Tools/WebGPUShadingLanguageRI/index.html 2017-09-21 21:37:04 UTC (rev 222352)
+++ trunk/Tools/WebGPUShadingLanguageRI/index.html 2017-09-21 21:45:05 UTC (rev 222353)
@@ -77,6 +77,7 @@
<script src=""
<script src=""
<script src=""
+<script src=""
<script src=""
<script src=""
<script src=""
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes