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
interfaces.worker.js
"use strict";

importScripts("/resources/testharness.js");
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");

var request = new XMLHttpRequest();
request.onload = function() {
  var idlArray = new IdlArray();
  var idls = request.responseText;
  idlArray.add_idls(idls);
  idlArray.add_objects({
    DedicatedWorkerGlobalScope: ['self'],
    WorkerNavigator: ['self.navigator'],
    WorkerLocation: ['self.location'],
  });
  idlArray.test();
  done();
};
request.open("GET", "/interfaces/dedicated-workers.idl");
request.send();
back to top