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

730712 Коммитов

Автор SHA1 Сообщение Дата
Morgan Reschenberg c5ff480218 Bug 1668101: Support same/different type naviagation with VO r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D91833
2020-10-15 16:42:14 +00:00
Dão Gottwald b094c1a9c6 Bug 1671364 - Set "Sponsored" label for sponsored top sites in the address bar. r=mikedeboer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D93637
2020-10-15 16:13:04 +00:00
Emilio Cobos Álvarez 329c0e92d6 Bug 1669742 - Always serialize ratio with both components. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D93639
2020-10-15 16:12:16 +00:00
Mihai Alexandru Michis 43951837ff Backed out changeset 6e63ffafb422 (bug 1279647) for causing multiple failures.
CLOSED TREE
2020-10-15 20:09:26 +03:00
Csoregi Natalia 610ae66149 Backed out changeset 44fea8486cb1 (bug 1670643) for printing failures. CLOSED TREE 2020-10-15 19:22:04 +03:00
Csoregi Natalia 6069ec14db Backed out 9 changesets (bug 1412202) for bustage on NativeObject-inl.h. CLOSED TREE
Backed out changeset 8127ab469fc8 (bug 1412202)
Backed out changeset 6459dd328f07 (bug 1412202)
Backed out changeset 50ff9b1a922a (bug 1412202)
Backed out changeset 3b4683d1d783 (bug 1412202)
Backed out changeset 71f894279ce5 (bug 1412202)
Backed out changeset 62490c81ec8c (bug 1412202)
Backed out changeset c1f5bdf4ca3c (bug 1412202)
Backed out changeset 3909f706c022 (bug 1412202)
Backed out changeset 4ff48b83bad6 (bug 1412202)
2020-10-15 19:19:58 +03:00
alwu 58719da6a9 Bug 1668139 - part2 : add a telemetry probe to know how many actions are handled by default handler or media session handler. r=chunmin
It would be good for us to know how many websites actually use MediaSession API to control (play/pause/stop) their media playback, an how many websites use our default handler.

Differential Revision: https://phabricator.services.mozilla.com/D93283
2020-10-14 20:04:31 +00:00
alwu 96dfcf1376 Bug 1668139 - part1 : add a telemetry probe to record the usage on each different platform. r=chunmin
Each platform has different ways to allow users to use media control, adding a telemetry probe to detect that would be good for us to know the usage among different platforms.

Differential Revision: https://phabricator.services.mozilla.com/D93282
2020-10-14 20:04:34 +00:00
Henrik Skupin 40f4853ce1 Bug 1669698 - [marionette] Use dedicated "marionette-listening" notification to inform the browser when marionette is active. r=marionette-reviewers,jdescottes,Gijs
By not re-using the "remote-listening" observer topic in Marionette
allows us to send different data through the observer notification.

This also prevents a crash in the Remote Agent component, which
expects a string, and not a boolean value to receive in data.

Differential Revision: https://phabricator.services.mozilla.com/D93513
2020-10-15 16:04:44 +00:00
Jason Orendorff 464e9236e4 Bug 1412202 - Part 9: Blank out slots when leaving a lexical scope (in generators only). r=jandem
This fixes bug 1542660 for the usual case (no direct eval, less than
ParseContext::GeneratorFixedSlotLimit locals), so this adds a unit test
contributed by Mathieu Hofman in that bug.

Differential Revision: https://phabricator.services.mozilla.com/D93386
2020-10-15 14:01:24 +00:00
Jason Orendorff af6ed0b04b Bug 1412202 - Part 8: Inhibit the optimization when it would result in too many fixed slots. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D93385
2020-10-15 14:01:48 +00:00
Jason Orendorff af997d1aa6 Bug 1412202 - Part 7: Optimize unaliased generator locals into stack slots. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D93382
2020-10-15 14:02:02 +00:00
Jason Orendorff 2f1fc09ee3 Bug 1412202 - Part 6: Disable remaining debugger tests that examine generator/async scopes in ways that observe the optimization. r=jandem
Without these changes, the tests fail because the engine returns
`{optimizedOut: true}` for some uses of `frame.environment.getVariable` and
`frame.this`. The right solution involves teaching
`DebugEnvironmentProxyHandler::handleUnaliasedAccess` how to access suspended
`GeneratorObject` state.

Differential Revision: https://phabricator.services.mozilla.com/D93388
2020-10-15 14:02:02 +00:00
Jason Orendorff ecd6a30ad4 Bug 1412202 - Part 5: Update DebugEnvironments for generator frames. r=jandem
No effect yet, since there are no stack locals to copy. Without this change,
storing generator locals in the stack would cause several debugger tests to
fail.

Differential Revision: https://phabricator.services.mozilla.com/D93387
2020-10-15 14:05:08 +00:00
Jason Orendorff 250ff7fccb Bug 1412202 - Part 4: Copy any unaliased locals between stack and GeneratorObject on suspend/resume. r=jandem
No effect yet, as there are no unaliased locals to copy.

Differential Revision: https://phabricator.services.mozilla.com/D93384
2020-10-15 14:05:31 +00:00
Jason Orendorff 61a1c23f13 Bug 1412202 - Part 3: Rename from ExpressionStack to StackStorage in anticipation of including optimized local variables in this array. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D93383
2020-10-15 14:00:54 +00:00
Jason Orendorff 848b31e4ce Bug 1412202 - Part 2: Always consider `.generator` to be closed-over. .
No immediate effect, but when we start optimizing generator locals into stack
slots later in this stack, we do not want to optimize `.generator`, as e.g.
js::GetGeneratorObjectForFrame assumes it is stored in the CallObject.

Before this patch, there was no way in the frontend to force binding to be
closed-over.

Previously reviewed by jandem as part of D93381.

Depends on D93381

Differential Revision: https://phabricator.services.mozilla.com/D93647
2020-10-15 14:00:35 +00:00
Jason Orendorff e6aa7a674c Bug 1412202 - Part 1: Merge BaselineCodeGen::emit_InitialYield and emit_Yield. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D93381
2020-10-15 14:02:19 +00:00
Dão Gottwald 32622bc643 Bug 1671425 - Enable Pin menu item for sponsored top site tiles. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D93658
2020-10-15 15:52:33 +00:00
Anny Gakhokidze 1840c0b907 Bug 1671179 - Make test_bug132255.html xorigin compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D93605
2020-10-15 15:53:40 +00:00
Anny Gakhokidze 395d747ad6 Bug 1671179 - Make test_bug636336.html xorigin compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D93604
2020-10-15 15:52:41 +00:00
Michael Kaply ba224a5ebc Bug 1279647 - Switch titlebar and tooltip separators to emdash. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93620
2020-10-15 15:42:59 +00:00
Emilio Cobos Álvarez 321dd63471 Bug 1670643 - Ignore DOMWindowClose events fired at the preview browser. r=jfkthame
See the comment.

https://phabricator.services.mozilla.com/D90808 made it so that we
reused the print document (and thus <browser>) to do the actual print
job.

When a print job finishes, we call window.close(), which is used as a
signal to the front-end to clean up the <browser> element. Before that
patch we sent that signal to the browser created in printUtils.js, but
afterwards we send it to the preview window which causes this badness
when the event bubbles up.

Ignoring it effectively restores the previous behavior, so let's do it.

Differential Revision: https://phabricator.services.mozilla.com/D93499
2020-10-15 15:39:46 +00:00
Luca Greco cc0ab0389d Bug 1666980 - Renew WebExtensions telemetry histograms until Firefox 91. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D93593
2020-10-15 14:11:02 +00:00
Steve Fink 916e149756 Bug 1662254 - Move last remnant of scheduling logic to GetNextCCRunnerAction, rename the states r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90892
2020-10-15 15:03:44 +00:00
Mark Banner 38050cb59a Bug 1662556 - Extend test for search attributions for one-off buttons to search mode. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D93592
2020-10-15 15:03:38 +00:00
Steve Fink 589a3de7bc Bug 1662254 - Refactor out the ShouldTriggerCC test r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89990
2020-10-15 15:02:26 +00:00
Steve Fink 0eb5a80f8f Bug 1662254 - Move incremental CC slice logic to CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89989
2020-10-15 15:02:12 +00:00
Steve Fink 13a9ad9955 Bug 1662254 - Extract FireForgetSkippable from CycleCollectorStats and make CycleCollectorStats purely about gathering, recording, and reporting statistics r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89988
2020-10-15 15:03:28 +00:00
Steve Fink ead245f0f2 Bug 1662254 - Move some CC scheduling logic to CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89986
2020-10-15 15:01:48 +00:00
Steve Fink 17a7d39e09 Bug 1662254 - Move ForgetSkippable budgeting into CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D89977
2020-10-15 15:01:35 +00:00
Steve Fink 88c8bfc8b7 Bug 1662254 - Move CC slice budgeting into CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D88907
2020-10-15 15:01:24 +00:00
Steve Fink 3907d56441 Bug 1662254 - Move CC lockout logic into CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D88906
2020-10-15 15:01:11 +00:00
Steve Fink 7b39df3b0c Bug 1662254 - Move CC/GC scheduling to separate header r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D88905
2020-10-15 15:00:53 +00:00
Steven MacLeod 1d1872205f Bug 1568382 - wait for PiP window focus before resolving triggerPictureInPicture. r=mconley
`toolkit/components/pictureinpicture/tests/browser_fullscreen.js` is
no longer intermittently failing to `requestFullscreen()` after this
change. The test was creating the PiP window with
`triggerPictureInPicture` and then immediately moving focus to the
original window where fullscreen is requested. It's possible that
the browser had not given focus to the PiP window yet and would do
so after the test had changed the focus. This would cause
`requestFullscreen()` to be called without focus on the proper
window.

We now wait for the PiP window to recieve focus before resolving
the promise returned by `triggerPictureInPicture`. This might
fix other intermittent tests if they rely on specific focus and
make use of this function.

Differential Revision: https://phabricator.services.mozilla.com/D93595
2020-10-14 21:03:58 +00:00
Chris H-C f90ad9dcf0 Bug 1671155 - Document how to add metric types with dispatcher and ipc support r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D93511
2020-10-15 14:53:17 +00:00
Simon Giesecke 2042d96195 Bug 1663924 - Use IDB_TRY in QuotaClient::GetUsageForOriginInternal and remove REPORT_TELEMETRY_INIT_ERR. r=dom-workers-and-storage-reviewers,ttung
Also add a new CollectEachInRange function template in QuotaCommon.h, along
with tests.

Differential Revision: https://phabricator.services.mozilla.com/D92278
2020-10-15 14:33:36 +00:00
Simon Giesecke 548a8f8502 Bug 1663924 - Use IDB_TRY when calling QuotaClient::GetUsageForOriginInternal. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D92277
2020-10-15 11:14:56 +00:00
Simon Giesecke ef4ef34aae Bug 1663924 - Use IDB_TRY in FileManager::SyncDeleteFile. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D92276
2020-10-15 11:14:47 +00:00
Simon Giesecke 121fb04625 Bug 1663924 - Use IDB_TRY in OpenDatabaseOp::LoadDatabaseInformation. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D92275
2020-10-15 13:19:30 +00:00
Csoregi Natalia bae8e05348 Bug 1671196 - Fixing newtab failure. r=fix 2020-10-15 17:26:10 +03:00
Julian Descottes 2bf491018d Bug 1667341 - [devtools] Return a descriptor from createTargetForTab r=ochameau
Depends on D91563

Differential Revision: https://phabricator.services.mozilla.com/D91613
2020-10-15 13:34:03 +00:00
Julian Descottes 5304f9f48e Bug 1667341 - [devtools] Move isDevToolsExtensionContext from the target to the descriptor r=ochameau,rpl
Differential Revision: https://phabricator.services.mozilla.com/D91563
2020-10-15 13:12:38 +00:00
Andrei Oprea bc59ffe323 Bug 1671149 - Group field missing for Messaging System reach ping r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D93489
2020-10-14 14:02:25 +00:00
Jeff Muizelaar cc1de268e5 Bug 1671311 - qcms: Make a couple of functions safe. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D93625
2020-10-15 13:02:01 +00:00
Dão Gottwald a9a7030edd Bug 1671196 - Implement default top site experiment filters. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D93515
2020-10-15 13:32:14 +00:00
Jan-Erik Rediger 0c7989277c Bug 1671180 - Remove non-commutative Timespan commands from FOG IPC. r=chutten
This reverts commit 064de0eee2e7e4f14f9eefe896038322780a5712.

Differential Revision: https://phabricator.services.mozilla.com/D93644
2020-10-15 13:21:44 +00:00
Dan Minor a67119a8ad Bug 1669573 - Replace kDateFormatYearMonth/kDateFormatYearMonthLong with FormatDateTime; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D93013
2020-10-15 12:19:42 +00:00
Dan Minor cc0579260c Bug 1669573 - Add DataTimeFormat::FormatDateTime; r=zbraniecki
This adds a FormatDateTime method that takes a skeleton as an argument and
returns the localized date and time according to the skeleton. In the future,
we'll add an overload that allows taking an DateTimeOptions property bag, but
for now, this will provide enough functionality to allow us to remove the
kDateFormatYearMonth and kDateFormatYearMonthLong selectors as well as the code
for handling skeletons from FormatPRExplodedTime.

Differential Revision: https://phabricator.services.mozilla.com/D93012
2020-10-15 12:21:52 +00:00
Dan Minor c7c8e3f274 Bug 1669573 - Rename kTimeFormatSeconds and kTimeFormatNoSeconds; r=zbraniecki
This renames kTimeFormatSeconds to kTimeFormatLong and kTimeFormatNoSeconds to
kTimeFormatShort. This is consistent with the naming used for date format
selectors.

Differential Revision: https://phabricator.services.mozilla.com/D93011
2020-10-15 12:20:15 +00:00