gecko-dev/toolkit
Timothy Guan-tin Chien 4067dc780f Bug 1505957 - Recover from failed UA Widget construction and destruction r=bgrins
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
2018-11-14 22:55:09 +00:00
..
actors Bug 1505957 - Recover from failed UA Widget construction and destruction r=bgrins 2018-11-14 22:55:09 +00:00
components Bug 1504247 - Define a high-resolution page load time histogram r=dao,chutten 2018-11-14 21:37:51 +00:00
content Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-15 00:35:07 +02:00
crashreporter Bug 1496503 - Install the rust panic hook early. r=froydnj 2018-11-14 22:35:35 +00:00
forgetaboutsite Bug 1260399 - Remove deprecated messages in nsICookieManager methods - part 3 - nsICookieManager.cookieExists, r=ehsan 2018-09-24 11:37:57 +02:00
library Bug 1496503 - Change the rust panic hook to delegate to Gecko's crash code. r=froydnj 2018-11-14 22:35:33 +00:00
locales Bug 1498522 - Change the 'Highlight All' keybinding back to using 'a', instead of the new 'l' on all platforms, except OSX. r=Gijs,flod 2018-11-13 18:27:11 +00:00
modules Bug 1504181 - Force scientific notation in CanonicalJSON r=glasserc 2018-11-12 14:12:58 +00:00
mozapps Bug 1503342 - Rename richlistbox.children to richlistbox.itemChildren so .children will refer to the normal DOM API;r=paolo 2018-11-11 13:21:18 +00:00
pluginproblem
profile Bug 1495792: Add a profile first-run time to the telemetry environment. r=janerik 2018-10-15 16:09:12 +00:00
recordreplay Bug 1505962 - Add redirection for rand(), r=lsmyth. 2018-11-09 16:19:33 -10:00
system Bug 1499864 - WindowsNetworkFunctionsWrapper's dtor should be virtual. r=bagder 2018-10-18 08:57:46 +00:00
themes Bug 1506705 - Fix the treecol sortdirection selectors and use SCG icons for them. r=dao 2018-11-13 20:12:06 +01:00
xre Bug 1496503 - Install the rust panic hook early. r=froydnj 2018-11-14 22:35:35 +00:00
.eslintrc.js
moz.build
moz.configure Bug 1501218 - Enable wayland support with --enable-default-toolkit=cairo-gtk3. r=mshal 2018-11-14 22:50:43 +00:00
nss.configure Bug 1492716 - Part 2: Add formatting rule to help text for --{enable,disable,with,without}. r=glandium 2018-10-16 20:28:12 +09:00
toolkit.mozbuild Bug 1496327 - Remove MOZ_ENABLE_XREMOTE r=froydnj 2018-10-04 13:55:55 +00:00