Closed Bug 1531449 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 15579 - [webnfc] Rename NFCPushMessage union to NFCMessageSource.

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15579 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15579
Details from upstream follow.

Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> wrote:

[webnfc] Rename NFCPushMessage union to NFCMessageSource.

git grep -l 'NFCPushMessage' | xargs sed -i 's/NFCPushMessage/NDEFMessageSource/g'

Corresponding Spec changes:
https://github.com/w3c/web-nfc/commit/bf85df9e534da7351fc4c870228857dddef37e0e

Bug: 520391
Change-Id: I07980bfa1e68fc8959541442ddf4c83db968a52f
Reviewed-on: https://chromium-review.googlesource.com/c/1483028
Reviewed-by: Reilly Grant \<reillyg@chromium.org>
Reviewed-by: Philip Jägenstedt \<foolip@chromium.org>
Commit-Queue: Rijubrata Bhaumik \<rijubrata.bhaumik@intel.com>
Cr-Commit-Position: refs/heads/master@{#636194}

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 1 tests and 12 subtests OK : 1 FAIL : 12 New tests that have failures or other problems: /web-nfc/nfc_push.https.html 'Test that promise is rejected with SyntaxError if NFCMessage contains invalid records.: FAIL[linux32-debug,linux64-debug,linux64-opt] Reject promise with NotSupportedError if NFC message size exceeds 32KB.: FAIL[linux32-debug,linux64-debug,linux64-opt] Reject promise with SyntaxError if 'json' record cannot be serialized.: FAIL[linux32-debug,linux64-debug,linux64-opt] Reject promise with SyntaxError if WebNFC Id cannot be created from provided URL.: FAIL[linux32-debug,linux64-debug,linux64-opt] Test that WebNFC API is not accessible from iframe context.: FAIL[linux32-debug,linux64-debug,linux64-opt] Test that promise is rejected with TypeError if NFCMessage is invalid.: FAIL[linux32-debug,linux64-debug,linux64-opt] nfc.cancelPush should fail with TypeError when invalid id value is provided.: FAIL[linux32-debug,linux64-debug,linux64-opt] nfc.cancelPush should reject pending promise with AbortError.: FAIL[linux32-debug,linux64-debug,linux64-opt] nfc.push should fail with TimeoutError when timer expires.: FAIL[linux32-debug,linux64-debug,linux64-opt] nfc.push should fail with TypeError when invalid negative timeout value is provided.: FAIL[linux32-debug,linux64-debug,linux64-opt] nfc.push should fail with TypeError when invalid target value is provided.: FAIL[linux32-debug,linux64-debug,linux64-opt] nfc.push should fail with TypeError when invalid timeout is provided.: FAIL[linux32-debug,linux64-debug,linux64-opt]
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/b4a3f5640122 [wpt PR 15579] - [webnfc] Rename NFCPushMessage union to NFCMessageSource., a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.