Commit Graph

439172 Commits

Author SHA1 Message Date
Nicholas Nethercote
ffb1fefc9f Bug 1202526 (part 8) - Use PLDHashTable::RemoveEntry() in the cycle collector. r=mccr8.
This avoids repeating the hash table search in order to remove a CC graph
entry, which is good because it's a common operation.
2015-09-07 21:15:32 -07:00
Nicholas Nethercote
957b39e8ff Bug 1202526 (part 7) - Use PLDHashTable::RemoveEntry() in prefs code. r=bz.
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:21:03 -07:00
Nicholas Nethercote
abe8a4f58a Bug 1202526 (part 6) - Use PLDHashTable::RemoveEntry() in XULDocument. r=bz.
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote
b1cf90c1e5 Bug 1202526 (part 5) - Use PLDHashTable::RemoveEntry() in nsSecureBrowserUIImpl. r=dkeeler.
This avoids repeating the hash table search in order to remove the entry.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote
dc1d9c7902 Bug 1202526 (part 4) - Avoid PL_DHashTableRawRemove() in nsPropertyTable. r=bz.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote
9a0ec7b3f4 Bug 1202526 (part 3) - Avoid PL_DHashTableRawRemove() in nsDocument. r=bz.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote
f2ac4f7d13 Bug 1202526 (part 2) - Avoid PL_DHashTableRawRemove() in nsLoadGroup. r=mcmanus.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2015-09-07 19:20:16 -07:00
Nicholas Nethercote
de8fceb34d Bug 1202526 (part 1) - Add PLDHashTable::RemoveEntry(). r=froydnj.
This patch also consolidates the shrink handling so it's now entirely within
ShrinkIfAppropriate().
2015-09-07 19:20:12 -07:00
Ehsan Akhgari
0cb3e73aaa Bug 1203160 - Part 2: Fix the interfaces tests to allow SW interfaces for non-release Fennec; r=baku 2015-09-10 01:05:17 -04:00
Ehsan Akhgari
e622d9b039 Bug 1203160 - Part 1: Turn service workers and fetch interception on in Fennec Nightly; r=nsm 2015-09-10 01:05:16 -04:00
Brian Birtles
5452d490a2 Bug 1194037 part 5 - Make AnimationProperty::operator== ignore mWinsInCascade; r=heycam 2015-09-10 14:03:46 +09:00
Tooru Fujisawa
461ac55c6c Bug 774364 - Part 5: Add missing explicit keyword. r=me
--HG--
extra : amend_source : 811e27ffdee197c0e26249eff4433c9455631cdd
2015-09-10 13:30:35 +09:00
Tooru Fujisawa
f3972a8f88 Bug 774364 - Part 4: Add setRNGState testing function. r=sstangl
--HG--
extra : rebase_source : 6c907f34c29df55c0a828f24b710d4d57b4715d2
2015-08-07 07:42:17 +09:00
Tooru Fujisawa
95b4f82022 Bug 774364 - Part 3: Move Math.random() to macro assembler. r=sstangl,hev, f=rankov
--HG--
extra : rebase_source : f71a0f67a533866a29f22d21b7229ebf621e5179
2015-08-07 07:41:16 +09:00
Tooru Fujisawa
1aca1daf09 Bug 774364 - Part 2: Move architecture specific function from BaseAssembler-x86-shared.h to BaseAssembler-x86.h and BaseAssembler-x64.h. r=sstangl
--HG--
extra : rebase_source : d1f7d60c270ddc7fae54f8c57ce114068895a0ab
2015-08-07 07:39:12 +09:00
Tooru Fujisawa
cc66032742 Bug 1195578 - Part 2: Get a token next to an arrow function with block body with Operand modifier. r=Waldo
--HG--
extra : rebase_source : f0bfa2088149cebcc4421093b1bb55b02bb92b7c
2015-08-18 10:43:48 +09:00
JW Wang
baa34189c7 Bug 1202540 - Remove MDSM::mPlayStartTime. r=kinetik. 2015-09-10 11:31:30 +08:00
JW Wang
857b5c3055 Bug 1202351 - Remove MDSM::mPlayDuration. r=cpearce. 2015-09-10 10:19:42 +08:00
Cameron McCormack
caf777f1cb Bug 1194856 - Load noscript.css and noframes.css from data: URLs in release builds. r=dbaron 2015-09-10 13:24:12 +10:00
Kartikaya Gupta
e45e2f99e5 Bug 1151102 - Add some diagnostic logging. r=snorp
--HG--
extra : commitid : HGgmg6anUOh
2015-09-09 23:22:19 -04:00
Kartikaya Gupta
8f2b8f8996 Bug 1202290 - Remove special-case condition for Fennec that is not needed any more. r=tn
The special-case was added back when the Fennec dynamic toolbar showing/hiding
behaviour didn't resize the content area. As of bug 1180295 that is no longer
the case, and showing/hiding the dynamic toolbar *does* resize the content area.
Therefore the widget bounds always represents the actual content area and can
be used directly as the composition bounds.

In addition, the special-case code relied on a particular quirk of the Fennec
CSS viewport determination code which was removed in bug 1180267. The quirk was
that the CSS viewport height was always set such that it would cover the
available screen height when the page was zoomed out to the minimum allowed
zoom. This behaviour was technically incorrect as it would ignore any height
properties provided in the meta-viewport tag. Now that this quirk has been
removed, the special-case code breaks because the root frame's height is
independent of the screen height and can result in an incorrect composition
bounds.

--HG--
extra : commitid : 69FDhj50WEN
2015-09-09 23:22:19 -04:00
Nigel Babu
33d16f7c15 Backed out changeset ad5849c18324 (bug 1199203) for build bustage ON A CLOSED TREE 2015-09-10 08:26:52 +05:30
Christian Holler
f4d10e47aa Bug 1199203 - Add support for per-thread OOM testing. r=jonco 2015-09-10 03:46:45 +02:00
Masayuki Nakano
e949683492 Bug 895274 part.160 Rename NS_AFTERPAINT to eAfterPaint r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
466a35d418 Bug 895274 part.159 Rename NS_NOTIFYPAINT_START to ePaintEventFirst r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
09e1247ff7 Bug 895274 part.158 Rename NS_QUERY_DOM_WIDGET_HITTEST to eQueryDOMWidgetHittest r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
26489b9f11 Bug 895274 part.157 Rename NS_QUERY_CHARACTER_AT_POINT to eQueryCharacterAtPoint r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
b9be65c10e Bug 895274 part.156 Rename NS_QUERY_CONTENT_STATE to eQueryContentState r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
bb413ca230 Bug 895274 part.155 Rename NS_QUERY_EDITOR_RECT to eQueryEditorRect r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
4a34ce078a Bug 895274 part.154 Rename NS_QUERY_CARET_RECT to eQueryCaretRect r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
e463292274 Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano
a8fd5ffc76 Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano
07dbf0fd06 Bug 895274 part.151 Rename NS_QUERY_SELECTION_AS_TRANSFERABLE to eQuerySelectionAsTransferable r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano
392171fad6 Bug 895274 part.150 Rename NS_QUERY_CONTENT_EVENT_START to eQueryContentEventFirst r=smaug 2015-09-10 10:40:05 +09:00
Masayuki Nakano
35cc2a0a26 Bug 895274 part.149 Rename NS_USER_DEFINED_EVENT to eUnidentifiedEvent r=smaug 2015-09-10 10:40:04 +09:00
Masayuki Nakano
861fa3bf52 Bug 895274 part.148 Rename NS_MOUSE_PIXEL_SCROLL to eLegacyMousePixelScroll r=smaug 2015-09-10 10:40:04 +09:00
Masayuki Nakano
1b3c9e86cd Bug 895274 part.147 Rename NS_MOUSE_SCROLL to eLegacyMouseLineOrPageScroll r=smaug 2015-09-10 10:40:04 +09:00
Masayuki Nakano
8062390672 Bug 895274 part.146 Rename NS_MOUSE_SCROLL_START to eLegacyMouseScrollEventFirst r=smaug 2015-09-10 10:40:04 +09:00
Nicholas Nethercote
26157f37df Bug 1202965 (part 2) - Use MOZ_UNUSED in FdPrintf.c. r=glandium. 2015-09-09 17:01:32 -07:00
Nicholas Nethercote
b5bc43ef27 Bug 1202965 (part 1) - Add MOZ_UNUSED. r=froydnj. 2015-09-09 17:01:28 -07:00
Ralph Giles
bd0011b79c Bug 1187076 - Warn at end of SPS buffers. r=jya
Previously we asserted if we tried to read past the end
of a buffer in parsing H.264 SPS headers. This only affected
debug builds, but the failures were reported as crashes in
automated testing.

Therefore, commute the assert to a warning and silently accept
bad data of this type. The read is safe with the first assert
removed because of the subsequent check, and a similar one in
the parent class.
2015-09-08 21:46:22 -07:00
Markus Stange
5065eb9638 Bug 1187680 - Use NSVisualEffectMaterialMenu for menus if it's available. r=smichaud
--HG--
extra : rebase_source : a18253301999879bbc9acb613f880a356c6dbe16
2015-09-09 19:08:25 -04:00
Markus Stange
04c661f71d Bug 1181135 - Copy DisplayItemClips in order to avoid dangling pointers. r=tn
--HG--
extra : rebase_source : 8d0a077fb38d1c19cf1ef868403c6b3a3735346e
2015-09-09 19:08:03 -04:00
Wes Kocher
ba9de6a2f7 Backed out changeset f5b2a11c64c9 (bug 1201271) for bustage 2015-09-09 15:56:21 -07:00
Andrew McCreight
3e590f4e78 Bug 1201271 - Warn about unused results for more methods of nsTArray. r=froydnj
This leaves alone the AppendElement methods.
2015-09-09 15:39:10 -07:00
Jonathan Watt
9e10f05732 Bug 1203090 - Ensure we always use '/' as the starting path separator for the DOM path of the Directorys initially returned by HTMLInputElement.getFilesAndDirectories. r=baku 2015-08-20 15:01:59 +01:00
Steven Michaud
f32b603c02 Bug 1187613 - Error: cannot initialize a variable of type 'const CGEventField' with an rvalue of type 'int' if build with 10.11 SDK. r=spohl 2015-09-09 17:07:29 -05:00
Trevor Saunders
390030899c bug 1186536 - Bail out of ProxyTextChangeEvent() if the proxy doesn't have a wrapper r=davidb
This probably should never happen, but it seems to sometimes in the wild, and
its hard to know what caused that without a test case.  So for now work around
the issue by adding a null check.
2015-09-09 17:37:15 -04:00
Nathan Froyd
2e6b84568b Bug 1198944 - remove vmware recording support from mochitest; r=khuey
VMWare's record/replay bits are unsupported, and they only work with
programs compiled with VS2010, which we no longer support.
2015-08-27 16:00:14 -04:00
Aaron Klotz
b96ddcd081 Bug 1200698: Rename async plugin init pref; r=bsmedberg
--HG--
extra : rebase_source : 7eb5cda7369a018c2fc407471b3587972091c4c2
2015-09-09 01:01:13 -06:00