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
WorkerLocation-origin.sub.window.js
async_test(t => {
  const frame = document.createElement("iframe"),
        asciiOrigin = location.protocol + "//{{domains[天気の良い日]}}:" + location.port,
        path = new URL("support/WorkerLocation-origin.html", location).pathname;
  frame.src = asciiOrigin + path;
  self.onmessage = t.step_func_done(e => {
    assert_equals(e.data.origin, asciiOrigin);
  });
  document.body.appendChild(frame);
  t.add_cleanup(() => frame.remove());
}, "workerLocation.origin must use ASCII code points");
back to top