mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
4067dc780f
This patch modifies UAWidgetsChild so that when the call into the UA Widget script throws, it could correctly clean up the Shadow DOM, to avoid leaving the DOM in a half-broken state. This is needed because of bug 1506300 will cause the constructor of the videocontrols UA Widget to throw, in our specific test case. This exception also happens when the videocontrols XBL binding initializes, but the way the XBL service calls into the XBL binding allow it to reach a usable but a half-broken state, while our current approach will cause the UA Widget DOM to be inserted twice, and layout to assert. The new clean-up approach here will make UA Widget completely absent when the constructor throws until the cause of the exception is fixed. Differential Revision: https://phabricator.services.mozilla.com/D11542 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
actors | ||
components | ||
content | ||
crashreporter | ||
forgetaboutsite | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
recordreplay | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
moz.build | ||
moz.configure | ||
nss.configure | ||
toolkit.mozbuild |