[wpt-sync] Sync PR 20385 - [webnfc] NDEFReadingEvent constructor does not set NDEFRecord#lang
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 20385 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20385
Details from upstream follow.
Leon Han <leon.han@intel.com> wrote:
[webnfc] NDEFReadingEvent constructor does not set NDEFRecord#lang
Because NDEFRecord#lang is supposed to be set to the document element's
lang attribute in the original web page that constructs/writes this
record, not in the current web page trying to construct an
NDEFReadingEvent instance.This CL adds a wpt to guarantee that.
BUG=520391
Change-Id: If609455d6411ee886b74ab7557292c37da41eed6
Reviewed-on: https://chromium-review.googlesource.com/1930451
WPT-Export-Revision: f875a8d38232433b452e7e22f23c2c4474cbec4f
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/275065d654b3
https://hg.mozilla.org/mozilla-central/rev/fd7f69b6dda4
Description
•