710154 Commits

Author SHA1 Message Date
Jeff Gilbert
aa48742190 Bug 1636517 - When detaching a webgl fb attachment, reset params to defaults. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D77177
2020-05-27 22:51:40 +00:00
Aaron Klotz
bcc33f9b49 Bug 1641315: Fix crash when a binding connection is lost during final connection setup; r=geckoview-reviewers,agi
This crash hits when a `RemoteException` is thrown during `onServiceConnected`.
We `unbind`, which destroys all our bookkeeping data. During this destruction,
we also attempt to retrieve the pid, which fails because we lost our binding
before we had a chance to retrieve it.

This patch adds a new exception to be thrown in this case, which we explicitly
catch in `removeContentConnection`.

Differential Revision: https://phabricator.services.mozilla.com/D77135
2020-05-27 23:08:07 +00:00
Razvan Maries
c61dea7188 Backed out changeset 9abcbf533b08 (bug 1629113) as per Agi's request. CLOSED TREE 2020-05-28 02:06:05 +03:00
Andrew Osmond
b1a4d4c79f Bug 1621283 - Ensure the WebP image decoder can handle source buffer errors. r=tnikkel
If we hit an OOM or similar when creating a SourceBuffer for an image,
we will hit COMPLETE immediately as the next read that goes to the
SourceBuffer from a SourceBufferIterator. If the iterator has yet to do
a read, that means it will hit COMPLETE right away without giving
anything. This patch fixes the WebP decoder to handle this case, as well
as adds test cases for all of the current image decoders.

Differential Revision: https://phabricator.services.mozilla.com/D77131
2020-05-27 22:52:10 +00:00
Erica Wright
2533f8da77 Bug 1636962 - Add telemetry for all page load errors r=johannh,xeonchen,nika
Differential Revision: https://phabricator.services.mozilla.com/D75873
2020-05-27 22:33:02 +00:00
egao
45a93dd0b7 Bug 1637011 - refactor web-platform-tests chunking process in chunking.py r=ahal
Changes:

  - for web-platform-tests codepath, no longer perform filtering of the runtimes information to a list of key:value.
  - for web-platform-tests codepath, load runtimes information into an OrderedDict in order from highest to lowest runtime.
  - if any test paths remain after initial chunking by runtime information, distribute such paths across all chunks.

Differential Revision: https://phabricator.services.mozilla.com/D76538
2020-05-27 20:21:48 +00:00
alwu
a639a55db7 Bug 1640339 - sync 'MediaControlKeysTestEvent' and 'MediaControlKeysEvent'. r=chunmin
Make sure that the value of these two events are the same and add the convertion for `focus`.

Differential Revision: https://phabricator.services.mozilla.com/D76577
2020-05-27 22:47:35 +00:00
Agi Sferro
4d2ed19feb Bug 1629113 - Move caret browsing handler to tabbrowser.js. r=NeilDeakin
We don't use it on GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D72724
2020-05-27 22:26:17 +00:00
Greg Tatum
1ccf8ae406 Bug 1640274 - Remove TrackOptimizations from the JS engine; r=sfink,gerald
Differential Revision: https://phabricator.services.mozilla.com/D76855
2020-05-27 22:08:52 +00:00
Greg Tatum
3802fc82a4 Bug 1640274 - Remove the unused TrackOptimizations profiler; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D76854
2020-05-27 22:08:49 +00:00
Greg Tatum
ca8ec92461 Bug 1571086 - Remove privacy feature from the profiler; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D76853
2020-05-27 22:07:57 +00:00
Greg Tatum
db4d917032 Bug 1633855 - Break out the about:profiling features into separate sub-sections; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D76512
2020-05-27 22:07:30 +00:00
Greg Tatum
873a3e02c2 Bug 1633855 - Re-work the experimental definitions for features; r=julienw
This commit changes up the definitions of the presets a bit. I promoted the
allocations work to non-experimental, as it's fairly well supported now in the UI.
Others I demoted to experimental if they were not supported in our current UI,
or flat out don't work.

Differential Revision: https://phabricator.services.mozilla.com/D76511
2020-05-27 22:07:08 +00:00
Greg Tatum
680b9f7324 Bug 1633855 - Clean up some old getSupportedFeatures actor compatibility; r=julienw
This is a drive-by clean-up, as I was touching this code.

Differential Revision: https://phabricator.services.mozilla.com/D76510
2020-05-27 22:06:54 +00:00
Haik Aftandilian
76c2f2d30d Bug 1592416 - Right click opens context menu on wrong monitor or virtual desktop (mac OS Catalina) r=spohl
Add the NSWindowCollectionBehaviorMoveToActiveSpace behavior to nsCocoaWindow
popups so that they override the "Assign To" space setting and display on the
active space.

This also addresses bug 1589893 where, when "Assign To" space is used, popup
menus are not visible in full screen mode.

With mutiple displays, recreate the popup widget each time it is displayed
to workaround a problem where the re-shown popup appears on the "Assign To"
display instead of the current display.

Differential Revision: https://phabricator.services.mozilla.com/D75419
2020-05-27 22:41:34 +00:00
Stephen A Pohl
87257b906f Bug 1543813: Fix a race condition that can lead to a crash when using the color picker on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D71045
2020-05-27 22:07:45 +00:00
Stephen A Pohl
bb9d5ca840 Bug 1543813: Minor refactor of macOS color picker. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D71043
2020-05-19 17:27:42 +00:00
Michael Cooper
785ca4a0fc Bug 1637688 - Make isEnrollmentPaused required for all action types that use it r=k88hudson,rdalal
Differential Revision: https://phabricator.services.mozilla.com/D75163
2020-05-27 22:44:38 +00:00
Razvan Maries
9aa7bebfd1 Backed out changeset 944ffb76f335 (bug 1640072) for perma failures on browser_protections_lockwise.js. CLOSED TREE 2020-05-28 01:43:32 +03:00
Razvan Maries
b079339305 Backed out changeset 5daeee90db7e (bug 1641297) for assertion failures. CLOSED TREE 2020-05-28 01:35:06 +03:00
Razvan Maries
f8a2bcc110 Backed out changeset 004abcb3322e (bug 1626015) for perma failures on idlharness.window.html. CLOSED TREE 2020-05-28 01:23:57 +03:00
prathiksha
f247187965 Bug 1634947 - Update the TLS deprecated error message in Firefox. r=johannh,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77021
2020-05-27 21:58:30 +00:00
Bert Peers
e80c22f3c4 Bug 1623003 - investigate begin_frame r=gw
Adding profile_scopes.

Differential Revision: https://phabricator.services.mozilla.com/D77113
2020-05-27 20:37:05 +00:00
Mark Smith
7b93c9ae97 Bug 1588549 - --disable-maintenance-service should exclude all maintenance service-related code r=bytesized,mhowell
Exclude Windows Maintenance Service-related C++ code and avoid linking
with unnecessary libraries when building with --disable-maintenance-service.

Differential Revision: https://phabricator.services.mozilla.com/D76349
2020-05-27 21:22:15 +00:00
Toshihito Kikuchi
a2f2d585ea Bug 1509748 - Do not touch ntdll's PE header directly if EAF+ is enabled. r=mhowell,mstange
If EAF+ is enabled for firefox.exe, the process does not launch because we parse
the PE headers of ntdll.dll at startup, which is prohibited by EAF+.

With this patch, we skip two operations when EAF+ is enabled.

The first one is to cache ntdll's IAT at startup.  Because EAF+ is expected to
prevent an injected module from parsing PE headers and modifying IAT, we can skip
this caching safely.

The second one is to load ntdll's debug information for the profiler.  With this
patch, the profiler's callstack will not show a raw address instead of a symbol
name.  It's a bad side effect, but much better than startup crash.

Differential Revision: https://phabricator.services.mozilla.com/D76959
2020-05-27 21:48:35 +00:00
Gerald Squelart
cf61fd1e10 Bug 1641122 - Fix 32-bit Android profiler buffer size default - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D77016
2020-05-27 19:41:46 +00:00
Tom Schuster
94396bf21f Bug 1641297 - Optimize Array.isArray in CacheIR and Warp. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D77125
2020-05-27 21:37:33 +00:00
Dão Gottwald
e56b33fa69 Bug 1520641 - Make zoom level percentage bubble animation obey prefers-reduced-motion. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D76625
2020-05-27 17:54:14 +00:00
Dale Harvey
d62a4998a3 Bug 1627541 - Move pref handling into Region.jsm r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75719
2020-05-27 20:16:19 +00:00
Tarek Ziadé
c0c06d6f1f Bug 1641351 - raise on node error in BT r=acreskey
We forgot to check that the node command succeeded.
This patch fixes it.

Differential Revision: https://phabricator.services.mozilla.com/D77148
2020-05-27 21:43:38 +00:00
prathiksha
ed4cee3a4d Bug 1640072 - Monitor card body should change when the user resolved breaches. r=ewright,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D76939
2020-05-27 19:58:00 +00:00
Eden Chuang
612b473d45 Bug 1634419 - Skip CORP checking for TYPE_WEBSOCKET loading r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D74655
2020-05-27 21:29:32 +00:00
Jeff Gilbert
9bc021a763 Bug 1636524 - [webgl] framebufferTexture requires bindTexture. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D77149
2020-05-27 21:34:05 +00:00
Cameron McCormack
4d86697e24 Bug 1641108 - Add perf-reftest-singleton for bug 1640545 changes. r=emilio,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D76966
2020-05-27 12:01:53 +00:00
Etienne Bruines
dcaf3bd40f Bug 1637619 - [remote] Implement Network.getAllCookies r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D75115
2020-05-27 21:25:26 +00:00
Joel Maher
9e0ee8988a Bug 1641160 - add support for isCoverageBuild in reftests. r=gbrown
add support for isCoverageBuild in reftests.

Differential Revision: https://phabricator.services.mozilla.com/D77139
2020-05-27 21:22:54 +00:00
thomasmo
76400f97fe Bug 1637410 - Update OpenVR to 1.11.11 r=kip,daoshengmu
This change updates mozilla-central's copy of the files for the OpenVR lib built into xul.dll from
  https://github.com/ValveSoftware/openvr
from version 1.0.17 to 1.11.11.

Differential Revision: https://phabricator.services.mozilla.com/D74965
2020-05-27 21:16:57 +00:00
Geoff Brown
21053c0624 Bug 1638965 - Run 'mach gtest' in python 3; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D77092
2020-05-27 20:53:22 +00:00
Jason Orendorff
8d2dd3a46f Bug 1637312 - Restore invariants after removing elements in Fifo::eraseIf(). r=mgaudet.
Spotted by André Bargull.

Differential Revision: https://phabricator.services.mozilla.com/D75321
2020-05-14 18:12:46 +00:00
Valentin Gosu
243b953e9d Bug 1586630 - Add check to GetURIDirectory r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D76125
2020-05-27 11:48:07 +00:00
Erik Nordin
b077117ab0 Bug 1637437 - Recompute backdrop-filter only when WebRender changes r=jrmuizel
- Add a gfxVarReceiver for nsCSSProps.
  - Recompute backdrop-filter state when notifying receivers for WebRender.
  - Remove NS_NewRunableFunction calls when we know we're on main thread.
  - Add assertion that recompute enabled state is called from main thread.

Differential Revision: https://phabricator.services.mozilla.com/D74975
2020-05-27 19:53:05 +00:00
Alexander J. Vincent
e9ee229d54 Bug 1626015 - Implement ParentNode#ReplaceChildren. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D75891
2020-05-27 18:44:13 +00:00
Jon Bauman
3b93e0e5f8 Bug 1635391 - Firefox does not download WebP and AVIF when their support flags are off. r=mattwoodrow
Dynamically toggle support for displaying image/webp and image/avif according
to the values of the image.webp.enabled and image.avif.enabled prefs.

Differential Revision: https://phabricator.services.mozilla.com/D76977
2020-05-27 18:51:25 +00:00
Greg Tatum
8b1305be4b Bug 1634448 - Update the menu button to reflect the current profiler states; r=canaltinova
This patch adjusts the profiler menu button to properly reflect the current state
of the profiler. It doesn't completely match the design spec, as there are a bunch
of CSS rules already in place in the toolbar, and I wanted to keep the changes
simple. It does however, update the UI based on the state of the profiler.

Differential Revision: https://phabricator.services.mozilla.com/D75851
2020-05-26 15:59:59 +00:00
Greg Tatum
b9823e9fb8 Bug 1598734 - Refine background script toggleProfiler and captureProfile commands; r=canaltinova
This patch handles the issue where a user sends two commands two toggle the profiler and/or
capture. This gets the profiler UI in a weird state that usually is just because the UI
is hanging and lagging. This makes the profiler pause state into a "capturing" state.
I did not include a test with the behavior change, as I was worried about intermittent
failures on asserting this behavior.

Differential Revision: https://phabricator.services.mozilla.com/D75850
2020-05-26 15:42:34 +00:00
Greg Tatum
b5e1be1d8d Bug 1634448 - Remove some unused references to the old profiler popup iframe; r=canaltinova
These were left-over from the previous implementation.

Differential Revision: https://phabricator.services.mozilla.com/D75849
2020-05-26 15:42:20 +00:00
sefeng
7c966cd62c Bug 1640336 - Use descriptive error messages for dialog.showModal() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D77126
2020-05-27 20:35:47 +00:00
Iain Ireland
f3489ed171 Bug 1640475: Report OOM in initializeNamedCaptures r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D76956
2020-05-27 20:20:30 +00:00
Neil Deakin
7b6180750d Bug 1640943, remove message manger and frame scripts from browser_accesskeys.js, r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D76865
2020-05-27 20:12:34 +00:00
Razvan Maries
5c6bd8bcfd Backed out changeset 2a44daf61d7f (bug 1640479) for build bustages on bug1640479.js. CLOSED TREE 2020-05-27 23:20:51 +03:00