Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #488: inconsistency in handling Id and MediaType slots #496

Merged
merged 1 commit into from Dec 27, 2019

Conversation

zolkis
Copy link
Contributor

@zolkis zolkis commented Dec 27, 2019

Signed-off-by: Zoltan Kis <zoltan.kis@intel.com>
@zolkis zolkis merged commit 77e9c32 into w3c:gh-pages Dec 27, 2019
@zolkis zolkis deleted the id-handling branch December 27, 2019 16:04
@leonhsl
Copy link
Contributor

leonhsl commented Dec 30, 2019

https://w3c.github.io/web-nfc/#dfn-dispatch-nfc-content is using "present" expression for RecordType.

@@ -3563,7 +3563,7 @@ <h3><dfn>Writing or pushing content</dfn></h3>
Let |matched:boolean| be `false`.
</li>
<li>
If |reader|.<a>[[\Id]]</a> is not empty string and is equal to
If |reader|.<a>[[\Id]]</a> is not `undefined` and is equal to
|record|'s <a href="#dom-ndefrecord-id">id</a>,
[= iteration/continue =].
If it is equal, set |matched| to `true`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If Id is undefined, means it matches anything, we'll continue to look at other fields.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 3, 2020
And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 7, 2020
And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#728813}
pull bot pushed a commit to FreddyZeng/chromium that referenced this pull request Jan 7, 2020
And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#728813}
stephenmcgruer pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 8, 2020
#21017)

And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#728813}

Co-authored-by: Han Leon <leon.han@intel.com>
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Jan 14, 2020
… undefined means do not filter, a=testonly

Automatic update from web-platform-tests
[webnfc] NDEFScanOptions#mediaType being undefined means do not filter (#21017)

And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#728813}

Co-authored-by: Han Leon <leon.han@intel.com>

--

wpt-commits: 32cb1cf1ba99807715ab5a4184f62e39c47d18f7
wpt-pr: 21017
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jan 14, 2020
… undefined means do not filter, a=testonly

Automatic update from web-platform-tests
[webnfc] NDEFScanOptions#mediaType being undefined means do not filter (#21017)

And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#728813}

Co-authored-by: Han Leon <leon.han@intel.com>

--

wpt-commits: 32cb1cf1ba99807715ab5a4184f62e39c47d18f7
wpt-pr: 21017
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jan 16, 2020
… undefined means do not filter, a=testonly

Automatic update from web-platform-tests
[webnfc] NDEFScanOptions#mediaType being undefined means do not filter (#21017)

And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Reviewed-by: Daniel Cheng <dchengchromium.org>
Commit-Queue: Leon Han <leon.hanintel.com>
Cr-Commit-Position: refs/heads/master{#728813}

Co-authored-by: Han Leon <leon.hanintel.com>

--

wpt-commits: 32cb1cf1ba99807715ab5a4184f62e39c47d18f7
wpt-pr: 21017

UltraBlame original commit: 9d58850dccba1a470c3dc952db0dae26d420d68c
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jan 16, 2020
… undefined means do not filter, a=testonly

Automatic update from web-platform-tests
[webnfc] NDEFScanOptions#mediaType being undefined means do not filter (#21017)

And the empty string should just match on empty.

The spec change:
w3c/web-nfc#496
w3c/web-nfc#498

BUG=520391

Change-Id: Idae55b976a6fbbdd252f6227cbe13ee50d16269c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986632
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Reviewed-by: Daniel Cheng <dchengchromium.org>
Commit-Queue: Leon Han <leon.hanintel.com>
Cr-Commit-Position: refs/heads/master{#728813}

Co-authored-by: Han Leon <leon.hanintel.com>

--

wpt-commits: 32cb1cf1ba99807715ab5a4184f62e39c47d18f7
wpt-pr: 21017

UltraBlame original commit: 9d58850dccba1a470c3dc952db0dae26d420d68c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants