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

707273 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley ffd38dcf80 Bug 1634703 - Add support for getting the window ID used by nsIMediaDevice for a shared window on Windows. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D73505
2020-05-12 14:50:47 +00:00
Mike Conley e24079f72d Bug 1634703 - Add support for getting the window ID used by nsIMediaDevice for a shared window on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D73482
2020-05-12 14:50:33 +00:00
Mike Conley 8d34859a49 Bug 1634703 - Add a parent-process-only method to nsIDOMWindowUtils to get the native window ID from a window. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D73481
2020-05-12 14:50:21 +00:00
Mike Conley 66a6e86753 Bug 1634703 - Send the list of shared nsIMediaDevice devices up to the parent from WebRTCChild.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D73480
2020-05-12 14:49:59 +00:00
Mike Conley e08905a04a Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-12 14:49:46 +00:00
Micah Tigley e01061d66a Bug 1627023 - Enable browser UI version of RDM in Dev Edition. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D74914
2020-05-12 18:41:22 +00:00
Emilio Cobos Álvarez 52792dc151 Bug 1636974 - Unbust base toolchain builds by working around a GCC bug. CLOSED TREE
MANUAL PUSH: Unbust base toolchain builds, CLOSED TREE
2020-05-12 20:47:25 +02:00
Emilio Cobos Álvarez ed46f1f078 Bug 1636974 - Make SheetLoadData know whether it's a preload on construction. r=mayhemer
And make a bunch of other stuff const while at it.

Differential Revision: https://phabricator.services.mozilla.com/D74860
2020-05-12 16:36:11 +00:00
Razvan Maries d70a3f8735 Backed out 2 changesets (bug 1636974) for wpt perma failures at subresource-integrity.html. CLOSED TREE
Backed out changeset 74820b124af2 (bug 1636974)
Backed out changeset f53ceddd5fe3 (bug 1636974)
2020-05-12 22:46:15 +03:00
Michael Kaply c37a9a077c Bug 1447536 - Add left/top command line options. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D74146
2020-05-12 19:13:08 +00:00
Razvan Maries 3181a5f197 Backed out changeset 8eef199bbda9 (bug 935056) for perma failures at 935056-1.html. CLOSED TREE 2020-05-12 22:16:12 +03:00
Aaron Klotz 796d8c15ae Bug 1630229: Part 4 - Register ChildConnection after bind instead of start; r=geckoview-reviewers,snorp
1. `GeckoProcessManager.ConnectionManager.onStartComplete` is called later than
   it ideally should be; it would be better to do this as soon as binding is
   complete, rather than as soon as `start` is complete. To accomplish this:

* We rename `onStartComplete` to `onBindComplete` and call it as soon as we
  have successfully bound.
* We call `IChildProcess.getPid` as soon as we're bound and immediately clean
  up if that fails.
* This implies that `getPid` should always have a pid and should not need to
  call into `IChildProcess` during the remaining lifetime of the connection.
  This allows us to eliminate exception throwing from `getPid`, and thus we may
  also remove `getPidFallible`.
* This also means that we no longer need to explicitly call `getPid` in
  `GeckoProcessManager.preload`.

2. We also use `XPCOMEventTarget.runOnLauncherThread` so that we do not need to
   bounce through the launcher thread's event queue unnecessarily.

3. I noticed that we do not unbind the connection if the start fails but we
   are not retrying. We should be unbinding regardless of whether we are going
   to retry.

Differential Revision: https://phabricator.services.mozilla.com/D74500
2020-05-12 18:59:20 +00:00
Iain Ireland 1ece3fe2c9 Bug 1637203: Fix merge-to-Beta break r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D74903
2020-05-12 18:38:59 +00:00
Lars T Hansen 43173e9f50 Bug 1635783 - Add a fast path for stack normalization. r=rhunt
Stack normalization is uber-slow on emulator because it relies on
regexes that are compiled to native instructions which are then
emulated.  That makes stack normalization very slow too, and as it's
very hot some tests will time out nearly always.

This patch inserts a simple cache for previously matched strings in
stack normalization to avoid the regex engine altogether.  This speeds
up normalization and hence stack matching greatly (I observed a factor
of four speedup per test iteration on an arm-sim noopt debug build for
ion-error-ool.js).

I also attempted some other fixes (filtering on simple strings,
avoiding regex.replace, etc) but caching is by far the most effective
fix, and with caching in place the other fixes still don't really move
the needle.

Depends on D74220

Differential Revision: https://phabricator.services.mozilla.com/D74607
2020-05-11 14:30:44 +00:00
Lars T Hansen cf386712a1 Bug 1635783 - Make an error message match more flexible. r=rhunt
When SIMD is not enabled, v128 is not mentioned in the error message,
so make allowances for that.

Differential Revision: https://phabricator.services.mozilla.com/D74220
2020-05-11 08:30:06 +00:00
Jan de Mooij de2f4c690d Bug 1636916 part 4 - Use branchValueIsNurseryCell instead of branchValueIsNurseryObject. r=jonco
Now that branchValueIsNurseryCell is as efficient as branchValueIsNurseryObject
we no longer need branchValueIsNurseryObject.

Depends on D74649

Differential Revision: https://phabricator.services.mozilla.com/D74650
2020-05-11 17:24:27 +00:00
Jan de Mooij cd89fa3820 Bug 1636916 part 3 - Optimize branchValueIsNurseryCell using branchTestGCThing. r=jonco
It's more efficient now to check for all GC things with a single branch instead of
checking for object/string/BigInt separately. This generates more compact code with
fewer branches and is also more maintainable.

Depends on D74648

Differential Revision: https://phabricator.services.mozilla.com/D74649
2020-05-11 17:24:27 +00:00
Jan de Mooij 5d0033b51b Bug 1636916 part 2 - Add branchTestGCThing to the MacroAssembler. r=jonco
Depends on D74647

Differential Revision: https://phabricator.services.mozilla.com/D74648
2020-05-11 17:24:27 +00:00
Jan de Mooij 020463c39c Bug 1636916 part 1 - Rename unboxGCThingForPreBarrierTrampoline to unboxGCThingForGCBarrier. r=jonco
Also add ValueOperand overloads on 64-bit platforms.

A later patch will also call this for the post barrier.

Differential Revision: https://phabricator.services.mozilla.com/D74647
2020-05-11 17:24:26 +00:00
Timothy Nikkel c05c933851 Bug 1557160. Stop Event::GetScreenCoords from converting from visual to layout coords. r=botond
Screen coords are not layout coords.

Differential Revision: https://phabricator.services.mozilla.com/D74788
2020-05-12 04:53:37 +00:00
Bogdan Tara be25a1cf76 Backed out changeset 3a50d857d097 (bug 1591469) for newtab failures complaining about AboutReaderParent CLOSED TREE 2020-05-12 06:13:10 +03:00
Andrew Swan c01f8d4891 Bug 1633396 Skip blocklist checks for system/builtin addons r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D74533
2020-05-12 01:58:03 +00:00
Bogdan Tara 4481f7e004 Backed out changeset de6d1c1375ee (bug 1637043) for browser_autocomplete_a11y_label.js failures CLOSED TREE 2020-05-12 04:59:44 +03:00
Jeff Gilbert 01add5f23e Bug 1636122 - [angle] Use deviceContext instead of deviceContext1. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D74770
2020-05-12 01:22:38 +00:00
Gerald Squelart e1d51db19a Bug 1635570 - Cut too-long label dynamic strings and add ellipsis - r=canaltinova
If a label contains a dynamic string that's too long (512 characters or more), instead of just replacing it with "(too long)", we now cut it down to the maximum size, with an ellipsis at the end.

Added test for that in gtest. Also added nearby test for empty strings.

Differential Revision: https://phabricator.services.mozilla.com/D74378
2020-05-12 01:13:17 +00:00
Neil Deakin f9054b8cff Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-12 01:06:51 +00:00
Harry Twyford c30d408639 Bug 1637043 - Stop highlighting the heuristic search result. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D74739
2020-05-12 00:08:16 +00:00
Glenn Watson 4c6a3862df Bug 1636616 - Fix invalidations occuring when display port changes. r=Bert
On some pages, primitives other than rectangles may have their
clip rect affected by the display port, which was causing incorrect
invalidations and extra rasterization work.

Remove clip_by_tile check, and clamp clip rect to tile boundaries
for all primitive types. Also switch to a more efficient min/max
representation of the clip rect for primitive dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D74582
2020-05-11 23:05:42 +00:00
Michael Kaply bab155ea08 Bug 1469629 - Read system level policies on Linux if available. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D74323
2020-05-11 07:10:02 +00:00
Gregory Mierzwinski b563884d06 Bug 1637303 - Add perfherder data validation to mozperftest. r=mozperftest-reviewers,tarek
This patch enables perfherder data validation with jsonschema and also adds some extra tests for the Perfherder layer.

Differential Revision: https://phabricator.services.mozilla.com/D74877
2020-05-12 18:06:15 +00:00
Ricky Stewart d46a834068 Bug 1635873 - Create virtualenv in `mach mochitest` r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D74684
2020-05-12 18:50:49 +00:00
Emilio Cobos Álvarez d7e8e84ac7 Bug 1636974 - Unbust base toolchain builds by working around a GCC bug.
MANUAL PUSH: Unbust base toolchain builds, CLOSED TREE
2020-05-12 20:48:00 +02:00
Jon Bauman 2bec40dcfe Bug 1637144 - Syntax for different moz.build paths is undocumented. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74799
2020-05-12 17:33:47 +00:00
David Major 26568e980b Bug 1635933 - Temporarily disable new pass manager on ubsan clang-10 r=froydnj
ubsan's generated code trips an optimization corner case in clang 10. This is a short-term workaround. In the best case, llvm.org/pr45835 will land a fix soon, and we can merge that for our clang-10 update and not even land this patch. However, in case we're living in anything other than the best case world, I don't want to block on that happening.

Differential Revision: https://phabricator.services.mozilla.com/D74727
2020-05-12 18:01:48 +00:00
Micah Tigley f5ddf2c2d3 Bug 1636348 - Ensure the connection between the about:devtools-toolbox's client and server is closed. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D74467
2020-05-12 17:01:12 +00:00
Mitchell Hentges c23cde122b Bug 1637041: fix test_presets.py on windows r=rstewart
In some NT-specific code, a list of "items()" was being updated. In python 3, to modify the result
of "items()", you have to gain ownership first by explicitly converting it into a list().

Also resolves some flaky failures that were seen locally by marking test_presets.py as sequential.

Differential Revision: https://phabricator.services.mozilla.com/D74793
2020-05-12 17:52:00 +00:00
Jon Coppeard 2f3cb65cb5 Bug 1636419 - Add GC_MS telemetry to geckoview r=sfink,Dexter
As a first step, add geckoview_streaming for GC_MS telemetry.

This also turns on collection in release builds, something that AFAICS should have happened in bug 1489524.

Differential Revision: https://phabricator.services.mozilla.com/D74836
2020-05-12 17:24:45 +00:00
Erica Wright b4eb607d65 Bug 1636580 - Update ETP card. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74545
2020-05-11 21:24:57 +00:00
Ryan VanderMeulen 457282b8ab Bug 1631118 - Update HarfBuzz to 2.6.6. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D71420
2020-05-12 17:12:15 +00:00
Ricky Stewart 492cfe7265 Bug 1637333 - Ensure we don't pass bad environment variables to `subprocess.check_call()` in `mozversioncontrol` r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D74888
2020-05-12 16:58:21 +00:00
Edwin Takahashi fe77d08974 Bug 1633101 - remove redundant pulseaudio initializations for linux tests r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-12 12:20:45 +00:00
Nicolas Chevobbe 46d31cc93b Bug 1631529 - Fix intermittent in browser_jsterm_editor_toggle_keyboard_shortcut.js . r=davidwalsh.
The test was failing on ccov machines because it was
timing out. The interesting part is that in the logs
we could see that a huge error was logged, because
we were hitting the IGNORED REDUX ACTION middleware,
which was about a SET_TERMINAL_EAGER_RESULT action
being blocked.
I think that logging this object was taking so much
time that it made the test timeout on slow machines.

So here we're simply waiting for the eager evaluation
result to be displayed, so we know that the action won't
be ignored.

Differential Revision: https://phabricator.services.mozilla.com/D74879
2020-05-12 17:18:46 +00:00
Emilio Cobos Álvarez d17a489ef0 Bug 1636974 - Make SheetLoadData know whether it's a preload on construction. r=mayhemer
And make a bunch of other stuff const while at it.

Differential Revision: https://phabricator.services.mozilla.com/D74860
2020-05-12 16:36:11 +00:00
Ted Campbell 70d528ad85 Bug 1637299 - Add CompilationInfo::initFromLazy. r=mgaudet
This removes another use of `FunctionBox::function()` from inside the
frontend.

Differential Revision: https://phabricator.services.mozilla.com/D74873
2020-05-12 17:00:30 +00:00
Andrew Halberstadt c44fed4839 Bug 1637305 - [mozversioncontrol] Don't use bytes in HGRepository.working_directory_clean, r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D74880
2020-05-12 16:49:24 +00:00
Ting-Yu Lin 546f228245 Bug 1622935 Part 4d - Add more reftests for single-line flex container in zero height multicols. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D74497
2020-05-11 17:08:45 +00:00
Ting-Yu Lin d2c9a57153 Bug 1622935 Part 4c - Add additional single-line flex container fragmentation reftests. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D73170
2020-05-08 22:33:52 +00:00
sefeng a2b762d097 Bug 1557303 - Enable form dialog method for some existing tests r=smaug
Since the form dialog method can be enabled via the pref, enable it in
some existing tests.

Differential Revision: https://phabricator.services.mozilla.com/D73366
2020-05-08 00:16:37 +00:00
sefeng 6f99b2a7b4 Bug 1557303 - Add tests to test form dialog submission r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D73365
2020-05-08 00:16:34 +00:00
sefeng 283a047c3c Bug 1557303 - Implement form[method="dialog"] r=smaug
Spec: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submit-dialog

Differential Revision: https://phabricator.services.mozilla.com/D73364
2020-05-11 22:56:13 +00:00