forked from mirrors/gecko-dev
Bug 1486220 - Revert document.createXULElement change from Bug 1485426 in videocontrols.xml;r=me
Since videocontrols run in content, this is generally a content privileged HTML document which doesn't have access to that API. And besides, we actually want this to be an <html:button>.
This commit is contained in:
parent
e1a0b51543
commit
e864b4f797
1 changed files with 1 additions and 1 deletions
|
|
@ -1618,7 +1618,7 @@
|
|||
|
||||
const label = tt.label || "";
|
||||
const ttText = document.createTextNode(label);
|
||||
const ttBtn = document.createXULElement("button");
|
||||
const ttBtn = document.createElement("button");
|
||||
|
||||
ttBtn.classList.add("textTrackItem");
|
||||
ttBtn.setAttribute("index", tt.index);
|
||||
|
|
|
|||
Loading…
Reference in a new issue