740621 Commits

Author SHA1 Message Date
Hubert Boma Manilla
c0cca06a13 Bug 1686440 - [devtools] Fix webconsole network events and stacktrace tests r=ochameau,nchevobbe
Fixes browser_webconsole_stubs_network_event.js
Fixes browser_webconsole_network_messages_stacktrace_console_initiated_request.js

Differential Revision: https://phabricator.services.mozilla.com/D99623
2021-01-13 12:37:21 +00:00
Tim Nguyen
e8f4f16d7b Bug 1686346 - Remove promise.defer() usage from browser_dbg_navigation.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D101511
2021-01-13 06:15:29 +00:00
Jan de Mooij
3e48042164 Bug 1682767 part 48 - Remove Ion optimization levels. r=iain
Warp doesn't use this and there's a lot of complexity to support recompiling
an IonScript while continuing to use the current one.

It might make sense to add a similar hot tier to Warp at some point, but because
Warp uses trial inlining the implementation would likely be pretty different:
we could invalidate, flag the JitScript as supporting different inlining thresholds,
and go back to Baseline to gather information.

Differential Revision: https://phabricator.services.mozilla.com/D101457
2021-01-13 12:05:30 +00:00
Jan de Mooij
7f3824e456 Bug 1682767 part 47 - Simplify testValueTruthyKernel and TypeOfV codegen. r=iain
These functions use mightBeType for each type, but without TypeSets that always
returns true because the operand has MIRType::Value, so simplify based on that.

There are probably other calls to mightBeType that we can audit/change later as
we notice them, but these ones seemed particularly unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D101456
2021-01-12 17:49:42 +00:00
yulia
c897e5a544 Bug 1665330 - If a script is a module, increment the IgnoreDestructiveWrites counter r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D99898
2021-01-13 11:41:01 +00:00
Henri Sivonen
e9ebba30d8 Bug 1682950 - Skip test_sanitizer_on_paste.html in headless mode. r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D101338
2021-01-13 11:30:50 +00:00
Razvan Maries
21321565f6 Backed out changeset 9fabf5ced4d3 (bug 1620993) for OSX Build bustages. CLOSED TREE 2021-01-13 12:57:41 +02:00
James Graham
f02f8e0d42 Bug 1686412 - Update usage of plistlib for Python 3.9 changes, r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D101572
2021-01-13 09:26:22 +00:00
M. Sirringhaus
3665b8d70a Bug 1620993 - Rewrite the Linux-specific minidump writer code in Rust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D98744
2021-01-13 10:37:29 +00:00
Kershaw Chang
af38ea2e99 Bug 1683176 - Make sure mAuthChannel is released on main thread r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D100243
2021-01-13 09:28:23 +00:00
Kershaw Chang
f77d65d450 Bug 1683176 - No need to process the rest challenges if the auth channel is cancelled r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D100236
2021-01-13 09:28:11 +00:00
Kershaw Chang
50d34b6e87 Bug 1683176 - Call OnCredsGenerated when GetNextTokenCompleteEvent is canceled r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D100057
2021-01-13 09:27:58 +00:00
Masatoshi Kimura
8401e21c44 Bug 1684110 - Stop defining aliases for 'A'-functions in windows.h wrapper. r=glandium
so that people do not accidentally use 'A'-functions.

Depends on D100420

Differential Revision: https://phabricator.services.mozilla.com/D101273
2021-01-12 04:44:03 +00:00
Masatoshi Kimura
03d7defdfa Bug 1684110 - Define UNICODE on some directories. r=glandium
so that people do not accidentally use 'A'-functions.

Differential Revision: https://phabricator.services.mozilla.com/D100420
2021-01-13 22:49:59 +00:00
Mihai Alexandru Michis
d40c24714c Backed out changeset 6149f5b15c5e (bug 1640607) for causing bustages in WebGLTextureUpload.cpp
CLOSED TREE
2021-01-14 00:43:40 +02:00
Steve Fink
9738113572 Bug 1684122 - Demarcate region where GC would break stuff r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D100427
2021-01-13 22:24:36 +00:00
Steve Fink
613e55711f Bug 1682068 - Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100428
2021-01-13 22:17:51 +00:00
Steve Fink
4bf3434c15 Bug 1686532 - Add dom::TypedArray_base::Reset() as a signal to the hazard analysis that no invalidatable data is being held onto r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D100429
2021-01-13 22:18:00 +00:00
Steve Fink
a75149f6b8 Bug 1684123 - Implement GetArrayBufferViewFixedData and dom::TypedArray_base::FixedData(). r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D100426
2021-01-13 22:17:40 +00:00
Jeff Gilbert
580169fbfc Bug 1640607 - Send SurfaceDescriptors for GPU blitting for video-to-webgl. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D101061
2021-01-13 21:49:40 +00:00
Dão Gottwald
9d9110dc60 Bug 1686305 - Add New Assets to Tippy Top Service. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D101585
2021-01-13 20:14:54 +00:00
Glenn Watson
f61e781e90 Bug 1686113 - Fix render pass assignment for complex task graphs. r=nical
The previous traversal strategy for assigning render tasks is very
simple and works fine for normal content. However, it's possible to
create graphs with very deep levels of nesting and dependencies
that cause the pass traversal to not terminate quickly.

This patch contains two changes to fix these cases:
 - Recursion in assign_render_pass will early out if a shorter
   path has been found.
 - Remove recursion from assign_free_pass, iterating each task once.

Differential Revision: https://phabricator.services.mozilla.com/D101541
2021-01-13 19:43:35 +00:00
Sebastian Zartner
7ba40f5b60 Bug 1579017 - Corrected inactive CSS rule for order property, making it valid for grid items. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D101267
2021-01-13 19:28:17 +00:00
Simon Weckler
4f9aee18d9 Bug 1577774 - added tooltip message for the url input field. r=tgiles,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D101374
2021-01-13 18:18:25 +00:00
Sam Foster
59dee959fa Bug 1683658 - Associate the pages-per-sheet label with the select/picker. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D101410
2021-01-13 19:20:56 +00:00
David Major
23d6295ae9 Bug 1686516 - Remove unused files clang-win64.json and clang-win64-2stage.json r=firefox-build-system-reviewers,mhentges DONTBUILD
I missed these in bug 1682405.

Additionally, after this removal, llvmorg-10-init-5191-ga84b200e604-windows-pgo.patch also becomes unused, so it is deleted too.

Differential Revision: https://phabricator.services.mozilla.com/D101633
2021-01-13 19:17:04 +00:00
Kershaw Chang
119114fe59 Bug 1684840 - Add a null check for docListener r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D101158
2021-01-11 11:13:17 +00:00
Razvan Maries
6f1ffb3e28 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2021-01-13 12:04:34 +02:00
smolnar
0b57365558 Backed out changeset 48a0fcaf46b8 (bug 1684532) for causing gtest perma failure. CLOSED TREE 2021-01-13 11:49:37 +02:00
Julian Descottes
2d91e59e16 Bug 1682029 - [devtools] Remove unused screenshotToDataUrl in devtools/server/actors/device.js r=devtools-backward-compat-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D101347
2021-01-13 09:06:16 +00:00
Toshihito Kikuchi
b27dd298e9 Bug 1684532 - Detect injected dependent modules in NtMapViewOfSection. r=mhowell
This patch is to improve the way to detect an injected dependent module for
automatic DLL blocking (bug 1659438).

In the previous version, we created a list of dependent modules in the launcher
process and shared it with other processes via the shared section.  However, it
was not compatible with third-party applications who tamper the Import Table and
revert it in the injected module's DllMain (bug 1682834) because we parsed the
Import Table in the launcher process after it was reverted.

With this patch, we check the Import Table in `patched_NtMapViewOfSection`,
so we can see tampering before it's reverted.  More specifically, we create
a list of dependent modules in the browser process as below.

1. The launcher process creates a section object and initializes
   the kernel32.dll's functions in it.

2. The launcher process transfers a writable handle of the shared
   section to the browser process.

3. In the browser process, if an injected dependent module is being
   mapped by `NtMapViewOfSection`, we add its NT path to the shared
   section and block it with `REDIRECT_TO_NOOP_ENTRYPOINT`.

4. The `main` function of the browser process converts the writable
   handle of the shared section into a readonly handle.

5. The browser process transfers a readonly handle of the shared
   section to a sandbox process.

Since automatic DLL blocking may still cause a compat issue like bug 1682304,
we activate it only in Nightly for now.

Differential Revision: https://phabricator.services.mozilla.com/D101460
2021-01-13 08:38:16 +00:00
Butkovits Atila
d96a3b7fa3 Backed out changeset 1a9fcf5cbe17 (bug 1686275) for causing failures on test_formatMessages.html. CLOSED TREE 2021-01-13 06:47:00 +02:00
Butkovits Atila
a0fecf8be3 Backed out changeset 1857d3125d92 (bug 1686275) 2021-01-13 06:45:12 +02:00
Razvan Maries
f3b6c8915f Merge autoland to mozilla-central a=merge 2021-01-13 12:01:12 +02:00
Brindusan Cristian
07342ce091 Backed out changeset a4bf5887fc2a (bug 1680402) for being the most likely cause of bug 1686387. a=backout 2021-01-13 06:30:08 +02:00
Butkovits Atila
f88b5780c9 Backed out changeset b30f1f159f47 (bug 1675877) for causing documentation failure. CLOSED TREE 2021-01-13 05:37:34 +02:00
Brindusan Cristian
0ca7a4ae1e Bug 1686275 - Fix build bustage. CLOSED TREE a=bustage-fix 2021-01-13 05:27:33 +02:00
Zibi Braniecki
1c1851d0fa Bug 1686275 - Update fluent-rs to 0.14. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D101474
2021-01-13 02:50:44 +00:00
Tooru Fujisawa
eea573de3b Bug 1686174 - Move immutableFlags to ScriptStencilExtra. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D101436
2021-01-13 01:33:59 +00:00
Tooru Fujisawa
d4db9731c9 Bug 1666978 - Move nargs to ScriptStencilExtra. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D101435
2021-01-13 01:26:47 +00:00
Tooru Fujisawa
a666d5dd1e Bug 1669718 - Introduce ScriptStencilExtra to store initial-parse-specific data. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D101434
2021-01-13 02:18:26 +00:00
Tooru Fujisawa
33a5756351 Bug 1681308 - Add alignment requirement to XDR buffer. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D101125
2021-01-13 02:18:26 +00:00
longsonr
6f36a97d0a Bug 1684625 - Disable active images in SVGs r=jrmuizel
- prefs off the code change in bug 1555356
- adds a reftest for this bug and also bug 1674163

Differential Revision: https://phabricator.services.mozilla.com/D101519
2021-01-13 01:16:09 +00:00
Butkovits Atila
4fb654352b Backed out changeset 1a9fcf5cbe17 (bug 1686275) for causing failures on test_formatMessages.html. CLOSED TREE 2021-01-13 06:47:00 +02:00
Butkovits Atila
99def9b5fb Backed out changeset 1857d3125d92 (bug 1686275) 2021-01-13 06:45:12 +02:00
Lee Salzman
1de55e6b04 Bug 1676762 - don't directly map DT in RenderCompositorSWGL when buffering is requested. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D101533
2021-01-13 03:49:53 +00:00
Dan Minor
1465995b22 Bug 1685804 - Use nsIGSettingsService in OSPreferences_gtk; r=zbraniecki
This switches over to using nsIGSettingsService. This makes the gtest results
on gtk based systems depend on the current OS settings, so the test expectations
are adjusted to accept both AM/PM and 24h settings.

Differential Revision: https://phabricator.services.mozilla.com/D101362
2021-01-12 14:20:07 +00:00
Tooru Fujisawa
982f8abe40 Bug 1681304 - Add lifetime requirement to XDR buffer. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D101124
2021-01-08 11:47:24 +00:00
Lee Salzman
19f0da9579 Bug 1686363 - offset source and dest rectangles for partial surfaces in RenderCompositorSWGL. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D101521
2021-01-13 02:01:50 +00:00
Masayuki Nakano
8907ec27b0 Bug 1357365 - part 7: Make TypeInState::OnSelectionChange stop keeping link style for new inserting content after content around a link edge is deleted r=m_kato
This is same behavior as the other browsers.  When selection is collapsed to
a edge of a link after deletion, we should stop applying link style to new
inserted content.

Differential Revision: https://phabricator.services.mozilla.com/D101006
2021-01-13 01:56:05 +00:00