Граф коммитов

658239 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru edf07b0f4d Bug 1559740 - Ride along - flake8+black+codespell on python/mozbuild/mozbuild/code-analysis/mach_commands.py r=andi
Depends on D35187

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:40:18 +00:00
Sylvestre Ledru 85ae7943fc Bug 1559740 - Move the clang-{format,tidy} and infer declarations into a separate directory r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35187

--HG--
extra : moz-landing-system : lando
2019-06-28 07:39:48 +00:00
Kartikaya Gupta a0c31965e9 Bug 1561261 - Don't import requests at the top level. r=ahal
For some reason this causes some sort of failure in the doc upload
process. No other mach_commands.py files do this so this patch moves
the import into the functions that use it, which bypasses the problem.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 14:51:20 +00:00
David Major 029c3f2a24 Bug 1561822 - Clean up a workaround for frame pointer flags in aarch64 clang-cl r=froydnj
Glandium pointed out that we're actually using the same flag for both `enable=` and `disable=`. Oops.

It turns out that we don't need this code anymore anyway, since the needed patch got merged to clang 8.0.0 [0], which we now require [1].

[0] https://reviews.llvm.org/rGa576b44d09080661fc9f83a94f66eccb44d5f3ce
[1] https://hg.mozilla.org/integration/autoland/rev/0a49234facf2

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

--HG--
extra : moz-landing-system : lando
2019-06-28 13:55:01 +00:00
Markus Stange 623980df4b Bug 1562032 - Use NSDockTile to implement the dock download progress bar. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D36244

--HG--
extra : moz-landing-system : lando
2019-06-28 14:17:47 +00:00
Markus Stange 5f8ce768ac Bug 1562048 - Draw the fallback drag image using a different API. r=spohl
This also fixes a leak - the return value is expected to be autoreleased.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 13:44:15 +00:00
Valentin Gosu b6e7a0b743 Bug 1561089 - The resultPrincipalURI needs to be set on the loadInfo used for the redirect r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D36301

--HG--
extra : moz-landing-system : lando
2019-06-28 14:25:28 +00:00
Julien Wajsberg a0fc08dc4a Bug 1561886 - Color the profiler icon in blue if the profiler is running at startup r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D36198

--HG--
extra : moz-landing-system : lando
2019-06-28 14:12:00 +00:00
Nihanth Subramanya 9b0fa677c4 Bug 1191130 - Start listening for response before sending async message. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D36305

--HG--
extra : moz-landing-system : lando
2019-06-28 14:01:25 +00:00
krubin 594ee66f0b Bug 1558612 - Improve organization of Raptor power and resource test jobs on treeherder r=perftest-reviewers,AlexandruIonescu,rwood
Differential Revision: https://phabricator.services.mozilla.com/D36227

--HG--
extra : moz-landing-system : lando
2019-06-28 14:07:14 +00:00
Andrei Oprea dda2055d41 Bug 1561586 - Align message header with dismiss button for CFR bookmark panel message r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D36006

--HG--
extra : moz-landing-system : lando
2019-06-28 12:01:04 +00:00
Paul Bone 6176ec4f6d Bug 1562190 - Rename poisonAfterSweep r=jonco
The nursery isn't exactly swept, but it is evicted. Name this function to
make it match its context better.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 13:45:57 +00:00
Paul Bone 33a4555ee1 Bug 1562188 - Correct Nursery::clear()'s comment r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D36314

--HG--
extra : moz-landing-system : lando
2019-06-28 13:44:40 +00:00
Jan de Mooij bfb32ae943 Bug 1561935 - Fix some bugs in HandleDebugTrap + DebugAfterYield interaction. r=jimb
HandleDebugTrap calls DebugAfterYield, which can call the onEnterFrame debugger hook.
This hook can mess with debugger state so HandleDebugTrap needs to be a bit more
careful with its assertions.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 13:05:32 +00:00
Julien Wajsberg 319394f539 Bug 1561881 - Always capture the memory counters when profiling r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D36186

--HG--
extra : moz-landing-system : lando
2019-06-27 14:02:30 +00:00
Valentin Gosu 7f899f94dd Bug 1559356 - Make sure dweb URLs have a proper host r=kershaw
We want dweb URLs to continue working as before bug 1536744 landed.
So we make sure to instantiate it as an nsStandardURL.
This is not a good long-term solution, as we don't want to hardcode
all the various schemes that we want to behave properly.
The fix would be to add a new spec-compliant nsIURI implementation,
based on RustURL and use it for all unknown schemes.

See bug 1561860 for a more complete solution.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 13:12:49 +00:00
Stephen Donner 18d79cb494 Bug 1549631 - Add new target app (browser) backgrounded, idle-power-use test. r=rwood,AlexandruIonescu
This patch adds idle browser (*-idle-bg)tests to Raptor which have the app running on about:blank in the background for 20 minutes. It adds the 'background_test' flag to 'scenario' type Raptor tests to make a test run in the background. Furthermore, a unit test is added to the Raptor control server tests as well as methods to check if the app was properly backgrounded or foregrounded.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:46:35 +00:00
Karan Sapolia c788111259 Bug 1549265 - Add comment to explain unit of MarkStack::capacity(). r=pbone
Differential Revision: https://phabricator.services.mozilla.com/D35597

--HG--
extra : moz-landing-system : lando
2019-06-28 02:31:37 +00:00
Karan Sapolia ed6ee44baf Bug 1549263 - Rename sliceTimeBudget() and related symbols to include units. r=pbone
Differential Revision: https://phabricator.services.mozilla.com/D35588

--HG--
extra : moz-landing-system : lando
2019-06-28 12:56:08 +00:00
Honza Bambas ab204e49ee Bug 1556491 - Close nsHttpConnection.mTLSFilter when transaction of that connection is being closed to correctly carry cancellation status and prevent calls on a closed ssl socket, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D36111

--HG--
extra : moz-landing-system : lando
2019-06-28 12:45:49 +00:00
Mohd Umar Alam 42152ecf23 Bug 1561552 - Use :root instead of #main-window in browser/themes/windows/compacttheme.css r=dao
Differential Revision: https://phabricator.services.mozilla.com/D36313

--HG--
extra : moz-landing-system : lando
2019-06-28 12:44:10 +00:00
Julian Descottes 1905018c09 Bug 1543710 - Do not run devtools extension tests in non-oop r=rpl
Depends on D34627

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

--HG--
extra : moz-landing-system : lando
2019-06-28 12:18:09 +00:00
Julian Descottes 3f24e7c69e Bug 1543710 - Remove contextmenu event handler from webext-panels.js r=rpl
No longer necessary after Bug 1505909. Depends on D33284

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

--HG--
extra : moz-landing-system : lando
2019-06-28 10:17:29 +00:00
Julian Descottes 9897a987da Bug 1543710 - Whitelist webext-panels.xul in FrameLoader::TryRemoteBrowser r=nika
Differential Revision: https://phabricator.services.mozilla.com/D33284

--HG--
extra : moz-landing-system : lando
2019-06-28 10:16:30 +00:00
Julian Descottes 91b274be5b Bug 1561565 - Add linting rule and update documentation for setupInParent r=ochameau,yulia,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36003

--HG--
extra : moz-landing-system : lando
2019-06-28 12:09:25 +00:00
Masatoshi Kimura f0e5cca26d Bug 1558750 - Use nsIConverterOutputStream to handle non-Latin1 log output. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35149

--HG--
extra : moz-landing-system : lando
2019-06-24 13:52:37 +00:00
Andrew Swan 7696519cff Bug 1555060 Convert <tabs> to a custom element
The conversion for "regular" <tabs> elements is straightforward, most of
the work here is to support the tab strip (the <tabs> element with the id
"tabbrowser-tabs").  The markup needed for the tab strip moves directly
into browser.xhtml and the construction/teardown logic is now explicitly
driven from gBrowser.  There are many more little tweaks too numerous to
enumerate.

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

--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser-tabs.js
extra : source : c163881a80c9a032b40f7d965fad6a6850fcf8a4
extra : intermediate-source : a5c6deeda8a9475ac0268a4351417c8ff659c962
extra : histedit_source : 5eb8b3d14027f2aeca5c52534096837cd0343104%2Ca23a07ddd5e1fb8bd084644dd6db0ee028b7c4b4
2019-06-20 14:09:37 -07:00
Andrew Swan f1d137eff5 Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships
A bunch of existing code assumes that <tab> elements are the immediate
and only children of a <tabs> element, and uses dom apis to traverse
relationships between these elements.  To simplify conversion of <tabs>
to a custom element (and hopefully improve readability a bit at the same
time!), introduce new apis:

On <tab>
this.parentNode -> this.container
this.nextElementSibling -> this.container.findNextTab(...)
this.previousElementSibiling -> this.container.findNextTab(...)

On <tabs>
this.children -> this.allTabs

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

--HG--
extra : source : f4e21e465f384b90fa1e768141c4db708748bf66
extra : histedit_source : 95d8a4242e8e04df9e29c2b647558d37e910b845
2019-06-11 14:49:46 -07:00
Luca Greco 0eb997e482 Bug 1549770 - Update Events.yaml to mention rtamo install telemetry source. r=chutten
This patch update the telemetry event definition for the addonsManager.install and
addonsManager.manage telemetry events, to mention the "rtamo" telemetry source
that is going to be used by ActivityStream on the addon installed from the
"Return To AMO" onboarding, and also list all the other values currently used
for the "source" and "method" extra keys (they were initially listed in the
initial data review request, but they have never been listed in the event definition
yet).

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

--HG--
extra : moz-landing-system : lando
2019-06-11 13:50:50 +00:00
Alexandre Poirot 7c4f974fe1 Bug 1552325 - Implement Network.requestWillBeSent. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D36008

--HG--
extra : moz-landing-system : lando
2019-06-28 08:16:46 +00:00
Andrey Lushnikov 49180a060f Bug 1552325 - Land juggler's network observer. r=remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D36007

--HG--
extra : moz-landing-system : lando
2019-06-28 08:16:45 +00:00
Julien Wajsberg 050b115653 Bug 1561875 - Increase the profiler's popup's width to fix layout issues on Linux r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D36181

--HG--
extra : moz-landing-system : lando
2019-06-27 23:01:47 +00:00
Razvan Caliman 8eb3b5c195 Bug 1561871 - Restore default numeric value for letter-spacing to 0 in the Font Editor. r=gl
Fix for accidental regression in D35394 form careless copy / paste.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 17:07:43 +00:00
Drew Willcoxon 397d58a2eb Bug 1562050 - Quantumbar: When the history dropmarker is clicked, focus the input. r=dao
I don't really think this needs a test, but let me know if you think so.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:59:34 +00:00
Andreas Pehrson 1abbf5c0b9 Bug 1558890 - Give more leeway to VideoFrameConverterTest::ClearFutureFramesOnJumpingBack. r=dminor
This does two things:
- Makes times relative to current time, with the only constraint that not a
  whole second may pass after the first frame, since that will trigger the
  same-frame timer.
- Changes asserts to use TimeDuration instead of TimeStamp for understandable
  logs.

This has proven needed on some macosx machines.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 20:14:41 +00:00
Emilio Cobos Álvarez e023916761 Bug 1561738 - Remove nsStyleCoord. r=boris
And move the useful bits of it somewhere else (ServoStyleConstInlines.h for the
inline function definitions, and nsFrame.cpp for the static assertions).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:46:26 +00:00
Emilio Cobos Álvarez 02348421e4 Bug 1561738 - Stop using nsStyleSides for -moz-image-rect. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D36119

--HG--
extra : moz-landing-system : lando
2019-06-28 09:46:17 +00:00
Emilio Cobos Álvarez 9d92ed9a07 Bug 1561738 - Use cbindgen for grid track sizing. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D36118

--HG--
extra : moz-landing-system : lando
2019-06-28 09:46:02 +00:00
Nicolas Chevobbe 4257b47fac Bug 1519105 - Add a keyboard shortcut to switch between inline and editor mode. r=Honza.
We use Cmd/Ctrl + B to switch between inline and editor mode. This
should be familiar for VSCode users as it toggles the file sidebar.
When changing the layout, we persist the choice into the editor pref
so the user keeps the same layout the next time they open the console.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:25:59 +00:00
Nicolas Chevobbe 66150262ef Bug 1519312 - Render the console input to the left of the panel when editor preference is true; r=Honza.
When the editor preference is true, a CSS class is added to
the panel that allow us to shift the layout to a CSS Grid, where
the input panel is on the left and the output on the right.

A toolbar is added to be able to execute an expression when in
editor mode.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:13:32 +00:00
Makoto Kato c2694625b5 Bug 1444847 - part 4: Implement `mozilla::dom::StaticRange` and static factory methods r=smaug
This patch is based on Makoto Kato-san's patch.

This patch implements `mozilla::dom::StaticRange` class and creating some
static factory methods.

Then, makes `AbstractRange` has a utility method of `SetStartAndEnd()`
method of `nsRange` and `StaticRange` for sharing same logic in one place.
However, there are some additional work is required only in `nsRange`, e.g.,
`nsRange` needs to start observing mutation of the range, but `StaticRange`
does not it.  Therefore, it's implemented as a template method which takes
`nsRange*` or `StaticRange*` as a parameter.  Then, each `DoSetRange()`
method of them can do different things without virtual calls.

Note that `StaticRange` does not have any properties, methods nor constructor.
Therefore, we need additional API to test it.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:48:52 +00:00
Masayuki Nakano da61ea3112 Bug 1444847 - part 3: Create `RangeUtils` to place public static methods of `nsRange` r=smaug
Some `nsRange` static methods are useful in `StaticRange` and some of them
are used in a lot of places but not related to `nsRange` directly.  This
patch moves them into new static method only class, `mozilla::RangeUtils`.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:48:07 +00:00
Masayuki Nakano 2a450c5196 Bug 1444847 - part 2: Sort out basic API of `nsRange` for consistency with coming `StaticRange` r=smaug
For avoiding confusion between API of `nsRange` and `StaticRange`, I'd like to
rename `nsRange::CreateRange()` to `nsRange::Create()` because
`StaticRange::CreateStaticRange()` is too long name and
`StaticRange::CreateRange()` sounds odd.  This patch renames it and changes
related methods to template methods to avoid runtime cost of temporary
`RawRangeBoundary` instance creation.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:47:29 +00:00
Makoto Kato 5f9abd3366 Bug 1444847 - part 1: Create `mozilla::dom::AbstractRange` r=smaug
This patch is based on the patch created by Makoto Kato-san.

`Range` and `StaticRange` have common base interface, `AbstractRange`.
https://dom.spec.whatwg.org/#abstractrange

This interface has simply returns `startContainer`, `endContainer`,
`startOffset`, `endOffset` and `collapsed`.

Different from the original patch's approach, this patch moves related
members in `nsRange` to `AbstractRange` since this approach avoids
virtual call cost.  Additionally, this patch makes them not throw as
declared by the spec.  As far as I know, the destruction cost of
`ErrorResult` may appear in profile so that we should avoid creating
the instance if we can avoid it.

Unfortunately, the instance size of `nsRange` becomes larger with this
patch.  The size is changed from 176 to 184.  I.e., now, `nsRange`
requires bigger chunk.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:46:35 +00:00
Nicolas Chevobbe 43fd57f33f Bug 1560804 - Fix double scrollbar in network message detail. r=Honza.
We take this as an opportunity to fix the alignment between the XHR
badge and the URL.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:50:43 +00:00
Timothy Nikkel c2aea8db31 Bug 1562159. Cleanup moz-icon downscale reftest annotations.
It's duplicated and the fuzz values are much higher than needed.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 08:52:52 +00:00
Matt Woodrow 89a62c3ee9 Bug 1561178 - Initialize gfxVars in the RDD process. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36001

--HG--
extra : moz-landing-system : lando
2019-06-28 07:08:43 +00:00
Matt Woodrow f07980eb66 Bug 1561178 - Shutdown video bridge for all processes that might be using it. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36000

--HG--
extra : moz-landing-system : lando
2019-06-28 06:33:00 +00:00
Matt Woodrow 3e1eacd221 Bug 1561178 - Create a VideoBridge connection from the RDD process to the parent process. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D35969

--HG--
extra : moz-landing-system : lando
2019-06-28 06:32:43 +00:00
Matt Woodrow cf1e91357b Bug 1561178 - Use Endpoints for VideoBridge construction, and support the possibility that there are multiple at the same time. r=jya
In the future we're going to want VideoBridge connections from the RDD process into both the parent process and the GPU process.
This does the preparation work for unifying the way we create VideoBridges (using Endpoints, required for cross-process connections),
and detects which one to use based on where the video will be composited.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 07:00:41 +00:00