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

784733 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel fd4de32944 Bug 1754126 - temporary disable browser_browserGlue_upgradeDialog.js on all platforms CLOSED TREE DONTBUILD 2022-02-08 13:27:03 +02:00
Eden Chuang f78aaff856 Bug 1750515 - Enable NavigationPreload API on Nightly. r=dom-worker-reviewers,smaug
Depends on D137599

Differential Revision: https://phabricator.services.mozilla.com/D136215
2022-02-08 11:01:22 +00:00
Eden Chuang cd7727939d Bug 1753025 - Adding debugging log for FetchSerivce/FetchInstance. r=dom-worker-reviewers,jesup
Depends on D137594

Differential Revision: https://phabricator.services.mozilla.com/D137599
2022-02-08 11:01:21 +00:00
Eden Chuang 42dfc17202 Bug 1753025 - Using correct principal to create channel for NavigationPreload. r=dom-worker-reviewers,jesup
Currently using the pricinpal of InternalRequest to create the channel for NavigationPreload.
However, it is not a correct principal and makes NavigationPreload stop with channel security checking.
Instead of using the principal of InternalRequest, this patch uses the loadingPrincipal of InterceptedHttpChannel to create the channel.

Differential Revision: https://phabricator.services.mozilla.com/D137594
2022-02-08 11:01:21 +00:00
Julian Descottes 2112ed6708 Bug 1272255 - Check MOZ_DISABLE_NONLOCAL_CONNECTIONS from services/settings/Utils.jsm r=Gijs
Depends on D137691

We check the environment variable MOZ_DISABLE_NONLOCAL_CONNECTIONS instead of:

- checking Cu.isInAutomation: Cu.isInAutomation implies MOZ_DISABLE_NONLOCAL_CONNECTIONS. All scenarios where isInAutomation was true will still behave the same
- checking an xpcshell specific env variable called XPCSHELL_TEST_PROFILE_DIR. This variable is set for all xpcshell tests from https://searchfox.org/mozilla-central/source/testing/xpcshell/runxpcshelltests.py#495 . XPCShell tests also set MOZ_DISABLE_NONLOCAL_CONNECTIONS in the same file slightly earlier

This allows to never force the real firefox settings URL in environments which crash upon network connections.
Such environments usually override this URL with another preference and should be allowed to use it in all channels.

Differential Revision: https://phabricator.services.mozilla.com/D137982
2022-02-08 11:00:07 +00:00
Julian Descottes 343524674b Bug 1272255 - Force MOZ_DISABLE_NONLOCAL_CONNECTIONS in Marionette-based tests r=webdriver-reviewers,whimboo,chutten
Differential Revision: https://phabricator.services.mozilla.com/D137691
2022-02-08 11:00:07 +00:00
Florian Quèze 570e636697 Bug 1754012 - Make browser_test_procinfo.js check more thoroughly the cpuTime values, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D138043
2022-02-08 10:35:51 +00:00
Florian Quèze aac9e0e579 Bug 1754012 - Make browser_test_procinfo.js check the cpuTime field instead of the old cpuUser field, r=gerald.
Depends on D138041

Differential Revision: https://phabricator.services.mozilla.com/D138042
2022-02-08 10:35:50 +00:00
Florian Quèze 9686fc17a5 Bug 1754015 - Assert.jsm should throw when comparing a NaN number, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D138041
2022-02-08 10:35:50 +00:00
Hiroyuki Ikezoe faa402f507 Bug 1754129 - Add a mochitest for scroll linked effects. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D136207
2022-02-08 09:49:38 +00:00
Nicolas Chevobbe 5c95fb55d5 Bug 1643797 - [devtools] Improve Console message repeat performance. r=dthayer.
Differential Revision: https://phabricator.services.mozilla.com/D138013
2022-02-08 08:44:06 +00:00
Mike Hommey 7ad2484904 Bug 1753859 - Adjust clang patches to newest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D138115
2022-02-08 08:20:00 +00:00
Mike Hommey 8d35881c8d Bug 1753859 - Remove changes to clang/test/CodeGen/alloc-fns-alignment.c from patches. r=firefox-build-system-reviewers,andi
We don't run tests, and this will help reduce the amount of changes
needed to adjust the patches to newer clang trunk.

Differential Revision: https://phabricator.services.mozilla.com/D138114
2022-02-08 08:20:00 +00:00
Julian Seward b86d9b610e Bug 1710025 - Make Ion's regalloc debug output easier to read. r=jandem.
The backtracking allocator's debug printing of live ranges, bundles and passes
is hard to read and occasionally misleading.  This patch has the following
goals:

* make printing of instruction-point ranges, live ranges and bundles less
  cluttered

* enable consistent printing of fixed-register constraints in LUse and
  LDefinition

* give LiveBundles identities of the form `LB<number>` in what is printed

* be clearer and generally more elegant about when regalloc passes begin and
  end

There are no functional changes, and for non-JS_JITSPEW builds, no storage
changes.

Changes in detail (may not be exhaustive):

* Instruction-point ranges were previously printed as
  `[first_index, last_index+1)`, except when printing LIR, where the format
  `first_index,last_index` is used.  Both are replaced with
  `first_index-last_index`.

* For live range and live bundle printing, the set of use points is enclosed
  in `{` and `}` so as to make it easier to see where the range ends.

* For live range use/def points, the index is printed first, followed by `_`.
  If a def has an associated fixed assignment, that is now printed too.

* For LIR `MoveGroup`s, the destinations are now printed on the left.  That
  fixes an inconsistency in LIR printing wherein "normal" nodes had
  destinations on the left but `MoveGroup`s had destinations on the right.

* LUse policy printing has been changed to be less mysterious:
  - "register":   `r`       changed to  `R`
  - "fixed":      `r<reg>`  changed to  `F:reg`
  - "any":        `r?`      (which is misleading, since it includes stack)
                            changed to  `A`
  - "keepalive":  `*`       changed to  `KA`
  - "recovered_input": `**` changed to  `RI`

* To make LiveBundle creation/splitting easier to follow, LiveBundles now have
  a zero-based integer index associated with them.  This gives them identities
  in the debug output.  Also, the spillParent of each bundle is shown, so as to
  expose the spill-parent/child relationships:
  ```
  LB4(parent=LB2 v1 3-3 { 3_def:F:rdi })
  LB5(parent=LB2 v1 6-7 { 7_v1:F:rax })
  LB2(parent=none v1 4-7 { })
  ```

* There is some new debug printing in fn `ResolveControlFlow`.

* The initial live ranges (prior to grouping) and initial live bundles (after
  grouping) are printed differently, to make it obvious that these things are
  different C++ types.  Function `dumpVregs` has accordingly been split into
  `dumpLiveRangesByVReg` and `dumpLiveRangesByBundle`.

* Some finessing of blank lines to make the boundaries between passes clear.

Finally, in `AllocationIntegrityState::checkIntegrity`, there is an existing
assertion which checks that no definition has multiple conflicting
assignments. This patch also adds printing to assist diagnosis of such
failures.  It is guarded by both JS_JITSPEW and IONFLAGS=regalloc.

Differential Revision: https://phabricator.services.mozilla.com/D137509
2022-02-08 08:16:18 +00:00
Andreea Pavel 290d073bd8 Bug 1749068 - disable test_hsts_upgrade_intercept.html and test_cache_worker_gc.html to reduce failure rate r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137964
2022-02-08 07:46:47 +00:00
Lars T Hansen f1a68dad48 Bug 1753061 - re-apply bug 1752870 part 2. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137846
2022-02-08 07:42:36 +00:00
Lars T Hansen 77d37e59da Bug 1753061 - re-apply bug 1752870 part 1. r=rhunt
Retain the RWExclusiveData type and its use where that's still appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D137845
2022-02-08 07:42:36 +00:00
Lars T Hansen f2f0e102ca Bug 1753061 - re-apply bug 1743586 part 2. r=rhunt
This recovers the general improvements to bounds checking against known table
sizes, which is good to have for code density anyway.

Differential Revision: https://phabricator.services.mozilla.com/D137844
2022-02-08 07:42:35 +00:00
Lars T Hansen dd8d0846d5 Bug 1753061 - re-apply selected parts of bug 1747418. r=rhunt
This cleaned up naming and calculations around the FrameWithTls.

Differential Revision: https://phabricator.services.mozilla.com/D137843
2022-02-08 07:42:35 +00:00
Lars T Hansen 53739c8970 Bug 1753061 - re-apply selected parts of bug 1743760. r=rhunt
Pick up naming changes in the table descriptor.

Differential Revision: https://phabricator.services.mozilla.com/D137842
2022-02-08 07:42:34 +00:00
Lars T Hansen 4ef0be491a Bug 1753061 - re-apply bug 1742053 part 13. r=rhunt
This applies the null-pointer-check bug fix that ensures we test the entire
pointer, not just the lower 32 bits.  This patch had to be adapted to account
for different register usage conventions.

Differential Revision: https://phabricator.services.mozilla.com/D137841
2022-02-08 07:42:34 +00:00
Lars T Hansen c734ab605a Bug 1753061 - re-apply selected parts of bug 1742053 part 12. r=rhunt
Apply the bits that regularize the table operations.

Differential Revision: https://phabricator.services.mozilla.com/D137840
2022-02-08 07:42:34 +00:00
Lars T Hansen 78063757a6 Bug 1753061 - re-apply selected parts of bug 1742053 parts 1, 3, 6, 7. r=rhunt
Cherry-pick a number of fixes from bug 1742053 part 1, chiefly
renamings, nodiscard annotations, and comments.  Also keep the changes
that distinguish import calls from indirect calls, because we will
need these later.

Abandons a couple of shorthands that were used only once and the flag
on the table that tracks whether it is not private, since we won't
need that.

Import grammar fixes from parts 3 and 6.

Import nodiscard annotations from part 7.

Differential Revision: https://phabricator.services.mozilla.com/D137839
2022-02-08 07:42:33 +00:00
Lars T Hansen 5e13457104 Bug 1753061 - revert bug 1742053 part 1. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137646
2022-02-08 07:42:33 +00:00
Lars T Hansen bece2d3fd2 Bug 1753061 - revert bug 1742053 part 2. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137645
2022-02-08 07:42:32 +00:00
Lars T Hansen ba6fe9a9b2 Bug 1753061 - revert bug 1742053 part 3 - addendum, fix exception handling. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137644
2022-02-08 07:42:32 +00:00
Lars T Hansen 90309c46de Bug 1753061 - revert bug 1742053 part 3. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137643
2022-02-08 07:42:32 +00:00
Lars T Hansen 9bb3dbc28f Bug 1753061 - revert bug 1742053 part 4. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137642
2022-02-08 07:42:31 +00:00
Lars T Hansen 892acae8fe Bug 1753061 - revert bug 1742053 part 5. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137641
2022-02-08 07:42:31 +00:00
Lars T Hansen c52768cf4c Bug 1753061 - revert bug 1742053 part 6. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137640
2022-02-08 07:42:30 +00:00
Lars T Hansen 729017f13e Bug 1753061 - revert bug 1742053 part 7. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137639
2022-02-08 07:42:30 +00:00
Lars T Hansen 95ebba8dcc Bug 1753061 - revert bug 1742053 part 8. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137638
2022-02-08 07:42:30 +00:00
Lars T Hansen 4619c05296 Bug 1753061 - revert bug 1742053 part 9. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137637
2022-02-08 07:42:29 +00:00
Lars T Hansen 659a39060d Bug 1753061 - revert bug 1742053 part 10. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137636
2022-02-08 07:42:29 +00:00
Lars T Hansen 75a46d352f Bug 1753061 - revert bug 1742053 part 11. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137635
2022-02-08 07:42:28 +00:00
Lars T Hansen 744025ce39 Bug 1753061 - revert bug 1742053 part 12. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137634
2022-02-08 07:42:28 +00:00
Lars T Hansen 339c7a57e1 Bug 1753061 - revert bug 1742053 part 13. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137633
2022-02-08 07:42:28 +00:00
Lars T Hansen b6b52dec26 Bug 1753061 - revert bug 1742053 part 14. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137632
2022-02-08 07:42:27 +00:00
Lars T Hansen 37e9ba6ad5 Bug 1753061 - revert bug 1743607. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137631
2022-02-08 07:42:27 +00:00
Lars T Hansen 10a8f07928 Bug 1753061 - revert bug 1745170. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137630
2022-02-08 07:42:27 +00:00
Lars T Hansen 6446a372f5 Bug 1753061 - revert bug 1743760 (the name changes only). r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137629
2022-02-08 07:42:26 +00:00
Lars T Hansen 89a10888d3 Bug 1753061 - revert bug 1709578. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137628
2022-02-08 07:42:26 +00:00
Lars T Hansen ba01be44f5 Bug 1753061 - revert bug 1747540. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137627
2022-02-08 07:42:26 +00:00
Lars T Hansen 2067477f23 Bug 1753061 - revert bug 1743586 part 1. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137626
2022-02-08 07:42:25 +00:00
Lars T Hansen d6546df340 Bug 1753061 - revert bug 1743586 part 2. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137625
2022-02-08 07:42:25 +00:00
Lars T Hansen 5b2d2c476c Bug 1753061 - revert bug 1747418. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137624
2022-02-08 07:42:24 +00:00
Lars T Hansen 8832925b1e Bug 1753061 - revert bug 1750930. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137623
2022-02-08 07:42:24 +00:00
Lars T Hansen dc79a399d1 Bug 1753061 - revert bug 1752870 part 1. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137728
2022-02-08 07:42:23 +00:00
Lars T Hansen 98712903c0 Bug 1753061 - revert bug 1752870 part 2. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D137727
2022-02-08 07:42:23 +00:00
stransky e385dc745c Bug 1521455 Count RDD crashes in telemetry r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D138012
2022-02-08 07:40:43 +00:00