Closed Bug 1598540 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 20385 - [webnfc] NDEFReadingEvent constructor does not set NDEFRecord#lang

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla73
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

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/275065d654b3 [wpt PR 20385] - [webnfc] NDEFReadingEvent constructor does not set NDEFRecord#lang, a=testonly https://hg.mozilla.org/integration/autoland/rev/fd7f69b6dda4 [wpt PR 20385] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.