Index: third_party/WebKit/LayoutTests/nfc/push.html |
diff --git a/third_party/WebKit/LayoutTests/nfc/push.html b/third_party/WebKit/LayoutTests/nfc/push.html |
index 5b714582db23eae5fd38b8b21e7442de5554ed04..205f52dc4abc049ee970d016843b7f14bc94af86 100644 |
--- a/third_party/WebKit/LayoutTests/nfc/push.html |
+++ b/third_party/WebKit/LayoutTests/nfc/push.html |
@@ -150,4 +150,10 @@ nfc_test(nfc => { |
return assertRejectsWithError(promise, 'AbortError'); |
}, 'nfc.cancelPush should reject pending promise with AbortError.') |
+nfc_test(nfc => { |
+ return assertRejectsWithError( |
+ navigator.nfc.push(new ArrayBuffer(32 * 1024 + 1)), |
+ 'NotSupportedError'); |
+}, 'Reject promise with NotSupportedError if NFC message size exceeds 32KB.'); |
+ |
</script> |