mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 7da6acfd668e66adae5ab4e2d389810d3b1460be
This commit is contained in:
parent
50db64a20e
commit
bae87d193d
307 changed files with 35826 additions and 209 deletions
|
@ -1286,15 +1286,10 @@ IdlInterface.prototype.test_object = function(desc)
|
|||
exception = e;
|
||||
}
|
||||
|
||||
// TODO: WebIDLParser doesn't currently support named legacycallers, so I'm
|
||||
// not sure what those would look like in the AST
|
||||
var expected_typeof = this.members.some(function(member)
|
||||
{
|
||||
return member.legacycaller
|
||||
|| ("idlType" in member && member.idlType.legacycaller)
|
||||
|| ("idlType" in member && typeof member.idlType == "object"
|
||||
&& "idlType" in member.idlType && member.idlType.idlType == "legacycaller");
|
||||
}) ? "function" : "object";
|
||||
var expected_typeof =
|
||||
this.members.some(function(member) { return member.legacycaller; })
|
||||
? "function"
|
||||
: "object";
|
||||
|
||||
this.test_primary_interface_of(desc, obj, exception, expected_typeof);
|
||||
var current_interface = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue