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

687341 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew 13eb9e858a Bug 1608124 - Skip hidden macOS font families in FontList::FindFamily, except when resolving system fonts. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D59358

--HG--
extra : moz-landing-system : lando
2020-01-10 08:58:47 +00:00
Lars T Hansen 94adc2501a Bug 1607440 - Simplify text->binary conversion with Opcode. r=bbouvier
Switch from `Op`/`MiscOp`/`ThreadOp` to just `Opcode` everywhere, and
get rid of methods that are no longer needed.

Remove the now-unnecessary ExtraConversionOperator node.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 17:51:24 +00:00
Lars T Hansen 6fa8ac7e16 Bug 1607440 - Introduce the Opcode abstraction. r=bbouvier
The `Opcode` wraps an `Op`, and if the `Op` is a prefix it also
carries the secondary opcode bits.  Implicit constructors from `Op`,
`MiscOp`, etc to `Opcode`, ensures that this will be pretty painless
to use.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 17:54:16 +00:00
Tarek Ziadé 15cf5c2afd Bug 1607722 - Permanent speedometer KeyError: 'measure' r=sparky
If we don't have any provided 'measure' value, defaults to all.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 19:23:40 +00:00
Brindusan Cristian d4d6f81e0a Backed out changeset 63a67b948290 (bug 1597480) for mochitest failures at test_relative_update.html. CLOSED TREE 2020-01-10 07:11:58 +02:00
Logan Smyth 27b20746e4 Bug 1604526 - Ensure that we don't bail out of microtask checkpoints in debugger hooks. r=bhackett
We are getting this exception because we return false here and do not perform
the microtask checkpoint when CycleCollectedJSContext::runJobs executes, but
the contract of runJobs() _requires_ that the microtask queue be empty after
is has completed execution.

CycleCollectedJSContext::RecursionDepth() returns the depth taking the debugger
recursion depth and the thread recursion depth into account, however when
used here, mTargetedMicroTaskRecursionDepth is expects to only be compared
against the thread recursion depth

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

--HG--
extra : moz-landing-system : lando
2020-01-10 03:09:19 +00:00
Tetsuharu OHZEKI e95c8dfcf9 Bug 1597480 - Fix uses of nsIDocShellTreeItem in nsPresContext::Init. r=emilio,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59285

--HG--
extra : moz-landing-system : lando
2020-01-10 01:41:27 +00:00
alwu c2d2ecbd96 Bug 1595603 - part2 : delay seeking task when media is inactive r=bryce
When media element is inactive, asking MDSM to seek is actually useless, because all the data we decode won't be showed to user. In addition, we have to store extra pending events for `seeking` and `seeked`, which might result in memory overflow if the inactive page is calling `seek()` all the time.

Therfore, we should delay all seeking tasks while media is inactive, and perform the latest seeking task when media becomes active.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 17:10:08 +00:00
alwu 25786bc918 Bug 1595603 - part1 : remove duplicate parameter and rename variable r=bryce
Two parameters in `SuspendOrResumeElement()` are acutally the same, they are both related with `IsActive()`, so using one parameter is enough.
In addition, we only suspend or resume element by checking element's active state, so rename `mPausedForInactiveDocumentOrChannel` to `mSuspendedForInactiveDocument` which fits the actual situation more.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 06:10:02 +00:00
Nathan Froyd 92e5beb60a Bug 1569370 - add mozconfig fragments for declaring wasm sandboxing bits; r=firefox-build-system-reviewers,rstewart
This patch is not ideal: if would be better to do the defaulting in
`toolkit/moz.configure`, but doing it there runs into problems with base
toolchain configurations, as the clang there is not new enough.  So we
have this, doing everything with environment variables, which is easily
turned on or off, depending on the needs of the specific configuration.

The `mozconfig.no-compile` change is not really needed, as the wasm
sandboxing detection bits are not conditional on
`--enable-compile-environment`.  Those bits should be, and I will tackle
doing that after the holidays.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 10:28:47 +00:00
Karl Tomlinson e026e88f35 Bug 1558526 remove check for callable process() in registerProcessor() r=bzbarsky
Since https://github.com/WebAudio/web-audio-api/pull/2104

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

--HG--
extra : moz-landing-system : lando
2020-01-10 02:31:13 +00:00
Zibi Braniecki 1f2ca5b410 Bug 1605217 - Migrate Identity Panel to Fluent. r=fluent-reviewers,nhnt11,flod
Differential Revision: https://phabricator.services.mozilla.com/D57878

--HG--
extra : moz-landing-system : lando
2020-01-10 02:16:09 +00:00
Narcis Beleuzu 1e5d31d0d9 Backed out changeset aea131093cd1 (bug 1608124) for assertion failures on StaticPrefList_gfx.h. CLOSED TREE 2020-01-10 03:19:43 +02:00
Narcis Beleuzu b5b7a719b8 Backed out 4 changesets (bug 1594820) for geckoview failures. CLOSED TREE
Backed out changeset 5bf29e6ca1e8 (bug 1594820)
Backed out changeset a6554cbe8a2f (bug 1594820)
Backed out changeset 9cc8d70c23bb (bug 1594820)
Backed out changeset b7ff66be3a86 (bug 1594820)
2020-01-10 03:16:20 +02:00
Emilio Cobos Álvarez 9475a4f44c Bug 1605724 - Ensure loading the dialog icons doesn't change over-all layout. r=dao
https://hg.mozilla.org/mozilla-central/rev/234701139a2a61d1262e609c9d8ac42384ecafda

Removed the following CSS rule:

  #iconContainer {
    -moz-box-pack: center;
    min-height: 55px; /* maximum icon height + icon margin */
    min-width: 58px; /* maximum icon width + icon margin */
  }

Which enforced the size of the icon row.

The icon loads asynchronously, so by the first time we fire DOMContentLoaded it
may not have loaded yet. This means that sizeToContent() will size the window to
an smaller size and stuff will wrap around when it loads.

<image> doesn't block onload so even delaying this wouldn't work.

Restore the wrapper to ensure loading the icon or not doesn't affect layout of
the dialog.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 00:15:23 +00:00
Emilio Cobos Álvarez 0c14de3273 Bug 1608063 - Remove all usages of TypeTraits in layout. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D59307

--HG--
extra : moz-landing-system : lando
2020-01-10 00:01:40 +00:00
Emilio Cobos Álvarez d6d99aaf8a Bug 1607408 - Remove InspectorUtils.getBindingURLs. r=jwatt
Does nothing, and it's unused.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 19:08:30 +00:00
Brian Hackett dbe20e6bb4 Bug 1607279 - Eagerly evaluate the highlighted autocomplete result, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D59063

--HG--
extra : moz-landing-system : lando
2020-01-08 07:25:49 +00:00
Brian Hackett 24d0620f93 Bug 1608213 - Add redirection for GetThemeMetric, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D59390

--HG--
extra : moz-landing-system : lando
2020-01-09 19:12:24 +00:00
Ryan VanderMeulen de90ee3e51 Bug 1588233 - Follow-up: Update moz.yaml for the 2.1.2 update. r=chunmin
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2020-01-09 23:19:35 +00:00
Brindusan Cristian cd0639ae45 Bug 1608011 - Fix ESlint. r=lint-fix CLOSED TREE 2020-01-10 01:19:20 +02:00
Matt Woodrow 95e5a521b3 Bug 1601779 - Try using response process selection more often for front-end loads. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D58890

--HG--
extra : moz-landing-system : lando
2020-01-09 02:40:36 +00:00
Matt Woodrow 282120e051 Bug 1601779 - Don't process switch when we actually abort a channel load. r=kmag
We currently do a process switch for a failed load so that we show an error page in the right process. This adds an exception for loads that we just explicitly cancelled, since it shouldn't be necessary, and so that tests that use BrowserUtils.waitForDocLoadAndStopIt don't get confused.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 02:40:03 +00:00
Matt Woodrow 4fc5462a1e Bug 1601779 - Change test expectations since onSecurityChange can come second now. r=dao
The extra onSecurityChange message comes from the process switch, and this patch queue changes the timing of when that happens (to be once we receive a response, not before the load starts).

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

--HG--
extra : moz-landing-system : lando
2020-01-09 02:39:36 +00:00
Matt Woodrow 4c52496f39 Bug 1603196 - Skip START_STOP notifications from old process being delivered to RemoteWebProgress when process switching during a load. r=kmag,nika
This doesn't block the STATE_START notification from the new process, as we currently have a second start notification (when DocumentChannel redirects to the real channel), so this is unchanged.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 22:31:40 +00:00
Brindusan Cristian ec66c3e408 Backed out changeset 80f5c59d5df4 (bug 1602657) as requested by sdonner on slack. CLOSED TREE 2020-01-10 01:01:15 +02:00
Mark Hammond dad771fce0 Bug 1608011 - ensure sync telemetry reports the storage node type. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D59273

--HG--
extra : moz-landing-system : lando
2020-01-09 22:54:39 +00:00
Brindusan Cristian 1f941a27c0 Backed out changeset fe11ab9196ba (bug 1608011) for xpcshell failures at test_tokenserverclient.js. CLOSED TREE 2020-01-10 00:21:00 +02:00
Jonathan Kew 976c9365de Bug 1608124 - Skip hidden macOS font families in FontList::FindFamily, except when resolving system fonts. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D59358

--HG--
extra : moz-landing-system : lando
2020-01-09 19:11:10 +00:00
Chris Manchester 2f9f317ece Bug 1605213 - Add compiler wrapper to the wasm compiler. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D59239

--HG--
extra : moz-landing-system : lando
2020-01-09 16:13:12 +00:00
Sylvestre Ledru c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Aaron Klotz 4a2545c164 Bug 1594820: Part 4 - Modify GeckoThread.preload to directly call into the process manager; r=geckoview-reviewers,snorp
Now that everything in `GeckoProcessManager` runs on the XPCOM launcher thread,
`GeckoThread` should just call `GeckoProcessManager.preload()` directly.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:41:02 +00:00
Aaron Klotz 5350ee469a Bug 1594820: Part 3 - Modify GeckoProcessManager to bind and start child processes asynchronously on the XPCOM launcher thread; r=geckoview-reviewers,agi
The primary purpose of this patch is to convert the internal sequence of
service binding and invoking of `start` to asynchronously run on the XPCOM
launcher thread via `GeckoResult`. Because more of the code now runs on the same
thread, many of these methods no longer need to be `synchronized`.

Disconnecting via `unbind` is also modified to use the launcher thread and
`GeckoResult`.

Note that no changes have been made yet to enable multiple processes of the
same type; those changes will be made in bug 1595834.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:40:34 +00:00
Aaron Klotz 1a1ed57324 Bug 1594820: Part 2 - Make GeckoResult compatible with XPCOMEventTarget; r=snorp
This patch adds a `Dispatcher` implementation that allows us to create
`GeckoResult`s that will dispatch to the XPCOM launcher thread.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:40:06 +00:00
Aaron Klotz cec0194852 Bug 1594820: Part 1 - Modify XPCOMEventTarget to accept method calls before JNI is ready; r=snorp
Since `XPCOMEventTarget` uses JNI, this patch makes it possible for consumers to
retrieve and invoke methods on one without needing to worry about whether JNI
is actually up yet.

To achieve this, we create the `IXPCOMEventTarget` interface, and observe that
both of its methods can be handled by a proxy if JNI is not ready:

* Calls to `dispatch` may be enqueued until JNI is up;
* Observe that, when JNI is not up yet, the result of `isOnCurrentThread`
  can never be `true`.

Once JNI is up and the event targets have been resolved, the proxies are
replaced with the real, concrete `XPCOMEventTarget`s and are no longer used for
the remainder of the Gecko instance's lifetime.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:39:31 +00:00
Edwin Takahashi d447a96547 Bug 1602863 - run web-platform-test-reftests and web-platform-test-crashtests with ubuntu1804 docker image except ccov r=jmaher
Changes:

Run `web-platform-tests-crashtests`, `web-platform-tests-reftests` with ubuntu1804 docker image.

This is a piecemeal migration, since the main `web-platform-tests` is not ready for ubuntu1804 yet due to several issues.

Depends on D59386.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:30:53 +00:00
Dana Keeler 2949126c39 bug 1607845 - regenerate all test certificates before they expire r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D59380

--HG--
extra : moz-landing-system : lando
2020-01-09 21:28:07 +00:00
Kris Maglione a737bd2c6a Bug 1604889: Don't rethrow receiveMessage exceptions as NS_ERROR_UNEXPECTED. r=mccr8
When we let the WebIDL callback wrapper report exceptions, it returns an error
result of NS_ERROR_UNEXPECTED, which winds up getting set as a promise
rejection reason or re-reported to the console. This just causes unnecessary
confusion for callers, especially since the error has no location information.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:27:25 +00:00
Matt Woodrow 17ad11c1e1 Bug 1607749 - Supporting querying an nsIAuthPrompt from ParentChannelListener. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59266

--HG--
extra : moz-landing-system : lando
2020-01-09 21:05:42 +00:00
Gavin Lazar Suntop c8a69ca1c5 Bug 1605383 - using minheights on searchbox to allow longer translations r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D59389

--HG--
extra : moz-landing-system : lando
2020-01-09 20:39:24 +00:00
Markus Stange 343ba5dc0d Bug 1592016 - Enable gfx.webrender.compositor by default on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D57071

--HG--
extra : moz-landing-system : lando
2019-12-18 20:38:21 +00:00
Itiel 79cd082a2d Bug 1608192 - Place the protections popup message image on the left side of the popup for RTL r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D59383

--HG--
extra : moz-landing-system : lando
2020-01-09 20:51:11 +00:00
Mark Hammond 4837ca0587 Bug 1604699 - avoid refreshing the FxA device list every sync. r=eoger,lina
Differential Revision: https://phabricator.services.mozilla.com/D59075

--HG--
extra : moz-landing-system : lando
2020-01-09 21:01:29 +00:00
Brian Hackett ff9e96ca45 Bug 1607608 - Support calling builtin natives when doing eager evaluations, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D59026

--HG--
extra : moz-landing-system : lando
2020-01-09 20:58:45 +00:00
Mark Hammond 22bcd88049 Bug 1608011 - ensure sync telemetry reports the storage node type. r=tcsc
Differential Revision: https://phabricator.services.mozilla.com/D59273

--HG--
extra : moz-landing-system : lando
2020-01-09 20:13:12 +00:00
Edwin Takahashi 2b5519636e Bug 1602863 - run mochitest-webgl suites on ubuntu1804 docker image r=jmaher
Changes:

Run mochitest-webgl suites on ubuntu1804.

Update the expectation of a test to remove the `headless` specification.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 20:49:35 +00:00
Edwin Takahashi cac140ed88 Bug 1602863 - run telemetry and test-verify with ubuntu1804 docker image r=jmaher
Changes:

Run telemetry and test-verify on ubuntu1804.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 20:48:49 +00:00
Edwin Takahashi 63d2768c7f Bug 1602863 - run mochitest-a11y with ubuntu1804 docker image r=jmaher
Changes:

Run `mochitest-a11y` on ubuntu1804 image.

On the `ubuntu1804` image, bug 1429575 is a relatively frequent occurrence.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 19:08:57 +00:00
Michael Cooper 8b75661f23 Bug 1472781 - Make in-progress telemetry available to filter expressions as environment.liveTelemetry r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D57675

--HG--
extra : moz-landing-system : lando
2020-01-09 20:47:18 +00:00
Harry Twyford 30f020b398 Bug 1581555 - Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58463

--HG--
extra : moz-landing-system : lando
2020-01-06 18:03:21 +00:00