Commit Graph

767007 Commits

Author SHA1 Message Date
Jon Bauman
1f9b94dc30 Bug 1726830 - Update mp4parse-rust to c6ba5af. r=kinetik
Update mp4parse_capi API to receive pixi data from parser

There are some necessary changes in nsAVIFDecoder.cpp to accommodate the mp4parse_capi changes. Aside from the addition of `BitsPerChannelToBitDepth`, to facilitate a bit of logging, there should be no functional changes. This is a prerequisite to [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1696045 | bug 1696045 ]], which will add telemetry around the `pixi` box.

Differential Revision: https://phabricator.services.mozilla.com/D123273
2021-08-20 23:57:06 +00:00
Mike Hommey
14a11072e2 Bug 1726476 - Adjust GetSandboxedRLBoxPath for the changes in rlbox_wasm2c_sandbox. r=nika
rlbox_wasm2c_sandbox was adjusted to avoid using LoadLibraryA (rejected by
build/clang-plugin/LoadLibraryUsageChecker.cpp), so we adjust
GetSandboxedRLBoxPath (which is used to feed it) to return an UTF-16
string on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D123025
2021-08-20 23:33:05 +00:00
Mike Hommey
ce86abf62b Bug 1726476 - Update rlbox_wasm2c_sandbox. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D123023
2021-08-20 23:33:04 +00:00
Mike Hommey
2a24675e58 Bug 1726476 - Update wasm2c_sandbox_compiler. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D123022
2021-08-20 23:33:04 +00:00
Butkovits Atila
477919f37c Backed out changeset a4a346ecefd7 (bug 1726265) for causing failures at test_2_conformance2__extensions__oes-draw-buffers-indexed.html. CLOSED TREE 2021-08-21 01:46:52 +03:00
Masayuki Nakano
b5c52e9e20 Bug 1726064 - part 10: Make the constructor of AlignStateAtSelection use HTMLEditUtils::GetInclusiveAncestorElement() r=m_kato
The "state" is not limited by editing host nor editable nodes.  Therefore, it
should keep scanning ancestor block element without checking editable state.

Differential Revision: https://phabricator.services.mozilla.com/D122948
2021-08-20 22:17:02 +00:00
Butkovits Atila
f0d3689c30 Backed out 3 changesets (bug 1724108) as requested by Dan. CLOSED TREE
Backed out changeset 0bdbea37f84f (bug 1724108)
Backed out changeset 91aa3dd65624 (bug 1724108)
Backed out changeset 5e57386eae33 (bug 1724108)
2021-08-21 01:06:14 +03:00
Ting-Yu Lin
73a9108de9 Bug 1715291 - Fix text in <input> is clipped by inline-end padding. r=emilio
The fix in Bug 1696885 is not correct when the width of the text in
<input> is shorter than the width of the <input>, but is long enough to
be covered by its inline-end padding.

This patch's idea is similar to the old code [1] before applying bug
1696885, but only tweak the scrollable overflow area in the inline axis.

[1] https://searchfox.org/mozilla-central/rev/c3ee9188d2f9020764db9daf8fa47a07fa3311c9/layout/generic/nsGfxScrollFrame.cpp#785-806

Differential Revision: https://phabricator.services.mozilla.com/D123244
2021-08-20 21:41:46 +00:00
Marian-Vasile Laza
2078f9ba4e Merge mozilla-central to autoland. a=merge CLOSED TREE 2021-08-21 00:35:39 +03:00
Jeff Gilbert
28e862be2d Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio
Differential Revision: https://phabricator.services.mozilla.com/D122916
2021-08-20 20:59:54 +00:00
Marian-Vasile Laza
ddbd16c8f6 Backed out changeset d4d3c40a747d (bug 1715291) for causing Linting failures. CLOSED TREE 2021-08-21 00:07:00 +03:00
Michelle Goossens
d192833f8d Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Ting-Yu Lin
9e40ab7a19 Bug 1715291 - Fix text in <input> is clipped by inline-end padding. r=emilio
The fix in bug 1696885 is not correct when the width of the text in
<input> is shorter than the width of the <input>, but is long enough to
be covered by its inline-end padding.

This patch's idea is similar to the old code [1] before applying bug
1696885, but only tweak the scrollable overflow area in the inline axis.

[1] https://searchfox.org/mozilla-central/rev/c3ee9188d2f9020764db9daf8fa47a07fa3311c9/layout/generic/nsGfxScrollFrame.cpp#785-806

Differential Revision: https://phabricator.services.mozilla.com/D123244
2021-08-20 20:47:48 +00:00
Butkovits Atila
8057b74d37 Backed out changeset 1da05a6d5548 (bug 1726603) for causing Gecko decision task bustage. CLOSED TREE 2021-08-20 23:51:45 +03:00
Butkovits Atila
39638fc638 Bug 1604751 - disable browser_browser_toolbox_fission_contentframe_inspector.js on Linux_64_QR_debug for frequent failures. r=intermittent-reviewers,bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D122957
2021-08-20 20:36:01 +00:00
Andrew Halberstadt
ca9ca3807f Bug 1726603 - [taskgraph] Improve fission detection in mozinfo guess, r=jmaher
We've added a bunch of new fission-based variants (e.g 'fission-webgl-ipc',
'webrender-sw-fission', etc). Update the mozinfo guess logic to better detect
this.

This also changes the default for 'webrender' to True as it's not possible to
disable webrender anymore. We should clean up manifests and remove this value
there entirely, but another bug for another time.

Differential Revision: https://phabricator.services.mozilla.com/D123257
2021-08-20 20:31:22 +00:00
Magnus Melin
9f5d953c6b Bug 1722597 - prevent unwarranted error console spew "Prompter: internal dialogs not available in this context.". r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D123211
2021-08-20 20:19:29 +00:00
Butkovits Atila
0d66e44975 Backed out changeset 217fff940bec (bug 1725416) for causing mochitest failures on test_getCoalescedEvents_touch.html. CLOSED TREE 2021-08-20 22:59:56 +03:00
Gijs Kruitbosch
0631918631 Bug 1723951 - put icons back for bookmarks toolbar and other bookmarks folders in the bookmarks menu button, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D123154
2021-08-20 19:53:16 +00:00
Edgar Chen
0c022ef22d Bug 1723010 - Part 2: Stop iterating to find next element for an accesskey once the accesskey has been processed; r=masayuki
even if the focus isn't changed.

Depends on D122787

Differential Revision: https://phabricator.services.mozilla.com/D122349
2021-08-20 19:32:43 +00:00
Edgar Chen
22ae31e7d7 Bug 1723010 - Part 1: Add more accesskey tests; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D122787
2021-08-20 19:32:43 +00:00
Kershaw Chang
17d46e745c Bug 1725800 - Also check if the uri path is the same when doing upgrade and downgrade loop check, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D122847
2021-08-20 19:29:46 +00:00
Jeff Gilbert
360dba0b1c Bug 1724535 - Update WebGL CTS checkout. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D122657
2021-08-20 19:07:21 +00:00
Butkovits Atila
0d54d4b040 Backed out changeset 217fff940bec (bug 1725416) for causing mochitest failures on test_getCoalescedEvents_touch.html. CLOSED TREE 2021-08-20 22:59:56 +03:00
Haik Aftandilian
442d1dea3e Bug 1722758 - Patch 4 - Encode additional characters in the URL required for NSURL compatiblity r=mac-reviewers,mstange
Perform additional encoding of URLs before converting to an NSURL as required per the `NSURL URLWithString:` method documentation.

Differential Revision: https://phabricator.services.mozilla.com/D122653
2021-08-20 18:54:04 +00:00
Haik Aftandilian
a86c654e4d Bug 1722758 - Patch 3 - Change netCharType to be an unsigned char array instead of int to save space r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D122652
2021-08-20 18:54:03 +00:00
Haik Aftandilian
6e49780b6e Bug 1722758 - Patch 2 - Add a new encoding mode to be used for Apple NSURL compatibility r=necko-reviewers,valentin
Add a new encoding mode to be used to encode an already-encoded URL to be compatible with Apple's NSURL.

Add a function for creating an nsIURI with NSURL compatible encoding from a URL string.

Differential Revision: https://phabricator.services.mozilla.com/D122651
2021-08-20 18:54:03 +00:00
Haik Aftandilian
1ce57f2a3e Bug 1722758 - Patch 1 - Reformat the encoding table r=necko-reviewers,valentin
Rearrange and reformat the encoding table to make space for two digit entries needed for an additional encoding enum.

Convert entries to hex.

Differential Revision: https://phabricator.services.mozilla.com/D122650
2021-08-20 18:54:02 +00:00
Jamie Nicol
b1e2f230c0 Bug 1725508 - Don't use BGRA with glTexStorage on Android Intel BayTrail devices. r=gfx-reviewers,jrmuizel
Intel BayTrail devices claim to support GL_EXT_texture_format_BGRA8888
as well as GL_EXT_texture_storage, which means we should be able to
use glTexStorage along with a BGRA internal format. However, doing so
does not work, resulting in black squares being rendered rather than
images.

Instead, use RGBA as the internal format and rely on texture swizzling
during sampling.

Differential Revision: https://phabricator.services.mozilla.com/D123246
2021-08-20 18:22:21 +00:00
André Bargull
e92df61417 Bug 1726737 - Part 19: Remove no longer needed jsapi.h includes. r=arai
These includes are no longer needed after the previous patches.

Differential Revision: https://phabricator.services.mozilla.com/D123210
2021-08-20 18:10:39 +00:00
André Bargull
0d9f3a7693 Bug 1726737 - Part 18: Disallow including jsapi.h from header files. r=arai
Except for the following two files, no other header file is still including
"jsapi.h". Add a rule to "check_spidermonkey_style.py" to make sure we don't
regress this progress.

Exceptions:
- "vm/Compartment-inl.h" still needs to include "jsapi.h" for `JS::InformalValueTypeName()`.
- "jsapi-tests/tests.h" still needs to include "jsapi.h" for `JS_ValueToSource()`.

Differential Revision: https://phabricator.services.mozilla.com/D123209
2021-08-20 18:10:39 +00:00
André Bargull
06f522d91f Bug 1726737 - Part 17: Remove unnecessary includes to jsapi in headers. r=arai
And then fix any missing includes in other files.

Differential Revision: https://phabricator.services.mozilla.com/D123208
2021-08-20 18:10:39 +00:00
André Bargull
15ea79641a Bug 1726737 - Part 16: Move JS_DefineDebuggerObject into js/Debug.h. r=arai
Moves `JS_DefineDebuggerObject` into "js/Debug.h", which allows to remove the
"jsapi.h" include in "debugger/Debugger.h". And then add the missing "jsapi.h"
include in "debugger/DebuggerMemory.cpp".

Differential Revision: https://phabricator.services.mozilla.com/D123207
2021-08-20 18:10:38 +00:00
André Bargull
7a0811963e Bug 1726737 - Part 15: Remove jsapi.h include from vm/GlobalObject.h. r=arai
Remove jsapi.h include from vm/GlobalObject.h and then fix any missing includes
in other files.

Differential Revision: https://phabricator.services.mozilla.com/D123206
2021-08-20 18:10:38 +00:00
André Bargull
e151e44d2a Bug 1726737 - Part 14: Add public header for global object functions. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D123205
2021-08-20 18:10:37 +00:00
André Bargull
de7df34e21 Bug 1726737 - Part 13: Remove jsapi.h include from vm/Realm.h. r=arai
No transitive include fixups needed for once.

Differential Revision: https://phabricator.services.mozilla.com/D123204
2021-08-20 18:10:37 +00:00
André Bargull
d4dc9bc15f Bug 1726737 - Part 12: Add public header for telemetry timers. r=arai
Uses "TelemetryTimers.h" as the file name instead of just "Timers.h", so it's
more easy to see that this functionality isn't related to `WindowTimers` or other
date-time related things.

Differential Revision: https://phabricator.services.mozilla.com/D123203
2021-08-20 18:10:37 +00:00
André Bargull
2d80daa723 Bug 1726737 - Part 11: Remove jsapi.h include from vm/JSContext.h. r=arai
Remove jsapi.h include from vm/JSContext.h and then fix any missing includes in
other files.

The include was only just added in part 9, but with part 10, we can remove it
again.

Differential Revision: https://phabricator.services.mozilla.com/D123202
2021-08-20 18:10:36 +00:00
André Bargull
49a22175f1 Bug 1726737 - Part 10: Add public header for interrupt functions. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D123201
2021-08-20 18:10:36 +00:00
André Bargull
a7e69522d8 Bug 1726737 - Part 9: Remove jsapi.h include from vm/Runtime.h. r=arai
Remove jsapi.h include from vm/Runtime.h and then fix any missing includes in
other files.

Differential Revision: https://phabricator.services.mozilla.com/D123200
2021-08-20 18:10:36 +00:00
André Bargull
0cf457e591 Bug 1726737 - Part 8: Add public header for wait callbacks. r=arai
Similar to the two previous patches in this stack, add a separate header file
for these callback functions. The header file name matches the file name of the
other two files (i.e. ends with "Callbacks" and not "Callback"), even though
the function name is `SetWaitCallback`.

Differential Revision: https://phabricator.services.mozilla.com/D123199
2021-08-20 18:10:35 +00:00
André Bargull
164e667138 Bug 1726737 - Part 7: Add public header for wrapper callbacks. r=arai
Adds a separate header for wrapper callbacks in case we also want to move
the "jsfriendapi.h" wrapper callbacks (`SetPreserveWrapperCallbacks`) to this
header file.

Differential Revision: https://phabricator.services.mozilla.com/D123198
2021-08-20 18:10:35 +00:00
André Bargull
c840f3dfe6 Bug 1726737 - Part 6: Add public header for out-of-memory callbacks. r=arai
Neither "js/public/MemoryFunctions.h" nor "js/public/AllocPolicy.h" seemed like
the perfect place where these two functions should be placed, therefore we just
create a new header file for them.

Differential Revision: https://phabricator.services.mozilla.com/D123197
2021-08-20 18:10:34 +00:00
André Bargull
161cda62ef Bug 1726737 - Part 5: Add public header for JS::StreamConsumer. r=arai
Not related to the functions in "js/public/Stream.h" and therefore get's a
separate header file.

Differential Revision: https://phabricator.services.mozilla.com/D123196
2021-08-20 18:10:34 +00:00
André Bargull
4b17e2f3c2 Bug 1726737 - Part 4: Add public header for JSErrorInterceptor. r=arai
This keeps `JSErrorInterceptor` as a public JSAPI function, even though it is
only of limited use, because it only has an effect when `NIGHTLY_BUILD` is
defined.

Differential Revision: https://phabricator.services.mozilla.com/D123195
2021-08-20 18:10:34 +00:00
André Bargull
af69617dd5 Bug 1726737 - Part 3: Add public header for ScriptPrivate functions. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D123194
2021-08-20 18:10:33 +00:00
André Bargull
adfeba9a97 Bug 1726737 - Part 2: Move JSSourceElementCallback into CompilationAndEvaluation. r=arai
`JSSourceElementCallback` is only used by `SetSourceElementCallback`, which in
turn is defined in "CompilationAndEvaluation.h", therefore move the callback
definition into the same file, too.

Differential Revision: https://phabricator.services.mozilla.com/D123193
2021-08-20 18:10:33 +00:00
André Bargull
700a62d471 Bug 1726737 - Part 1: Add public header for stack operations. r=arai
Adds a new public header for any stack related functionality. This includes
JS stack as well as native stack related functions.

Differential Revision: https://phabricator.services.mozilla.com/D123192
2021-08-20 18:10:32 +00:00
Bryce Seager van Dyk
fa930a9e95 Bug 1726615 - Reorder includes in ClearKey files. r=alwu
Reorder includes to match Google C++ style. The follow decisions were made to
resolve ambiguities.
- The pssh parser and clearkey are considered part of mozilla-central/Gecko and
  so have their includes grouped into the 'your project' includes at the end of
  includes. I.e. they're grouped with other mozilla-central headers.
- NSS and the CDM headers are considered as coming from other libs, so are
  placed in a block preceding the mozilla-central's.

I think everything else is decided by using the style guide and by Mozilla using
case sensitive sorting.

This also changes a few instances of using "systemheader.h" to <systemheader.h>,
which is more in line with the style guide.

Differential Revision: https://phabricator.services.mozilla.com/D123230
2021-08-20 18:00:12 +00:00
Marian-Vasile Laza
925f82df84 Backed out changeset 6ba2b54d02f6 (bug 1724668) for causing bc failures on browser_panel_locationSpecific.js. CLOSED TREE 2021-08-20 20:52:53 +03:00