Commit Graph

803126 Commits

Author SHA1 Message Date
Nicolas Chevobbe
27454e1bd3 Bug 1776853 - [devtools] Set Browser Console window title according to its current mode. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D152728
2022-08-01 09:33:18 +00:00
Nicolas Chevobbe
9324c7cc9a Bug 1776853 - [devtools] Show ChromeDebugToolbar in Browser Console. r=ochameau.
We need to load the toolbox.ftl bundle and wrap the WebConsole App in a LocalizationProvider
when we're in the Browser Console.

Differential Revision: https://phabricator.services.mozilla.com/D150576
2022-08-01 09:33:18 +00:00
Nicolas Chevobbe
6f8744625b Bug 1776853 - [devtools] Add BrowserToolbox-specific toolbar. r=ochameau,jdescottes,fluent-reviewers,flod.
This adds an additional toolbar in the Browser Toolbox which will contain specific
tools and options.
At the moment we only display a couple input button to be able to switch from
Parent process only to multiprocess mode.
We remove the similar UI in the iframe picker and adapt the existing test.

A trait is added to not show the toolbar when debugging server where we wouldn't
get the `isSwitchingMode` property in `onTargetDestroyed`, as this can cause
misbehavior in various tool when switching between different modes.

Differential Revision: https://phabricator.services.mozilla.com/D150575
2022-08-01 09:33:17 +00:00
Jon Coppeard
6708a04f45 Bug 1780547 - Reduce the length of time the gecko profiler is suppressed for while collecting the nursery r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D153222
2022-08-01 08:58:34 +00:00
Bogdan Szekely
f9a469e37c Backed out 5 changesets (bug 1777253, bug 1776853) for causing devtools failures on browser_console_modes.js CLOSED TREE
Backed out changeset dbd68a657d6f (bug 1777253)
Backed out changeset f401150fb142 (bug 1776853)
Backed out changeset 209aade12fc6 (bug 1776853)
Backed out changeset dc24308ff8ef (bug 1776853)
Backed out changeset ea98ed858bae (bug 1776853)
2022-08-01 10:43:40 +03:00
Julian Descottes
1bfa64ee56 Bug 1775149 - [devtools] Fix intermittent failure for browser_toolbox_options_frames_button.js r=nchevobbe
Fixes the failure locally, rendering the iframe button might not be synchronous with updating the pref

Differential Revision: https://phabricator.services.mozilla.com/D153323
2022-08-01 07:14:26 +00:00
Nicolas Chevobbe
68cffb97a0 Bug 1777253 - [devtools] Remove content messages from console when switching to parent process only mode. r=jdescottes.
We remove all messages from target destroy with `isModeSwitching`, as well as
prune unhandled resources in the WebconsoleWrapper queues.
Finally, we also cleanup the resource command pendingEvents so we don't receive
resources after the target was destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D152031
2022-08-01 06:55:56 +00:00
Nicolas Chevobbe
ae822aadc6 Bug 1776853 - [devtools] Don't restore target configuration when it is destroyed because of switching mode. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D152887
2022-08-01 06:55:55 +00:00
Nicolas Chevobbe
8a932c2af2 Bug 1776853 - [devtools] Set Browser Console window title according to its current mode. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D152728
2022-08-01 06:55:55 +00:00
Nicolas Chevobbe
c13021361c Bug 1776853 - [devtools] Show ChromeDebugToolbar in Browser Console. r=ochameau.
We need to load the toolbox.ftl bundle and wrap the WebConsole App in a LocalizationProvider
when we're in the Browser Console.

Differential Revision: https://phabricator.services.mozilla.com/D150576
2022-08-01 06:55:55 +00:00
Nicolas Chevobbe
9d9761ff10 Bug 1776853 - [devtools] Add BrowserToolbox-specific toolbar. r=ochameau,jdescottes,fluent-reviewers,flod.
This adds an additional toolbar in the Browser Toolbox which will contain specific
tools and options.
At the moment we only display a couple input button to be able to switch from
Parent process only to multiprocess mode.
We remove the similar UI in the iframe picker and adapt the existing test.

A trait is added to not show the toolbar when debugging server where we wouldn't
get the `isSwitchingMode` property in `onTargetDestroyed`, as this can cause
misbehavior in various tool when switching between different modes.

Differential Revision: https://phabricator.services.mozilla.com/D150575
2022-08-01 06:55:54 +00:00
William Durand
169da550db Bug 1748315 - Part 1 - Propagate json schema validation errors to the extension. r=rpl
Depends on #D141749

Differential Revision: https://phabricator.services.mozilla.com/D141750
2022-08-01 06:31:55 +00:00
William Durand
c36a760e3b Bug 1748315 - Part 0 - Slightly improve GenerateWebIDLBindings.py UI. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D141749
2022-08-01 06:31:55 +00:00
Emilio Cobos Álvarez
799aa83946 Bug 1775062 - Implement ipdl union operator= by using move/copy constructors. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D149742
2022-08-01 06:03:01 +00:00
Dimi
9125c21631 Bug 1761886 - Use js promise correctly in LoginManagerAuthPrompter.jsm r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D153132
2022-08-01 05:50:21 +00:00
Makoto Kato
e6d0758441 Bug 1769742 - Don't affect TimeoutMillis annotation to test clean up. r=geckoview-reviewers,calu
Actually, default timeout of geckoview junit is 3000ms, but we can change it
by `@TimeoutMillis`.

When changing timeout value, the timeout of clean up function such as
`cleanupExtensions` is also changed. So if `@TimeoutMillis` is small, cleanup
may be failed due to timeout.

So we shouldn't apply `@TimeoutMillis` on clean up. I guess bug 1606702 and bug
1607631 are same root cause too.

Differential Revision: https://phabricator.services.mozilla.com/D153123
2022-08-01 02:46:01 +00:00
Daisuke Akatsuka
c2a2bf5a49 Bug 1776609: Record source and triggeringPlaceId for sponsored item on urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D151572
2022-08-01 00:27:50 +00:00
Daisuke Akatsuka
fe1785170f Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-08-01 00:27:50 +00:00
Hiroyuki Ikezoe
507bbaf6f5 Bug 1777649 - Honor scroll snap properties on ScrollFrameRectIntoView call. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D151335
2022-07-31 22:51:56 +00:00
Hiroyuki Ikezoe
a313ef9201 Bug 1777649 - Factor out some utility functions for scroll snap. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D151334
2022-07-31 22:51:56 +00:00
Butkovits Atila
2d3fe7f943 Backed out 2 changesets (bug 1774082) for causing failure at test_windows_alert_service.js. CLOSED TREE
Backed out changeset a9553786b2ee (bug 1774082)
Backed out changeset da2ad41a6d10 (bug 1774082)
2022-08-01 01:40:13 +03:00
Nick Alexander
590ff33177 Bug 1774082 - Make installer and uninstaller add/remove Toast Notification to/from registry. r=bhearsum,nrishel
Differential Revision: https://phabricator.services.mozilla.com/D152145
2022-07-31 21:59:30 +00:00
Nicholas Rishel
4f7f512a84 Bug 1774082 - Add AUMID handling for Windows toast notifications. r=nalexander
For MSIX packages, the package AUMID is used.

For NSIS/MSI installs, AUMID is retrieve from HKCR.

For portable builds, the registry is updated at runtime to populate icons, display name, and the COM server.

The COM server has been registered as will be implemented using DllSurrogate; this allows us to offload managing the eventloop and lifetime of the COM server to dllhost.exe, and minimizes the added code complexity.

The COM server is loaded as a separate executable from the sending process to prevent issues that would occur when multiple instances of the sending process (e.g. profiles running in parallel) try to stand up parallel COM servers. The separated COM executable also allows for multiple applications to share a common COM server.

Bonus: fixes Bug 1500054, Bug 1766095, and Bug 1743424.

Differential Revision: https://phabricator.services.mozilla.com/D151739
2022-07-31 21:59:30 +00:00
Antonin LOUBIERE
08c8e2bbc5 Bug 1767054 - While undoing closed tabs, close blank tab after all tabs are undone. r=jaws
When undoing closed tabs, only close blank tab after all tabs are undone in order to not instantly restore the blank tab as part of the group.

Differential Revision: https://phabricator.services.mozilla.com/D145115
2022-07-31 21:53:21 +00:00
Butkovits Atila
665e518c7f Backed out 2 changesets (bug 1776609) for causing failures at browser_topsites_annotation.js. CLOSED TREE
Backed out changeset cac795fd16d2 (bug 1776609)
Backed out changeset 88ec1cca8540 (bug 1776609)
2022-08-01 00:52:35 +03:00
Butkovits Atila
c6d59e01ed Merge mozilla-central to autoland. CLOSED TREE 2022-08-01 00:32:34 +03:00
Butkovits Atila
cbdc0ac147 Merge autoland to mozilla-central. a=merge 2022-08-01 00:22:34 +03:00
Daisuke Akatsuka
a18939b183 Bug 1577924: Ignore ctrl key when arrow/page down/up. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D152723
2022-07-31 20:32:11 +00:00
Daisuke Akatsuka
7351dec4cb Bug 1776609: Record source and triggeringPlaceId for sponsored item on urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D151572
2022-07-31 20:26:31 +00:00
Daisuke Akatsuka
971ff4bfb6 Bug 1776609: Record source and triggeringPlaceId for sponsored tile on newtab. r=mak,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D150729
2022-07-31 20:26:30 +00:00
Mozilla Releng Treescript
f45909a3d8 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> dffc49eb106ab53874de91b8a8f98ffc7c6bf9fc
fi -> 2af626e723f5d593ec327429d123b4eaf4d86da9
pt-PT -> b16344ad9753f973d992676901373f4ea8d564e9
sk -> 565f848fad42e2a96433d151748b9c1eb224d5a6
tg -> 5ce63e8966922321d4e90180a9a86bb988e371c8
th -> 9317a68b039511c611f7b0355c7d8df07b92ef41
2022-07-31 18:56:01 +00:00
Lee Salzman
57b5364468 Bug 1771007 - Add testcase. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D153308
2022-07-31 15:36:59 +00:00
Mohamed Atef
ab1c706183 Bug 1481695: Change the arguments number mismatch for self-hosted built-ins from runtime error to assertion. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D153302
2022-07-31 14:41:05 +00:00
Mozilla Releng Treescript
80fc90745b no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
es-AR -> 1283fb3bed20dbbacb60f18052ca89cd721ecb90
pa-IN -> 66272be4453bf99963eeacc6efd15d30c63e44db
2022-07-31 06:59:45 +00:00
smolnar
f496a31867 Merge mozilla-central to autoland. a=merge 2022-07-31 00:37:58 +03:00
smolnar
92e8568bbe Merge autoland to mozilla-central. a=merge 2022-07-31 00:34:13 +03:00
Andrew Sutherland
49239b27a4 Bug 1782079 - Mark new test as "long" timeout and reduce runtime. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D153266
2022-07-30 20:09:51 +00:00
Mozilla Releng Treescript
dc93c24169 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
dsb -> 704533a52a724d0b826274546b0f380603c6b6ef
el -> 0f301c638ccee5837e4d5a46a49d7dceccf8475e
hsb -> 99fc30edea315cc0320f0d802f0c4d27062dbad5
pt-BR -> e631c26ac93013c046bf36ad4288296ee89ea9fb
pt-PT -> b226f49f5f4e8f5c3e4b0e6c15970f78c97d4cec
sk -> 33688ba2e8dca82c0a4526f9f998735cefc1a4c1
2022-07-30 18:57:17 +00:00
Daniel Holbert
33da2d71dc Bug 1782326: remove some unused CSS from reference case bug966992-3-ref.html. r=TYLin
(And update the title, to reflect that it's a reference rather than a testcase.)

This patch doesn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D153297
2022-07-30 14:56:00 +00:00
criss
b3f0f3cb2d Merge mozilla-central to autoland on a CLOSED TREE 2022-07-30 12:27:49 +03:00
criss
515e5262ad Merge autoland to mozilla-central. a=merge 2022-07-30 12:25:16 +03:00
Mozilla Releng Treescript
bb24655e2c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
es-CL -> 579bad01182cd9bfa01bc71d17e3de1f7f182bad
hr -> 1eec6f144c10f4b23e864019b05ab6bd987f34c4
tg -> 2d0ece47d8c22e816d5c26fadaeeaece8b994cf0
uk -> 7f8aa19d5cbb2105df5f6e227e2a7f889fbcb61c
2022-07-30 06:59:13 +00:00
Tooru Fujisawa
287c234f6b Bug 1781641 - Add JS::NativeStackBase, JS::NativeStackSize, and JS::NativeStackLimit. r=bthrall
Depends on D152783

Differential Revision: https://phabricator.services.mozilla.com/D152854
2022-07-30 04:45:22 +00:00
Tooru Fujisawa
fa7764a2a3 Bug 1781008 - Part 5: Use JSContext-free variant of AutoCheckRecursionLimit in frontend. r=bthrall
Depends on D152782

Differential Revision: https://phabricator.services.mozilla.com/D152783
2022-07-30 04:45:22 +00:00
Tooru Fujisawa
7ed1d2a8c0 Bug 1781008 - Part 4: Wrap WASI recursion check with JSContext and ErrorContext functions. r=bthrall
WASI uses extra JSContext fields to track the recursion depth.
Given WASI doesn't support thread, move it to JSContext and
MainThreadErrorContext.

Depends on D152781

Differential Revision: https://phabricator.services.mozilla.com/D152782
2022-07-30 04:45:21 +00:00
Tooru Fujisawa
42ee91dbc3 Bug 1781008 - Part 3: Use ErrorContext instead of JSContext for error reporting in AutoCheckRecursionLimit in frontend. r=bthrall
Depends on D152780

Differential Revision: https://phabricator.services.mozilla.com/D152781
2022-07-30 04:45:21 +00:00
Tooru Fujisawa
4e01ceaa57 Bug 1781008 - Part 2: Add BytecodeEmitter::ec. r=bthrall
Depends on D152779

Differential Revision: https://phabricator.services.mozilla.com/D152780
2022-07-30 04:45:20 +00:00
Tooru Fujisawa
8eeff3558b Bug 1781008 - Part 1: Move ReportOverRecursed implementation to JSContext and ErrorContext. r=bthrall
Depends on D152778

Differential Revision: https://phabricator.services.mozilla.com/D152779
2022-07-30 04:45:20 +00:00
Tooru Fujisawa
49dd57b229 Bug 1781183 - Part 7: Pass stack limit to AutoCheckRecursionLimit. r=bthrall
Depends on D152777

Differential Revision: https://phabricator.services.mozilla.com/D152778
2022-07-30 04:45:19 +00:00
Tooru Fujisawa
0a826d06c2 Bug 1781183 - Part 6: Remove redundant field from FoldVisitor. r=bthrall
FoldVisitor is subclass of RewritingParseNodeVisitor, which has
JSContext* field. and FoldVisitor doesn't have to have the same field.

Depends on D152776

Differential Revision: https://phabricator.services.mozilla.com/D152777
2022-07-30 04:45:19 +00:00