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

Remove URL constraint for record id #446

Merged
merged 3 commits into from
Nov 25, 2019

Conversation

beaufortfrancois
Copy link
Collaborator

@beaufortfrancois beaufortfrancois commented Nov 25, 2019

As discussed in #444 (comment), this PR removes binding record ids with the hostname of the current web page.

FIX #445


Preview | Diff

</p>
<p>
The example allows reading and pushing to both peers and tags,
whichever one is tapped first.
</p>
<pre class="example">
const reader = new NDEFReader();
await reader.scan({ id: "https://mygame.com/mypath/mygame" });
await reader.scan({ id: "my-game-progress" });
Copy link
Contributor

Choose a reason for hiding this comment

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

It is not excluded someone could use a URL as id, though.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've edited example description at 7c2d2c1

</p>
<p>
The example allows reading and pushing to both peers and tags,
whichever one is tapped first.
</p>
<pre class="example">
const reader = new NDEFReader();
await reader.scan({ id: "https://mygame.com/mypath/mygame" });
await reader.scan({ id: "my-game-progress" });
Copy link
Contributor

Choose a reason for hiding this comment

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

according to NDEF spec ids are supposed to be urls

Copy link
Contributor

Choose a reason for hiding this comment

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

Screenshot 2019-11-25 at 09 31 24

Copy link
Contributor

Choose a reason for hiding this comment

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

semanticly it is an url (can be relative so you can say the examples are) but we should at least note that in a note or something

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, I forgot about that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've edited example description at 7c2d2c1

Copy link
Contributor

Choose a reason for hiding this comment

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

Where we introduce the id field, are we making clear that it is a url?

Copy link
Contributor

Choose a reason for hiding this comment

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

updated example looks good

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Where we introduce the id field, are we making clear that it is a url?

I've updated id introduction at a78d5fb

Copy link
Contributor

Choose a reason for hiding this comment

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

If we include relative URLs, what they are relative to, and how does the implementation add the base URL when the record is written?

Copy link
Contributor

Choose a reason for hiding this comment

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

The implementation does not add any base URL but just writes the relative URL as is.

@@ -3327,111 +3249,6 @@ <h3><dfn>Writing or pushing content</dfn></h3>
"`*/*json`", on the other hand, matches both.
</div>
</section>
<section> <h3>URL patterns</h3>
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm. A lot of work is gone... :)
Not sure it couldn't be useful at some point, but for now yes, it's to be removed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not so certain. For people using URLs being able to use * is quite handy

Copy link
Collaborator Author

@beaufortfrancois beaufortfrancois Nov 25, 2019

Choose a reason for hiding this comment

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

How about waiting for web developers feedback in origin trials?
We can easily add it if people need it.

Copy link
Contributor

@zolkis zolkis Nov 25, 2019

Choose a reason for hiding this comment

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

Sounds good. But how will people know there would be a possibility to use URL patterns and what are they? A note perhaps?

@@ -3640,8 +3451,7 @@ <h3><dfn>Writing or pushing content</dfn></h3>
<ol>
<li>
If |reader|.<a>[[\Id]]</a> is [= dictionary member/present =]
and doesn't <a href="#dfn-match-record-identifier-with-url-pattern">match</a>
any |record:NDEFRecord|'s id where |record|
and it is not equal to any |record|'s id where |record|
Copy link
Contributor

Choose a reason for hiding this comment

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

Fair enough, an id should be compared for equality, not for partial match. Good.

Copy link
Contributor

@zolkis zolkis left a comment

Choose a reason for hiding this comment

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

Thanks!

@beaufortfrancois beaufortfrancois merged commit 23e8e3b into w3c:gh-pages Nov 25, 2019
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 26, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Copy link
Contributor

@leonhsl leonhsl left a comment

Choose a reason for hiding this comment

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

lgtm

</p>
<p>
The example allows reading and pushing to both peers and tags,
whichever one is tapped first.
</p>
<pre class="example">
const reader = new NDEFReader();
await reader.scan({ id: "https://mygame.com/mypath/mygame" });
await reader.scan({ id: "my-game-progress" });
Copy link
Contributor

Choose a reason for hiding this comment

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

The implementation does not add any base URL but just writes the relative URL as is.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 26, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL make this step done.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 27, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL make this step done.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 27, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
aarongable pushed a commit to chromium/chromium that referenced this pull request Dec 3, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#720792}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#720792}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#720792}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL make this step done.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL make this step done.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 3, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 4, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 4, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 5, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 9, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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@{#722901}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 9, 2019
…hor record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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@{#722901}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 9, 2019
…support writing record id, a=testonly

Automatic update from web-platform-tests
[webnfc] Introduce NDEFRecordInit#id to support writing record id

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#720792}

--

wpt-commits: d9ee4f3e4ef4792b085687584981611e0b74f003
wpt-pr: 20391
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Dec 9, 2019
…support writing record id, a=testonly

Automatic update from web-platform-tests
[webnfc] Introduce NDEFRecordInit#id to support writing record id

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#720792}

--

wpt-commits: d9ee4f3e4ef4792b085687584981611e0b74f003
wpt-pr: 20391
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Dec 10, 2019
…support writing record id, a=testonly

Automatic update from web-platform-tests
[webnfc] Introduce NDEFRecordInit#id to support writing record id

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francoisgmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Commit-Queue: Leon Han <leon.hanintel.com>
Cr-Commit-Position: refs/heads/master{#720792}

--

wpt-commits: d9ee4f3e4ef4792b085687584981611e0b74f003
wpt-pr: 20391

UltraBlame original commit: 014ed6bd538dec3df1db611a662cffbda8966741
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Dec 10, 2019
…support writing record id, a=testonly

Automatic update from web-platform-tests
[webnfc] Introduce NDEFRecordInit#id to support writing record id

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francoisgmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Commit-Queue: Leon Han <leon.hanintel.com>
Cr-Commit-Position: refs/heads/master{#720792}

--

wpt-commits: d9ee4f3e4ef4792b085687584981611e0b74f003
wpt-pr: 20391

UltraBlame original commit: 014ed6bd538dec3df1db611a662cffbda8966741
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Dec 10, 2019
…support writing record id, a=testonly

Automatic update from web-platform-tests
[webnfc] Introduce NDEFRecordInit#id to support writing record id

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   This CL is focused on impl in Blink, with the following CLs focused
   on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Ie6f5b2978f78676c3aa607d09e7ffd5bbb5005d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928891
Reviewed-by: François Beaufort <beaufort.francoisgmail.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Commit-Queue: Leon Han <leon.hanintel.com>
Cr-Commit-Position: refs/heads/master{#720792}

--

wpt-commits: d9ee4f3e4ef4792b085687584981611e0b74f003
wpt-pr: 20391

UltraBlame original commit: 014ed6bd538dec3df1db611a662cffbda8966741
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 10, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 10, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#723252}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Dec 10, 2019
The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#723252}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 11, 2019
…ecord ids rather than the author record url, a=testonly

Automatic update from web-platform-tests
[webnfc] Make NFCScanOptions#id filter record ids rather than the author record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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@{#722901}

--

wpt-commits: e9e13796b23cc62b0e7f7163077665a32fba6c1f
wpt-pr: 20449
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Dec 11, 2019
…d old impl of the author record., a=testonly

Automatic update from web-platform-tests
[webnfc] Remove NDEFMessage{Init}#url and old impl of the author record.

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#723252}

--

wpt-commits: fa41b43ac93bc2fdc2427a4378dc3754d483cdda
wpt-pr: 20472
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Dec 12, 2019
…ecord ids rather than the author record url, a=testonly

Automatic update from web-platform-tests
[webnfc] Make NFCScanOptions#id filter record ids rather than the author record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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{#722901}

--

wpt-commits: e9e13796b23cc62b0e7f7163077665a32fba6c1f
wpt-pr: 20449

UltraBlame original commit: b55ce5cbebc73634b77bc956264bf4bed3c6c053
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Dec 12, 2019
…d old impl of the author record., a=testonly

Automatic update from web-platform-tests
[webnfc] Remove NDEFMessage{Init}#url and old impl of the author record.

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.hanintel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Reviewed-by: Daniel Cheng <dchengchromium.org>
Reviewed-by: François Beaufort <beaufort.francoisgmail.com>
Cr-Commit-Position: refs/heads/master{#723252}

--

wpt-commits: fa41b43ac93bc2fdc2427a4378dc3754d483cdda
wpt-pr: 20472

UltraBlame original commit: aaf1990089423f230eff5bfb4fb2bad3b9f60ba8
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Dec 12, 2019
…ecord ids rather than the author record url, a=testonly

Automatic update from web-platform-tests
[webnfc] Make NFCScanOptions#id filter record ids rather than the author record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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{#722901}

--

wpt-commits: e9e13796b23cc62b0e7f7163077665a32fba6c1f
wpt-pr: 20449

UltraBlame original commit: b55ce5cbebc73634b77bc956264bf4bed3c6c053
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Dec 12, 2019
…d old impl of the author record., a=testonly

Automatic update from web-platform-tests
[webnfc] Remove NDEFMessage{Init}#url and old impl of the author record.

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.hanintel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Reviewed-by: Daniel Cheng <dchengchromium.org>
Reviewed-by: François Beaufort <beaufort.francoisgmail.com>
Cr-Commit-Position: refs/heads/master{#723252}

--

wpt-commits: fa41b43ac93bc2fdc2427a4378dc3754d483cdda
wpt-pr: 20472

UltraBlame original commit: aaf1990089423f230eff5bfb4fb2bad3b9f60ba8
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Dec 12, 2019
…ecord ids rather than the author record url, a=testonly

Automatic update from web-platform-tests
[webnfc] Make NFCScanOptions#id filter record ids rather than the author record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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{#722901}

--

wpt-commits: e9e13796b23cc62b0e7f7163077665a32fba6c1f
wpt-pr: 20449

UltraBlame original commit: b55ce5cbebc73634b77bc956264bf4bed3c6c053
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Dec 12, 2019
…d old impl of the author record., a=testonly

Automatic update from web-platform-tests
[webnfc] Remove NDEFMessage{Init}#url and old impl of the author record.

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.hanintel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumikintel.com>
Reviewed-by: Daniel Cheng <dchengchromium.org>
Reviewed-by: François Beaufort <beaufort.francoisgmail.com>
Cr-Commit-Position: refs/heads/master{#723252}

--

wpt-commits: fa41b43ac93bc2fdc2427a4378dc3754d483cdda
wpt-pr: 20472

UltraBlame original commit: aaf1990089423f230eff5bfb4fb2bad3b9f60ba8
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Dec 16, 2019
…ecord ids rather than the author record url, a=testonly

Automatic update from web-platform-tests
[webnfc] Make NFCScanOptions#id filter record ids rather than the author record url

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   This CL.

4. Removes NDEFMessage{Init}#url and old impl of the author record.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: I8d7165bc2833501ce96187ada9f8c3b5053b3bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1936187
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@{#722901}

--

wpt-commits: e9e13796b23cc62b0e7f7163077665a32fba6c1f
wpt-pr: 20449
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Dec 16, 2019
…d old impl of the author record., a=testonly

Automatic update from web-platform-tests
[webnfc] Remove NDEFMessage{Init}#url and old impl of the author record.

The plan is:
1. Introduces NDEFRecord{Init}#id and supports reading.
   Already done by crrev.com/c/1861574.

2. Supports writing.
   crrev.com/c/1928891 is focused on impl in Blink, with the following
   CLs focused on impl in Device Service.
     crrev.com/c/1910906
     crrev.com/c/1911385
     crrev.com/c/1915940
     crrev.com/c/1916261

3. Introduces NFCScanOptions#id and filters records by it when scanning.
   Done by crrev.com/c/1936187.

4. Removes NDEFMessage{Init}#url and old impl of the author record.
   This CL.

The spec changes:
w3c/web-nfc#338
w3c/web-nfc#340
w3c/web-nfc#446

BUG=520391

Change-Id: Id1c29d980426a5559fd6e30aa0fc95b268d8e96c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938835
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#723252}

--

wpt-commits: fa41b43ac93bc2fdc2427a4378dc3754d483cdda
wpt-pr: 20472
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.

Keep (how?) or remove the record id?
4 participants