summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/infrastructure/channels/test_serialize.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/infrastructure/channels/test_serialize.html')
-rw-r--r--testing/web-platform/tests/infrastructure/channels/test_serialize.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/infrastructure/channels/test_serialize.html b/testing/web-platform/tests/infrastructure/channels/test_serialize.html
index 88a9ce5221..59226db6e7 100644
--- a/testing/web-platform/tests/infrastructure/channels/test_serialize.html
+++ b/testing/web-platform/tests/infrastructure/channels/test_serialize.html
@@ -27,7 +27,7 @@ for (let [name, obj] of Object.entries(objects)) {
promise_test(async t => {
let remoteValue = RemoteObject.from(document.head);
let result = await remote.call(inputValue => {
- if (!inputValue instanceof RemoteObject) {
+ if (!(inputValue instanceof RemoteObject)) {
throw new AssertionError(`Expected RemoteObject`);
}
return inputValue;