Commit Graph

700198 Commits

Author SHA1 Message Date
sonakshi
9272fc9645 Bug 1595611 - Cache ConnectivityManager in GeckoAppShell r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D69627

--HG--
extra : moz-landing-system : lando
2020-04-07 15:00:37 +00:00
Steven MacLeod
ab4563877e Bug 1626504 - Fix outdated BrowsingContext/SyncedContext comments. r=farre
When D56742 (Bug 1583863) moved BrowsingContext to using SyncedContext
a few comments were left which refer to non-existent files / methods.
I've updated these comments to be consistent with the current code,
moved them to a more appropriate location and removed/updated the stale
references.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 06:57:11 +00:00
Jon Coppeard
f105b2ae13 Bug 1627683 - Update TSAN suppression list following changes to give GC cells headers r=decoder
Similarly to changeset cfa64a6b5a87, a scope's enclosing scope is no longer updated by MovingTracer::onScopeEdge following the changes in bug 1625212. Update the suppression list accordingly.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:22:07 +00:00
Henrik Skupin
55945d9673 Bug 1626522 - [raptor] Enable extension logging for Raptor webext jobs in CI. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D69927

--HG--
extra : moz-landing-system : lando
2020-04-07 14:29:36 +00:00
Mark Banner
88fb3a72de Bug 1622243 - Implement the bookmark pages option in the library window. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D68776

--HG--
extra : moz-landing-system : lando
2020-04-07 12:56:19 +00:00
Nicolas Chevobbe
1a4bd13b33 Bug 1627687 - Make console complicated reload test more reliable. r=jdescottes,perftest-reviewers,sparky.
This patch modifies the reloadConsoleAndLog helper so it can
consumes an array of expected messages, and not only a number
of expected messages.
This should prevent the performance variations caused by new
warning messages being added.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:15:59 +00:00
Jan de Mooij
4b3668c519 Bug 1627955 - Simplify JSContext::checkImpl with a fold expression. r=anba
I tested this works by adding things like this to `Compartment::wrap(cx, obj)`
and then executing `newGlobal({newCompartment: true})`:
```
RootedId id(cx);
cx->check(id, obj);
```

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:56:10 +00:00
Paul Adenot
0aeec7fcf2 Bug 1627905 - Add uses of WavDumper to AudioCallbackDriver. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D69972

--HG--
extra : moz-landing-system : lando
2020-04-07 14:33:57 +00:00
Paul Adenot
19ff390e1c Bug 1627905 - Rename mOutputChannels to mOutputChannelCount to match the input name. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D69982

--HG--
extra : moz-landing-system : lando
2020-04-07 14:33:57 +00:00
Ryan Hunt
667de55fd2 Bug 1627835 - Emit build system dependencies for Cranelift build.rs. r=bbouvier
bindgen::CargoCallbacks will emit rustc-rerun-if-changed for included headers
so that the build system can re-run build.rs if any header used is changed.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 07:54:36 +00:00
Valentin Gosu
6a69a94e9a Bug 1625213 - Add simple e10s ESNI test r=dragana
It seems there was no unit test exercising this code in e10s.
This copies the simple test from test_esni_dns_fetch.js to make sure
we have a little code coverage for the IPC code too.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 11:56:29 +00:00
Valentin Gosu
f29e4186dd Bug 1625213 - Make txt records be resolved with onLookupComplete r=dragana
This patch makes nsIDNSByTypeRecord extend nsIDNSRecord, but implementations
will safely forward the nsIDNSRecord methods to `nullptr`, meaning they will
throw an error when called.

Consumers should try to QI the nsIDNSRecord to nsIDNSByTypeRecord (or any
future types) and use that.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:39:45 +00:00
Valentin Gosu
5bba92d0ef Bug 1625213 - Get rid of ChildDNSRecord.mLength r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D69325

--HG--
extra : moz-landing-system : lando
2020-04-07 11:55:38 +00:00
Mike Conley
f217dbb0d0 Bug 1610613 - Make Picture-in-Picture window persist across workspaces on macOS. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D69932

--HG--
extra : moz-landing-system : lando
2020-04-07 13:28:24 +00:00
owlishDeveloper
29de48a946 Bug 1621480 - Separate progress delegate and history delegate while avoiding race conditions r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D69753

--HG--
extra : moz-landing-system : lando
2020-04-07 02:00:04 +00:00
Mihai Alexandru Michis
964773e27c Backed out 7 changesets (bug 1326486) for causing bpgo failures.
CLOSED TREE

Backed out changeset 810a84a18948 (bug 1326486)
Backed out changeset e04c57ed0c04 (bug 1326486)
Backed out changeset 493c338ad705 (bug 1326486)
Backed out changeset 96701b9815c2 (bug 1326486)
Backed out changeset 8adfc59eb3c5 (bug 1326486)
Backed out changeset 441282fd1fea (bug 1326486)
Backed out changeset a64593d4c645 (bug 1326486)
2020-04-07 17:08:08 +03:00
Mihai Alexandru Michis
2e69b21372 Backed out 6 changesets (bug 1618759) for causing mingw bustages on TSFTextStore.cpp
CLOSED TREE

Backed out changeset 77a93a01f924 (bug 1618759)
Backed out changeset f06a8ee813cf (bug 1618759)
Backed out changeset 020258996c4a (bug 1618759)
Backed out changeset 0e3a40bf9ba8 (bug 1618759)
Backed out changeset a4dcd48616d9 (bug 1618759)
Backed out changeset 010d99db9abd (bug 1618759)
2020-04-07 16:55:00 +03:00
Tooru Fujisawa
1d24815244 Bug 1625823 - Part 2: Use smoosh_/Smoosh prefix for bindings. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D69890

--HG--
extra : moz-landing-system : lando
2020-04-07 11:27:01 +00:00
Tooru Fujisawa
be31dc3ce1 Bug 1625823 - Part 1: Update jsparagus and support RegExp. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D69886

--HG--
rename : third_party/rust/jsparagus-emitter/src/scope_pass.rs => third_party/rust/jsparagus-scope/src/context.rs
rename : third_party/rust/jsparagus-emitter/src/scope.rs => third_party/rust/jsparagus-scope/src/data.rs
rename : third_party/rust/jsparagus-emitter/src/frame_slot.rs => third_party/rust/jsparagus-scope/src/frame_slot.rs
extra : moz-landing-system : lando
2020-04-07 13:43:45 +00:00
Makoto Kato
adc03fb040 Bug 1618759 - Part 6. Don't open on-screen keyboard when inputmode is none. r=masayuki
`inputmode=none` means that OSK is closed.

`SetInputContext` doesn't call `DismissOnScreenKeyboard` directly since
`DismissOnScreenKeyboard` has no hack of Firefox VR.

Depends on D68316

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:29:28 +00:00
Makoto Kato
697c8ef8d4 Bug 1618759 - Part 5. Lazy check whether OSK is closed. r=masayuki
As long as I test on my environment, bug 1226148 isn't fixed. Since native
message queue has high priority, Gecko may check whether focus is changed
before changing focus to another.

So we shouldn't use native message queue for this. It is better to use idle
queue instead.

Depends on D68315

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:28:11 +00:00
Makoto Kato
1b72c87658 Bug 1618759 - Part 4. Use InputPane to open on-screen keyboard for Windows 10 RS1+. r=masayuki
Unfortunately, current on-screen keyboard (OSK) code in Gecko doesn't work on
current Windows 10. Actually, Windows automatically control OSK when getting
focus. But this isn't good for web browser since `inputmode` spec can close
OSK by `none` value.

Windows 10 RS1 has new API (IInputPane [*1]) to control software keyboard. So
we have to use it if OS is RS1 or later.

TSF has new flag as `TS_SD_INPUTPANEMANUALDISPLAYENABLE` not to control OSK by
TSF. We should use it.

IMM doesn't have this feature to manage OSK. This will become a limitation for
`inputmode` implementation.

[*1] https://docs.microsoft.com/en-us/uwp/api/windows.ui.viewmanagement.inputpane

Depends on D68314

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:27:33 +00:00
Makoto Kato
9621dd2ac9 Bug 1618759 - Part 3. Allow inputmode for non-input element. r=masayuki
Current WHATWG spec is that `inputmode` attribute supports non-input element.
I would like to remove input element check for bug 142484 that is
contenteditable support.

Microsoft IME, Google IME and etc refer 1st input scope that they support, so
we will add both input scopes from `type` and `inputmode`.

Depends on D68313

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:25:02 +00:00
Makoto Kato
ea43168d9c Bug 1618759 - Part 2. Support decimal and search value for inputmode. r=masayuki
Current WHATWG spec means that `numeric` is `IS_DIGITS` and `decimal` is
`IS_NUMBER`.

Depends on D68312

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:23:25 +00:00
Makoto Kato
f71b23fdfc Bug 1618759 - Part 1. Use common method to set input scope. r=masayuki
Gecko has duplicated code for input scope support, so I would like to clean up
this.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:23:12 +00:00
Gregory Mierzwinski
f21a2b4779 Bug 1627279 - Use speedometer rather than raptor-speedometer-APP in browsertime tests. r=perftest-reviewers,alexandru.irimovici
This patch changes the test that browsertime runs for speedometer from `raptor-speedometer-APP` to `speedometer` and changes some other small issues like the missing app name in the `extraOptions` field in the perfherder data.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:27:30 +00:00
Julian Descottes
c936069c09 Bug 1627933 - Fix preference name to disable new perf panel for the Browser Toolbox r=julienw
This line was introduced in https://bugzilla.mozilla.org/show_bug.cgi?id=1408124

However the preference is incorrectly named. It should be devtools.performance.new-panel-enabled instead of devtools.preference.new-panel-enabled (which doesn't exist)

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

--HG--
extra : moz-landing-system : lando
2020-04-07 13:18:55 +00:00
Jon Coppeard
fed7ef7722 Bug 1622757 - Start fewer parallel tasks if not enough work to satisfy maximum number of threads r=sfink
Previously we could start more parallel tasks than there were work items.  This changes things around so we take a work item when we create a ParallelWorker, so that we can stop creating them if we run of of work.

I change the foreground cell update code to not use ParallelWorker at all for work that happens entirely on the main thread and doesn't need synchronisation.

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

--HG--
extra : moz-landing-system : lando
2020-03-23 10:50:35 +00:00
jayati
1dda3e000b Bug 1594230 - Use actorCreated callback to listen to 'pageshow' event. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D69710

--HG--
extra : moz-landing-system : lando
2020-04-07 13:10:53 +00:00
Mihai Alexandru Michis
5c60242230 Backed out 6 changesets (bug 1350875) for causing failures in test.util.UiThreadUtils$TimeoutException
CLOSED TREE

Backed out changeset c65f2c0b6332 (bug 1350875)
Backed out changeset 5084623c0f83 (bug 1350875)
Backed out changeset 4eda0d89d8a2 (bug 1350875)
Backed out changeset 149058087816 (bug 1350875)
Backed out changeset 71ba43d7b2df (bug 1350875)
Backed out changeset e65ead196f4b (bug 1350875)
2020-04-07 16:13:53 +03:00
David Major
abffbe294c Bug 1326486 - build-clang: Convert 3-stage builds to 4-stage PGO builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D69084

--HG--
extra : moz-landing-system : lando
2020-04-07 08:32:59 +00:00
David Major
26ce55ba6d Bug 1326486 - build-clang: Add support for PGO builds. r=glandium
This adds the ability to do four-stage PGO builds. This was surprisingly straightforward thanks to PGO being a well-supported scenario in LLVM's cmake.

For reference, the stages are:
stage1: Initial build with gcc
stage2: Instrumented build using stage1
stage3: Train by using the instrumented stage2 to build the clang tree
stage4: Optimize using the stage3 compiler and the profdata created with it

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:32:32 +00:00
David Major
b893b82141 Bug 1326486 - build-clang: Add support for 4-stage builds r=glandium
Separating out the mechanical/"boring" changes to make the next patch more clear. This patch adds the ability to build a fourth stage that for now doesn't do anything special.

I changed to using >= to make it more obvious that e.g. "here is what's going to happen for stage 2" -- the off-by-one was too hard on my brain.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:29:02 +00:00
David Major
fc99fcb538 Bug 1326486 - build-clang: Merge LLVM a84b200e604 to fix Windows PGO. r=glandium
a84b200e60

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:27:54 +00:00
David Major
5f9aa001c2 Bug 1326486 - build-clang: Install imports and asan symbols only in the final stage r=glandium
Otherwise, PGO builds would fail to find asan at stage2 because the instrumented build uses `LLVM_BUILD_RUNTIME=No`.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:27:36 +00:00
David Major
ec2075139f Bug 1326486 - build-clang: avoid building unnecessary things in intermediate stages. r=glandium
This will partially atone for making builds longer with PGO.

Depends on D69618

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

--HG--
extra : moz-landing-system : lando
2020-04-07 08:27:26 +00:00
David Major
4eea888422 Bug 1326486 - build-clang: pass is_final_stage even for stage1. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D69618

--HG--
extra : moz-landing-system : lando
2020-04-07 08:25:29 +00:00
Tom Schuster
35f8a227ce Bug 1626143 - Don't propagate SharedWorker errors to the owner window. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D69241

--HG--
extra : moz-landing-system : lando
2020-04-07 12:42:38 +00:00
Itiel
2d811ba28c Bug 1627903 - Fix the context selector's dropdown button location for RTL r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D69971

--HG--
extra : moz-landing-system : lando
2020-04-07 12:32:49 +00:00
Jonathan Kew
9e55a4c27a Bug 1550037 - patch 3 - Remove mAddr from the ShmBlock struct, as mShmem->memory() is now a trivial inline accessor. r=jwatt
In mozilla::ipc::SharedMemory, the memory() method was virtual, so we cached the address here
(although the compiler would likely have inlined the accessor as the `final` concrete subclass
was known). Anyhow, in base::SharedMemory it's a trivial (non-virtual) accessor, so there's
no sense in shadowing it here.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:30:42 +00:00
Jonathan Kew
c43ebd1186 Bug 1550037 - patch 2 - Ensure the font-list memory blocks passed to content processes are shared as readonly copies. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D68779

--HG--
extra : moz-landing-system : lando
2020-04-07 12:30:30 +00:00
Jonathan Kew
715e096b9a Bug 1550037 - patch 1 - Migrate shared font-list code from mozilla::ipc::SharedMemoryBasic to base::SharedMemory APIs. r=jwatt
The base::SharedMemory class provides APIs to create a "read-only" copy of a shared memory block,
which means it can be shared to a child process without the risk that the child might map it as
writable and corrupt the contents. We want to use this facility for the font list, hence switching
the shared-memory APIs used.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 12:30:17 +00:00
Mirko Brodesser
e75895084e Bug 1626665: part 6) Move documentation of nsIFrame::PeekOffsetWord and remove outdated part of it. r=hsivonen
Otherwise it's easy to overlook.

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

--HG--
extra : moz-landing-system : lando
2020-04-07 09:15:09 +00:00
Itiel
145ee621fb Bug 1627477 - Convert all relevant uses of left/right to logical properties in the remaining files in browser/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69728

--HG--
extra : moz-landing-system : lando
2020-04-06 22:22:53 +00:00
Itiel
8cdf09be7a Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/base r=dao
Differential Revision: https://phabricator.services.mozilla.com/D69727

--HG--
extra : moz-landing-system : lando
2020-04-06 17:07:16 +00:00
Itiel
6515f02514 Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/components r=Gijs,dao
Differential Revision: https://phabricator.services.mozilla.com/D69726

--HG--
extra : moz-landing-system : lando
2020-04-07 11:01:14 +00:00
Itiel
afb2f50f03 Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/extensions r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D69725

--HG--
extra : moz-landing-system : lando
2020-04-06 17:18:52 +00:00
Itiel
58dfeb4020 Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/themes/osx and linux r=dao
Differential Revision: https://phabricator.services.mozilla.com/D69724

--HG--
extra : moz-landing-system : lando
2020-04-06 17:04:50 +00:00
Itiel
96145ab2fe Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/themes/shared r=dao
Differential Revision: https://phabricator.services.mozilla.com/D69723

--HG--
extra : moz-landing-system : lando
2020-04-06 17:35:31 +00:00
Itiel
23508bb09f Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/themes/windows r=dao
Differential Revision: https://phabricator.services.mozilla.com/D69722

--HG--
extra : moz-landing-system : lando
2020-04-06 17:03:00 +00:00