New issue
Advanced search Search tips

Issue 629926 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

plugins are not re-laid out or created when <embed> type attribute is changed

Project Member Reported by elijahtaylor@chromium.org, Jul 20 2016

Issue description

Version: 52.0.2743.76
OS: Chrome OS / Linux (probably all)

What steps will reproduce the problem?

serve the contents of plugintest.zip and browse to its index.html, which will:

(1) load html file with empty embed tag
(2) change src attribute to pnacl nmf file (this triggers an attempt to create a plugin, but fails because |type| is not set)
(3) set type attribute to application/x-pnacl (this does not trigger an attempt to create a plugin
(4) (the attached zip file then removes and re-adds the element to the DOM which triggers a proper load of the plugin

What is the expected output?

Modifying the DOM to set the src and type attributes of an embed should properly load the associated plugin, regardless of time between them.

What do you see instead?

Changes to the |type| attribute do not trigger plugin loads.


 
plugintest.zip
365 KB Download

Sign in to add a comment