[Webkit-unassigned] [Bug 152340] [Streams API] [GTK] Problem running imported/w3c/web-platform-tests/streams-api/readable-streams/templated.html with JIT active in worker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 17 02:42:31 PST 2015


--- Comment #1 from youenn fablet <youennf at gmail.com> ---
On my machine, I can further simplify the test to:
Given the /resources/... links, it needs to be run behind WPT server.

/////// test html file/////// 

<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
'use strict';
fetch_tests_from_worker(new Worker('test.js'));

/////// test.js file/////// 

'use strict';

if (self.importScripts) {

const reader = new ReadableStream().getReader();

// Changing from 2 to 1 makes the test pass.
for (let i = 0; i < 1; i++) {
  promise_test(t => {

    for (let j = 0; j < 10000; j++)

    return new Promise(resolve => step_timeout(resolve, 500));

  }, 'Streams and promises in Worker');


You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151217/1e75ba04/attachment.html>

More information about the webkit-unassigned mailing list