Skip to content
Permalink
Browse files
Make HTTPS WPT tests time out through testharness.js to get better er…
…ror reports

https://bugs.webkit.org/show_bug.cgi?id=178982

Patch by Youenn Fablet <youenn@apple.com> on 2017-10-28
Reviewed by Chris Dumez.

* resources/testharnessreport.js: extending to tests run over HTTPS WPT port 9443.

Canonical link: https://commits.webkit.org/195126@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf authored and webkit-commit-queue committed Oct 29, 2017
1 parent c0a1972 commit dac519b798d22fe3e5bfc605e53ad26cf4b65554
Showing 2 changed files with 10 additions and 1 deletion.
@@ -1,3 +1,12 @@
2017-10-28 Youenn Fablet <youenn@apple.com>

Make HTTPS WPT tests time out through testharness.js to get better error reports
https://bugs.webkit.org/show_bug.cgi?id=178982

Reviewed by Chris Dumez.

* resources/testharnessreport.js: extending to tests run over HTTPS WPT port 9443.

2017-10-28 Youenn Fablet <youenn@apple.com>

Rebase WPT tests up to a1c0107
@@ -19,7 +19,7 @@ if (self.testRunner) {
// Let's restrict calling testharness timeout() to wptserve tests for the moment.
// That will limit the impact to a small number of tests.
// The risk is that testharness timeout() might be called to late on slow bots to finish properly.
if (testRunner.timeout && location.port == 8800)
if (testRunner.timeout && (location.port == 8800 || location.port == 9443))
setTimeout(timeout, testRunner.timeout * 0.9);
}

0 comments on commit dac519b

Please sign in to comment.