gecko-dev/browser
Brian Grinstead b06d9e0e10 Bug 1466833 - Upgrade the <xul:deck> inside of search-one-offs at the beginning of the XBL constructor;r=timdream
Right now, a XBL <constructor> runs before Custom Elements inside of its
<content> get upgraded. This leads to unexpected behavior where deck.selectedIndex = N
causes selectedIndex to get set as an expando property on the DOM node rather
than running the setter defined by the Custom Element.

Once the Custom Element does finally get upgraded, the selectedIndex getter and
setter don't get attached since there's an expando property with the same name.

This isn't a case we want to have to support from calling code. So this patch fixes
this one case by manually upgrading the element inside the constructor before
anything accesses the node. In Bug 1470242 we are planning to make this happen
behind the scenes so we don't need to do this for every CE inside of <content>.

MozReview-Commit-ID: LbXKKVeBYyQ

--HG--
extra : rebase_source : 83919106d1c43d7c8b960e4c1dd536e17e02f1f1
2018-06-21 10:34:55 -07:00
..
app Bug 1463748 - Fork and pref-off the new error pages r=johannh 2018-06-12 17:51:37 -07:00
base Merge inbound to central. a=merge 2018-06-21 04:16:40 +03:00
branding Bug 1464246 - change the pref which will redirect the welcome page from a mozilla.org page to about:welcome. r=k88hudson 2018-05-24 17:38:08 -04:00
components Bug 1466833 - Upgrade the <xul:deck> inside of search-one-offs at the beginning of the XBL constructor;r=timdream 2018-06-21 10:34:55 -07:00
config Bug 1468688 - default to upload tub db is false r=mshal 2018-06-18 10:13:38 -07:00
docs Bug 1451351 - Move obsolete documentation to subfolder. r=janerik 2018-05-06 14:33:10 +09:00
extensions Bug 1465581 - Export Screenshots 33.0.0 to Firefox (code excluding translations and Raven update); r=ianbicking,_6a68 2018-06-18 11:07:23 -05:00
fonts Bug 1358240 - Replace EmojiOne with Twemoji, r=jfkthame, timdream 2018-03-08 18:23:19 -06:00
installer Bug 1467549 - Disable the BackgroundHangReporter in ASan builds. r=Nika 2018-06-07 12:32:57 -07:00
locales Bug 1376119 - Add Reopen in Container tab menu. r=baku,Gijs 2018-06-07 15:59:01 +09:00
modules Merge inbound to central. a=merge 2018-06-21 04:16:40 +03:00
themes Bug 1392541 - Update tracking protection icons in the identity block. r=ntim 2018-06-21 12:49:35 +02:00
tools/mozscreenshots Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander 2018-06-20 21:34:40 +03:00
.eslintrc.js
app.mozbuild
build.mk Bug 1436662: Package translated uninstaller; r=pike,mshal 2018-04-16 12:49:53 -06:00
confvars.sh Bug 1468362: Remove ADDON_SINGING buildconfig setting. r=aswan 2018-06-12 13:56:58 -04:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1420908: Remove telemetry experiments. r=gfritzsche 2018-04-03 15:17:13 -07:00
moz.configure