mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1
This commit is contained in:
parent
2f8fa32e91
commit
db5631a086
381 changed files with 11610 additions and 4232 deletions
|
@ -13,13 +13,13 @@
|
|||
"use strict";
|
||||
async_test(function(t) {
|
||||
var request = new XMLHttpRequest();
|
||||
request.open("GET", "domstringlist.idl");
|
||||
request.open("GET", "/interfaces/html.idl");
|
||||
request.send();
|
||||
request.onload = t.step_func(function() {
|
||||
var idlArray = new IdlArray();
|
||||
var idls = request.responseText;
|
||||
|
||||
idlArray.add_idls(idls);
|
||||
idlArray.add_idls(idls, { only: ["DOMStringList"] });
|
||||
|
||||
idlArray.add_objects({
|
||||
DOMStringList: ['location.ancestorOrigins'],
|
||||
|
|
|
@ -5,13 +5,13 @@ importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
|
|||
|
||||
async_test(function(t) {
|
||||
var request = new XMLHttpRequest();
|
||||
request.open("GET", "domstringlist.idl");
|
||||
request.open("GET", "/interfaces/html.idl");
|
||||
request.send();
|
||||
request.onload = t.step_func(function() {
|
||||
var idlArray = new IdlArray();
|
||||
var idls = request.responseText;
|
||||
|
||||
idlArray.add_idls(idls);
|
||||
idlArray.add_idls(idls, { only: ["DOMStringList"] });
|
||||
|
||||
idlArray.add_objects({
|
||||
DOMStringList: [],
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
interface DOMStringList {
|
||||
readonly attribute unsigned long length;
|
||||
getter DOMString? item(unsigned long index);
|
||||
boolean contains(DOMString string);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue