Commit Graph

502449 Commits

Author SHA1 Message Date
Chih-Yi Leu
cd70af2e05 Bug 1300549 - Bail out if we have already generated exceptions. r=jgilbert
--HG--
extra : rebase_source : b3744a5a6ffb59c63acfff5b292d40d4c23ed206
2016-11-24 01:55:00 +01:00
Ryan Hunt
4026e2a704 Bug 1303408 - Create nsDisplayLayerEventRegions for positioned elements. r=mattwoodrow
--HG--
extra : rebase_source : 080e2261084aa28151abab20adfcb2ea598c4424
extra : amend_source : b39a00efe74d8af4d4f2f7f1c5bcbcf83161e322
2016-11-23 16:24:29 -06:00
Jonathan Watt
7b908d5dac Bug 1309272, part 5 - Rework the macOS printing code to get rid of the hacks that create a new PrintTarget for each page. r=lsalzman
--HG--
rename : gfx/thebes/PrintTargetCG.cpp => gfx/thebes/PrintTargetCG.mm
2016-11-28 22:40:43 +00:00
Alexandre Poirot
c8bf6d2c07 Bug 1151909 - Make the highlighter work on DOMContentLoaded instead of load. r=pbro
MozReview-Commit-ID: FyXEvKAgDJq

--HG--
extra : rebase_source : fbd84e16e77ab6204fc5c50bd62271e2f2f12345
2016-11-22 07:21:24 -08:00
Makoto Kato
4f19afdf88 Bug 1318570 - Clean up GetTextNode into TextEditRules. r=masayuki
EditorBase parameter of GetTextNode is unnecessary because it uses static method only.  Also, we should return nsINode to reduce QI.

MozReview-Commit-ID: 3KazYFcr899

--HG--
extra : rebase_source : 092bbcc84d7c1e7174029bb90f606f3953fe8597
2016-11-22 20:56:03 +09:00
Lee Salzman
e697b24685 Bug 1271100 - work around race in system Cairo's XShm usage. r=karlt
MozReview-Commit-ID: VGee6ungCz
2016-11-29 23:01:13 -05:00
Xidorn Quan
56ba06edd2 Bug 1313293 followup - Fix small issue of ServoCSSRuleList::InsertRule.
MozReview-Commit-ID: GGN5mXQSp7f

--HG--
extra : rebase_source : 4d7ecaa1e66d682cd833558bd0fef5e880e78c76
extra : source : 56d52ccdcb81135314966da33dcf3217599a0fbe
2016-11-30 14:36:00 +11:00
Phil Ringnalda
4f2b77776e Merge m-c to m-i
MozReview-Commit-ID: IQH3p0Fs2su
2016-11-29 19:32:37 -08:00
Stephen A Pohl
d5a1aa9f88 Bug 1292527: Make OSX application menu localizable at runtime. r=mstange 2016-11-29 21:22:13 -05:00
Ryan VanderMeulen
a067050012 Backed out changeset 810b7212a529 (bug 1320686) for causing Valgrind leaks. 2016-11-29 21:16:06 -05:00
Tom Puttemans
6ddea38ea7 Bug 1052045 - Fix <select> validity status for listboxes and for non-placeholder empty valued options. r=bzbarsky
--HG--
rename : layout/reftests/css-invalid/select/select-required-multiple-invalid.html => layout/reftests/css-invalid/select/select-required-multiple-still-valid.html
rename : layout/reftests/css-valid/select/select-required-multiple-invalid.html => layout/reftests/css-valid/select/select-required-multiple-still-valid.html
2016-11-24 22:15:33 +01:00
Boris Zbarsky
7478659b49 Bug 1320809. Remove the unused IsChecked() and IsIndeterminate() methods from nsGfxCheckboxControlFrame. r=dholbert 2016-11-29 15:52:22 -05:00
Boris Zbarsky
c2aae6a433 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
5b089631f6 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
Mats Palmgren
cd7a370a02 Bug 1312997 - Store 'aTargetFrame' in 'mCurrentTarget' before doing anything else, then use 'mCurrentTarget' throughout PostHandleEvent. r=smaug
This is a safer way of accessing the target frame because 'mCurrentTarget'
is a nsWeakFrame which will be nulled out in case the frame is destroyed.
2016-11-30 01:37:13 +01:00
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
Swaroop Rao
d383686ac1 Bug 1316023 - Version 2 of fixes. Removed unreachable statements. r=sebastian
MozReview-Commit-ID: 5gQEJVmboOr

--HG--
extra : rebase_source : 12ca03e482f0328ef3e12533ca020974983c7f1d
2016-11-21 20:00:31 -05:00
Shan
6a492b92d9 Bug 1316012 - Remove unnecessary boxing/unboxing; r=sebastian
MozReview-Commit-ID: 6k9d86ioK70

--HG--
extra : rebase_source : 0730a48d7a13a6f65ec8bac7a04b775e1eff9ad7
2016-11-26 11:24:00 +05:30
Jeremy Chen
acdd7e353f Bug 1320239 - use nscoord instead of nsStyleCoord for outline-width. r=heycam
MozReview-Commit-ID: CaM12OvYeSW

--HG--
extra : rebase_source : 4147f2422257100bc43f988b9b5f667709fae8c4
2016-11-29 20:08:08 +08:00
Jeremy Chen
7e8439ba23 Bug 1320239 - use nscoord instead of nsStyleCoord for -webkit-text-stroke-width. r=heycam
MozReview-Commit-ID: 94fL7YgZqCl

--HG--
extra : rebase_source : ad651ab9270a9e19a21401b81745808cc7a8a74b
2016-11-29 20:08:08 +08:00
Jeremy Chen
8679794758 Bug 1320239 - use ComputeLineWidthValue helper to set border-width. r=heycam
MozReview-Commit-ID: At5du5sOyXU

--HG--
extra : rebase_source : da96fbd3e657bf65a864eb1b3630b8f1a9636b6a
2016-11-29 20:08:08 +08:00
Jeremy Chen
cf3e7a4295 Bug 1320239 - use ComputeLineWidthValue helper to set column-rule-width. r=heycam
MozReview-Commit-ID: 63wXy4TTXIs

--HG--
extra : rebase_source : a7f7bae1ad7b18a15f2fd52161920eaac43c6d01
2016-11-29 20:08:08 +08:00
Jeremy Chen
9e64ed51d8 Bug 1320239 - create ComputeLineWidthValue helper function for line-width computed values. r=heycam
This is the first patch which creates a helper function to compute a line-width
value to an absolute length. With this helper, we could share the computation
for other line-width value properties, e.g., border-width, column-rule-width.

MozReview-Commit-ID: GnsmzGl5KBo

--HG--
extra : rebase_source : efe7c253b07c7d15531106f841383bd8a5ad463a
2016-11-29 20:08:07 +08:00
Carsten "Tomcat" Book
79b069fae0 Merge mozilla-central to autoland 2016-11-29 16:50:35 +01: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
John Lin
8f4f3df42a Bug 1313991 - Rewrite input buffer polling logic. r=esawin
- poll all buffers when started or flushed.
- retry only for timed out.
- remove unnecessary polling

MozReview-Commit-ID: DU9vvjJkwDH

--HG--
extra : rebase_source : 54d734585e198413b2f1afbdad9b073b4e14a153
2016-11-21 15:36:06 +08:00
James Cheng
c627faaa2b Bug 1319673 - Make it compile error when instantiate a Variant with duplicate type. r=Tomcat,Waldo
MozReview-Commit-ID: IKoLU2FjtzA

--HG--
extra : rebase_source : dcf3ff852af5a985c6c77dcfb1e2a901e92fb869
2016-11-23 15:12:50 +08:00
bechen
abdee013ae Bug 1319486 - Remove the old relation when adding cue to a new TextTrack. r=rillian
MozReview-Commit-ID: GScxPQWMUTR

--HG--
extra : rebase_source : 2aeb67215202860b7a62a6669d79aaaf99e6d53a
2016-11-24 15:30:52 +08:00
Nevin Chen
f306b4ac22 Bug 1314563 - Change state icon and message when url icon is clicked r=sebastian
MozReview-Commit-ID: 5KDVFVse9Tu

--HG--
extra : rebase_source : 808bc0f70841224163b9ee1b66f3fdd96ef125f6
2016-11-21 16:32:10 +08:00
Munro Mengjue Chiang
890849be64 Bug 1317670 - call MediaManager::RemoveDeviceChangeCallback() in MediaDevices dtor; r=jib
MozReview-Commit-ID: 1G3tA2xWajZ
2016-11-21 14:59:51 +08:00