aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html')
-rw-r--r--tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html b/tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html
index 19122112f59..88c9ec4006e 100644
--- a/tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html
+++ b/tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html
@@ -26,8 +26,8 @@
assert_true(typeof message.records[0].text() === 'string');
assert_equals(message.records[0].text(), test_text_data,
'text() contains the same text content');
- assert_equals(message.records[0].arrayBuffer(), null,
- 'arrayBuffer() returns null');
+ assert_true(message.records[0].arrayBuffer() instanceof ArrayBuffer,
+ 'arrayBuffer() returns an ArrayBuffer');
assert_equals(message.records[0].json(), null,
'json() returns null');
}, 'NDEFMessage constructor with a text record');