| Index: third_party/WebKit/LayoutTests/http/tests/w3c/resources/idlharness.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/w3c/resources/idlharness.js b/third_party/WebKit/LayoutTests/http/tests/w3c/resources/idlharness.js
|
| index 8e41703e65845d3a75a610ef8a7f1c5532626d9c..9f324e089ebf72b97aa1b007adaabb846635c5b4 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/w3c/resources/idlharness.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/w3c/resources/idlharness.js
|
| @@ -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;
|
|
|