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

750352 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 2656f9a4d1 Bug 1700472 - Minor cleanup in ConstructDocElementFrame. r=dholbert
No behavior change, just compute the different things we need upfront.
At first I was going to use this in the following patch but it ended up
not being needed.

Differential Revision: https://phabricator.services.mozilla.com/D109545
2021-03-24 10:13:25 +00:00
Mirko Brodesser d1c07416d3 Bug 1700051: part 5) Correct typo. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D109501
2021-03-24 10:12:00 +00:00
Mirko Brodesser 0be7d4c977 Bug 1700051: part 4) Add `GetOperation()` to `mozInlineSpellStatus`. r=smaug
Depends on D109310

Differential Revision: https://phabricator.services.mozilla.com/D109311
2021-03-24 10:12:00 +00:00
Mirko Brodesser 7563a8e16b Bug 1700051: part 3) Add `GetCreatedRange()` to ` mozInlineSpellStatus`. r=smaug
Depends on D109309

Differential Revision: https://phabricator.services.mozilla.com/D109310
2021-03-24 10:12:00 +00:00
Mirko Brodesser 77b3add57e Bug 1700051: part 2) Add `GetNoCheckRange()` to `mozInlineSpellStatus`. r=smaug
Depends on D109308

Differential Revision: https://phabricator.services.mozilla.com/D109309
2021-03-24 10:11:59 +00:00
Mirko Brodesser 3691a72cd6 Bug 1700051: part 1) Reduce accessibility of some members of `mozInlineSpellStatus` to `private`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D109308
2021-03-24 10:11:59 +00:00
Marco Bonardo 4819ead6eb Bug 1700364 - Page action buttons should not be remove-able in Proton. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D109519
2021-03-24 09:48:45 +00:00
Mirko Brodesser 58f319b15f Bug 1698786: part 7) Add more `MOZ_LOG`ging to `mozInlineSpellWordUtil`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D109277
2021-03-24 08:15:52 +00:00
Kershaw Chang 9e4f5f9c4a Bug 1700103 - Disallow to use https rr for internal requests r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D109348
2021-03-24 08:11:22 +00:00
Kershaw Chang 66f9604c86 Bug 1698073 - Extend ysod event telemetry to record the status of document r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D109484
2021-03-24 08:09:11 +00:00
Mike Conley f7505a1445 Bug 1697617 - Update Synced Tabs menu for Proton. r=emalysz,flod,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D109404
2021-03-24 07:20:46 +00:00
Keefer Rourke 52f20669ae Bug 1649595: Use IOUtils instead of OS.File in CrashMonitor.jsm r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87488
2021-03-24 06:59:19 +00:00
Nicolas Chevobbe 243ac02108 Bug 1670570 - [devtools] Fix intermittent on browser_webconsole_close_groups_after_navigation.js. r=bomsy
The test was adding a tab with a page that does a console.group call, and then
was refreshing the page and waiting for the next console.group message to be displayed.
The problem seems to be that we weren't waiting for the initial console.group message,
which might mess up the rest of the test.
We're fixing this in the patch, and adding selector to `waitForMessage` so we
are sure to get the console.group message (and not another message, as the location
does have the `hello` world in it, since we're using a data url).

Differential Revision: https://phabricator.services.mozilla.com/D109491
2021-03-24 06:10:20 +00:00
Jan de Mooij 368607c4cd Bug 1700525 - Set object flags on the last property's shape instead of on the property's shape. r=iain
This fixes a regression from bug 1696178 part 5 with dictionary objects.

Object flags on non-last-properties aren't used anywhere, we need to set them on the
last property's shape.

Differential Revision: https://phabricator.services.mozilla.com/D109579
2021-03-24 05:51:01 +00:00
Mike Hommey 159a96d29e Bug 1699380 - Add an arm64 mac toolchain task for minidump-stackwalk. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D108924
2021-03-24 05:15:11 +00:00
Mike Hommey 91bf8be47e Bug 1699380 - Add an arm64 mac toolchain task for fix-stacks. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D108923
2021-03-24 05:15:10 +00:00
Mike Hommey 8f946602e9 Bug 1699380 - Add an arm64 mac toolchain task for dump-syms. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D108922
2021-03-24 05:15:10 +00:00
Csoregi Natalia 024e0b2323 Backed out 10 changesets (bug 1581859) for causing hazard failures. CLOSED TREE
Backed out changeset 93fe6801a5e2 (bug 1581859)
Backed out changeset 0a33cb185fb3 (bug 1581859)
Backed out changeset 9ceaad6dab5b (bug 1581859)
Backed out changeset ee611f0839ca (bug 1581859)
Backed out changeset 4199963fe477 (bug 1581859)
Backed out changeset b4c5ace21b9e (bug 1581859)
Backed out changeset 6003469dc449 (bug 1581859)
Backed out changeset 826c62b783c0 (bug 1581859)
Backed out changeset e1d7851295fd (bug 1581859)
Backed out changeset 9796577af27a (bug 1581859)
2021-03-24 08:48:00 +02:00
Butkovits Atila 9fc0210ad3 Backed out changeset 2a3316bd2409 (bug 1686191) for causing bustages on QuotaCommon.h. CLOSED TREE 2021-03-24 07:12:55 +02:00
Butkovits Atila 779fd20cc0 Bug 1689101 - disable browser_webconsole_network_messages_expand_before_updates.js on Windows for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D109566
2021-03-24 04:56:01 +00:00
Jan Varga 6edcf204fd Bug 1686191 - Have a way to specifically report warnings around QM_TRY; r=asuth,sg,dom-storage-reviewers
This patch:
- adds QM_WARNONLY_TRY/QM_NOTEONLY_TRY macros
- adds QM_WARNONLY_TRY_UNWRAP/QM_NOTEONLY_TRY_UNWRAP macros
- adds QM_OR_ELSE_WARN/QM_OR_ELSE_NOTE sub macros
- replaces non-propagating uses of NS_WARNING with redundant messages by
  QM_WARNONLY_TRY
- replaces uses of QM_TRY with orElse by QM_TRY(QM_OR_ELSE_WARN(...))
- replaces uses of QM_TRY inside an extra lambda with QM_WARNONLY_TRY
- replaces uses of QM_TRY with QM_VOID with QM_WARNONLY_TRY.
- replaces uses of QM_TRY with unwanted warnings with QM_NOTEONLY_TRY
- replaces uses of QM_TRY with additional Maybe wrapping for doing a
  fallback with QM_TRY(QM_OR_ELSE_WARN(...))

Differential Revision: https://phabricator.services.mozilla.com/D108424
2021-03-24 04:40:10 +00:00
Tooru Fujisawa 1b4f665f90 Bug 1692130 - Move DelazifyCanonicalScriptedFunction into frontend, and categorie the entire function as delazification in profiler. r=tcampbell
Depends on D105910

Differential Revision: https://phabricator.services.mozilla.com/D107302
2021-03-24 04:14:47 +00:00
Masayuki Nakano d68f6fc838 Bug 1220696 - part 6: Support `insertLineBreak` and `insertParagraphSeparator` commands in `<textarea>` r=smaug
Those command handlers just check whether the given editor is an `HTMLEditor`
or not.  Therefore, we should make them check whether the given editor is
a single line editor or not instead.

Differential Revision: https://phabricator.services.mozilla.com/D108572
2021-03-24 01:55:09 +00:00
Masayuki Nakano fad3ed3447 Bug 1220696 - part 5: Support "contentReadOnly" and "getHTML" commands in `<input>` and `<textarea>` r=smaug
Although these commands supported supported only by Gecko, we shouldn't stop
supporting them unless we know the usage in the wild.  Therefore, this patch
adds the handling code for `TextEditor` too.

Differential Revision: https://phabricator.services.mozilla.com/D108571
2021-03-24 01:55:09 +00:00
Masayuki Nakano b2fd51c051 Bug 1220696 - part 4: Make `Document` consider whether the target is editable or not-editable with target editor r=smaug
Currently, `Document` checks it only with whether the document is editable
or not.  Only with this check, `execCommand` and the other related methods
work only when there is `contenteditable`.

Therefore, this patch makes it to check whether the target is editable or not
with target editor.

Differential Revision: https://phabricator.services.mozilla.com/D108570
2021-03-24 01:55:08 +00:00
Masayuki Nakano f956ee81ea Bug 1220696 - part 3: Make `AutoEditorCommandTarget` consider command handling editor with command and focused `TextEditor` or `HTMLEditor` r=smaug
For making `execCommand` and related methods with `<input>` and `<textarea>`
even if they are in `contenteditable` and focused, command should be handled
in active editor (focused editor if in foreground window and tab).

However, some commands should be handled by `HTMLEditor` even if an `TextEditor`
has focus.  Therefore, this patch adds new enum class which have 3 state into
`InternalCommandData` and makes `AutoEditorCommandTarget` consider it with the
enum class.

Note that the new failures about `contentReadOnly` command will be fixed by
a following patch.

Differential Revision: https://phabricator.services.mozilla.com/D108569
2021-03-24 01:55:08 +00:00
Masayuki Nakano 11e0a6e76c Bug 1220696 - part 2: Make related methods of `Document::ExecCommand` use `AutoEditorCommandTarget` r=smaug
This will guarantee that when `<input>` or `<textarea>` is in `contenteditable`,
`execCommand` and the other related methods work with same command class
instance and same command context (in this case, it's editor instance).

Differential Revision: https://phabricator.services.mozilla.com/D108568
2021-03-24 01:55:07 +00:00
Masayuki Nakano 4c7c22c5b9 Bug 1220696 - part 1: Split off the code considering `EditorCommand` in `Document::ExecCommand` r=smaug
Editor command should be handled in same command table between `ExecCommand`
and the other related methods.  However, currently, only `ExecCommand` does
optimized things.  For using same logic in the other methods, the code should
be in an independent stack class.

Differential Revision: https://phabricator.services.mozilla.com/D108567
2021-03-24 01:55:07 +00:00
Masayuki Nakano 0da46f4723 Bug 1220696 - part 0: Update `exec-command-with-text-editor.tentative.html` for testing the following patches more r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D108566
2021-03-24 01:55:06 +00:00
Butkovits Atila 87e6f49fe0 Backed out changeset 9904b1dafade (bug 1699858) for causing failures at browser_styleinspector_tooltip-background-image.js. CLOSED TREE 2021-03-24 03:15:07 +02:00
Butkovits Atila 6cc3507063 Backed out 3 changesets (bug 1700472) for causing reftest failures.
Backed out changeset df4d74e9669f (bug 1700472)
Backed out changeset ec476bf43984 (bug 1700472)
Backed out changeset 168b31448423 (bug 1700472)
2021-03-24 03:12:44 +02:00
Kris Maglione 3be6ccef53 Bug 1581859: Part 5 - Add js/Value.h include to PromiseNativeHandler.h. r=nika
The IPDL source added in this stack changes the unified protocol chunking and
triggers problems caused by the missing include.

Differential Revision: https://phabricator.services.mozilla.com/D109024
2021-03-23 23:57:13 +00:00
Kris Maglione ff1b1ae970 Bug 1581859: Part 4f - Migrate to the native WebNavigation implementation. r=zombie
This migrates WebNavigation.jsm to use messages from PExtensionsParent
generated by the native WebNavigationContent class, and removes the now-unused
WebNavigationContent.js frame script.

Differential Revision: https://phabricator.services.mozilla.com/D103217
2021-03-23 23:57:13 +00:00
Kris Maglione fd37e6e69c Bug 1581859: Part 4e - Add DOMContentLoaded listener to WebNavigationContent. r=zombie,nika
This ports the last remaining piece of WebNavigationContent.js, the
DOMContentLoaded event listener, to C++ and adds IPC messages to notify the
parent process of the events. Linkage between the parent IPDL endpoints and
the parent WebNavigation.jsm listeners is added in a subsequent patch.

Differential Revision: https://phabricator.services.mozilla.com/D103216
2021-03-23 23:57:13 +00:00
Kris Maglione 547cfc9377 Bug 1581859: Part 4d - Add web progress listeners to WebNavigationContent. r=nika
This ports the WebProgressListener logic from WebNavigationContent.js to the
C++ implementation, and adds IPC messages to send them to the parent process.
Linkage between the parent IPDL endpoints and the listeners in
WebNavigation.jsm is added in a subsequent patch.

Differential Revision: https://phabricator.services.mozilla.com/D103215
2021-03-23 23:57:12 +00:00
Kris Maglione 9dec8af14b Bug 1581859: Part 4b - Add skeleton WebNavigationContent class. r=zombie,nika
This is a skeleton class which will be instantiated at startup in each
process, and eventually track the same events that the deprecated
WebNavigationContent.js frame script currently tracks.

Actual implementation is added in follow-up patches.

Differential Revision: https://phabricator.services.mozilla.com/D103213
2021-03-23 23:57:12 +00:00
Kris Maglione 8ea270e4b4 Bug 1581859: Part 4a - Add skeleton PExtensions actor. r=zombie,nika
This is the start of an actor which will be automatically instantiated in the
parent and each content process which can be used to route most process-level
IPC traffic needed by the extensions framework. It should allow the extensions
framework to keep its IPC glue close to the code that uses it, and simplify
matters for child-side code which needs to run in both parent and content
processes.

Differential Revision: https://phabricator.services.mozilla.com/D103212
2021-03-23 23:57:11 +00:00
Kris Maglione 6e2223e151 Bug 1581859: Part 3b - Update existing GetPropertyAsInterface callers to use typesafe do_GetProperty instead. r=mccr8,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D103211
2021-03-23 23:57:11 +00:00
Kris Maglione 4abddadf18 Bug 1581859: Part 3a - Add do_GetProperty helper for nsIPropertyBag2. r=mccr8
There currently isn't a typesafe way to get a property with a given interface
from a property bag from C++. This patch adds one, following the pattern of
similar helpers, like `do_GetInterface`.

Differential Revision: https://phabricator.services.mozilla.com/D103210
2021-03-23 23:57:10 +00:00
Kris Maglione 94b544ff0f Bug 1581859: Part 2b - Add LOAD_FLAGS_IS_REFRESH to all navigations triggered by meta refreshes. r=nika
The extension framework needs to set specific flags on navigations triggered
by meta refresh headers. Adding this to the load type of all navigations
triggered by meta refreshes allows it to do this without tracking docshells on
which refreshes are attempted so that it can make inferences.

Differential Revision: https://phabricator.services.mozilla.com/D108726
2021-03-23 23:57:10 +00:00
Kris Maglione 18ffa4a411 Bug 1581859: Part 2a - Add LOCATION_CHANGE_HASHCHANGE onLocationChange flag. r=nika
The naming scheme references the hashchange event. This is required by the
extensions framework to call the appropriate navigation listeners when only
the reference fragment is updated by a navigation.

Differential Revision: https://phabricator.services.mozilla.com/D108725
2021-03-23 23:57:10 +00:00
Keefer Rourke 8103aca07d Bug 1649593: Use IOUtils instead of OS.File in ExtensionParent.jsm r=zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D87483
2021-03-23 22:59:32 +00:00
Harry Twyford 9333311aa6 Bug 1616700 - Part 3 - Update the placeholder string on the handoff input to read "Search with {engine} or enter address" r=fluent-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D108266
2021-03-23 22:56:54 +00:00
Harry Twyford e52efdbba9 Bug 1616700 - Part 2 - Apply a disabled appearance to the handed-off input rather than hiding it. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D108826
2021-03-23 22:56:54 +00:00
Harry Twyford 35161ada24 Bug 1616700 - Part 1 - Use default address bar search mode for new tab search handoff r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D108825
2021-03-23 22:56:54 +00:00
Sam Foster c5f8501ed8 Bug 1699858 - Avoid using the toolkit/global icons which are about to change for proton. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D109186
2021-03-23 22:48:24 +00:00
Timothy Nikkel 52941487d7 Bug 1700250. Dump the uri when we are dumping the display list. r=mstange,miko
Differential Revision: https://phabricator.services.mozilla.com/D109450
2021-03-23 22:43:12 +00:00
Emilio Cobos Álvarez 966d0f4dfc Bug 1700472 - Remove -moz-scrolled-page-sequence. r=dholbert
This is needed for bug 1700379, because otherwise we create a reference
frame with the root's scrolled content (the
::-moz-scrolled-page-sequence), and that breaks some display list
invariants.

Always create a canvas frame instead, (doesn't matter when printing
since we print off the page sequence frame directly), and create a
single ::-moz-page-sequence box.

Differential Revision: https://phabricator.services.mozilla.com/D109512
2021-03-23 22:31:08 +00:00
Emilio Cobos Álvarez 0bdcb35e12 Bug 1700472 - Add braces to SetPaginatedScrolling. r=dholbert
Drive-by fixup while I was reading related code.

Depends on D109545

Differential Revision: https://phabricator.services.mozilla.com/D109546
2021-03-23 22:31:07 +00:00
Emilio Cobos Álvarez 96b57ed405 Bug 1700472 - Minor cleanup in ConstructDocElementFrame. r=dholbert
No behavior change, just compute the different things we need upfront.
At first I was going to use this in the following patch but it ended up
not being needed.

Differential Revision: https://phabricator.services.mozilla.com/D109545
2021-03-23 22:31:07 +00:00