Closed Bug 1727066 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 30124 - Dispose of plugin views on certain attribute changes, displayed or not.

Categories

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

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Morten Stenshorne <mstensho@chromium.org>' wrote:

Dispose of plugin views on certain attribute changes, displayed or not.

Certain attribute type changes (such as "src") require the plugin to
reload, and if we have a "persisted" plugin view, we need to get rid of
thatg one, also if the plugin isn't currently displayed. Otherwise, if
the plugin eventually gets displayed again, we'll show the old content.

This regression was introduced by CL:1798710

Bug: 1240261
Change-Id: Iec002d9c98b2264daa0c436f4767a29a2845e311
Reviewed-on: https://chromium-review.googlesource.com/3107150
WPT-Export-Revision: 2294f4a7844cae8c7c66ae3890660abb44883a3b

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d2d74653e5c7
[wpt PR 30124] - Dispose of plugin views on certain attribute changes, displayed or not., a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.