Commit Graph

675626 Commits

Author SHA1 Message Date
Petr Sumbera
8ebf1d6b67 Bug 1527597 - ReserveProcessExecutableMemory should use MAP_NORESERVE r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D49612

--HG--
extra : moz-landing-system : lando
2019-10-18 10:12:15 +00:00
Ayrton Munoz
54c4fda263 Bug 1581777 - IterateCellCallback passes cell as separate void* pointer and trace kind r=jonco
passing cell to IterateCellCallback as GCCellPtr instead of separate void*
pointer and trace kind

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

--HG--
extra : moz-landing-system : lando
2019-10-18 10:10:25 +00:00
Christian Holler
e13ae32f18 Bug 1589612 - Remove remaining lsan_dir from WPT mach command. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D49721

--HG--
extra : moz-landing-system : lando
2019-10-18 10:02:52 +00:00
Valentin Gosu
bbe1d21219 Bug 1413203 - The css for about:networking is not loading in Android r=Gijs
* Make about:networking work on mobile
* I used the aboutMemory.css file as a guide for doing this
* The mobile CSS does not include the common.css, since that doesn't seem to work. But at least now the interfaces is functional. We should make it look nice in a follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 10:02:24 +00:00
Benjamin Forehand Jr
66726ea181 Bug 1586376 - Update ping server URL in telemetry-tests-client; r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D49452

--HG--
extra : moz-landing-system : lando
2019-10-17 17:49:13 +00:00
Razvan Maries
bbfcab1552 Backed out changeset 239ff6e79980 (bug 1572884) for causing perma fails on audionode-channel-rules.html. CLOSED TREE 2019-10-18 12:41:02 +03:00
Razvan Maries
29261ec7e6 Backed out changeset 66b01a30ed12 (bug 1589015) for causing perma fails on browser_trackingUI_categories.js. CLOSED TREE 2019-10-18 12:29:35 +03:00
Nicolas Chevobbe
431636d12a Bug 1577783 - Use inspectorFront's getNodeFrontFromNodeGrip function in WebConsole's openNodeInInspector. r=pbro,rcaliman.
We retrieve the right NodeFront from a given grip, which we
can then tell the inspector panel to select.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 09:07:42 +00:00
Nicolas Chevobbe
ca1e2e0939 Bug 1587701 - Use toolbox's getNodeFrontFromNodeGrip in highlight method. r=pbro.
This allow us to retrieve the appropriate nodeFront from a grip,
and thus the right highlighterFront to highlight a given element.
We also need to cache the highlighter front used for the current
highlight, as we need to use the same front for unhighlighting,
and this saves us a few server round-trip to get the right front.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 09:07:25 +00:00
Nicolas Chevobbe
43250917b0 Bug 1586201 - Add a function to get a nodeFront from a ContentDomReference. r=pbro,jdescottes.
A function is added on the walker actor that creates a NodeFront
from a ContentDomReference, e.g. an object containing a browsingContextId
and a unique DOM element identifier.
A trait is added on the walker actor since the ContentDomReference API was
only added in Firefox 69.
We then add a function on the toolbox that can return a NodeFront from a
element grip.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 09:07:05 +00:00
Nicolas Chevobbe
ac6ad6abfb Bug 1586201 - Include ContentDomReference in Node grips. r=pbro.
This will allow us to retrieve the appropriate inspector
(and thus walker, highlighter, ...) for a given element
later, potentially from a different DebuggerServer.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 09:06:27 +00:00
Nicolas Chevobbe
d71aa730aa Bug 1586201 - Refactor of ObjectActor form function. r=ochameau.
The function was close to hit the complexity limit set by eslint,
so we break it up into smaller functions.
We also group assignments where we can.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 09:06:13 +00:00
Andreas Pehrson
ace14cf90c Bug 1587248 - Adequately guard mMediaStreamRenderer usage. r=bryce
It can be unset by NotifyShutdown, to release the VideoFrameContainer in time.
This is unexpected for all paths assuming it will be unset by
EndSrcMediaStreamPlayback().

Depends on D49573

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

--HG--
extra : moz-landing-system : lando
2019-10-17 18:31:22 +00:00
Andreas Pehrson
fe804f1c14 Bug 1587248 - Remove unnecessary legacy window guard. r=bryce
Depends on D49572

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

--HG--
extra : moz-landing-system : lando
2019-10-17 18:25:26 +00:00
Andreas Pehrson
5165fe41eb Bug 1587248 - Add crashtest. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D49572

--HG--
extra : moz-landing-system : lando
2019-10-17 18:25:18 +00:00
Nicolas Silva
cee2912fd6 Bug 1589319 - Add some picture caching documentation. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49566

--HG--
extra : moz-landing-system : lando
2019-10-18 08:46:45 +00:00
Nicolas Silva
cd34415e10 Bug 1583841 - Don't set an expected range for the FPS counter. r=gw
When we are not scrolling or animating it can be normal for there to be a long pause between frames, in which case highlighting the FPS counter in the profiler is distracting.

Depends on D49619

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:11:17 +00:00
Nicolas Silva
2baf1ffc83 Bug 1583841 - Highlight values in red in the full and compact profilers when values are outside their expected range. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49619

--HG--
extra : moz-landing-system : lando
2019-10-18 01:10:19 +00:00
Nicolas Silva
50edeec550 Bug 1583841 - Include some ResourceProfileCounters in the smart profiler. r=gw
Depends on D49617

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:09:17 +00:00
Nicolas Silva
2e5413d663 Bug 1583841 - Add an expected range in ResourceProfileCounter. r=gw
Depends on D49438

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:08:17 +00:00
Nicolas Silva
bfc2b52283 Bug 1589119 - Add profile counters for rendered and total number of picture cache tiles. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D49438

--HG--
extra : moz-landing-system : lando
2019-10-18 01:03:07 +00:00
Edgar Chen
20956de078 Bug 1588720 - Part 3: Remove nsGlobalWindowOuter::gOpenPopupSpamCount; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49277

--HG--
extra : moz-landing-system : lando
2019-10-18 03:05:18 +00:00
Edgar Chen
e6da573de1 Bug 1588720 - Part 2: Track number of popup spam through BrowsingContext; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49276

--HG--
extra : moz-landing-system : lando
2019-10-18 03:04:55 +00:00
Edgar Chen
661494aa9a Bug 1588720 - Part 1: Convert dom.popup_maximum to a static pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49275

--HG--
extra : moz-landing-system : lando
2019-10-18 02:52:25 +00:00
Carolina
025956ea72 Bug 1582225 - Fixes overflow in "Public Value" fields.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49500

--HG--
extra : moz-landing-system : lando
2019-10-18 08:25:00 +00:00
Nihanth Subramanya
dd9ab00dff Bug 1589015 - Stop using two label elements in the cookies category item. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49599

--HG--
extra : moz-landing-system : lando
2019-10-18 08:23:48 +00:00
Alex Chronopoulos
3131adff9f Bug 1572884 - Upmix mono webaudio channels to stereo when the output configuration is 3 and 5 channels. r=padenot
WebAudio upmix layout is defined in the spec for the channel configurations mono, stereo, quad and 5.1. Layouts with 3 and 5 channels are not defined yet. For those undefined layouts firefox provided upmix to a single channel (left). This has been updated to upmix to the two stereo channels (left, right).

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

--HG--
extra : moz-landing-system : lando
2019-10-18 07:46:07 +00:00
Eden Chuang
8e9a848cef Bug 1561706 - Update the controlled client in ServiceWorkerManager after process switching r=asuth,valentin,perry
When Fission is on, loading a cross-origin iframe triggers process switching when calling the channel::OnStartReqeust.
If a ServiceWorker should intercept the loading, the interception setting is completed while opening the channel.
That means the service worker controls the ClientSource created by the old process.
After process switching completed, the new ClientSource will be created and resume the loading from the opened channel.
However, in the original code, we did not update the controlled Client in the ServiceWorkerManager.
And when loading the same origin subresource in the new process, it makes ServiceWorkerManager cannot find the correct ServiceWorker to perform the interception.

Since we are going to release sw-e10s, this patch is only for both Fission and sw-e10s are on.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 21:42:30 +00:00
jaril
696cf3b52a Bug 1588997 - Convert ObjectClient to protocol.js front. r=nchevobbe.
- Converted the ObjectClient into an protocoljs Front
- Converted the SymbolIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the PropertyIteratorClient into a protocoljs Front and moved it to devtools/shared/fronts
- Converted the EnvironmentClient into a protocoljs Front and moved it to devtools/shared/fronts
- Modified calls to `DebuggerClient.release()` so that it tries to call the ObjectFront's release method first, and falls back on `DebuggerClient.release()` if there's no object front
- Changed reps so that it instantiates only one ObjectClient per grip
- Changed tests so that they expect what the Front's request method resolves to where applicable (i.e. ObjectFront.allocationStack resolves to allocationStack, not a packet object with an allocationStack property)
- Changed callbacks provided to ObjectClient methods to be chained to the ObjectFront methods (e.g. ObjectClient.getScope(callback) changed to ObjectFront.getScope().callback())
- Changed tests to use async/await (test_framebindings-x.js, test_functiongrips-x.js, test_objectgrips-x.js)
- Changed tests to expect protocoljs to throw an error string instead of an error object (test_objectgrips-fn-apply-03.js, test_threadlifetime-02.js, test_pauselifetime-03.js)

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

--HG--
rename : devtools/shared/client/environment-client.js => devtools/shared/fronts/environment.js
rename : devtools/shared/client/property-iterator-client.js => devtools/shared/fronts/property-iterator.js
rename : devtools/shared/client/symbol-iterator-client.js => devtools/shared/fronts/symbol-iterator.js
extra : moz-landing-system : lando
2019-10-17 16:06:25 +00:00
Daniel Varga
8fdca46bc7 Backed out changeset 2923afce519a (bug 1557447) for browser chrome failure at tools/profiler/tests/browser/browser_test_feature_preferencereads.js. On a CLOSED TREE 2019-10-18 07:54:09 +03:00
Makoto Kato
9f744d72cd Bug 1565634 - mach install should install GVE as default. r=nalexander
Fennec is removed, but mach install still tries to install Fennec. It should
install GVE instead.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 02:01:26 +00:00
Abimbola Olaitan
611f420edc Bug 1589564 - Refactor ManifestIcons's fetchIcon() function to use await r=marcosc
The fetchIcon() bug is labelled as async, but doesn't use await. Refactoring it to use await cleans up the function a bit.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 03:38:12 +00:00
Boris Zbarsky
43391c50c0 Bug 1589309. Pass XPCOM strings, not buffer pointers, to notifyJSRunToCompletionStart. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49650

--HG--
extra : moz-landing-system : lando
2019-10-18 02:50:45 +00:00
Jim Porter
80bfcd6e57 Bug 1557447 - Profiler support for IPC information; r=nika
This adds the ability to add profile markers for both the sender and recipient
sides of IPC messages. These can then be correlated with one another in the
profile visualization. For the UI component of this patch, see
<https://github.com/firefox-devtools/profiler/pull/2172>.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 02:56:02 +00:00
skierpage
d101684601 Bug 1587650 - Update README.md with more informative intro r=gw
Addresses issues with the README in [mozilla bug 1587650](https://bugzilla.mozilla.org/show_bug.cgi?id=1587650).
[import_pr] From https://github.com/servo/webrender/pull/3772

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:04:50 +00:00
Daosheng Mu
183d99c002 Bug 1587942 - Forwarding keyboard show/hide events to VR host API. r=thomasmo,PhilipLamb,masayuki,imanol
Forwarding keyboard focus/blur events to VR browser that runs at another process. We will need to set these events in VR shmem, then VR host can receive these states from other process.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:24:56 +00:00
Kris Maglione
e7fd10bd79 Bug 1585776 - Fix XPInstall content handler under Fission. r=nika
The XPInstall content handlers currently make all sorts of assumptions about
the process they're being run in and the docShell their request is tied to.
These assumptions don't hold under Fission, either now, when they may be
called just after a process switch, or in the future, when they'll be called
in the parent process.

This patch updates them to operate on the BrowsingContext of the request, and
to do their messaging via the process message manager, rather than via frame
message managers. As a bonus, it also removes the existing hacks they had in
place to handle the cases where frame message managers didn't work.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:35:33 +00:00
Daisuke Akatsuka
693696fb70 Bug 1588962: Add a test whether reflect the rule change. r=rcaliman
Depends on D49534

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:34:49 +00:00
Daisuke Akatsuka
23c975fc2b Bug 1588962: Reflect the changes on the rule view. r=rcaliman
Depends on D49520

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

--HG--
extra : moz-landing-system : lando
2019-10-18 01:35:14 +00:00
thomasmo
fe82b4a4db Bug 1587521 - Enable FullScreen in FxR for Desktop r=mconley,Gijs
Bug 1587521 - Enable FullScreen in FxR for Desktop

This change enables Fullscreen functionality in the UI for Firefox Reality for Desktop. On Fullscreen, the window (rather than the desktop) is taken over, and it is up to the host to render the contents as fullscreen.

To mitigate the impact on Desktop's implementation, browser-fullScreenAndPointerLock.js is forked and removes the dependencies on browser.js. These two files will be rationalized at a later time.

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

--HG--
rename : browser/base/content/browser-fullScreenAndPointerLock.js => browser/fxr/content/fxr-fullScreen.js
extra : moz-landing-system : lando
2019-10-18 00:15:08 +00:00
Dorel Luca
efd52379da Backed out changeset cd4dc0ae3364 (bug 1557447) for Browser-chrome failures in build/src/obj-firefox/dist/include/mozilla/BlocksRingBuffer.h 2019-10-18 03:59:06 +03:00
Yura Zenevich
c8dd78f635 Bug 1543575 - add fission coverage for accessibility b-c e10s tree update tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48552

--HG--
extra : rebase_source : d674efca44b5a6d11dbc371f3866d8dc87ab3ba4
extra : source : 2dbafadffbd9114592c927136992571d57b86bae
2019-10-17 15:15:18 +00:00
Yura Zenevich
fcf58d51e6 Bug 1543575 - add fission coverage for accessibility b-c e10s caching tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48551

--HG--
extra : rebase_source : 581fb8be517742e482dca807a10ed483b2ff78db
extra : source : 8b92e98ee616c5a0e9d33d91d4bab5ea3209fe45
2019-10-17 15:15:09 +00:00
Yura Zenevich
ede444df5b Bug 1543575 - add fission coverage for accessibility b-c e10s event tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48550

--HG--
extra : rebase_source : 99ab9d1b956a17dbd1d302ad9414885057bc4c90
extra : source : d7d27d08162d32b6b1c8fd048f918b50d40eabd6
2019-10-17 15:15:00 +00:00
Yura Zenevich
ac9730e94b Bug 1543575 - provide an option for running accessibility browser chrome e10s tests in fission process. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48549

--HG--
extra : rebase_source : 3e1061d9a4d41b55421d56456ba08febc09cb445
extra : source : 5b54e1361ca15904a429cc0da84d886b2567b3a6
2019-10-17 15:14:50 +00:00
Yura Zenevich
de89df5cc3 Bug 1543575 - stop using ContentTask across accessible/ browser chrome tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D47387

--HG--
extra : rebase_source : bb1618e0b351f48da2750a93c9f46842d79f2cbd
extra : source : 5e5a6ce39829f7a176fa2de181db7cef60534522
2019-10-17 15:14:41 +00:00
Yura Zenevich
7ad8ffc6bb Bug 1543575 - stop using frame scripts across accessible/ browser chrome tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D47386

--HG--
extra : rebase_source : 2b8af3317a182b5710a7e7dd61241503f2958285
extra : source : 472cbb99f5ceb3b466c393c0c5a40753dcec79ff
2019-10-17 15:14:34 +00:00
Chris Muldoon
4ac0b74222 Bug 1577673 - Continue to Here does not pause. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D48178

--HG--
extra : moz-landing-system : lando
2019-10-17 23:53:36 +00:00
Ian Neal
524edcbdaa Bug 1584809 - PageInfo cookie permissions default to allow r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47846

--HG--
extra : moz-landing-system : lando
2019-10-17 07:32:13 +00:00
Jim Porter
db91ad6767 Bug 1557447 part 2 - Remove unnecessary declarations from bug 1575448; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D46389

--HG--
extra : moz-landing-system : lando
2019-10-17 23:39:44 +00:00