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

73707 Коммитов

Автор SHA1 Сообщение Дата
criss 0a0b79664f Backed out changeset 48ce51771f48 (bug 1768482) for causing failures on test_ext_startup_cache_telemetry.js. CLOSED TREE 2022-05-12 00:12:52 +03:00
Luca Greco f0e9b26ed1 Bug 1768482 - Fix TV intermittent failure on Glean.extensions.startupCacheLoadTime set to 0. r=mixedpuppy,chutten
The test failing intermittently on test-verify jobs seems to be only the one that covers the newly added
Glean timespan metric named "extensions.startupCacheLoadTime".

Given that it seems to be only failing in test-verify jobs, and with the Glean metric set to a numeric value as expected
just not always a non-zero value as the test expectes, I suspect it may be because the startupCache is technically
empty or only including a pretty small amount data and so it may be able to be loaded so fast that the resulting
value is 0 milliseconds.

I'm unable to reproduce the same locally even when running the test locally using --verify, and so this patch
is actually relaxing the failing assertion to only check that the Glean metric value is numeric and the
mirror scalar is set to the exact same value, and in addition to that the test is not reseting the FOG data
and assert that the Glean metric is initially undefined until we expect it to be collected and set to a numeric value.

Differential Revision: https://phabricator.services.mozilla.com/D145904
2022-05-11 19:32:57 +00:00
criss 52501f82b5 Backed out 2 changesets (bug 1754527) for turning Bug 1760130 into permafail on windows. CLOSED TREE
Backed out changeset 24ae57f9c2bb (bug 1754527)
Backed out changeset 93e08f7a934a (bug 1754527)
2022-05-11 23:12:05 +03:00
William Durand 9b4b385292 Bug 1750765 - Add test cases to verify scripting.executeScript() with activeTab. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D145414
2022-05-11 17:48:44 +00:00
William Durand 1056593aa9 Bug 1768839 - Use browser action API for MV3 `action` on Android. r=robwu,agi
I chose to write a minimal test case and defer more test coverage to Bug
1723763 since this bug already existed. The change in `ext-android.json`
is similar to what has been done in D113461.

Differential Revision: https://phabricator.services.mozilla.com/D146061
2022-05-11 17:48:43 +00:00
Emilio Cobos Álvarez 9d7f5631d4 Bug 1768301 - Don't run stylo tests in coverage builds for now. r=dshin
This should un-bust ccov builds for now. See comment for the follow-up
work.

Differential Revision: https://phabricator.services.mozilla.com/D146088
2022-05-11 15:27:30 +00:00
M. Sirringhaus 0bc8a2b4bc Bug 1768596 - DBus Startup code doesn't cleanly exit in case of errors with the library. r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D145939
2022-05-11 13:50:27 +00:00
Calixte 70a7d8ed1b Bug 1768821 - Update pdf.js to version 2.14.290 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D146057
2022-05-11 11:50:06 +00:00
Jan-Erik Rediger bc6dad543d Bug 1768611 - Document how to use local glean_parser. r=chutten DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D145948
2022-05-11 09:26:21 +00:00
Bob Owen 114d22f0b8 Bug 1768800: Remove EARLY_BETA_OR_EARLIER guards for safaweb*.dll blocking. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D146048
2022-05-11 08:39:32 +00:00
Bob Owen 6990a14ed8 Bug 1767993 p2: Remove EARLY_BETA_OR_EARLIER guards for qipcap*.dll blocking. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D146043
2022-05-11 07:26:55 +00:00
Noemi Erli 45276205df Backed out 22 changesets (bug 1696894, bug 1759569, bug 1754031, bug 1759563, bug 1759572, bug 1754004) for causing leack failures CLOSED TREE
Backed out changeset 673ecd5337e1 (bug 1754004)
Backed out changeset ecbf5f3c51de (bug 1754004)
Backed out changeset fc6c39f56d21 (bug 1754004)
Backed out changeset 5b3d58fbaf9d (bug 1696894)
Backed out changeset 2e56c89cf55d (bug 1754004)
Backed out changeset b7723490f025 (bug 1754004)
Backed out changeset 1dfbf61ff5dd (bug 1754004)
Backed out changeset e73abb071bb3 (bug 1754004)
Backed out changeset f9abe4fbf501 (bug 1754004)
Backed out changeset ee7aeb631cd9 (bug 1754004)
Backed out changeset d66aacfcf983 (bug 1754004)
Backed out changeset 5c2872ad6912 (bug 1754004)
Backed out changeset e1ae48f30d2c (bug 1754004)
Backed out changeset 849b63707d7f (bug 1754004)
Backed out changeset 36563e3b1e04 (bug 1754004)
Backed out changeset ccb4be659107 (bug 1754004)
Backed out changeset 659581d4159b (bug 1754004)
Backed out changeset 611ea76d7a9c (bug 1754004)
Backed out changeset 9b24b561698c (bug 1759572)
Backed out changeset f820e0f209ff (bug 1759563)
Backed out changeset 8d82066fa181 (bug 1759569)
Backed out changeset a2835afab1ad (bug 1754031)
2022-05-11 06:16:25 +03:00
Cristian Tuns 23517e3d2b Backed out 3 changesets (bug 1758745, bug 1758740, bug 1762462) for causing mochitest failures on test_storagePermissionsAccept.html CLOSED TREE
Backed out changeset fa222c0a9a26 (bug 1762462)
Backed out changeset 9daa04b239f9 (bug 1758745)
Backed out changeset c18aecb431c0 (bug 1758740)
2022-05-10 20:12:45 -04:00
Travis Long 28937440fa Bug 1754527 - Adds test coverage for Glean experiment API to browser_remotesettingsexperimentloader_remote_default.js r=barret
Differential Revision: https://phabricator.services.mozilla.com/D145965
2022-05-10 23:19:16 +00:00
Travis Long 96b35fbc5c Bug 1754527 - Nimbus should call the Glean Experiment API r=chutten,barret
Differential Revision: https://phabricator.services.mozilla.com/D145911
2022-05-10 23:19:16 +00:00
Nika Layzell 024c6e0c0a Bug 1754004 - Part 11: Simplify the IPCStream serialization API, r=asuth,necko-reviewers,kershaw
As serializing IPCStream no longer requires a manager or FileDescriptor array,
the arguments are no longer necessary, and can be removed. The AutoIPCStream
helper can also be removed, as managed actors are no longer used for
serialization, so a delayed start callback is not necessary.

The delayed start parameter is also removed from nsIIPCSerializableInputStream
instances, but is still present as `aAllowLazy` on the toplevel serialization
methods.

Differential Revision: https://phabricator.services.mozilla.com/D141048
2022-05-10 22:27:46 +00:00
Nick Alexander bb7623f0be Bug 1746983 - Re-enable pingsender2. r=bhearsum,bholley
Many prerequisite tickets have landed, so let's try this again.

Differential Revision: https://phabricator.services.mozilla.com/D143679
2022-05-10 21:55:57 +00:00
Benjamin VanderSloot 7560dc381a Bug 1762462 - Tests do not reflect Always Partitioning Storage, r=twisniewski
Depends on D143627

Differential Revision: https://phabricator.services.mozilla.com/D144731
2022-05-10 21:49:42 +00:00
Thomas Wisniewski 37c3de998a Bug 1758745 - Refactor EffectiveStoragePrincipal to EffectiveCookiePrincipal and create new function EffectiveStoragePrincipal that is never unpartitioned; r=twisniewski
Depends on D143626

Differential Revision: https://phabricator.services.mozilla.com/D143627
2022-05-10 21:49:42 +00:00
Shane Hughes d28b1eab20 Bug 1767200 - Fix Delete File on history downloads. r=Gijs
My previous patch for bug 1755570 contained an oversight that caused
problems when deleting history downloads' target files. This patch just
adds a minimal data removal method to the history download prototype,
so the DownloadElementShell methods can execute without exceptions.

Differential Revision: https://phabricator.services.mozilla.com/D145279
2022-05-10 20:46:42 +00:00
Nico Grunbaum 5982715a7e Bug 1768725 - Add GMP OpenH264 pref status to about:webrtc;r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D146005
2022-05-10 20:46:01 +00:00
Chris H-C 14fee064de Bug 1768636 - Scope GIFFT timer maps to metrics r=TravisLong
TimerIds are only unique for a given metric, not globally.

Differential Revision: https://phabricator.services.mozilla.com/D145988
2022-05-10 20:38:30 +00:00
Mark Banner 47f2d49193 Bug 1766533 - Enable ESLint rule no-constant-binary-expression. r=Gijs
Depends on D145654

Differential Revision: https://phabricator.services.mozilla.com/D145655
2022-05-10 20:04:04 +00:00
Mark Banner e715f22540 Bug 1766533 - Fix extension code for ESLint rule no-constant-binary-expression. r=webcompat-reviewers,twisniewski,robwu
Differential Revision: https://phabricator.services.mozilla.com/D145653
2022-05-10 20:04:03 +00:00
Cristian Tuns 6c334e2b06 Backed out changeset eb12cdc5d1e8 (bug 1765907) for causing mochitest failures on browser_privatebrowsing_focus_promo.js CLOSED TREE 2022-05-10 14:38:02 -04:00
Bob Owen dd6eda5ea1 Bug 1767993: Block Forcepoint qipcap*.dll v7.7.819.1 and earlier for high crash rate. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D145957
2022-05-10 17:42:45 +00:00
Joel Maher ab1727d3e3 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 17:41:03 +00:00
Punam Dahiya 815ffe3c32 Bug 1765907 - PBM experiment message should override default promo message r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D144871
2022-05-10 17:12:05 +00:00
Andreea Pavel 276a6aa245 Bug 1642828 - fix lint failure on CLOSED TREE 2022-05-10 19:29:30 +03:00
Sergey Galich 2b96454111 Bug 1642828 - continuous console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for URL" r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D145905
2022-05-10 15:48:26 +00:00
Luca Greco e8e0fa80c5 Bug 1768544 - Fix test_ext_webRequest_eventPage_StreamFilter.js permafailure due to pending test webRequest aborted after all tests have been completed. r=mixedpuppy
The failures are triggered by the pending request used by the initial four test cases, due to the pending request
being aborted (after all the tests in the test file have been executed and the test harness executes all the
registered cleanup functions) and its related promise rejection not being caught by the test itself.

Apparently the failures seems to be able to be triggered more often on windows builds, but I have been able to trigger it
on Linux using --verify even if way less often then on Windows (where I was able to trigger the failures consistently
by running the test file once and without --verify).

The attached patch prevents the failure by explicitly:
- handling the promise rejection (by catching the rejection, emit a log if the rejection is the expected one and
  trigger an explicit failure nearby where it is triggered otherwise, to make it easier to investigate other issues
  in the future if needed, by prevent the rejection to become silent and by triggering a failure easier to be
  correlated with what is actually triggering it)
- clearing the last pending request created right at the end of the test task that has created it (mainly to avoid
  keeping the request active if the related test is already exiting)

Differential Revision: https://phabricator.services.mozilla.com/D145958
2022-05-10 15:39:27 +00:00
Bob Owen 8c9ee907bc Bug 1766029: Block safaweb* DLLs in child processes due to win32k lockdown crash. r=gcp
The version is the last one for which we have seen crashes.

Differential Revision: https://phabricator.services.mozilla.com/D145899
2022-05-10 15:38:27 +00:00
William Durand 4eaa4e7c95 Bug 1760451 - Check permissions for content scripts registered with the scripting APIs. r=robwu
Depends on D145629

Differential Revision: https://phabricator.services.mozilla.com/D144811
2022-05-10 14:30:24 +00:00
William Durand 6ea3cb2b54 Bug 1766615 - Enable scripting APIs in MV2. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D145629
2022-05-10 14:30:24 +00:00
Butkovits Atila 387096a2fc Backed out 3 changesets (bug 1758745, bug 1758740, bug 1762462) for causing failures at browser_storage_dfpi.js. CLOSED TREE
Backed out changeset a3024e8b2a58 (bug 1762462)
Backed out changeset 8bc1291b9bdb (bug 1758745)
Backed out changeset c7b693b2fd05 (bug 1758740)
2022-05-10 16:17:59 +03:00
Butkovits Atila 6604cd9277 Backed out changeset e38004bd79c0 (bug 1767200) for causing failures at browser_downloads_keynav.js. CLOSED TREE 2022-05-10 16:05:25 +03:00
Benjamin VanderSloot 8169e6b4a7 Bug 1762462 - Tests do not reflect Always Partitioning Storage, r=twisniewski
Depends on D143627

Differential Revision: https://phabricator.services.mozilla.com/D144731
2022-05-10 12:05:51 +00:00
Thomas Wisniewski 6cae86aea9 Bug 1758745 - Refactor EffectiveStoragePrincipal to EffectiveCookiePrincipal and create new function EffectiveStoragePrincipal that is never unpartitioned; r=twisniewski
Depends on D143626

Differential Revision: https://phabricator.services.mozilla.com/D143627
2022-05-10 12:05:51 +00:00
Shane Hughes 404b8f7ed4 Bug 1767200 - Fix Delete File on history downloads. r=Gijs
My previous patch for bug 1755570 contained an oversight that caused
problems when deleting history downloads' target files. This patch just
adds a minimal data removal method to the history download prototype,
so the DownloadElementShell methods can execute without exceptions.

Differential Revision: https://phabricator.services.mozilla.com/D145279
2022-05-10 10:31:53 +00:00
Mathieu Leplatre 7529049420 Bug 1767890 - Prevent packaged dump from being loaded r=robwu
Change tests and snippets in documentation to use `Date.now()` instead of an arbitrary number like `42`.
This way, we make sure the packaged dump isn't loaded on top of the tests data. Indeed, since Bug 1718083 we load the packaged dump if it's newer than local data.

Differential Revision: https://phabricator.services.mozilla.com/D145579
2022-05-10 09:51:50 +00:00
Sarah Clements 9c0b8b40b4 Bug 1759510 - Fix menubar in high contrast mode on Windows r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142946
2022-05-10 09:40:59 +00:00
Yoshi Cheng-Hao Huang 601fdf4dc5 Bug 1768059 - Unload the extension first in test_ext_contentscript_importmap.js. r=robwu
[task 2022-05-09T17:23:01.721Z] 17:23:01     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFile.remove]"  nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)"  location: "JS frame :: resource://gre/modules/Extension.jsm :: cleanupGeneratedFile/< :: line 3066"  data: no]"]
[task 2022-05-09T17:23:01.722Z] 17:23:01     INFO -  cleanupGeneratedFile/<@resource://gre/modules/Extension.jsm:3066:14
[task 2022-05-09T17:23:01.722Z] 17:23:01     INFO -  _do_main@Z:\\task_1652115146\\build\\tests\\xpcshell\\head.js:240:6
[task 2022-05-09T17:23:01.722Z] 17:23:01     INFO -  _execute_test@Z:\\task_1652115146\\build\\tests\\xpcshell\\head.js:603:5

Exception is thrown from [1], which cleanupFile is the XPI from [2].
The XPI file is removed during Extension.shutdown [3]

So calling extension.unload() before calling contentPage.close().

m-c try pushes, with --rebuild 20: [4]
m-c with the patch, with --rebuild 20: [5]

[1]: https://searchfox.org/mozilla-central/rev/3175fbb2342bfcdd5dcffed21a4c5a29dae1c61c/toolkit/components/extensions/Extension.jsm#3066
[2]: https://searchfox.org/mozilla-central/rev/3175fbb2342bfcdd5dcffed21a4c5a29dae1c61c/toolkit/components/extensions/ExtensionTestCommon.jsm#682
[3]: https://searchfox.org/mozilla-central/rev/3175fbb2342bfcdd5dcffed21a4c5a29dae1c61c/toolkit/components/extensions/ExtensionTestCommon.jsm#222
[4]: https://treeherder.mozilla.org/jobs?repo=try&revision=fa3f89152368fd2a2d2031970b68fafa30ef0b6d
[5]: https://treeherder.mozilla.org/jobs?repo=try&revision=3549465995d026f11feb4eff4af0aaa7a103fa31

Differential Revision: https://phabricator.services.mozilla.com/D145912
2022-05-10 07:15:16 +00:00
Gabriele Svelto 178dfd72d7 Bug 1766759 - Use PID when populating the LinuxDsoDebug stream r=msirringhaus
Differential Revision: https://phabricator.services.mozilla.com/D145572
2022-05-10 07:15:16 +00:00
Butkovits Atila 8a2fe790ec Backed out changeset 1ce55e10b927 (bug 1762991) for causing jit failures. CLOSED TREE 2022-05-10 09:41:32 +03:00
Makoto Kato 0b5fd6ee3b Bug 1474137 - Invalidate previous result when datalist is changed. r=mak
Even if `<datalist>` is dynamically changed, autocomplete controller still uses
previous search result. If changed, we have to ignore previous result that may
be invalid.

Also, even if `<datalist>` is changed, we have to keep selected index (Bug
595069), so we cannot use `ResetInternalState` at this situation. It resets
selected index.

Differential Revision: https://phabricator.services.mozilla.com/D116679
2022-05-10 01:45:30 +00:00
Joel Maher f33bac2082 Bug 1762991 - switch to --disable-fission and fission by default. r=gbrown,webdriver-reviewers,whimboo
updated patch for android_hardware_unittests.py, asking for a review- please look at the interdiff to see recent changes.

Differential Revision: https://phabricator.services.mozilla.com/D144985
2022-05-10 00:41:01 +00:00
Kagami Sascha Rosylight 2774c39fc7 Bug 1768189 - Part 47: Apply modernize-concat-nested-namespaces to layout/style/MediaQueryList.h ... r=andi
Depends on D145782

Differential Revision: https://phabricator.services.mozilla.com/D145783
2022-05-09 20:41:21 +00:00
Luca Greco 6035e48afd Bug 1759300 - Cancel suspend on idle if the extension EventPage has StreamFilter instances still active. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D145257
2022-05-09 20:33:28 +00:00
Marian-Vasile Laza 9bce1e6f3a Backed out changeset c5bb436ae1c9 (bug 1767200) for causing bc failures on browser_downloads_context_menu_delete_file.js. CLOSED TREE 2022-05-09 22:05:56 +03:00
Katherine Patenio 5e87539c25 Bug 1768201 - add seek forward and backward key shortcuts for pip on netflix. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D145840
2022-05-09 18:30:47 +00:00