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

715201 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione f6b7b4f451 Bug 1645510: Part 1 - Make unprivileged junk scope creation lazy, weak, and fallible. r=mccr8,bholley
Differential Revision: https://phabricator.services.mozilla.com/D79719
2020-06-27 03:06:26 +00:00
Kris Maglione 61f75eb9ff Bug 1645510: Part 0 - Handle first system zone compartment having system principal. r=jandem
Prior to this patch set, XPConnect always created the first compartment in the
system zone with a content principal. The subsequent patches make that
global's creation lazy, which leads us to create the first compartment in the
system zone with the system principal and the NewCompartmentInSystemZone
specifier. In that case, we call `setIsSystemZone()` when we create the zone,
because the compartment has the system principal, and then call it again when
we try to store it in `rt->gc.systemZone`, which leads to a failed assertion.

This patch fixes that.

Differential Revision: https://phabricator.services.mozilla.com/D79718
2020-06-27 03:06:18 +00:00
Adam Roach [:abr] db58b108c2 Bug 1399356: Test for anti-clickjacking r=zbraniecki
Depends on D79775

Differential Revision: https://phabricator.services.mozilla.com/D80229
2020-06-27 02:12:02 +00:00
Adam Roach [:abr] b601853466 Bug 1399356: Delay input to autofill popup r=zbraniecki,MattN
Differential Revision: https://phabricator.services.mozilla.com/D79775
2020-06-27 02:11:48 +00:00
Mihai Alexandru Michis d0913bd05c Backed out 3 changesets (bug 1399356) for causing failures in browser_anti_clickjacking.js
CLOSED TREE

Backed out changeset 4fdb0c2beacf (bug 1399356)
Backed out changeset adabcdf04413 (bug 1399356)
Backed out changeset 468066fde214 (bug 1399356)
2020-06-27 04:59:35 +03:00
Jean-Yves Avenard 5a39f11397 Bug 1648363 - Don't use AbstractThread with GMP service. r=jolin
Currently that thread is always the main thread; but really it doesn't have to be.

We make this use a generic nsISerialEventTarget and rename some members to better reflect what thread is doing what.

Differential Revision: https://phabricator.services.mozilla.com/D81079
2020-06-27 01:26:37 +00:00
Lee Salzman 5cbe61f676 Bug 1647953 - initialize DataSourceSurface::MappedSurface fields. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D81415
2020-06-26 22:46:18 +00:00
Razvan Maries eb909a6e55 Backed out changeset fec02fef5e73 (bug 1635487) for Android bustages. CLOSED TREE 2020-06-27 03:05:27 +03:00
Edwin Takahashi 4e16b8cde4 Bug 1646885 - add backlog flag to be passed to mozharness and set timeout multiplier appropriately r=jmaher
Changes:
  - add new flag in `web_platform_tests.py`, with name `backlog` that is a boolean value.
  - simplify the timeout multiplier conditional to check for presence of the `backlog` flag.
  - add the new flag to the `mozharness_extra_options` flag in `web-platform.yml`

Differential Revision: https://phabricator.services.mozilla.com/D81184
2020-06-26 18:28:45 +00:00
André Bargull 4c855c60d7 Bug 621061: Add a testing function to return a double-typed number. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D81317
2020-06-26 17:44:24 +00:00
Razvan Maries dcaaec0f7b Bug 1304480 - Disabled test_background_video_suspend.html on Android. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D81401
2020-06-26 22:06:35 +00:00
Jonathan Kew 72f3b67c66 Bug 1648356 - Don't crash the parent process we fail to share font-list blocks while launching a child; the content process will safely handle this by requesting blocks as needed. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D81338
2020-06-26 21:25:25 +00:00
lougeniac64 893cb93c43 (Bug 1635487) Wired up sync logging for extension pref storage r=lina,markh
Differential Revision: https://phabricator.services.mozilla.com/D80975
2020-06-26 21:19:17 +00:00
Dan Minor 375174f174 Bug 1648123 - Add exception and nullptr checks after calling getDeviceInfo; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D81315
2020-06-26 20:13:21 +00:00
Edwin Takahashi 5e8e090932 Bug 1646813 - Part 2. write tests for taskgraph/utils/chunking.py r=ahal
Changes:
  - added tests that exercise manifest loading, mozinfo guessing and the overall process of chunking.
  - tests added for both web-platform and traditional mochitest/xpcshell suites.

Differential Revision: https://phabricator.services.mozilla.com/D80985
2020-06-26 21:52:20 +00:00
Kartikaya Gupta 4a20f4f8c0 Bug 1648796 - Mark a handful of tests with user-scalable=no. r=hiro
On Android, if user-scalable=no is not set, Gecko uses the "minimum scale size"
as the scrollport size, to allow for the user zooming out all the way to the
minimum allowed scale. This has a number of effects, such as dropping the
layout scroll range to zero for the root scrollframe. This can causes a
number of WPT tests to fail; they currently pass only because the minimum
scale size changes take effect after the test is already done. However,
moving the minimum scale size changes to happen earlier causes these tests
to fail. It's better to modify the tests to disable this behaviour, so that the
assumptions in the test are not invalidated.

Differential Revision: https://phabricator.services.mozilla.com/D81355
2020-06-26 22:22:49 +00:00
Mihai Alexandru Michis 20dfc519d1 Backed out changeset 1b8b8756acad (bug 1648737) for causing bustages in SVGMaskFrame.h
CLOSED TREE
2020-06-27 02:24:41 +03:00
Mihai Alexandru Michis 2a27d4c078 Backed out changeset 3f3dcaad792a (bug 1648651) for causing multiple failures along with exceptions.
CLOSED TREE
2020-06-27 02:23:42 +03:00
Mihai Alexandru Michis b7bcc3c21c Bug 1399356 - Fix lint error in browser_anti_clickjacking.js a=lint-fix
CLOSED TREE
2020-06-27 02:21:25 +03:00
Junior Hsu 2d6bb5fd1e Bug 1648712 - prevent false alarm of console message from dom telemetry push, r=lina
Differential Revision: https://phabricator.services.mozilla.com/D81389
2020-06-26 19:56:20 +00:00
Punam Dahiya b03f0a875d Bug 1648538 - Fix zap size on varying text widths r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D81183
2020-06-26 19:00:21 +00:00
Robert Helmer bc5465f889 Bug 1646149 - Switch about:pioneer from AMO API to Remote Settings r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D80978
2020-06-25 17:23:06 +00:00
Calixte Denizet c4c8a5a55d Bug 1648430 - Don't run glean tests to fix ccov builds r=firefox-build-system-reviewers,rstewart
For ccov builds, rust tests are ran with `-Cpanic=abort -Zpanic_abort_tests`
and some glean tests are testing panics so in order to have ccov builds we must disable them.

Differential Revision: https://phabricator.services.mozilla.com/D81369
2020-06-26 18:42:12 +00:00
Dragana Damjanovic a35a0a0e29 Bug 1646318 - Split the sending side states and the receiving side states of a Http3Stream and allow to write and read at the same time. Also stop writing data as soon as the Http3Stream has received the response or has been reset. A NS_BASE_STREAM_WOULD_BLOCK... r=michal,necko-reviewers
...should be ignored after calling ReadSegments. r=michal

Differential Revision: https://phabricator.services.mozilla.com/D80279
2020-06-26 15:03:23 +00:00
Adam Roach [:abr] 085484182b Bug 1399356: Test for anti-clickjacking r=zbraniecki
Depends on D79775

Differential Revision: https://phabricator.services.mozilla.com/D80229
2020-06-26 16:00:26 +00:00
Adam Roach [:abr] 61ca11e7d7 Bug 1399356: Delay input to autofill popup r=zbraniecki,MattN
Differential Revision: https://phabricator.services.mozilla.com/D79775
2020-06-26 16:00:10 +00:00
Ting-Yu Lin 21e20054e5 Bug 1648824 - Set correct build dependency for FrameClasses.py. r=jwatt
GenerateFrameLists.py uses FrameClasses.py as an input. We should add
FrameClasses.py in 'inputs' arguments so that whenever FrameClasses.py
is changed, the build system re-runs GenerateFrameLists.py.

Differential Revision: https://phabricator.services.mozilla.com/D81371
2020-06-26 21:43:40 +00:00
longsonr 3b9835e5b8 Bug 1648737 - Move SVGAFrame SVGGFrame SVGGenericContainerFrame SVGInnerSVGFrame SVGMarkerFrame SVGMaskFrame SVGSymbolFrame SVGViewportFrame to the mozilla namespace r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D81310
2020-06-26 19:27:08 +00:00
Morgan Reschenberg 4891a7b86e Bug 1630292: Enusre we don't create accessibles for linebreaks. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D80986
2020-06-26 18:04:39 +00:00
sefeng ce403463bf Bug 1648284 - Record the number of pending critical input events r=smaug
Record the number of pending critical input events that are in
the IPC Channel when we about to run the timeout handler.

This telemetry is mainly used for bug 1644284. We'd like to tell
how often do we run timeout handlers when there are a lot of
pending input events.

Once we know the data, we can use it to do further setTimeout
improvements.

Differential Revision: https://phabricator.services.mozilla.com/D81340
2020-06-26 19:08:53 +00:00
Haik Aftandilian 6a9d502918 Bug 1647816 - Make sandboxing OS version checks aware of major version r=spohl
Fix the content and Flash sandbox policies to use the major and minor number for OS version checks allowing video playback to work properly on macOS 11 Big Sur.

Pass the macOS major and minor version to sandbox policies as a combined string.

Remove unused OSXVersion methods and members and more minor cleanup in Sandbox.mm.

Leave in the checks for unsupported versions (macOS 10.9 - 10.11) for now in case this fix needs to be uplifted.

Differential Revision: https://phabricator.services.mozilla.com/D81385
2020-06-26 19:12:39 +00:00
David Major eff41c75b2 Bug 1648519 - Add back clang lib directory to LIB on Windows r=glandium
clang 11 will stop using full paths in PGO dependentlib declarations, so we need to tell the linker where to find clang_rt.profile-x86_64.lib.

This is roughly a revert of bug 1621552.

Differential Revision: https://phabricator.services.mozilla.com/D81244
2020-06-26 19:36:30 +00:00
Mike Hommey b4ae9c899c Bug 1648651 - Fix building with --disable-compile-environment. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D81263
2020-06-26 16:30:39 +00:00
Marcos Cáceres a20f1c126d Bug 1591329 - Require secure context for getGamePads() and events r=kip
Differential Revision: https://phabricator.services.mozilla.com/D80444
2020-06-26 20:01:28 +00:00
Razvan Maries 51299eda62 Bug 1648623 - Removing extra characters. r=RyanVM CLOSED TREE 2020-06-26 22:51:18 +03:00
Razvan Maries 1cad2081c9 Bug 1648623 - Follow-up to fix SM bustages. r=RyanVM CLOSED TREE 2020-06-26 22:45:49 +03:00
Ryan Hunt 1dbce8f783 Bug 1648623 - Properly gate gc/binary.js test on GC proposal. r=RyanVM on a CLOSED TREE
This test uses GC features, not reftypes features.

Differential Revision: https://phabricator.services.mozilla.com/D81367
2020-06-26 17:58:41 +00:00
Ryan VanderMeulen 3f2e1624c6 Backed out changeset a44f97359a10 (bug 1648623) because the wrong phab revision landed. 2020-06-26 14:52:21 -04:00
Jared Wein 347ee7ec89 Bug 1648223 - Enable the Experimental Preferences by default. r=mstriemer,preferences-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D81111
2020-06-26 18:23:24 +00:00
Jared Wein 19e3bfb8ad Bug 1646178 - Use similar markup as the other preference categories to show a header within the search results. r=mstriemer,fluent-reviewers,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80959
2020-06-26 06:03:04 +00:00
Jared Wein 79741aaef3 Bug 1646423 - Experimental features should only be displayed on release channels that they are intended for. r=mstriemer,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80714
2020-06-26 06:03:06 +00:00
Jared Wein 58d7169b20 Bug 1644544 - Annotate crash-stats reports with the enabled experimental features. r=gsvelto,Gijs,preferences-reviewers,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D80007
2020-06-26 06:03:09 +00:00
Ryan Hunt aeadfab422 Bug 1648623 - Properly gate gc/binary.js test on GC proposal. r=RyanVM
This test uses GC features, not reftypes features.

Differential Revision: https://phabricator.services.mozilla.com/D81367
2020-06-26 17:58:41 +00:00
Mitchell Hentges 721fbf4e8e Bug 1646155: Changes most artifact-build logs from INFO to DEBUG r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D81194
2020-06-26 18:42:47 +00:00
Ting-Yu Lin 675da8e9a4 Bug 1648673 - Remove duplicate CSSOrderAwareFrameIteratorT typedefs in nsGridContainerFrame.h r=dholbert
* It's easier to maintain the type aliases of in one place, i.e.
CSSOrderAwareFrameIterator.h, and the iterator's header itself doesn't
include a lot of headers that add complex dependencies to
nsGridContainerFrame.h.

* Make "jump to definition" functionality in editors work
correctly (rather than just jumping to those declarations.)

Differential Revision: https://phabricator.services.mozilla.com/D81281
2020-06-26 16:51:40 +00:00
Simon Giesecke fcdb41af0e Bug 1648440 - Remove unused return value from Queue::Push. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81062
2020-06-26 14:53:05 +00:00
Simon Giesecke 5431b7ebd7 Bug 1648440 - Use TransformIntoNewArray in RemoteWorkerChild. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81061
2020-06-26 14:52:52 +00:00
Simon Giesecke 06499b6d63 Bug 1648440 - Use TransformIntoNewArray and range-based for in WorkerError. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81060
2020-06-26 14:52:45 +00:00
Simon Giesecke 945865f778 Bug 1648440 - Use range-based for in WorkerDebuggerManager. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81059
2020-06-26 14:52:32 +00:00
Simon Giesecke e2e2fb7640 Bug 1648440 - Use range-based for in WorkerDebugger where possible. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D81058
2020-06-26 14:52:15 +00:00