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

762835 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner b36f31c033 Bug 1719697 - Add an API for accessing Snapshots based on metadata. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D119227
2021-07-12 16:47:18 +00:00
Mitchell Hentges 1256637095 Bug 1720113: Temporarily add "python" to default clobber set r=firefox-build-system-reviewers,nalexander
Until virtualenvs are more dependably consistent, we should purge them
by default when "./mach clobber" is run.

Differential Revision: https://phabricator.services.mozilla.com/D119651
2021-07-12 16:43:09 +00:00
Jon Coppeard bc6660ee39 Bug 1678774 - Track more top level load requests while they are being parsed off-thread r=dpalmeiro
The original patch had caused some assertions so I rewrote it. This now puts
all untracked top-level requests on the new list while they are being compiled
so handles preload requests too.

Differential Revision: https://phabricator.services.mozilla.com/D119386
2021-07-12 16:31:00 +00:00
Jon Coppeard d06022bd80 Bug 1678774 - Rename ScriptLoadRequestList::Cancel to CancelRequestsAndClear r=dpalmeiro
It's not otherwise obvious that calling this cancels all the requests in the list.

Differential Revision: https://phabricator.services.mozilla.com/D119491
2021-07-12 16:30:59 +00:00
Jon Coppeard 596f5488eb Bug 1678774 - Cancel off-thread compilations when destroying a ScriptLoader r=dpalmeiro
There are parse tasks present when the JS engine is being shut down that have
finished but haven't had their results collected by the embedding. This
shouldn't happen, and I think it's happening here because we're leaking a
JSRuntime (we cancel these when we shut down a runtime).

There's a comment that says this isn't necessary but cancelling outstanding
compile requests in ScriptLoader::Destroy fixes this problem on try. I don't
understand well enough to know what's going wrong with the current approach but
this fixes both the crash and the leak.

Differential Revision: https://phabricator.services.mozilla.com/D119315
2021-07-12 16:30:59 +00:00
Paul Zuehlcke 67db15658c Bug 1704110 - Added PreflightCacheCleaner. r=necko-reviewers,johannh,dragana
Differential Revision: https://phabricator.services.mozilla.com/D119290
2021-07-12 16:05:19 +00:00
Thomas Wisniewski 46c757c605 Bug 1713701 - Add a SmartBlock shim for IASPet; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119642
2021-07-12 16:03:56 +00:00
Emilio Cobos Álvarez 241951bce9 Bug 1711437 - Don't EnsureUniqueInner from the cssRules getter. r=layout-reviewers,jfkthame
Instead, fix up the various content data structures when the stylesheet
is mutated. This makes reading a stylesheet not disable style sharing.

Differential Revision: https://phabricator.services.mozilla.com/D115203
2021-07-12 16:02:58 +00:00
Tooru Fujisawa 4ccc6acc5c Bug 1719459 - Part 2: Add shell ModuleObject wrapper to avoid unexpected operation. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119566
2021-07-12 16:02:21 +00:00
Tooru Fujisawa e819448fb3 Bug 1719459 - Part 1: Move module testing function to JS shell. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D119584
2021-07-12 16:02:20 +00:00
Michael Cooper abe3033d39 Bug 1716032 - Don't set any Normandy default branch experiment values if there is a user set value r=Gijs DONTBUILD
This should help with bugs where users lose user-set values after an experiment expires.

Differential Revision: https://phabricator.services.mozilla.com/D119558
2021-07-12 15:59:10 +00:00
Csoregi Natalia 7658ff3191 Backed out changeset fce7b9d54faf (bug 1703051) for failures on browser_parsable_css.js. CLOSED TREE 2021-07-12 19:56:45 +03:00
Matthew Noorenberghe be0ee78044 Bug 970675 - Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118889
2021-07-12 15:04:24 +00:00
Matthew Noorenberghe f49c7390dd Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 15:04:23 +00:00
Matthew Noorenberghe e8f3a3e708 Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh
The permission manager automatically only saves permissions for the session with private browsing principals:
https://searchfox.org/mozilla-central/rev/da25888c4495585c532640f0e5efad07b1037621/extensions/permissions/PermissionManager.cpp#1586-1588

Differential Revision: https://phabricator.services.mozilla.com/D118887
2021-07-12 15:04:23 +00:00
Emma Malysz 533aa0b841 Bug 1703051, apply proton panel styling to other bookmarks dropdown and overflow menu in bookmarks toolbar r=desktop-theme-reviewers,mconley,jaws,harry
Differential Revision: https://phabricator.services.mozilla.com/D113200
2021-07-12 15:04:05 +00:00
Bernard Igiri 0d6d95f32b Bug 1699439 - Removing `--in-content-button` vars from common.inc.css r=desktop-theme-reviewers,jaws,Itiel
Removing the following vars from common.inc.css

-  `--in-content-button-border-radius`
-  `--in-content-button-horizontal-padding`
-  `--in-content-button-vertical-padding`

Differential Revision: https://phabricator.services.mozilla.com/D119190
2021-07-12 14:52:27 +00:00
Noemi Erli 727c4d984a Backed out 3 changesets (bug 970675) for causing failures in browser_privatebrowsing_popupblocker.js CLOSED TREE
Backed out changeset 98f78b0795b7 (bug 970675)
Backed out changeset ec59b5b4094a (bug 970675)
Backed out changeset 5a1853ea9693 (bug 970675)
2021-07-12 17:38:14 +03:00
Emily McMinn cd0dc9663a Bug 1716660 - Improve spacing around text items on import screen of about:welcome r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D118630
2021-07-12 14:12:18 +00:00
Matthew Noorenberghe 7a28a1907e Bug 970675 - Add "popup" as a search keyword for pop-up blocking preferences. r=flod,preferences-reviewers,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D118889
2021-07-12 13:53:45 +00:00
Matthew Noorenberghe aa80a022de Bug 970675 - Hide private browsing session permissions in dialogs/permissions.js. r=johannh
Port Bug 1601256 to dialogs/permissions.js. Unfortunately these files forked even though they are very similar. This leads to bugs like this being introduced.

Differential Revision: https://phabricator.services.mozilla.com/D118888
2021-07-12 13:53:44 +00:00
Matthew Noorenberghe 3e41e1b218 Bug 970675 - Allow changing popup blocker settings for the session in private windows. r=johannh
The permission manager automatically only saves permissions for the session with private browsing principals:
https://searchfox.org/mozilla-central/rev/da25888c4495585c532640f0e5efad07b1037621/extensions/permissions/PermissionManager.cpp#1586-1588

Differential Revision: https://phabricator.services.mozilla.com/D118887
2021-07-12 13:53:44 +00:00
Andi-Bogdan Postelnicu a24c2578ac Bug 1718230 - Do not run ff build using clang-trunk on beta. r=perftest-reviewers,kimberlythegeek
In Bug 1717600 we introduced the monitoring of performance for ff using clang-trunk toolchain,
we did this for mozilla-central and mozilla-beta, but after analyzing further the problem we
don't have to run it on beta since we can compare the graph of ff built with clang-trunk against
clang official and if the slopes of the two graphs have the same degrees this means that there
is no perf regression caused.

Differential Revision: https://phabricator.services.mozilla.com/D118814
2021-07-12 13:51:41 +00:00
Mike Conley eaa75cbe8c Bug 1712750 - Make sure sanitize.xhtml gets to set its mozSubdialogReady. r=mtigley
The mozSubdialogReady was being set inside of sanitize.xhtml in
its load event handler, which would be scheduled to run AFTER the
SubDialog _onLoad handler (which is what awaits mozSubdialogReady).

The only reason this wasn't more obvious is because the first time
the dialog is opened, the SubDialog _onLoad handler awaits
translation of the document, which gives sanitize.xhtml a chance
to run its load event handler and set the mozSubdialogReady.
Subsequent opens of the dialog wouldn't need to re-run translation
due to document caching, and so the mozSubdialogReady wouldn't
be waited for, resulting in incorrect dialog layout.

Depends on D119329

Differential Revision: https://phabricator.services.mozilla.com/D119330
2021-07-12 13:50:03 +00:00
Mike Conley 1cdf3f0759 Bug 1712750 - Get rid of some old-modal condition handlers in sanitize.xhtml. r=mtigley
These handlers and markup were only ever relevant when opening the
dialog in an old-style modal. Now that we're opening the dialog as
a SubDialog, these conditions can be cleaned up.

Depends on D117567

Differential Revision: https://phabricator.services.mozilla.com/D119329
2021-07-12 13:50:02 +00:00
Mike Conley 75b0f95fcc Bug 1712750 - Open sanitize dialog using the window modal dialog box when possible. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D117567
2021-07-12 13:50:02 +00:00
Andi-Bogdan Postelnicu 90ec98c524 Bug 1719812 - Upgrade llvm toolchain to 12.0.1. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D119493
2021-07-12 13:44:32 +00:00
ffxbld 20ebcad429 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D119613
2021-07-12 12:46:36 +00:00
Iulian Moraru ef7b6b88df Backed out 3 changesets (bug 1503072) for causing bc failures on browser_navigation_fetch_fault_handling.js. CLOSED TREE
Backed out changeset f8c6503512f5 (bug 1503072)
Backed out changeset c04927c15fd8 (bug 1503072)
Backed out changeset b7550232d4f1 (bug 1503072)
2021-07-12 15:19:09 +03:00
Andrew Sutherland bd86df06b4 Bug 1503072 - Add mitigation to bypass SW on navigation fault. r=dom-worker-reviewers,necko-reviewers,valentin,edenchuang
We enable this mitigation by default because:
- The alternate UX is about:blank or corrupted content.  That's never good.
- We want to make sure that our test coverage handles this mitigation because
  it's want we want to ship.

However, we do explicitly disable it for all ServiceWorker WPT's via
`__dir__.ini` directive at the root of the service-workers test tree.

This is motivated by the
`/service-workers/service-worker/update-recovery.https.html` test which
intentionally tests a broken ServiceWorker being able to be updated.  It
explicitly tests that the intercepted broken iframe shouldn't successfully
load, but our mitigation makes it load, which breaks the test.

Depends on D111845

Differential Revision: https://phabricator.services.mozilla.com/D111993
2021-07-12 11:13:35 +00:00
Eden Chuang a774f50d6a Bug 1503072 - Navigation fault interception test support. r=dom-worker-reviewers,edenchuang
Depends on D111844

Differential Revision: https://phabricator.services.mozilla.com/D111845
2021-07-12 11:13:34 +00:00
Andrew Sutherland af502f19fc Bug 1503072 - re-enable browser_storage_recover.js r=dom-worker-reviewers,edenchuang
This test was disabled for parent-intercept by bug 1470266 when parent
intercept was still in-progress.  Since the landing of worker remoting
and related cleanups, I think we're generally good here and I was able
to locally get this to pass under "--verify".  Also, this test is
actively relevant to the fixes we're making here on bug 1503072.

Differential Revision: https://phabricator.services.mozilla.com/D111844
2021-07-12 11:13:34 +00:00
Robert Mader 44f741bf9d Bug 1719527 - Rename some aLock arguments to aProofOfLock in WindowSurfaceWaylandMB,r=stransky
This is more consistent with other parts of the codebase and also
way more descriptive.
See also D119312

Differential Revision: https://phabricator.services.mozilla.com/D119317
2021-07-12 10:55:07 +00:00
André Bargull 39221fe228 Bug 1718198: Update locale canonicalisation algorithm for changes from CLDR 39. r=tcampbell
Implement the changes from <https://github.com/unicode-org/cldr/pull/1132>.

Differential Revision: https://phabricator.services.mozilla.com/D118806
2021-07-12 10:09:56 +00:00
Johann Hofmann c596d7167a Bug 1689262 - Extend STORAGE_ACCESS_API_UI telemetry probe to 94. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D119390
2021-07-12 09:43:19 +00:00
Csoregi Natalia 299c6a2321 Merge mozilla-central to autoland. CLOSED TREE 2021-07-12 12:33:00 +03:00
Csoregi Natalia b79212b4fc Merge autoland to mozilla-central. a=merge 2021-07-12 12:29:34 +03:00
Csoregi Natalia dfa0941d12 Backed out changeset 13666d70c2f2 (bug 1719812) as per request. a=backout DONTBUILD 2021-07-12 12:23:00 +03:00
Masayuki Nakano b94d2d1076 Bug 1719669 - Fix the reverse loop in `SelectionState::SaveSelection()` r=m_kato
The crash is caused by the infinite loop to delete unnecessary ranges.
The `i` is always equals or larger than `0` due to unsigned.  So, if
`Selection::RangeCount()` is `0`, `i` can be `UINT32_MAX`.

Instead, we can use `nsTArray<RefPtr<RangeItem>>::TruncateLength()`.

Differential Revision: https://phabricator.services.mozilla.com/D119564
2021-07-12 07:52:32 +00:00
Nicolas Chevobbe 80f1e7fb5f Bug 1709997 - [devtools] Add AbortController support to EventEmitter. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D119510
2021-07-12 07:13:13 +00:00
Noemi Erli f6510e1b99 Backed out changeset cac8db928ff6 (bug 1718221) for causing failures in gamepad-default-feature-policy.https.sub.html CLOSED TREE 2021-07-12 08:26:20 +03:00
Masayuki Nakano a81636618b Bug 1719387 - Make `test_bug795418-2.html` request `text/unicode` flavor in the headless mode r=smaug
Until fixing bug 1686012, clipboard in the headless mode does not support
"text/html" flavor.  Therefore, the `waitForClipboard` in the test does not
get expected value as `aData` in the first callback.

So, it should request `text/unicode` in the headless mode.

Depends on D119483

Differential Revision: https://phabricator.services.mozilla.com/D119484
2021-07-12 03:55:21 +00:00
Masayuki Nakano f9bedeed22 Bug 1719387 - Make `HTMLEditor::HandleInsertText()` allow to insert text outside `<body>` in XHTML document r=m_kato
With the change of bug 1716863, it retrieves editing host, but it's `nullptr`
if there is no `<body>` element in XHTML document.  The root cause should be
fixed in bug 1697989, but for now, we should allow it only in XHTML document
for safer regression fix.

Differential Revision: https://phabricator.services.mozilla.com/D119483
2021-07-12 03:55:21 +00:00
Marcos Cáceres 6f5d36675b Bug 1718221 - Set gamepad policy allow list to 'all' r=smaug
temporarily setting the allow list to all until we can figure out why "self" is not working.

Differential Revision: https://phabricator.services.mozilla.com/D119471
2021-07-12 00:51:42 +00:00
Andrei Oprea 47ab5c5645 Bug 1719987 - Add browser_preferences_usage.js pref exception only for Nightly builds r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119571
2021-07-11 22:25:05 +00:00
Emilio Cobos Álvarez 4770456952 No bug - Fix mixed indentation in style_adjuster.rs. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D119579
2021-07-11 20:44:01 +00:00
Tom Schuster b5d465f4cc Bug 1719703 - Implement cancel event on <input type=file>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D119437
2021-07-11 20:05:03 +00:00
Benjamin Beurdouche 5227b2bd67 Bug 1715772 - land NSS NSS_3_68_RTM UPGRADE_NSS_RELEASE, r=beurdouche
Differential Revision: https://phabricator.services.mozilla.com/D119577
2021-07-11 18:02:26 +00:00
Gerald Squelart 81d28b5530 Bug 1719959 - Better Tag type choice, fixed corresponding test - r=emilio
On some systems, uint_fast8_t may be as big as size_t! So the `static_assert(sizeof(aIndex) < sizeof(size_t))` could fail there. The better test here is to check for the expected type (uint_fast8_t).

Now, since uint_fast8_t can be bigger than 8 bits, we may as well choose it for variant sizes greater than 255, up to UINT_FAST8_MAX.
(The added parentheses help clang-format distinguish '<' for tests vs for templates.)

Differential Revision: https://phabricator.services.mozilla.com/D119574
2021-07-11 09:43:50 +00:00
Ted Campbell 3ba42a92ce Bug 1719866 - Compute jsshell binary name correctly on Windows. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D119519
2021-07-10 21:50:53 +00:00