Commit Graph

750375 Commits

Author SHA1 Message Date
Simon Giesecke
ecfd65d610 Bug 1698871 - Use SafeRefPtr for mMappedBlobs. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D109365
2021-03-24 13:21:50 +00:00
Simon Giesecke
f1f098cdaa Bug 1700336 - Use MaybeStorageBase in Maybe. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D109487
2021-03-24 13:21:31 +00:00
Jesse Schwartzentruber
fad0f5689f Bug 1698013 - Switch fuzzing ccov builds to Clang 12 r=marco
Differential Revision: https://phabricator.services.mozilla.com/D109552
2021-03-24 13:15:58 +00:00
Csoregi Natalia
a60c66265b Backed out changeset 816285ac4de4 (bug 1694511) for failures on browser_experimental_features.js. CLOSED TREE 2021-03-24 15:15:27 +02:00
Sean Feng
daffde1ac2 Bug 1700391 - Remove the unused UnprivilegedJunkScopeOrWorkerGlobal() method r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D109514
2021-03-24 12:56:45 +00:00
Jesse Schwartzentruber
071de6fead Bug 1700426 - Disable crashreporter for fuzzing-coverage-opt. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D109551
2021-03-24 12:52:51 +00:00
Tom Schuster
0cfa8ecb47 Bug 1660555 - Null mSignalProxy after calling Shutdown in WorkerFetchResolver. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D109605
2021-03-24 12:31:01 +00:00
Jeff Walden
c709245384 Bug 1660555 - |AbortSignalProxy| doesn't need to be |nsISupports|, just threadsafe-ly refcounted. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D93893
2021-03-24 12:31:01 +00:00
Jeff Walden
4eb1afc133 Bug 1660555 - Make |WorkerSignalFollower| do the following. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D93892
2021-03-24 12:31:00 +00:00
Jan Varga
7d3ef83b0f 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 12:27:53 +00:00
Simon Giesecke
d5157cb1ac Bug 708901 - Migrate to nsTHashSet in dom/plugins. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D109323
2021-03-24 12:18:19 +00:00
Simon Giesecke
71619f5f54 Bug 708901 - Migrate to nsTHashSet in parser. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D109333
2021-03-24 12:18:18 +00:00
Csoregi Natalia
62f5c9d7cb Backed out changeset 01373b70eb5c (bug 1693953) for failures on browser_remotesettingsexperimentloader_init.js. CLOSED TREE 2021-03-24 14:12:13 +02:00
Csoregi Natalia
2ca60f01bc Backed out changeset 57563a99fe53 (bug 1459859) for failures on test_ext_webrequest_upload.html. CLOSED TREE 2021-03-24 14:08:13 +02:00
Andrei Oprea
ac48dedf2a Bug 1693953 - Re-enable RemoteSettingsExperimentLoader double enrollment test r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D108758
2021-03-24 11:36:59 +00:00
Gijs Kruitbosch
65f48ef9b0 Bug 1694511 - update references inside the prefs/about:addons to Preferences/Options to use 'Settings' instead, r=preferences-reviewers,fluent-reviewers,jaws,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106199
2021-03-24 11:27:27 +00:00
Emilio Cobos Álvarez
8b97179d90 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.

We have to add width: 100% to the UA sheet because we don't get it
automatically set to the scrollport size to by the scrollport anymore.
Otherwise this would regress vertical writing-modes.

Differential Revision: https://phabricator.services.mozilla.com/D109512
2021-03-24 11:21:14 +00:00
Andreu Botella
b2d31f19aa Bug 1459859 - Treat an empty <input type=file> as an empty File in FormData. r=smaug
This patch changes the value of an empty `<input type=file>` control as obtained from the `FormData` API, which used to be an empty string, to be a `File` object with empty contents, whose name is the empty string and whose type is `"application/octet-stream"`.

Differential Revision: https://phabricator.services.mozilla.com/D106605
2021-03-24 11:11:25 +00:00
Dave Hunt
f7f9d0978a Bug 1670005 - Remove all references to Fennec from performance testing r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D109486
2021-03-24 10:44:22 +00:00
Paul Adenot
bb7ce0f853 Bug 1677881 - Update libsoundtouch to revision 17a63e9. r=chunmin
Pickup those commits up:
17a63e9 - Fix bug with too small initial skipFract value
6533514 - Improve soundtouch.clear() so that it really clears TDStretch & RateTransposer states
81b0d74 - Correct initial skip value
5e76cf2 - Disable skipping of unaligned SIMD memory offset by default
f38cfa6 - Call "clear()" after changing anti-alias filter on/off
762f560 - Updated versions and documents for release 2.2
1d42d89 - Merge branch 'improve-autovectorization' into 'master'
bf3cec0 - Improvements to help compiler autovectorization

Differential Revision: https://phabricator.services.mozilla.com/D109362
2021-03-24 10:27:47 +00:00
Paul Adenot
a28db97351 Bug 1683822 - Unregister the device changed callback before destroying an AudioCallbackDriver. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D101178
2021-03-24 10:25:45 +00:00
Gerald Squelart
2400d86309 Bug 1700498 - nsTSetInserter::operator* returns a proxy - r=sg
Previously `operator*` returned the iterator, and the templated `operator=` would handle the value insertion.
However that `operator=` prevented a defaulted copy-assignment operator, which is used in some algorithms to overwrite the iterator itself.
So now `operator*` returns a proxy, which implements the templated `operator=` that is used to insert a value. This allows the nsTSetInserter to have a its defaulted `operator=`.

Side-effect: `E` (the hash's KeyClass) is not needed anymore in nsTSetInserter, so it's only templated on the set type.

Tech note: `std::back_insert_iterator` doesn't use a value, but has explicitly-defined `operator=(const typename Container::value_type&)` and  `operator=(typename Container::value_type&&)`. Unfortunately, some of our stored value types are references (e.g.: `nsStringHashKey::KeyType` is `const nsAString&`), which, due to reference collapsing, would have made both `operator=`'s have the same signature! That's why this implementation uses a proxy sub-type with a single templated `operator=` that can handle anything.

Differential Revision: https://phabricator.services.mozilla.com/D109587
2021-03-24 10:25:23 +00:00
Emilio Cobos Álvarez
0c7e8b4d04 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-24 10:13:26 +00:00
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_LOGging 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