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

777378 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Lissy 60d10601bb Bug 1726804 - Refactor definition and usage of GECKO_PROCESS_TYPE() r=nika,firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D121388
2021-11-19 14:02:55 +00:00
Nazım Can Altınova fea7d30107 Bug 1741716 - Change the preset to Firefox when profiler popup is activated through web channel r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D131436
2021-11-19 13:49:35 +00:00
Alexandru Michis d4f3d0994e Backed out changeset 7893bbd002e0 (bug 1688452) for causing bustages in nsRLBoxExpatDriver.
CLOSED TREE
2021-11-19 15:54:31 +02:00
aardgoose d035f76673 Bug 1740031 - throw exception if croping/copying operation fails r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D130796
2021-11-19 13:24:06 +00:00
Yoshi Cheng-Hao Huang 1403537031 Bug 1719545 - Part 4: Fallback to script extension even it only has one extension or its own script code. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D131514
2021-11-19 13:20:23 +00:00
Yoshi Cheng-Hao Huang e699e26a37 Bug 1719545 - Part 3: Unify nsIDNService.cpp. r=platform-i18n-reviewers,jfkthame,gregtatum,valentin
Differential Revision: https://phabricator.services.mozilla.com/D130977
2021-11-19 13:20:23 +00:00
Yoshi Cheng-Hao Huang 23f19aacde Bug 1719545 - Part 2: Unify gfxScriptItemizer.cpp. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D130976
2021-11-19 13:20:22 +00:00
Yoshi Cheng-Hao Huang 5b9420c13f Bug 1719545 - Part 1: Add Script::GetExtensions. r=anba,platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D130975
2021-11-19 13:20:22 +00:00
Luca Greco 396d4af7f0 Bug 1741969 - AddonTestUtils.getIDFromManifest should also try to retrieve the id from browser_specific_settings. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D131530
2021-11-19 12:28:53 +00:00
Nicolas Silva df84c8ca7c Bug 1741742 - Put the window ID in the composite profile marker name. r=gfx-reviewers,jrmuizel
It's useful to be able to see in profiles when multiple windows are being rendered.

Differential Revision: https://phabricator.services.mozilla.com/D131510
2021-11-19 10:07:59 +00:00
Alexandru Michis 2cb5b32d02 Backed out 2 changesets (bug 1726804) for causing sm bustages in geckoprocesstypes.
CLOSED TREE

Backed out changeset bf7f73fd1921 (bug 1726804)
Backed out changeset c9936f7534cb (bug 1726804)
2021-11-19 11:40:59 +02:00
Sebastian Hengst d1b0aec796 Bug 1680896 - fix annotation to skip test_pending_animation_tracker.html on Windows opt. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131591
2021-11-19 09:26:20 +00:00
Sylvestre Ledru a1af8639c2 Bug 1738988 - mozlint: run trojan-source in the CI r=linter-reviewers,ahal DONTBUILD
Depends on D131086

Differential Revision: https://phabricator.services.mozilla.com/D131087
2021-11-19 08:37:29 +00:00
Sylvestre Ledru 1e47dd5d4f Bug 1738988 - Add support for trojan source detection in mozlint r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131086
2021-11-19 08:37:28 +00:00
Alexandre Lissy 882ec7bc7a Bug 1726804 - Refactor PROCESS_TYPE_* from nsICrashService r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D121389
2021-11-19 08:33:43 +00:00
Alexandre Lissy b71c7b7255 Bug 1726804 - Refactor definition and usage of GECKO_PROCESS_TYPE() r=nika,firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D121388
2021-11-19 08:33:42 +00:00
Jens Stutte 71afe74c2c Bug 1741131: Document the possible misalignment of the annotation wrt stack status in child processes. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D131325
2021-11-19 07:54:56 +00:00
sotaro 1b44e05e92 Bug 1741784 - Remove unused code around CompositableHost r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D131466
2021-11-19 07:41:29 +00:00
Deian Stefan 76c5d8907d Bug 1688452 - Retrofit nsExpatDriver to use RLBoxed libexpat r=tjr,peterv,bholley,glandium
Differential Revision: https://phabricator.services.mozilla.com/D104658
2021-11-19 06:08:36 +00:00
Emilio Cobos Alvarez eef21610c6 Bug 1725721 - Top layer elements that are display:contents should be display: block. r=hiro
As per https://fullscreen.spec.whatwg.org/#new-stacking-layer:

    If its specified display property is contents, it computes to block.

Differential Revision: https://phabricator.services.mozilla.com/D131585
2021-11-19 04:46:42 +00:00
Tooru Fujisawa aab63687b4 Bug 1655768 - Part 2: Remove MergeRealms. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131374
2021-11-19 04:43:10 +00:00
Tooru Fujisawa b1241a3ef6 Bug 1655768 - Part 1: Remove RealmCreationOptions::setMergeable. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D131373
2021-11-19 04:43:10 +00:00
Tooru Fujisawa 9dcf3c46a1 Bug 1587847 - Remove OffThreadPlaceholderObject. r=nbp
* Shape::setProtoForMergeRealms is removed in bug 1655768

Differential Revision: https://phabricator.services.mozilla.com/D131372
2021-11-19 04:43:09 +00:00
Tooru Fujisawa 73a3d1385f Bug 538450 - Part 9: Remove AutoAccessAtomsZone. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131371
2021-11-19 04:43:09 +00:00
Tooru Fujisawa de4b7c4c6c Bug 538450 - Part 8: Remove ZoneGCStats::collectableZoneCount. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131370
2021-11-19 04:43:09 +00:00
Tooru Fujisawa 04c8a6039a Bug 538450 - Part 7: Remove Zone::canCollect. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131369
2021-11-19 04:43:08 +00:00
Tooru Fujisawa e9ea4e3088 Bug 538450 - Part 6: Remove GCRuntime::triggerFullGCForAtoms. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131368
2021-11-19 04:43:08 +00:00
Tooru Fujisawa 12ea83dd79 Bug 538450 - Part 5: Remove JSRuntime::offThreadParsingBlocked_. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131367
2021-11-19 04:43:07 +00:00
Tooru Fujisawa 9327076ba4 Bug 538450 - Part 4: Remove JSRuntime::offThreadParsesRunning_. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D131366
2021-11-19 04:43:07 +00:00
Tooru Fujisawa 40fe0d0d17 Bug 538450 - Part 3: Remove atom lock. r=jonco
* AutoAccessAtomsZone is removed in Part 9

Differential Revision: https://phabricator.services.mozilla.com/D131365
2021-11-19 04:43:07 +00:00
Tooru Fujisawa cb7cb2f084 Bug 538450 - Part 2: Remove JSRuntime::numActiveHelperThreadZones. r=jonco
* AtomsTable::AutoLock is removed in Part 3
  * AutoLockAllAtoms is removed in Part 3
  * GCRuntime::fullGCForAtomsRequested_ is removed in Part 6
  * Zone::canCollect is removed in Part 7

Differential Revision: https://phabricator.services.mozilla.com/D131364
2021-11-19 04:43:06 +00:00
Tooru Fujisawa 9108f6e646 Bug 538450 - Part 1: Remove Zone::{helperThreadUse_,helperThreadOwnerContext_}. r=jonco
Bug 1687973 removed the remaining consumer of related methods.

  * GCRuntime::setParallelAtomsAllocEnabled is removed in Part 2
  * JSRuntime::numActiveHelperThreadZones is removed in Part 2
  * GCRuntime::triggerFullGCForAtoms is removed in Part 6
  * GlobalObject::OffThreadPlaceholderObject is removed in bug 1587847
  * GlobalObject::resolveOffThreadConstructor is removed in bug 1587847

Differential Revision: https://phabricator.services.mozilla.com/D131363
2021-11-19 04:43:06 +00:00
Tooru Fujisawa 6b1a90a4ea Bug 1687973 - Part 8: Cleanup ParseTask::parse code flow. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D131362
2021-11-19 04:43:05 +00:00
Tooru Fujisawa 4887469061 Bug 1687973 - Part 7: Remove ModuleObject::fixEnvironmentsAfterRealmMerge. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D131361
2021-11-19 04:43:05 +00:00
Tooru Fujisawa 3cdeb2e290 Bug 1687973 - Part 6: Remove ParseTask::scripts. r=tcampbell
Instead of storing scripts in vector, directly use CompilationGCOutput.

Differential Revision: https://phabricator.services.mozilla.com/D131360
2021-11-19 04:43:05 +00:00
Tooru Fujisawa ead8971a6b Bug 1687973 - Part 5: Remove GlobalHelperThreadState::generateLCovSources. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D131359
2021-11-19 04:43:04 +00:00
Tooru Fujisawa 9f68f1c7ea Bug 1687973 - Part 4: Replace LeaveParseTaskZone with ParseTask::deactivate. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D131358
2021-11-19 04:43:04 +00:00
Tooru Fujisawa 02e5a32dc8 Bug 1687973 - Part 3: Remove the pending off-thread parse tasks waiting on GC. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D131356
2021-11-19 04:43:04 +00:00
Tooru Fujisawa 972d88e25f Bug 1687973 - Part 2: Remove ParseTask::parseGlobal. r=tcampbell
* Zone::{setHelperThreadOwnerContext,clearUsedByHelperThread} are removed in
    bug 538450
  * JSRuntime::{incOffThreadParsesRunning,decOffThreadParsesRunning} are removed
    in bug 538450

Differential Revision: https://phabricator.services.mozilla.com/D131355
2021-11-19 04:43:03 +00:00
Tooru Fujisawa 86d257a783 Bug 1687973 - Part 1: Remove CompileOptions.useOffThreadParseGlobal. r=tcampbell
Changed all off-thread tasks not to use parse global.
Removed bug-1138390.js because off-thread script decode no longer wait for GC.

 * ParseTask::parseGlobal is removed in Part 2
 * OffThreadParsingMustWaitForGC is removed in Part 3
 * GlobalHelperThreadState::parseWaitingOnGC is removed in Part 3
 * GlobalHelperThreadState::generateLCovSources is removed in Part 5
 * ParseTask::scripts is removed in Part 6
 * ModuleObject::fixEnvironmentsAfterRealmMerge is removed in Part 7
 * Zone::{setCreatedForHelperThread,clearUsedByHelperThread} are removed in
   bug 538450
 * RealmCreationOptions::setMergeable is removed in bug 1655768
 * MergeRealms is removed in bug 1655768

Differential Revision: https://phabricator.services.mozilla.com/D131354
2021-11-19 04:43:03 +00:00
Shravan Narayan b09e58929d Bug 1742032 - Update rlbox to correctly support re-entrancy across multiple sandbox instances r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D131582
2021-11-19 04:39:12 +00:00
sotaro 0601c71c81 Bug 1742017 - include CompositorWidget.h before #ifdef MOZ_WIDGET_SUPPORTS_OOP_COMPOSITING r=gfx-reviewers,jrmuizel
We need to include "mozilla/widget/CompositorWidget.h" before "#ifdef MOZ_WIDGET_SUPPORTS_OOP_COMPOSITING",

Differential Revision: https://phabricator.services.mozilla.com/D131575
2021-11-19 02:44:22 +00:00
Andrew Osmond 25e9161651 Bug 1742010 - File descriptor leak when serializing into SurfaceDescriptorAndroidHardwareBuffer. r=sotaro,gfx-reviewers
We accidently duplicate the file descriptor when serializing because we
hit a constructor for ipc::FileDescriptor which duplicates the handle
instead of just taking it. This means we are supposed to close it
explicitly but we've already forgotten about it. We should just do a
move instead to avoid this.

Differential Revision: https://phabricator.services.mozilla.com/D131569
2021-11-19 02:07:53 +00:00
Ting-Yu Lin 5d4998ecf4 Bug 1741774 - Support scrollbar-gutter in the style system. r=emilio
This patch adds `scrollbar-gutter` property in CSS Overflow level 3 [1] to the
style system.

`devtools/shared/css/generated/properties-db.js` is generated by
`./mach devtools-css-db`.

[1] https://drafts.csswg.org/css-overflow-3/#scrollbar-gutter-property

Differential Revision: https://phabricator.services.mozilla.com/D131460
2021-11-19 01:48:07 +00:00
Ting-Yu Lin ca1b688007 Bug 1741990 - Run rustfmt on servo/components/style and servo/ports/geckolib. r=emilio,layout-reviewers
This patch is generated by running `cargo +nightly fmt` under
`servo/components/style/` and `servo/ports/geckolib` against mozilla-central
https://hg.mozilla.org/mozilla-central/rev/b193f2e7a6a5d1f042c957ea4acd5c89bf210512

My nightly version is: 1.58.0-nightly (c9c4b5d72 2021-11-17)

Manually remove the redundant braces in author_styles.rs to fix a warning.

Differential Revision: https://phabricator.services.mozilla.com/D131556
2021-11-19 00:14:27 +00:00
Andrew Osmond c7802543b2 Bug 1741997 - DMABufSurface::FenceDelete should not require GL context to close mSyncFd handle. r=stransky
We can create DMABufSurface objects via deserialization without ever
setting a GL context. We must ensure we close the file handle even if we
don't have one.

Differential Revision: https://phabricator.services.mozilla.com/D131561
2021-11-18 23:29:10 +00:00
Andreea Pavel bff4233958 Bug 1730593 - disable browser_bfcache_copycommand.js on linux64 r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131224
2021-11-18 23:15:35 +00:00
Toshihito Kikuchi 599a77edff Bug 1734099 - Never unload tabs with active RTCPeerConnection instances. r=peterv,jesup
This patch makes sure the Tab Unloading feature does not unload tabs that have
active peer connections not to disrupt browsing experience based on WebRTC peer
connections.

To enable JS code to access the number of active peer connections, this patch
moves `nsPIDOMWindowInner::mTotalActivePeerConnections` to `WindowGlobalParent`.

Differential Revision: https://phabricator.services.mozilla.com/D128761
2021-11-18 22:59:12 +00:00
Norisz Fay 09cb6f5caa Backed out changeset 00651c04ba31 (bug 1741990) for causing build bustages CLOSED TREE 2021-11-19 01:03:56 +02:00
Ting-Yu Lin 6d43b0f7b8 Bug 1741990 - Run rustfmt on servo/components/style and servo/ports/geckolib. r=emilio,layout-reviewers
This patch is generated by running `cargo +nightly fmt` under
`servo/components/style/` and `servo/ports/geckolib` against mozilla-central
https://hg.mozilla.org/mozilla-central/rev/b193f2e7a6a5d1f042c957ea4acd5c89bf210512

My nightly version is: 1.58.0-nightly (c9c4b5d72 2021-11-17)

Differential Revision: https://phabricator.services.mozilla.com/D131556
2021-11-18 22:46:24 +00:00