Skip to content

Commit

Permalink
Fix exception in idlharness-shadowrealm.js.
Browse files Browse the repository at this point in the history
The code evaluated to an object, which can't be passed to the parent global.

Ref web-platform-tests#34221.
  • Loading branch information
Ms2ger committed May 30, 2022
1 parent 0a72bfc commit 596ebc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/idlharness-shadowrealm.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function idl_test_shadowrealm(srcs, deps) {
isWindow: function() { return false; },
isWorker: function() { return false; },
isShadowRealm: function() { return true; },
};
}; undefined;
`);

const ss = await Promise.all(script_urls.map(url => fetch_text(url)));
Expand Down

0 comments on commit 596ebc1

Please sign in to comment.