Commit Graph

502228 Commits

Author SHA1 Message Date
Andrew McCreight
3a6cd65871 Bug 1321066 - Explicitly guard against reentrance in nsSMILTimeContainer. r=dholbert 2016-11-29 15:57:30 -08:00
Geoff Brown
dbd190562a Bug 1318171 - Catch all throwables in SearchEngineManager.createEngineFromLocale; r=sebastian 2016-11-29 16:51:31 -07:00
Sebastian Hengst
ddbd19334f Backed out changeset 667c1a306797 (bug 1311687) for heap-use-after-free in txExecutionState.cpp. r=backout 2016-11-30 00:39:34 +01:00
André Bargull
4030537175 Bug 1320144 - Remove String generics uses in browser/base/content. r=gijs
--HG--
extra : rebase_source : 9bff0265f638bc68fd652f93a37e6a48b2bdd645
2016-11-24 13:18:26 -08:00
André Bargull
440601a995 Bug 1320143 - Remove String generics uses in mobile/android/chrome/content. r=sebastian
--HG--
extra : rebase_source : ff926dec0ab0aa1d79a13d7312808607652d1364
2016-11-24 13:18:09 -08:00
André Bargull
69db68d857 Bug 1319938 - Remove String generics uses in toolkit/components/extensions. r=aswan
--HG--
extra : rebase_source : 3dfb132d875cfcb7a5dbc190b7f5ae19349552ff
2016-11-29 14:30:06 -08:00
André Bargull
8843a98210 Bug 1319936 - Remove String generics uses in dom. r=billm
--HG--
extra : rebase_source : f2b40e5d4a423035d2de8739570a76305a058cf0
2016-11-24 13:17:00 -08:00
André Bargull
75e7c1e895 Bug 1319935 - Remove String generics uses in devtools. r=bgrins
--HG--
extra : rebase_source : c358aeafcfae021f8cf3f3bad723ef9a1f763228
2016-11-24 13:16:44 -08:00
André Bargull
c191ea642f Bug 1319934 - Remove String generics uses in addon-sdk. r=mossop
--HG--
extra : rebase_source : 1bbe8078ab32c9bf75b0ae8622df510a6bfb4b81
2016-11-24 13:17:19 -08:00
Wes Kocher
618e4c1734 Backed out changeset d62d5b78e234 (bug 1316803) for arm64 bustage a=backout 2016-11-29 14:57:43 -08:00
Hiroyuki Ikezoe
1ef4ddc756 Bug 1289701 - Find the root style context by walkng up the style context tree instead of calling ResolveStyleFor or getting it from root element's primary frame. r=dbaron
The only call site of CalcLengthWith() with a null style context is
CalcLengthWithInitialFont(). CalcLengthWithInitialFont() calls
CalcLengthWith() with a valid nsStyleFont and aUseProvidedRootEmSize
true, so we can get the rem unit font size from the nsStyleFont when called
from CalcLengthWithInitialFont().

MozReview-Commit-ID: A9LKfQEozaB
2016-11-30 07:46:27 +09:00
André Bargull
84eaaaf97d Bug 1319939 - Remove String generics uses in toolkit/mozapps/extensions/content. r=rhelmer 2016-11-29 14:22:07 -08:00
André Bargull
82ed270fce Bug 1319937 - Remove String generics uses in services/sync. r=markh 2016-11-24 13:17:08 -08:00
Honza Bambas
875daed448 Bug 1315332 - Don't reuse the connection for conn-based auth schemes when asking user for credentials. r=mcmanus
--HG--
extra : rebase_source : e51b3fc77e73058e74f8439f7b2832fa74c7c88e
extra : amend_source : afef5033791608b8c7f2c13e150e93c7aaecfc66
2016-11-15 11:00:00 -05:00
Daniel Näslund
03607acab9 Bug 1316803 - Fold constant rhs for add/sub/shift/rotate/bitwise-ops. r=lth
--HG--
extra : rebase_source : d8b6153d3f1d6238311a62098396680c64194515
2016-11-28 12:31:00 -05:00
Martin Stransky
d4cb5817e1 Bug 1320686 - [nsLookAndFeel] Get styles for menu label, button text and combobox text colors from WidgetCache. r=karlt
--HG--
extra : rebase_source : 5eb0800de3da5ebb6e2deb1095c50aa218afd6e3
2016-11-28 06:44:00 -05:00
JW Wang
114ec342ad Bug 1315631 - Don't dispatch |this| in the constructor. r=jya
Because it will change the ref-count which might cause destructor to run before exiting the constructor.

MozReview-Commit-ID: MMIea970Dv

--HG--
extra : rebase_source : faf898a3107706bc0ea750e738d8c3a7a3824264
2016-11-08 23:09:34 +08:00
Eric Rahm
c839abc03c Bug 1311687 - Pop eval context on early returns. r=peterv
Make sure the eval context stack is cleaned up on failure.

MozReview-Commit-ID: AUNen1xt9He

--HG--
extra : rebase_source : 405afaf2e3e77a2fb4761440f837645cf5a8c18e
2016-11-07 10:31:50 -08:00
Olli Pettay
6dabfdba6b Bug 1314442 - Limit editor's editability to the right subtree. r=masayuki
--HG--
extra : rebase_source : bb528d3c82c962dc31883654a81f87285e49e2b9
2016-11-29 17:07:27 -05:00
Milan Sreckovic
33daa90e3c Bug 1313212 - Show the pointer value, not the string behind it in the debug statement. r=mchang
--HG--
extra : rebase_source : b0aac53f09708ba3b771991d510a0b7463a4cebb
2016-11-29 17:04:59 -05:00
David Anderson
51df7c6290 Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
--HG--
extra : rebase_source : d72c9a74fdfdfbcbf0303b550404ccd7a900c88d
2016-11-29 14:07:27 -08:00
Wes Kocher
afc3fce143 Backed out changeset 6114d21c87ca (bug 1320809) for android reftest failures a=backout 2016-11-29 14:04:53 -08:00
Wes Kocher
f0071bb179 Backed out 2 changesets (bug 504622) for android reftest failures a=backout
Backed out changeset c024721d9b03 (bug 504622)
Backed out changeset 056f728704e7 (bug 504622)
2016-11-29 14:04:40 -08:00
Lee Salzman
03322ca26d Bug 1315848 - Skia clamped gradient fix r=mchang
MozReview-Commit-ID: GUHZC7VRrlC

--HG--
extra : source : f51d3ab82dc60c54403cc6f64f4e0a5a87a5f5ff
2016-11-21 14:10:05 -05:00
David Major
0b3f449272 No bug - Fix comments to match code. DONTBUILD
This code has been moved around several times, but it originated in bug 995704. Comments 20 and later indicate that the value was changed from 1k to 4k per review, and the code comments weren't updated.

MozReview-Commit-ID: JQjoWq1jGF9

--HG--
extra : rebase_source : f91924693645aef2d003692c8749c996d812d9fc
extra : amend_source : 9cb57f677acd1d61c78f8297d0136b6ab2f09b26
2016-11-29 15:28:11 -06:00
Julien Vehent
6ffb692b13 bug 1301956 - add more Mozilla resources to preloaded pins r=keeler,rbarnes DONTBUILD NPOTB
Also trims the pinset for said Mozilla resources to just DigiCert and Let's
Encrypt (as a backup).
2016-11-29 13:15:32 -08:00
Timothy Nikkel
369187c6f2 Bug 1312609. r=smaug a=abillings 2016-11-29 15:15:35 -06:00
Boris Zbarsky
6f55f6fce6 Bug 504622 part 2. Allow fieldsets to shrink below their intrinsic min-width and below the width of their legend if their min-width is explicitly overridden. r=dbaron 2016-11-29 15:52:55 -05:00
Boris Zbarsky
6b2f992350 Bug 504622 part 1. Rewrite fieldset border drawing to just clip to the area outside the legend instead of doing it in pieces with different clip rects. r=mattwoodrow,dbaron
This change will allow the border drawing code to deal with the following
changes, which will make us no longer force the fieldset to be wider than the
legend.  Without this patch, allowing the fieldset to be narrower than the
legend causes the vertical inline-start-side and inline-end-side borders of the
fieldset to paint under the legend, because the current code only modifies the
painting of the block-start-side border (the one the legend is positioned on).

This does change behavior in one situation, which the new tests test.  For
relatively positioned legends, we used to use the original vertical location but
the positioned horizontal location of the legend to decide which parts of the
border to not paint.  In the new setup, we use the original location for both.
I did check that this new behavior matches Chrome and Safari.  Edge seems to
have our old behavior.
2016-11-29 15:52:30 -05:00
Boris Zbarsky
ec89866229 Bug 1320809. Remove the unused IsChecked() and IsIndeterminate() methods from nsGfxCheckboxControlFrame. r=dholbert 2016-11-29 15:52:22 -05:00
Michael Kaply
533591e727 Bug 1320712 - Add new parameters to Amazon tests. r=bustage 2016-11-29 14:01:16 -06:00
Andrew Swan
a93233981c Bug 1308688 r=kmag
MozReview-Commit-ID: IinAfopVsw8

--HG--
extra : rebase_source : a9eebebc1a072837b428a258e8395a1cb257e7d6
2016-11-29 11:49:03 -08:00
Andrew Swan
a814ac2978 Bug 1308688 Expose mozAddonManager allowed hosts to chrome r=bkelly
MozReview-Commit-ID: JI3qMmCtYFT

--HG--
extra : rebase_source : b33c1e63e10999e35e404222082486bdf1ecc56d
extra : source : 58a48b3e78629657f34e3479a8b36495657a0bba
2016-10-28 14:39:18 -07:00
Christian Holler (:decoder)
623744a3cb Bug 1320387 - Add missing include in libfuzzer harness. r=froydnj
MozReview-Commit-ID: 3L0DKH4IEMA
2016-11-28 22:12:56 +01:00
Michael Kaply
9eb11833ba Bug 1320712 - Make UTF-8 searches work on Amazon. r=flod 2016-11-29 12:09:53 -06:00
Georg Fritzsche
de2948e3f2 Bug 1320312 - Disable Telemetry stack capturing if stack walking is not available. r=gfritzsche
MozReview-Commit-ID: AQsMm2fWWV8
2016-11-28 18:00:19 +01:00
Jim Chen
2f2df764d8 Bug 1319496 - 5. Change prompt response to use GeckoBundle; r=sebastian
Change prompt response from using JSONObject/String to using
GeckoBundle. The GeckoBundle is automatically translated to a JS object,
like before, when dispatched to JS code.
2016-11-29 12:25:53 -05:00
Jim Chen
ee7152f6a6 Bug 1319496 - 4. Fix context menu item IDs; r=sebastian
Context menu items used UUIDs as their prompt list item IDs. However,
prompt list items only support integers as IDs. This error didn't show
up before because JSONObject was silently ignoring the error. This patch
changes to using an incremental integer as the ID and fixes the error.
2016-11-29 12:25:53 -05:00
Jim Chen
edb09e5551 Bug 1319496 - 3. Convert prompts to BundleEventListener; r=sebastian
Convert prompts to use BundleEventListener and GeckoBundle.

DefaultDoorHanger.setOptions accepts a JSONObject argument, but if we
converted it to GeckoBundle, it would involve a lot of extra changes in
the other doorhanger code. So this patch adds GeckoBundle.fromJSONObject
and converts JSONObject to GeckoBundle within
DefaultDoorHanger.setOptions. In the future, another patch would convert
all doorhanger code to use GeckoBundle instead of JSONObject.
2016-11-29 12:25:53 -05:00
Jim Chen
ba7b253f47 Bug 1319496 - 2. Add more GeckoBundle tests in testEventDispatcher; r=snorp
Add more tests for edge cases in testEventDispatcher, such as null
arrays, nonexistent values, and object arrays containing only nulls.
2016-11-29 12:25:53 -05:00
Jim Chen
cc57abd3cd Bug 1319496 - 1. Fix GeckoBundle array handling; r=snorp
Fix several bugs when handling arrays in GeckoBundle.

1. Correctly return null when getting an array that is not in the
   bundle, instead of crashing.

2. Convert object arrays to GeckoBundle arrays in EventDispatcher
   instead of leaving it as a single GeckoBundle with integer keys, due
   to lack of object array support in NativeJSObject.toBundle.

3. Return error when trying to convert a JS array of arrays to
   GeckoBundle, instead of crashing.

4. Add convenience methods for setting arrays; for example, setting
   boolean arrays from Boolean[] and Collection<Boolean>.
2016-11-29 12:25:52 -05:00
Michael Layzell
780cf8ac3d Bug 1320997 - Ignore disconnected iframe nsPIDOMWindowOuters in TabGroup::GetTopLevelWindows, r=smaug
MozReview-Commit-ID: 8wQSmcS1sUn
2016-11-29 12:15:01 -05:00
Patrick McManus
d0789ff793 Bug 1319973 - tls proxy null in nshttpconnection::onsocketwritable after timer r=hurley 2016-11-28 11:05:33 -05:00
Tomislav Jurin
1dff4f4f76 Bug 1316005 - fixed unused methods, made methods use actual signature and added @Override; r=sebastian 2016-11-24 22:30:04 +01:00
Benjamin Bouvier
6768b242a8 Bug 1320374: Add missing null-checks; r=bustage
--HG--
extra : rebase_source : 5b803090750f1865b2ac383fb880da8ebbc52db1
2016-11-29 17:23:54 +01:00
Mason Chang
793727bf2c Bug 1315568 Use Force GDI information from SkTypeface for GDI rendering modes in skia. r=lsalzman 2016-11-29 08:03:33 -08:00
Randell Jesup
299e858926 Bug 1307754 - Set default device index properly on first enumeration. r=padenot
MozReview-Commit-ID: B1Sk3W7v5WC

--HG--
extra : rebase_source : b94d74f81a03df018d096ad224d04651d0516bef
2016-11-20 02:04:21 -05:00
Carsten "Tomcat" Book
06069f9b3c Merge mozilla-central to mozilla-inbound 2016-11-29 16:49:35 +01:00
Carsten "Tomcat" Book
68202ee27c merge mozilla-inbound to mozilla-central a=merge 2016-11-29 16:47:18 +01:00
Carsten "Tomcat" Book
941b9d35f6 merge autoland to mozilla-central a=merge 2016-11-29 16:45:56 +01:00