Commit Graph

736480 Commits

Author SHA1 Message Date
Emma Malysz
5dfb6ccc12 Bug 1649620, remove OS.File from HandlerService.js r=barret
Differential Revision: https://phabricator.services.mozilla.com/D98351
2020-12-01 19:49:53 +00:00
Glenn Watson
2ce239352c Bug 1679939 - Remove experimental PLS functionality. r=jnicol,nical
The pixel-local-storage functionality was an experiment for faster
drawing of clip masks on low end tiled GPUs. However, it's never
reached a point where it was shippable and showing clear performance
wins.

This patch removes the experimental PLS support - we can always
revive it from git history if we ever want to consider it again.

Differential Revision: https://phabricator.services.mozilla.com/D98290
2020-12-01 19:28:19 +00:00
Csoregi Natalia
e1c9e65ec1 Backed out changeset 9bd89da852cf (bug 1680028) for causing gecko decision tasks to fail. CLOSED TREE 2020-12-01 21:34:50 +02:00
Andrew Osmond
c40cc92486 Bug 1679998 - Part 2. Add Apple GPUs to the WebRender allowlist. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D98311
2020-12-01 19:09:04 +00:00
Andrew Osmond
da33064dce Bug 1679998 - Part 1. Add Apple as a GPU vendor to GfxInfo. r=jrmuizel,mstange
Differential Revision: https://phabricator.services.mozilla.com/D98310
2020-12-01 16:26:43 +00:00
Julian Seward
4f05523121 Bug 1680043 - Remove redundant Cargo.toml dependency on wasmparser 0.67. r=yury.
js/src/wasm/cranelift/Cargo.toml lists wasmparser as a dependency, but this is
(confusingly) not necessary, since we use the version re-exported by Cranelift
(IIUC).  So let's remove the dependency.

Differential Revision: https://phabricator.services.mozilla.com/D98372
2020-12-01 19:08:12 +00:00
Tim Nguyen
286627332f Bug 1678865 - Remove FakeHistory and gHistory from extensions.js. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D97851
2020-12-01 18:50:20 +00:00
Tim Nguyen
8241cafe5d Bug 1678866 - Stop registering gViewController in window.controllers. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D97852
2020-12-01 18:50:07 +00:00
Tim Nguyen
a79d0f3872 Bug 1678173 - Simplify gViewController now that there are only htmlViews. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D96440
2020-12-01 18:56:00 +00:00
Haik Aftandilian
ba86698ecc Bug 1678445 - Crash related to Widevine playback on macOS 11 with Apples Silicon/arm64 r=jld,bryce
When using an x64 GMP child process with an arm64 parent process on arm64 Mac's, use a 16k Shmem pagesize in the child process.

Differential Revision: https://phabricator.services.mozilla.com/D98241
2020-12-01 19:05:20 +00:00
Julien Cristau
40bf7ed8c2 Bug 1680028 - run l10n-bumper daily instead of hourly. r=releng-reviewers,jmaher
To ensure l10n updates are still picked up by beta builds in a timely
fashion, remove "DONTBUILD" from commit messages when running on
mozilla-beta, and run a couple of hours before the "daily-releases" job
starts.

Differential Revision: https://phabricator.services.mozilla.com/D98349
2020-12-01 18:52:23 +00:00
Olli Pettay
b88e9dc845 Bug 1673414 - [Fission] Enable history.https.sub.html and navigation-in-onload.tentative.html, r=ckerschb
history.https.sub.html seems to have a racy part. Since that is most of the patch, perhaps ckerschb you could
review this.

navigation-in-onload.tentative.html part is just enabling a test which passes on Fission now.

Differential Revision: https://phabricator.services.mozilla.com/D98364
2020-12-01 18:42:49 +00:00
Jessica Tallon
eb36b1aaab Bug 1651725 - Change wasm Memory, Table & Global .type property to method r=rhunt
Shunting review to Ryan.

Differential Revision: https://phabricator.services.mozilla.com/D97922
2020-12-01 18:04:30 +00:00
Iain Ireland
ba233e3b0a Bug 1677782: Disable LICM after second bailout r=jandem
Instead of disabling LICM as soon as a hoisted instruction bails, this patch sets a flag on the IonScript, gives baseline a chance to invalidate, and then disables LICM if the problem happens again.

I tried an alternate approach where the first LICM bailout disabled hoisting of instructions from blocks that don't dominate the backedge, and the second LICM bailout disabled LICM entirely, but this way got better results.

Differential Revision: https://phabricator.services.mozilla.com/D98251
2020-12-01 16:24:12 +00:00
Olli Pettay
dab3100cbd Bug 1668919 - try to make browser_tab_touch_events.js less racy, r=edgar
As far as I see the test is racy. It adds event listener to a window object, which reload() will replace.
So if the load event for non-transient about:blank gets chance to fire, then the test passes without the patch.
The main thing the patch does is to listen for the load event on the iframe element, since that object isn't
replaced.

The intermittent failure happens quite rarely and not locally, so the patch is based on code inspection.
Locally the test was run successfully 100 times both with opt and debug builds.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=8b3c65c89c55cd16bf57cf0b78db9ee99ba23df2

Differential Revision: https://phabricator.services.mozilla.com/D98305
2020-12-01 13:20:51 +00:00
Mitchell Hentges
f785b29cf3 Bug 1680051: Ignore error when removing old psutil directory r=firefox-build-system-reviewers,dmajor
Don't fail to run all mach commands when old psutil directory
cannot be removed.

Glandium mentioned that there shouldn't be any negative effects from the
old directory lingering.

Differential Revision: https://phabricator.services.mozilla.com/D98352
2020-12-01 17:40:10 +00:00
Andrew McCreight
37d53cb0c1 Bug 1680042 - Fix "detroyed" typos. DONTBUILD r=necko-reviewers,geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D98341
2020-12-01 17:35:54 +00:00
Frederik Braun
faf3533a72 Bug 1674735 - update wpt to block 5060, 5061 r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95679
2020-12-01 12:12:30 +00:00
Gabriele Svelto
21790b6674 Bug 1624467 - Fix a race in child process crash generation which could lead to a full browser crash r=KrisWright
In bug 1614933 we discovered a potential deadlock in Windows-specific code
could cause the main process to get stuck waiting for a child process to send
out its annotations after it crashed. As it turns out this flaw was also
present in the Linux and macOS versions but was not visible because on those
platforms we used non-blocking writes when writing out annotations and we
didn't check if they were actually written out (see bug 1666383). Since the
child process would not stop it couldn't possible deadlock. However, the
relevant code is still racy: if the child process' pipe would start rejecting
writes early, the child process could race past the main process leading to
the crash. The sequence of events in the racy case would be the following:

- We hit an exception in the child process, we enter the exception handler and
  signal the main process to write a minidump
- The crash generation thread in the main process is woken up, writes the
  minidump then signals the child process it can continue
- The child process writes out the crash annotations then exits
- At this stage the crash generation thread in the main process should have
  picked up the annotations and stored the crash report in the pid-to-minidump
  table. But let's assume the scheduler doesn't wake up this thread for now.
- The main thread in the main process wakes up in response to the child
  process shutdown, it will try to grab the minidump
- The minidump is not available yet because the crash generation client thread
  hasn't run yet and there's nothing preventing the main thread to race past it:
  the main process crashes trying to access a NULL pointer

To this issue the act of transfering the exception-time annotations is decoupled
from the act of writing the minidump in both the main process and the child
process. This way when the child process is forced to wait for the main process
to act on the minidump before the crash annotations are written out, and by the
time the child process quits the main process has reliably acquired the lock to
the pid-to-minidump table so that the race can't happen anymore.

Note: to implement the second change the child process exception handler
should execute the minidump callback after it has request the creation of a
minidump. For some reason this was implemented in breakpad only for the
in-process crash case, not the out-of-process one. I modified the relevant
code in the exception handler to invoke the callback in both cases.

Differential Revision: https://phabricator.services.mozilla.com/D97964
2020-12-01 17:26:55 +00:00
Nick Alexander
97a692a97b Bug 1679583 - Make "JS XPCOM" and "SubScript" marker stacks include helpful labels. r=mstange
We need to have the label in place before placing the marker and
capturing the accompanying stack to be able to identify the loaded JS.

Differential Revision: https://phabricator.services.mozilla.com/D98094
2020-12-01 17:20:02 +00:00
Razvan Maries
04e2011dde Backed out changeset 046fbc896c0b (bug 1666383) for perma failures on test_content_large_annotation.js. CLOSED TREE 2020-12-01 19:19:52 +02:00
Valentin Gosu
c5f0e366db Bug 1677501 - Add nsIX509CertDB.asyncHasThirdPartyRoots and use it in DoHHeuristics.jsm r=keeler,Gijs,nhnt11
This allows us to avoid calling any NSSCertificateDB methods on the main
thread or allocating memory for xpconnect wrappers of cert objects.

Differential Revision: https://phabricator.services.mozilla.com/D97970
2020-12-01 14:42:36 +00:00
Nicolas Chevobbe
9a7b1bb9be Bug 1679409 - [devtools] Write a test for color scheme simulation. r=rcaliman.
The test is quite simple as it checks the state of the buttons as we cycle through
it, and checks that the rule view does show the expected applied rule when
simulating a color scheme.

Even if the color scheme simulation is behind a pref, this simple test will help
avoid regression. It also highlights that the feature does not work on remote
iframe when Fission is enabled, which is why we tag it as `fail-if = fission`.

Differential Revision: https://phabricator.services.mozilla.com/D98047
2020-12-01 17:00:08 +00:00
Emma Malysz
a71f7f0454 Bug 1678211, remove unused fullscreen.used telemetry probe r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98124
2020-12-01 16:59:30 +00:00
Mitchell Hentges
aadb1612e7 Bug 1677529: Accurately describe why extra "malloc" import is needed r=glandium
To count hunspell memory calls, we hook into malloc calls with #defines.
Due to the way that the compiler imports and caches files, this
causes an implicit dependency on importing malloc before the hooks are
set.

Make this implicit dependency explicit and explain why it's there.

Differential Revision: https://phabricator.services.mozilla.com/D98081
2020-12-01 16:53:31 +00:00
Eugen Sawin
96296324c9 Bug 1679897 - [1.0] Remove GV onActivated order workaround. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D98256
2020-12-01 02:53:51 +00:00
Eugen Sawin
48fe64d4de Bug 1674110 - [1.0] Avoid triggering default metadata events in tests. r=geckoview-reviewers,alwu,agi
Differential Revision: https://phabricator.services.mozilla.com/D98255
2020-12-01 02:52:38 +00:00
Henrik Skupin
c08ac18884 Bug 1674329 - [marionette] Detect replacement of browsing context for cross-group navigations. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D98052
2020-12-01 16:15:12 +00:00
Henrik Skupin
25efa14cca Bug 1678455 - [marionette] Add isLoadEventExpected checks for link targets. r=marionette-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D97759
2020-12-01 16:15:12 +00:00
Henrik Skupin
194f883894 Bug 1678455 - [wdspec] Add target navigation tests for Element Click. r=webdriver-reviewers,jgraham,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D97758
2020-11-30 15:37:40 +00:00
Sebastian Hengst
eb1f02842f Bug 1679884 - set grid-auto-margin-and-replaced-item-001.html as passing intermittently on Windows 7 debug. DONTBUILD
Test got added in bug 1678970 yesterday UTC.

Differential Revision: https://phabricator.services.mozilla.com/D98350
2020-12-01 16:14:42 +00:00
Andrew Osmond
093d7f3e0a Bug 1678482 - Add a WebRender test for the downloadable blocklist. r=jrmuizel,robwu
Differential Revision: https://phabricator.services.mozilla.com/D97704
2020-11-27 14:28:27 +00:00
Andrew Osmond
d44b0fb763 Bug 1678474 - Add generic Darwin option for OSX for downloadable gfx blocklist. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97688
2020-11-27 14:04:09 +00:00
Emma Malysz
8a24c9d37f Bug 1673092, disable skeleton ui if tabsintitlebar pref is false r=dthayer
If browser.tabs.drawInTitlebar is false, we should not paint the skeleton
UI. It creates an additional top bar with the icon and name of the current
tab, so our skeleton UI will not match the window, and we risk creating
a poor experience for our users.

Differential Revision: https://phabricator.services.mozilla.com/D97206
2020-12-01 16:05:40 +00:00
julianwels
3b72538413 Bug 1679630 - Don't create HTTPS-Only Mode background request if URI is local or onion. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D98233
2020-12-01 15:36:30 +00:00
Ryan VanderMeulen
64984d8c54 Backed out 2 changesets (bug 1577539) for causing bug 1675735.
Backed out changeset 4cf859c2cad2 (bug 1577539)
Backed out changeset 693a84154f2f (bug 1577539)
2020-11-17 14:24:03 -05:00
Mark Striemer
14475634e9 Bug 1673713 - Part 2: Pages per sheet option behind a pref r=sfoster,fluent-reviewers,flod
This adds the pages per sheet option behind the print.pages_per_sheet.enabled
pref. Sizes of 2 and 6 aren't supported yet, so this is off by default.

Differential Revision: https://phabricator.services.mozilla.com/D95335
2020-11-30 22:46:46 +00:00
Mark Striemer
8a4e6bf3a5 Bug 1673713 - Part 1: Serialize the numPagesPerSheet property r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D95334
2020-11-30 22:46:23 +00:00
Razvan Maries
1122f1dd53 Backed out changeset f4d2921dbb2a (bug 1679977) for build bustages. CLOSED TREE 2020-12-01 17:13:30 +02:00
Razvan Maries
1e986258d1 Backed out changeset f5532b7dc480 (bug 1672181) as per Gregory's request. CLOSED TREE 2020-12-01 17:12:11 +02:00
Alessio Placitelli
53deac993e Bug 1679977 - Vendor Glean 33.5.0. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98300
2020-12-01 13:20:33 +00:00
harry
9e16e8ed83 Bug 1679890 - Change UrlbarProviderExtension.notificationTimeout into a pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D98253
2020-12-01 05:35:45 +00:00
Thinker Li
56aff226ee Bug 1667183 - Restart fork server on error. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D91385
2020-12-01 13:43:52 +00:00
Sylvestre Ledru
3412ec2dcb Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio DONTBUILD
# ignore-this-changeset

Depends on D98301

Differential Revision: https://phabricator.services.mozilla.com/D98302
2020-12-01 13:51:20 +00:00
Nicolas Chevobbe
8b51d8b3ca Bug 1679971 - [devtools] Remove unnecessary argument when calling highlighter.show. r=rcaliman.
Cleanup backward compatibility code.

Depends on D97395

Differential Revision: https://phabricator.services.mozilla.com/D98297
2020-12-01 12:32:15 +00:00
Hubert Boma Manilla
6dd4b5fa16 Bug 1677856 - [devtools] Update codemirror javascript mode r=nchevobbe
This patch updates the modes file for javascript.
It fixes particularly the issue with the source editors syntax highlighting issue, caused by the usage
of optional chaining inside template strings.
It also benefits of any other improvements that have been made.

Differential Revision: https://phabricator.services.mozilla.com/D98106
2020-12-01 13:13:30 +00:00
Andrew Osmond
5edd4fabe8 Bug 1678917 - Make glxtest fail more gracefully. r=rmader
If we encounter a single error in glxtest, we typically bail immediately
with one liner message. This patch makes it put more effort into
returning what information it is able to, as well as the current error
messages. If certain errors are correlated to specific devices, it would
be useful if we had the information to make the connection.

Differential Revision: https://phabricator.services.mozilla.com/D97861
2020-12-01 11:52:14 +00:00
Hubert Boma Manilla
0b6ab1ef69 Bug 1676177 - [devtools] Throtting requests in fission r=ochameau,devtools-backward-compat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97965
2020-11-30 23:03:55 +00:00
Eitan Isaacson
30e07c3569 Bug 1413307 - Dispatch AXValueChanged on checkbox/radio state changes. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D98260
2020-12-01 09:29:56 +00:00
Nicolas Chevobbe
e1ad6a59fa Bug 1679503 - [devtools] Make getNodeFrontInFrame helper Fission-compatible. r=rcaliman.
The helper wasn't working for element in remote frame when Fission was enabled.
We fix this by first retrieving the iframe associated target front and related
walker front.
Then we can check if the walker is different from the top-level one, and call
`querySelector` with the appropriate queryNode.

Differential Revision: https://phabricator.services.mozilla.com/D98046
2020-11-27 15:41:04 +00:00