Commit Graph

565710 Commits

Author SHA1 Message Date
Tom Ritter
fc2f75822a Bug 1407601 Revert to the previous behavior in MozGrMalloc.h for Linux, and add extern C to correct Solaris build break r=baku
MozReview-Commit-ID: GP6N6pcqQp

--HG--
extra : rebase_source : a51cbdffcb05631876d458f7a19b295fc0bb4642
2017-10-11 10:16:32 -05:00
Thomas Wisniewski
6bf7c6882a Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
MozReview-Commit-ID: Lx2cjWDX8sh

--HG--
extra : rebase_source : d7e8b3dfbf395de0c0d7b5b7ce716a37337735f5
2017-10-22 22:49:44 -04:00
Oriol Brufau
4235fc5881 Bug 1394824 - Do not hide "Forget About This Site" in private browsing r=jdm
MozReview-Commit-ID: C1TfYMG48fm

--HG--
extra : rebase_source : 4629721540dbeae257c7b1d4bc74c5c243514042
2017-10-25 15:51:30 +02:00
Kartikaya Gupta
bec5f23434 Bug 1411238 - Make APZ test logging work in layers-free WR mode. r=botond
Most of this change is just fiddling with function signatures so that they take
a LayerManager* instead of a Layer* (or in some cases, both). This allows
the WebRender codepaths to pass a WebRenderLayerManager* instead of having to
produce a Layer* which it doesn't have.

MozReview-Commit-ID: Fb0C8OUVDin

--HG--
extra : rebase_source : e4c3324cfa20c295db85d5c09df8d8d77865bb6a
2017-10-25 13:22:04 -04:00
Kartikaya Gupta
4c7c7873e4 Bug 1411238 - Make OMTA queries work with layers-free webrender. r=mtseng
MozReview-Commit-ID: Jq57GtjNO3E

--HG--
extra : rebase_source : 15c2e3a4acbc61c60827bf1748ef691f2275fb66
2017-10-25 11:14:41 -04:00
Matt Howell
0a3125a592 Bug 1406169 - Don't try to create a StartMenuInternet key in HKCU when there's already one in HKLM. r=agashlin
MozReview-Commit-ID: DmbVhreDKjv

--HG--
extra : rebase_source : 493a4ade8d0911064a179f9280ed2b1c11b2111f
2017-10-23 09:13:50 -07:00
ZER0
d076d780ef Bug 1402930 - Added Unit Test for Image's srcset scenario; r=bradwerth
MozReview-Commit-ID: CrTtkEKOkuW

--HG--
extra : rebase_source : de3ab911fc55c9c982a02513fb04967f82bcc35f
2017-09-25 20:05:30 +02:00
ZER0
0c0d4ccc04 Bug 1402930 - Use the PresContext's override dppx value if set; r=bradwerth
MozReview-Commit-ID: 9DWQdVevIaz

--HG--
extra : rebase_source : 03e184c107e8356c0b8c15a1bfc3d53c092e413a
2017-09-25 20:01:22 +02:00
Gregory Szorc
8de001a07d Bug 1411081 - Appease flake8 linter by adding empty lines; r=me 2017-10-25 10:57:51 -07:00
Maja Frydrychowicz
c15eeb26e9 Bug 1397187 - Split webdriver actions sequence tests into two files; r=jgraham
MozReview-Commit-ID: IYO7uxcFMzR

--HG--
extra : rebase_source : 966c9c7d065788cc97b085978f99240580c6aa17
2017-10-24 19:03:30 -04:00
Ryan VanderMeulen
46fda21b1a Backed out 3 changesets (bug 1410074) for Windows reftest failures.
Backed out changeset 5d54875788e3 (bug 1410074)
Backed out changeset 4d771e18c365 (bug 1410074)
Backed out changeset d045057cdf68 (bug 1410074)
2017-10-25 13:31:15 -04:00
David Keeler
83ca10065e bug 1180826 - add support for sha256 digests in add-on signature manifests r=dveditz,jcj
MozReview-Commit-ID: HTlm6esgPUx

--HG--
extra : rebase_source : 50f082dea0b2afb1e9099fb94364863a4d85543b
2017-10-09 13:53:23 -07:00
Emilio Cobos Álvarez
dd634e3981 Bug 1411612: Kill nsINode::eCONTENT. r=bz
MozReview-Commit-ID: ESlOqlwhcHI

--HG--
extra : rebase_source : fe6a02469dca1e50c24ba166e15e39160ab4551b
2017-10-25 17:19:11 +02:00
Gregory Szorc
083b5bc70f Bug 1411081 - Use opt-level=1 for rustc in default configuration; r=glandium
As the data in the bug shows, the current default of opt-level=2 is
several minutes slower at compiling than opt-level=1. This slows down
builds significantly and the added benefits of running opt-level=2
for local development can't be justified for the common/default case.

This commit changes the default for local builds from opt-level=2 to
opt-level=1.

--enable-release (what we use for builds shipped to users) will imply
opt-level=2. --enable-optimize (the default) will use opt-level=1,
and --disable-optimize will use opt-level=0.

The RUSTC_OPT_LEVEL environment variable in mozconfigs can be used
to set an explicit opt-level level, regardless of what other
configure options are set. This includes the other potential values,
"s" and "z."

A side-effect of this change is that -Copt-level is now *always*
specified by the build system. Before, it was only specified if
the value was adjusted to 0 for --disable-optimize builds.

MozReview-Commit-ID: 67KX5qScnFc

--HG--
extra : rebase_source : dac0134e952151992eee23e017e9a29f84b05172
extra : intermediate-source : c3a7cc11a987aedb81332f1a03cd082ab0ab0cb8
extra : source : 360827b8a5956d58f7f0200431d3a44c57ce8dc4
2017-10-24 16:48:58 -07:00
Gregory Szorc
6f60ff2761 Bug 1411081 - Derive Rust compiler flags in configure; r=glandium
Before this commit, RUSTFLAGS was derived in rules.mk by consulting
various variables set by configure. It isn't clear to me why things
are implemented this way. We don't appear to have moz.build level
overrides for Rust compiler flags. So there doesn't appear to be a
compelling reason why we can't derive these values in configure.

So, this commit ports the code for deriving default RUSTFLAGS from
rules.mk to toolchain.configure.

The port is pretty straightforward as far as the logic goes.

MozReview-Commit-ID: JhAE9Qlo8SK

--HG--
extra : rebase_source : 6186cb81cd37c516b3d645419b9461bf501d6ba2
2017-10-24 14:42:01 -07:00
Gregory Szorc
ae7cf57366 Bug 1411081 - Move --enable-optimize/MOZ_OPTIMIZE to moz.configure; r=glandium
The Rust optimization logic is tied to --enable-optimize/MOZ_OPTIMIZE
and --enable-debug/MOZ_DEBUG. In order to more easily implement more
customization, let's move --enable-optimize/MOZ_OPTIMIZE to
moz.configure so its value can be consulted there.

The logic here is a bit wonky. The option behaves like a boolean
or a string. If a string, MOZ_OPTIMIZE is set to 2. Otherwise it
is 1 or unset depending on the boolean value.

The custom compiler flags string is passed to old-configure, where it
overwrites whatever old-configure derived as the default value.
We stop short of moving all references to MOZ_OPTIMIZE_FLAGS to
moz.configure because there are a handful of them and I don't want
to scope bloat.

MozReview-Commit-ID: 6iNDu2HwLGr

--HG--
extra : rebase_source : a64f1236012d13913f21253df1b9b5ff0ae8ea6e
2017-10-24 19:54:48 -07:00
Gregory Szorc
b7a368158f Bug 1411081 - Move assignment of default value for MOZ_OPTIMIZE_FLAGS; r=glandium
It is now closer in the file to where other default values are computed.

MozReview-Commit-ID: BffCEb6FAUP

--HG--
extra : rebase_source : 81b17131f9330d89818a36ffff625b672c19c01e
2017-10-24 19:30:48 -07:00
Gregory Szorc
5b6a6d303e Bug 1411081 - Foster debugging of old-configure.vars; r=nalexander
We mix the added and modified variables from mozconfig and sort them.

We also print comments indicating where values come from.

MozReview-Commit-ID: 97x9iHxZe3m

--HG--
extra : rebase_source : 367bc410bc06532a91b488039e3cb0ec65850c09
2017-10-24 14:00:44 -07:00
Emilio Cobos Álvarez
6468a50bc7 Bug 1406750: Use GetStyleContextNoFlush in UpdateCurrentStyleSources, and avoid flushing mPresShell twice. r=bz
MozReview-Commit-ID: Nfu9FZcIzQ
2017-10-25 19:03:14 +02:00
Emilio Cobos Álvarez
f3053729c9 Bug 1406750: Fix detection of animations to avoid flushing. r=hiro,birtles
This fixes multiple things:

 * EffectCompositor was using the light tree instead of the flat tree.

 * When we insert an element inside the document, we may not style it right away
   (we mark it for lazy frame construction with the NODE_NEEDS_FRAME). Since we
   trigger animations and transitions from the traversal, we can't skip flushing
   if we call getComputedStyle on any of those.

MozReview-Commit-ID: DpAhmLH3uJ2
2017-10-25 19:02:01 +02:00
Emilio Cobos Álvarez
2a5ee3bf93 servo: Merge #19016 - style: Fix detection of animations to avoid style flushing in getComputedStyle (from emilio:animation-avoid-flush-not-quite); r=hiro
This fixes multiple things:

 * EffectCompositor was using the light tree instead of the flat tree.

 * When we insert an element inside the document, we may not style it right away
   (we mark it for lazy frame construction with the NODE_NEEDS_FRAME). Since we
   trigger animations and transitions from the traversal, we can't skip flushing
   if we call getComputedStyle on any of those.

Bug: 1406750
Reviewed-by: hiro
MozReview-Commit-ID: DpAhmLH3uJ2
Source-Repo: https://github.com/servo/servo
Source-Revision: 6035b75d399fbc9a8037743bb5199f3e1475333a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 27a734decabf029a00a5e735e477f3e7b9c5e46d
2017-10-25 10:28:18 -05:00
Drew Willcoxon
7633396485 Bug 1409377 - Prevent the app menu's scrollbar from overlapping its content. r=mikedeboer
MozReview-Commit-ID: EHx5yi0pW6B

--HG--
extra : rebase_source : f6bce2b635c04026f9dc8a09bcff86b626c0b1c7
2017-10-25 12:42:28 -04:00
Henrik Skupin
a6bbee2356 Bug 1405474 - Add more attributes for elements in pprint output. r=ato
Currently pprint only checks for 'id' and 'class', and adds
those to the output. Given that lots of elements might not
have those attributes a couple more should be added, which
can help to uniquly identify those.

MozReview-Commit-ID: 3thefe4oLN3

--HG--
extra : rebase_source : e9d276229a39ce5169a333ecb5b1fcc10e935d2a
2017-10-18 20:54:13 +02:00
Valentin Gosu
6814810f38 Bug 1409405 - Implement MozURL::GetOrigin r=mayhemer
MozReview-Commit-ID: H1X0dAOyij1

--HG--
extra : rebase_source : f47595f7a3beed55f68c6a6a27f5a78d1ab3da5b
2017-10-25 18:03:05 +02:00
Valentin Gosu
cd4a91befe Bug 1410063 - Implement MozURL::GetHostPort/SetHostPort r=mayhemer
MozReview-Commit-ID: 2wXsvmHf60

--HG--
extra : rebase_source : bdadc78db1cb135a65cfae0ae39b6073c962b85e
2017-10-25 17:35:47 +02:00
Brad Werth
677d734ef0 Bug 1411050 Part 2: Add a test to confirm pointer-events:none text is findable. r=mikedeboer
MozReview-Commit-ID: KWHOFy9HpZM

--HG--
extra : rebase_source : 867ae863863b130bac2aab6faede38547e87ee6e
2017-10-24 16:00:56 -07:00
Brad Werth
aefd6655a8 Bug 1411050 Part 1: Change nsDisplayListBuilder to mark hitests either for visibility or for pointer events. r=mattwoodrow
MozReview-Commit-ID: AbYcm2gwEES

--HG--
extra : rebase_source : 589ca29f84df183df86572a3f24476d6a9b7a4ad
2017-10-24 15:03:56 -07:00
gasolin
7367fac15c Bug 1410763 - Backout bug 1390055;r=Fischer
MozReview-Commit-ID: IjbP0niKb1z

--HG--
extra : rebase_source : ec792c7238c751b65784413d3bff940be90f1794
2017-10-24 13:39:26 +08:00
Alexis Beingessner
168deb7b2b Bug 1401653 - fixup webrender text-decoration bindings. r=jrmuizel
This does 3 things that were all a bit too intermixed to split out cleanly:

1. Teaches TextDrawTarget to handle rectangular clips (while also completely
forbidding other ones). This is necessary to handle how gecko "overdraws"
decorations with clips to create the illusion of continuous lines when they're
actually made out of multiple lines, possibly from different display items
with different lines. Previously gecko *was* handing these clips to
TextDrawTarget to use these clips, but we were just ignoring them.

This is also necessary work to support partial glyphs natively (which apply
rectangular clips to glyphs). Also note that this currently causes a bug
in webrender if combined with zero-blur shadows, but it's not a regression
since we already mishandle clipped decorations. I will work on fixing this
upstream.

2. Changes the intermediate representation of lines from the old webrender
format to a rect-based one. This is in preperation for webrender adopting
that format in a future update.

3. Changes the way wavy lines are processed, correcting some errors in the
old wavy line bindings that lead to them being positioned incorrectly. Also
introduces a wavyLineThickness property that the will be required in a
future webrender update. Wavy lines are unlike any other line, so it's
ultimately desirable to distinguish them.

The net result of these changes is that a companion upstream change (webrender#1923)
will make decoration rendering nearly identical to gecko, and much nicer.
However the clipped shadows issue will need to be seperately resolved before
actually closing this issue.

MozReview-Commit-ID: 6O2wLA6bU3C

--HG--
extra : rebase_source : 17254c45145229b75f77f87f85874e66e6edd05e
2017-10-24 12:44:38 -04:00
Mark Banner
422a012285 Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
MozReview-Commit-ID: 5gKiuWF4LeA

--HG--
extra : rebase_source : fa8471b07a69433e8ff47dc195b1d7e671450a21
2017-10-24 21:40:59 +01:00
Emilio Cobos Álvarez
7ff0e04616 Bug 1410074: Fix windows-specific resistFingerprinting tests. r=me
MozReview-Commit-ID: 605ZX4si9hD
2017-10-25 17:33:10 +02:00
Emilio Cobos Álvarez
c2e6d7c43f Bug 1410074: Fix browser_parsable_css to account for the restricted media queries. r=me
I'll never understand why this test only runs on opt builds.

MozReview-Commit-ID: 3lNeA6ozA4W
2017-10-25 17:33:09 +02:00
Keith Yeung
3e30a1685e servo: Merge #18871 - Merge functionality of WebsocketConnect into Fetch (from KiChjang:websocket-fetch-integration); r=avadacatavra
Partial #14897.

Source-Repo: https://github.com/servo/servo
Source-Revision: a69e33366e4333f1de3502e5d706d79f4f843b00

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb1f2f6a16183af75be82d43912d0a920a38308a
2017-10-25 09:00:41 -05:00
James Graham
3fb8a00dbc Bug 1411611 - Don't wait for the browser after a wpt test if it crashed, r=ato
When setting up waiting for the browser after a wpt test with
--pause-after-test, we try to communicate with a possibly-defunct
browser instance. In this case we should instead just retun since
waiting doesn't make sense.

MozReview-Commit-ID: ILrXOOIagK1

--HG--
extra : rebase_source : 49106c9ff86dcfc17d38e249c8db232b8ca31d61
2017-10-24 17:53:53 +01:00
Johann Hofmann
2807fe98d1 Bug 1410352 - Make the overflow menu adhere to touchmode sizing. r=nhnt11
MozReview-Commit-ID: JhMIp65wuaq

--HG--
extra : rebase_source : b786a695a954ef72eb08bf7ea5710fee7f3ead42
2017-10-25 13:07:46 +02:00
Jared Wein
ac4eb09407 Bug 1411380 - Send to Device icon should use fill-opacity="context-fill-opacity". r=mikedeboer
MozReview-Commit-ID: 693ii2FlGQE

--HG--
extra : rebase_source : 9757d42b7dd190eee85d2a94a87a8b72452a4069
2017-10-24 15:28:22 -04:00
Sebastian Hengst
fabade716b Backed out changeset cc55d4e3d13d (bug 1410352) for eslint failure at browser/components/customizableui/CustomizableUI.jsm:4339: 'aEvent' is already declared in the upper scope. r=backout
--HG--
extra : rebase_source : 29fad97f166d57cc9b192874f0ec82ea8b6c044c
2017-10-25 16:53:27 +02:00
Emilio Cobos Álvarez
3f918ff3a0 Bug 1410895: Multiple cleanups on top. r=bz
MozReview-Commit-ID: GX3dfmWL083

--HG--
extra : rebase_source : 5ed1b625356d7f561559747fae30f2342459538a
2017-10-23 16:06:50 +02:00
Emilio Cobos Álvarez
273bc65bb1 Bug 1410895: Make XBL slots hold the insertion point, not the XBL parent. r=bz
This is pretty much a straight-forward change except for a single thing, the
UpdateInsertionParent calls.

However, I cannot make any sense of them. They go through the inserted children
setting the insertion point, but then ClearInsertionPoints() is called.

ClearInsertionPoints calls XBLChildrenElement::ClearInsertedChildren, which sets
all the insertion points to null anyway.

Thus, I've removed that function completely.

MozReview-Commit-ID: 80daGQfLZrV

--HG--
extra : rebase_source : d52a37a60147ac11794c3cfe1aad5d202e9d2d9f
2017-10-23 15:52:08 +02:00
Emilio Cobos Álvarez
33e5c7314c Bug 1411478: Crashtest. r=xidorn
MozReview-Commit-ID: 3fO3Wn1M609

--HG--
extra : rebase_source : bbb2698717efe22c6a9e14454fbab31f5b65b749
2017-10-25 10:37:38 +02:00
Emilio Cobos Álvarez
7511726711 Bug 1411478: remove primary frame check which is incorrect in <frame> child of a <frameset>. r=bz
We could also check whether it is a subdocument frame or what not (not that
we're going to render anything down there). But at that point the value of
avoiding the FFI call starts diluting.

MozReview-Commit-ID: BBIv0O3fFuk

--HG--
extra : rebase_source : 663ead4fe3df83ea1d929b8726c8c1ab8b05c06a
2017-10-25 10:33:59 +02:00
Emilio Cobos Álvarez
30066ab880 Bug 1411478: Use GetNextSibling instead of GetChildAt in nsHTMLFrameSetFrame::Init. r=xidorn
MozReview-Commit-ID: 7MeMlwsNJVY

--HG--
extra : rebase_source : 5a5878dc5cde11c8afd08c1b4c8e5e935a3712e4
2017-10-25 10:20:58 +02:00
Emilio Cobos Álvarez
69265f95e6 Bug 1411478: Deindent some code in nsHTMLFrameSetFrame::Init. r=xidorn
MozReview-Commit-ID: 4QJu81w4Vlz

--HG--
extra : rebase_source : 9a283ab1e43ca4549e613b8c3c5bd66fbb4d0fc7
2017-10-25 10:18:41 +02:00
Luke Crouch
2ffb7f22e3 Bug 1409226 - When opening a link into a new private window, remove Referer. r=mikedeboer
Always set aNoReferrer = true in openLinkIn when where == 'window' and aIsPrivate

MozReview-Commit-ID: 7szUyO6w6d4

--HG--
extra : rebase_source : 25f00b0967bc7ed1e755227c6d16224b411d5e38
2017-10-17 18:07:58 -05:00
Henrik Skupin
96398c78f6 Bug 1401498 - Release marionette-driver 2.4.0 and marionette-harness 4.2.0. r=ato
MozReview-Commit-ID: 3BvyKbOpNdT

--HG--
extra : rebase_source : a8255207b6524734feea0cbd072abaeb935db8c8
2017-10-25 15:42:01 +02:00
Michael Ratcliffe
5c75212853 Bug 1409064 - Network Monitor to ES6 classes r=Honza
MozReview-Commit-ID: FBuucEQ8Zhs

--HG--
extra : rebase_source : 858b118df3ce44c8da5794c405d9b8f029f6c7e8
2017-10-24 12:41:04 +01:00
Zibi Braniecki
e26530837a Bug 1410733 - Minor cleanups to the callers of GetRequestedLocales. r=jfkthame
Once we add fallback chain to GetRequestedLocales we can slightly improve the
locale negotiation for extensions. I made it tighter against just `en-US` because
in the future it is possible that RequestedLocales fallback chain will not contain
en-US in some scenarios, and it seems that for WebExtensions en-US should be the
last resort no matter what.

The other change is a fix to a regression I introduced when switching to LocaleService,
that somehow noone noticed.

MozReview-Commit-ID: FH6cePcoi0R

--HG--
extra : rebase_source : 7e253fb940c153c3522a6aa41139fbf703c7266b
2017-10-22 11:44:11 -07:00
Zibi Braniecki
f50ce10902 Bug 1410733 - Add an en-US locale as a hard fallback for LocaleService::RequestedLocales. r=jfkthame
MozReview-Commit-ID: LPS3PaeykEh

--HG--
extra : rebase_source : 5ab83371ccfad13f02bf276055fdf9cba7e80a9e
2017-10-22 11:00:09 -07:00
Sylvestre Ledru
836ea838b4 Bug 1411545 - streamClosed: Fix the implicit-fallthrough warning r=luke
MozReview-Commit-ID: 4LYbud51tH7

--HG--
extra : rebase_source : 24c86592adefae8b9a23f0d57c8e1c6af6dc1354
2017-10-25 13:37:01 +02:00
Emilio Cobos Álvarez
93d40bb9bb Bug 1410074: Restrict system metric stuff in content pages. r=xidorn
MozReview-Commit-ID: 6rmMQfr8fzf
2017-10-25 16:05:03 +02:00