https://github.com/web-platform-tests/wpt
Revision 244f93ec20c9995119384169f1d5ee1fac6a8fe9 authored by Robert Ma on 23 March 2018, 22:18:18 UTC, committed by Chromium WPT Sync on 23 March 2018, 22:18:18 UTC
html.idl changed in upstream
https://github.com/w3c/web-platform-tests/pull/10110
and imported in
https://crrev.com/c/978021

Bug: 825191
Change-Id: Ie1a04e730aabd50c615f1dab079f92eeaa22565a
Reviewed-on: https://chromium-review.googlesource.com/978508
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545588}
1 parent 7991f4b
Raw File
Tip revision: 244f93ec20c9995119384169f1d5ee1fac6a8fe9 authored by Robert Ma on 23 March 2018, 22:18:18 UTC
Fix some IDL tests after html.idl includes SVGElement
Tip revision: 244f93e
Worker_ErrorEvent_message.htm
<!DOCTYPE html>
<title> AbstractWorker ErrorEvent.message </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
// The worker events races with the window's load event; if the worker events
// arrive first, the harness will detect the error event and fail the test.
setup({ allow_uncaught_exception: true });

async_test(function(t) {
  var message = 'Error Message';
  var worker = new Worker('./support/ErrorEvent.js');
  worker.onerror = t.step_func_done(function(e) {
    assert_greater_than(e.message.indexOf(message), -1);
  });
  worker.postMessage(message);
});
</script>
back to top