Commit Graph

640952 Commits

Author SHA1 Message Date
Gurzau Raul
2a8520e51a Merge autoland to mozilla-central. a=merge 2019-03-11 11:33:57 +02:00
Gurzau Raul
1c921ba7fe Backed out changeset b8137cbaf9cf (bug 1532946) for causing bug 1534118. 2019-03-11 08:54:20 +02:00
Jon Coppeard
8311f852fb Bug 1532376 - Assert that the group's shouldPretenure flag is respected when creating an object r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D22326

--HG--
extra : source : 82a1c708780619b605a5c0f63cd8046f3e992692
2019-03-06 16:38:29 +00:00
Jon Coppeard
fe432882de Bug 1532376 - Fix places where we don't respect the shouldPretenure flag when creating an object r=jandem
This adds an overload of GetInitialHeap that takes an ObjectGroup* instead of a Class* and also takes into account whether the group's shouldPreTenure flag is set.  I moved this to JSObject-inl.h too.

I removed the heap parameter in a few places, in particular in NewDenseCopyOnWriteArray which required a bunch of changes elsewhere including the JITs.  I left the heap parameter intact for environment objects where we may have reason prefer these objects to be allocated in the tenure heap.  It's possible we should just remove all these parameters too and make allocation more uniform.

Differential Revision: https://phabricator.services.mozilla.com/D22324

--HG--
extra : source : 1b4fd78107e2bcf7fe0f44038176ca745b07cd88
2019-03-06 16:38:25 +00:00
Narcis Beleuzu
a4b37202d1 Merge autoland to mozilla-central. a=merge 2019-03-10 23:39:24 +02:00
arthur.iakab
9232befab9 Backed out 2 changesets (bug 1532376) on request of pascalc for causing Bug 1534118 a=backout
Backed out changeset 82a1c7087806 (bug 1532376)
Backed out changeset 1b4fd78107e2 (bug 1532376)
2019-03-10 14:53:49 +02:00
Coroiu Cristina
ef837b37c3 Bug 1383229 - disabled universal-selector-005.xht on Win and Linux for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D22851

--HG--
extra : moz-landing-system : lando
2019-03-10 11:42:08 +00:00
Sylvestre Ledru
5604250942 Bug 1531176 - about:support: also support the split of the key r=florian,flod
Differential Revision: https://phabricator.services.mozilla.com/D22676

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:42 +00:00
Sylvestre Ledru
e34acc8d48 Bug 1531176 - Split the Google key management between gls and safe browsing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21459

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:41 +00:00
Nathan Froyd
2f1020dc41 Bug 1533149 - add checking messages for libstdcxx_version; r=glandium
It's occasionally useful to know what versions are being discovered for
these variables.  It's also convenient for logs from automation to
contain all the relevant information, rather than setting up a loaner
and running all the commands yourself.

Differential Revision: https://phabricator.services.mozilla.com/D22385

--HG--
extra : moz-landing-system : lando
2019-03-10 00:11:09 +00:00
Masayuki Nakano
930da74b1d Bug 1466208 - part 40: Create PresShell::EventHandler::PrepareToDispatchEvent() r=smaug
For making `PresShell::EventHandler::HandleEventInternal()` easier to read,
move the large switch statement for preparation into the new method.

Differential Revision: https://phabricator.services.mozilla.com/D21341

--HG--
extra : moz-landing-system : lando
2019-03-09 23:38:38 +00:00
Mark Banner
70b2598432 Bug 1533060 - Add a test for selecting a search suggestion after selecting a one-off button. r=adw
Depends on D22353,D22289

Differential Revision: https://phabricator.services.mozilla.com/D22529

--HG--
extra : moz-landing-system : lando
2019-03-10 13:40:50 +00:00
Mark Banner
32932082dc Bug 1530334 - Port browser_ext_themes_autocomplete_popup.js to work with QuantumBar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D22289

--HG--
extra : moz-landing-system : lando
2019-03-10 13:35:36 +00:00
Alexandre Poirot
2d9789224a Bug 1533679 - Implement very first Target domains. r=ato
Empty methods that are necessary to make puppeteer.connect to pass without throwing.

Depends on D22692

Differential Revision: https://phabricator.services.mozilla.com/D22693

--HG--
rename : remote/domains/ParentProcessDomains.jsm => remote/domains/parent/Target.jsm
extra : moz-landing-system : lando
2019-03-10 12:51:11 +00:00
Alexandre Poirot
416760c48b Bug 1533679 - Differentiate Sessions and Targets bound to a browser-element from the others. r=ato
The Session used by MainProcessTarget isn't bound to any browser-element
and so do not use any of the message manager to pipe message to the content process.
Same for Target, the MainProcessTarget doesn't expose any browsing-context-related attribute.

Depends on D22691

Differential Revision: https://phabricator.services.mozilla.com/D22692

--HG--
rename : remote/sessions/Session.jsm => remote/sessions/TabSession.jsm
rename : remote/targets/Target.jsm => remote/targets/TabTarget.jsm
extra : moz-landing-system : lando
2019-03-10 12:51:09 +00:00
Alexandre Poirot
cf6ef6bab7 Bug 1533679 - Implement /json/version. r=ato
Introduces a new kind of target "main-process",
which is not bound to any particular browser-element/browsing-context.
This implements only a subtest of domains and typical won't support the "content" ones.

This will require some more work in order to acknowledge having multiple kinds of targets.
We will also have "worker", "addon" and remoted-frames which will be very similar to tabs.

Depends on D22690

Differential Revision: https://phabricator.services.mozilla.com/D22691

--HG--
extra : moz-landing-system : lando
2019-03-10 12:51:49 +00:00
Alexandre Poirot
dbd2284055 Bug 1533679 - Implement Browser.close. r=ato
Depends on D22689

Differential Revision: https://phabricator.services.mozilla.com/D22690

--HG--
extra : moz-landing-system : lando
2019-03-10 12:51:05 +00:00
Alexandre Poirot
5ae891545a Bug 1533679 - Print exceptions thrown by JSON handlers. r=ato
Without that, the exception is silented.

Depends on D22688

Differential Revision: https://phabricator.services.mozilla.com/D22689

--HG--
extra : moz-landing-system : lando
2019-03-10 12:52:48 +00:00
Alexandre Poirot
e795d282ef Bug 1533679 - Make content process domains to inherit from specialized ContentProcessDomain class. r=ato
Remove content, docShell and chromeEventHandler attribute from base Domain class
as these fields only work for domains implemented in the content process and
attached to a browsing context/document.
For "global" domains like Target or Browser, that are not bound to any document,
these properties won't work.

Depends on D22687

Differential Revision: https://phabricator.services.mozilla.com/D22688

--HG--
rename : remote/domains/Domain.jsm => remote/domains/ContentProcessDomain.jsm
extra : moz-landing-system : lando
2019-03-10 12:51:01 +00:00
Alexandre Poirot
2d957cfacd Bug 1533679 - Move session modules to a dedicated sessions folder. r=ato
This is going to help have different kind of session par target kind.

Depends on D22686

Differential Revision: https://phabricator.services.mozilla.com/D22687

--HG--
rename : remote/ContentProcessSession.jsm => remote/sessions/ContentProcessSession.jsm
rename : remote/Session.jsm => remote/sessions/Session.jsm
rename : remote/frame-script.js => remote/sessions/frame-script.js
extra : moz-landing-system : lando
2019-03-10 12:50:59 +00:00
Alexandre Poirot
b87adfb2ba Bug 1533679 - Move targets modules to a dedicated targets folder. r=ato
This is going to help introduce multiple kind of targets.

Depends on D22685

Differential Revision: https://phabricator.services.mozilla.com/D22686

--HG--
rename : remote/Target.jsm => remote/targets/Target.jsm
rename : remote/Targets.jsm => remote/targets/Targets.jsm
extra : moz-landing-system : lando
2019-03-10 12:50:57 +00:00
Alexandre Poirot
0b0c48c862 Bug 1533679 - Remove unused target argument passed to Domain constructor. r=ato
Depends on D22684

Differential Revision: https://phabricator.services.mozilla.com/D22685

--HG--
extra : moz-landing-system : lando
2019-03-10 12:50:55 +00:00
Alexandre Poirot
102ec6e125 Bug 1533679 - Document --remote-debugger-port in usage message. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D22684

--HG--
extra : moz-landing-system : lando
2019-03-10 12:50:53 +00:00
Tarek Ziadé
de084db3fd Bug 1533671 - Tweak some options in mozproxy r=Bebe
- adds playback_artifacts
- make playback_pageset_manifest optional
- adds the MOZPROXY_DIR environment variable

Differential Revision: https://phabricator.services.mozilla.com/D22663

--HG--
extra : moz-landing-system : lando
2019-03-08 13:23:28 +00:00
Andreea Pavel
5a60df453a Backed out changeset 5f7ea2187fa6 (bug 1533527) for build bustages on a CLOSED TREE 2019-03-10 03:50:15 +02:00
Jeff Gilbert
8235aa9f56 Bug 1533527 - Forbid non-size_t calls to malloc and calloc. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D22627

--HG--
extra : moz-landing-system : lando
2019-03-09 17:40:54 +00:00
Masayuki Nakano
1b0e6d02fe Bug 1466208 - part 39: Create PresShell::EventHandler::MaybeHandleKeyboardEventBeforeDispatch() r=smaug
`PresShell::EventHandler::HandleEventInternal()` may handle `Escape` key before
dispatching it in some cases.  This requires too many lines for somebody who
investigate the method for the other events.  Therefore, this patch moves it
into the new method.

Additionally, this patch creates `WidgetKeyboardEvent::CanTreatAsUserInput()`
and `WidgetKeyboardEvent::ShouldInteractionTimeRecorded()` because we should
manage similar checks in one place (we already have
`WidgetKeyboardEvent::CanUserGestureActivateTarget()`).  Finally, their
conditions are not enough for what the comment wants to do there since they do
not check some modifier keys.  Therefore, this patch makes them check all
possible modifier keys too.

Differential Revision: https://phabricator.services.mozilla.com/D21340

--HG--
extra : moz-landing-system : lando
2019-03-08 12:46:17 +00:00
Razvan Maries
87c4a3175f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-09 23:55:26 +02:00
Razvan Maries
913f406aec Merge mozilla-inbound to mozilla-central a=merge 2019-03-09 23:51:51 +02:00
Andreea Pavel
c54a744cff Backed out changeset 5bc7479ef4a1 (bug 1532502) for very frequent win asan failures with exit code 1
--HG--
extra : rebase_source : 636c7036385ef42ec755c78d86eb34799d2e0bcb
extra : amend_source : ec830eafb0ef96dad8229f078ce27166ab9ef876
2019-03-09 22:34:50 +02:00
Henri Sivonen
decc78f432 Bug 1530661 - Make APZ report the per LayersId layer-to-screen transform matrices to the chrome process. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D22082

--HG--
extra : moz-landing-system : lando
2019-03-09 20:33:17 +00:00
Razvan Maries
a44733f227 Backed out 2 changesets (bug 1524314) for build bustages. CLOSED TREE
Backed out changeset 2d1f2814e41d (bug 1524314)
Backed out changeset 6838e7d3960f (bug 1524314)
2019-03-09 20:25:42 +02:00
longsonr
cfce8a93d3 Bug 1524314 Part 2 - Use RAII notifier classes to simplify code r=dholbert 2019-03-09 17:50:53 +00:00
Jason Laster
a75220760a Bug 1533725 - Enable column breakpoints by default. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22697

--HG--
extra : moz-landing-system : lando
2019-03-09 17:06:29 +00:00
longsonr
7376fe9ec8 Bug 1524314 Part 1 - use using mozilla:dom to reduce typing r=dholbert 2019-03-09 16:01:33 +00:00
longsonr
1260feab53 Bug 1531578 - don't process nsChangeHint_UpdateSubtreeOverflow for nondisplay frames r=dholbert 2019-03-09 16:01:31 +00:00
longsonr
65caeb2944 Bug 1532444 - Go back to doing synchronous invalidation in ReflowSVGNonDisplayText as its invoked by ScheduleReflowSVGNonDisplayText so is already asynchronous r=dholbert 2019-03-09 14:14:33 +00:00
violet
7d525e84a8 Bug 1508028 - Change stroke-miterlimit restriction from GreaterThanOrEqualToOneNumber to NonNegativeNumber. r=longsonr,emilio 2019-03-09 13:05:56 +00:00
Dão Gottwald
c66ffa7d21 Bug 1527946 - QuantumBar: Update the input value when cycling through results until no result is selected. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D22551

--HG--
extra : moz-landing-system : lando
2019-03-09 12:15:26 +00:00
Jan de Mooij
d105968a3d Bug 1533302 part 3 - Use UniquePtr for CompartmentPrivate's XPCWrappedNativeScope. r=mccr8
`CompartmentPrivate::GetScope()` was added so callers don't have to do `scope.get()`
manually. The `scope` field is now private and was renamed to `mScope`.

Also replaces some `CompartmentPrivate::Get(obj)->scope` instances with
`ObjectScope(obj)`. It's equivalent but shorter.

Differential Revision: https://phabricator.services.mozilla.com/D22664

--HG--
extra : moz-landing-system : lando
2019-03-09 10:44:18 +00:00
Masayuki Nakano
cca9243a46 Bug 1466208 - part 38: Create PresShell::EventHandler::PrepareToDispatchContextMenuEvent() r=smaug
The first switch statement of `PresShell::EventHandler::HandleEventInternal()`
has 2 jobs:
- Prepare something for specific event type.
- Record the preparation time of some types of events to telemetry.

This intermixed code is not easy to understand and somebody may add new
preparation after recording them.  So, even though the preparation time
becomes worse a couple of nanoseconds, we should split those jobs.

The patch moves the latter job into the new method.

Differential Revision: https://phabricator.services.mozilla.com/D21339

--HG--
extra : moz-landing-system : lando
2019-03-08 23:41:30 +00:00
Petru Lingurar
38270c952c Bug 1532613 - Enter editing mode after new "about:home" tab was added; r=AndreiLazar
We'll delay entering editing mode until we are sure the process for adding a
new "about:home" tab completed.
This allows avoiding certain race conditions with the previous state or with
the tab counter animation.

Differential Revision: https://phabricator.services.mozilla.com/D22701

--HG--
extra : moz-landing-system : lando
2019-03-08 15:13:55 +00:00
Andrei Lazar
cf929b7617 Bug 1533645 Search widget can trigger the Tab Queue prompt r=petru
Added a flag on the search widget intent in order to skip the tab queue prompt.

Depends on D22314

Differential Revision: https://phabricator.services.mozilla.com/D22681

--HG--
extra : moz-landing-system : lando
2019-03-08 20:10:36 +00:00
Andrei Lazar
dd1cc20388 Bug 1526934 Search Widget for Fennec Part 4 - Polish UI using the UX's team layouts r=petru
Polished UI by adding a custom drawable with rounded corners.
Made layouts responsive by setting relative widths.
Handled edge case for 1x1 cell.
Removed unused resources.

Depends on D21685

Differential Revision: https://phabricator.services.mozilla.com/D22314

--HG--
rename : mobile/android/services/src/main/res/layout/widget_search_5_col_layout.xml => mobile/android/services/src/main/res/layout/widget_search_default_col_layout.xml
extra : moz-landing-system : lando
2019-03-08 15:05:42 +00:00
Andrei Lazar
e63ba51548 Bug 1531679 Search Widget for Fennec Part 3 - Make it discoverable through Leanplum r=petru
Provided a deep link for the add widget intent.

Differential Revision: https://phabricator.services.mozilla.com/D21685

--HG--
extra : moz-landing-system : lando
2019-03-08 15:05:02 +00:00
Andrei Lazar
67097b0731 Bug 1526929 Search Widget for Fennec Part 2 - Wire search widget component with the main component r=petru
Implemented search widget's intent handling in BrowserApp class.

Depends on D20149

Differential Revision: https://phabricator.services.mozilla.com/D20151

--HG--
extra : moz-landing-system : lando
2019-03-08 15:04:23 +00:00
Andrei Lazar
752de38105 Bug 1526926 Search Widget for Fennec Part 1 - Add search widget code base r=petru
Added Search widget provider class, declared the provider in the manifest and created mock layout for it.

Differential Revision: https://phabricator.services.mozilla.com/D20149

--HG--
extra : moz-landing-system : lando
2019-03-08 15:03:52 +00:00
Bryce Van Dyk
bd34b776bb Bug 1522213 - Re-enable encrypted-media WPT on asan. r=aryx
Bug 1522547 fixed the issue causing these tests to crash on shutdown, which was
also resulting in asan crashes, so these can be re-enabled.

Differential Revision: https://phabricator.services.mozilla.com/D22731

--HG--
extra : moz-landing-system : lando
2019-03-08 18:16:57 +00:00
Dorel Luca
f6792d74fc Merge mozilla-central to autoland 2019-03-09 11:50:28 +02:00
Dorel Luca
23fb3d3791 Merge mozilla-inbound to mozilla-central. a=merge 2019-03-09 11:47:52 +02:00