Closed Bug 1526283 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 15135 - Fix useless test in dataset-delete.html.

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ms2ger <Ms2ger@gmail.com> wrote:

Fix useless test in dataset-delete.html.

This is not currently testing anything useful, and hasn't been since I
introduced this subtest in d5a8cbe61b61c7fa9891f380bdfe1e0c142fbc84 back in
2012.

However, the test I meant to write was not correct either, since the steps to
delete an existing named property in HTML are only run if the property is
exposed on the object, which isn't the case here.

Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 9 subtests
OK     : 1
PASS   : 9
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/806204923015
[wpt PR 15135] - Fix useless test in dataset-delete.html., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.