gecko-dev/layout
L. David Baron 93048fc66f Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert
This protects all accesses to the frame property table with a bit stored
on the frame.  This means we avoid hashtable operations when asking
about frame properties on frames that have no properties.

The changes to RestyleManager, and the new HasSkippingBitCheck API, are
needed because RestyleManager depended on being able to ask for
properties on a deleted frame (knowing that the property in question
could not have been set on any new frames since the deleted frame was
destroyed), in order to use the destruction of the properties that
happens at frame destruction as a mechanism for learning that the frame
was destroyed.  The changes there preserve the use of that mechanism,
although it becomes a bit uglier.  The ugliness is well-deserved.

MozReview-Commit-ID: BScmDUlWq65

--HG--
extra : transplant_source : %C8%C0%CD%DC%12g%5B%8ER%3A%FF%A7a%F8%91%D4%2C%9BF%2B
2017-04-04 20:59:21 -07:00
..
base Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert 2017-04-04 20:59:21 -07:00
build Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot 2017-03-22 11:39:31 +01:00
doc
forms Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica 2017-03-31 22:49:00 -04:00
generic Bug 1353187 - Guard access to the frame property table with a frame state bit. r=dholbert 2017-04-04 20:59:21 -07:00
inspector Bug 1342880 : Remove class inSearchLoop from the tree. r=heycam 2017-03-15 11:48:41 +08:00
ipc When using the GPU process, combine layer ownership and window mapping into a single IPC message. (bug 1350660 part 1, r=rhunt, r=billm) 2017-04-03 15:13:37 -07:00
mathml Bug 1353187 - Give frame properties the const-ness semantics of member variables. r=dholbert 2017-04-04 20:59:21 -07:00
media Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher 2017-03-22 17:23:12 -07:00
painting Bug 1353521 - Add telemetry probes to find out which display items are being used. r=dvander 2017-04-04 15:19:14 -07:00
printing Bug 1342872 - part2: Name the nsPagePrintTimer runnable and associate its nsITimers with a DocGroup r=bevistseng,jwatt 2017-03-30 22:49:43 +08:00
reftests Bug 1352781 - Update reftest expectations. r=manishearth 2017-04-04 11:11:18 +09:00
style Bug 1352781 - Update mochitest expectations. r=manishearth 2017-04-04 11:11:22 +09:00
svg Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
tables Bug 1353187 - Give frame properties the const-ness semantics of member variables. r=dholbert 2017-04-04 20:59:21 -07:00
tools Bug 1351074 - Part 3. Include AsyncSpellCheckTestHelper.jsm in reftest. r=masayuki 2017-04-03 12:37:48 +09:00
xul Bug 1350192, when checking through the list of popups to hide when clicking outside the popup, don't include noautohide popups, r=ksteuber 2017-04-03 08:12:26 -04:00
moz.build