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

730945 Коммитов

Автор SHA1 Сообщение Дата
Bryce Seager van Dyk 8449f6d2b3 Bug 1671477 - Add profile markers and logs to help diagnose failures in WMF decoding. r=alwu
We have reports of VPx WMF failures in the wild causing performance issues, but
it can be hard to detect these failures. Having explicit markers in the profiler
with more information will make it easier to see if users are running into these
issues if they can provide profiles. I've also added logs to enrich cases where
we will use logging to debug.

Driveby fix a comment that says we're asserting when we no longer are.

Differential Revision: https://phabricator.services.mozilla.com/D93672
2020-10-19 14:41:11 +00:00
Dorel Luca b77a4cd190 Backed out changeset b64cb312c05b (bug 1671477) for Build bustage on Android. CLOSED TREE 2020-10-19 19:23:29 +03:00
Dorel Luca 34a1c4ee15 Backed out changeset 802898bbe773 (bug 1671477) wrong bug number, changes belong to another bug. 2020-10-19 19:16:31 +03:00
Jeff Muizelaar 0440c26f3d Bug 1671963 - Always use CTFontDrawGlyphs. r=lsalzman
CTFontDrawGlyphs has been around since 10.7

Differential Revision: https://phabricator.services.mozilla.com/D94029
2020-10-19 15:59:02 +00:00
Agi Sferro 678f696c20 Bug 1671578 - Overload Loader.equals. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D93812
2020-10-19 15:46:56 +00:00
Agi Sferro 640b96f85b Bug 1671571 - Don't pass null headers in Loader. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D93811
2020-10-19 15:45:17 +00:00
Andreas Pehrson 8b6f27b098 Bug 1582294 - Implement MediaStreamTrackSource::HasAlpha for HTMLCanvasElement sources. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D92900
2020-10-16 19:20:20 +00:00
Andreas Pehrson d1aeaca86a Bug 1582294 - Implement MediaStreamTrackSource::HasAlpha for MediaDecoder sources. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92899
2020-10-19 15:35:29 +00:00
Andreas Pehrson d5227f851c Bug 1582294 - Set up HTMLMediaElement to convey video track alpha channel when playing a MediaStream. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92898
2020-10-19 15:35:13 +00:00
Andreas Pehrson 420e2b99a6 Bug 1582294 - Add reftest for media element capture with an alpha channel. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D93750
2020-10-16 14:07:27 +00:00
Andreas Pehrson 88943b46a7 Bug 1582294 - Change webm-alpha reftest to grey background. r=bryce
One could imagine an alpha failure mode where alpha 0 blends with black (also 0,
in rgb). If that happened the webm-alpha reftest becomes a false positive.

Feeding a video track with alpha frames into a peer connection results in black
on the remote side.

Grey should handle this case. The other channels in the test video show four
quadrants of different colors, so a failure mode where alpha is ignored would
render those quadrants instead, keeping testing of that mode unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D93749
2020-10-16 14:07:19 +00:00
Emma Malysz eed3ecc2aa Bug 1670008, Once margins are reevaluated, make sure it's possible to switch to "none" r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D93136
2020-10-19 15:37:15 +00:00
Emma Malysz 0b4294a82f Bug 1669696: update custom margins if both values are valid r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D93118
2020-10-19 15:36:42 +00:00
Connor Sheehan 676ffafaec Bug 1670031: update fallback fingerprint in `run-task` r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D94018
2020-10-19 15:37:23 +00:00
Byron Campen [:bwc] 7c4942b547 Bug 1626278: Shutdown MediaTransportHandlerSTS on profile-change-net-teardown. Also add some logging. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93655
2020-10-19 15:13:55 +00:00
Byron Campen [:bwc] c3182f0329 Bug 1626278: Remove transports from main, just like we do under normal circumstances. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93262
2020-10-15 20:31:13 +00:00
Byron Campen [:bwc] f6dd76e473 Bug 1626278: Ensure that pcid is unique. r=mjf
This fixes a failure in browser_WebrtcGlobalInformation.js on windows opt.

Differential Revision: https://phabricator.services.mozilla.com/D93261
2020-10-15 20:31:10 +00:00
Byron Campen [:bwc] e6969a8105 Bug 1626278: Move sigslot stuff to STS, and ensure we disconnect before releasing our ref to the MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D90626
2020-10-15 20:27:35 +00:00
Byron Campen [:bwc] caa58b2223 Bug 1626278: Stash for ICE logs, and move log filtering into a single place. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89677
2020-10-15 20:27:53 +00:00
Byron Campen [:bwc] 789c175c1a Bug 1626278: Filter stats for closed PeerConnections the same way we do for live ones. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88498
2020-10-15 20:18:10 +00:00
Byron Campen [:bwc] 02a62e624e Bug 1626278: Add a stats stash to WebrtcGlobalInformation, to avoid stats from being lost when a content process goes away. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88497
2020-10-15 20:15:48 +00:00
Byron Campen [:bwc] 6fabb4ea9d Bug 1626278: Simplify/promisify PWebrtcGlobal. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88496
2020-10-15 20:18:08 +00:00
Byron Campen [:bwc] 82d0b39ee2 Bug 1626278: Test case for MozPromise::AllSettled. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D92652
2020-10-15 20:11:37 +00:00
Byron Campen [:bwc] 0274cc3c29 Bug 1626278: Implement MozPromise::AllSettled, based on JS Promise API. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D91467
2020-10-15 20:24:43 +00:00
Byron Campen [:bwc] ba4aa19c91 Bug 1626278: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY to ensure that MediaTransportHandler stays around long enough to finish pending stats queries. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87180
2020-10-15 20:08:05 +00:00
Byron Campen [:bwc] e537c26404 Bug 1626278: Add a browser-chrome test for the WebrtcGlobalInformation interface. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D92637
2020-10-15 19:51:55 +00:00
Dzmitry Malyshau e67967d1df Bug 1671477 - Fix warning in a trivial cast in wgpu on Android r=padenot. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D94028
2020-10-19 15:56:00 +00:00
Myeongjun Go 10359c348a Bug 1663708 - [perfdocs] Find tests to add to documentation using manifests instead of path searching r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D91703
2020-10-19 15:17:04 +00:00
Edgar Chen 83a3099eea Bug 1671849 - Move drag threshold setting to nsLookAndFeel; r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93902
2020-10-19 15:16:49 +00:00
Dzmitry Malyshau 84fe9a5693 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 15:08:55 +00:00
Andrew Halberstadt 00f7e29eac Bug 1668288 - [ci] Enable 'webrender-sw' variant on more talos platforms and tests, r=perftest-reviewers,sparky
This will add the following tasks to mozilla-central:
> test-linux64-qr/opt-talos-chrome-swr-e10s
> test-linux64-qr/opt-talos-damp-swr-e10s
> test-linux64-qr/opt-talos-g3-swr-e10s
> test-linux64-qr/opt-talos-g5-swr-e10s
> test-linux64-qr/opt-talos-perf-reftest-swr-e10s
> test-linux64-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-linux64-qr/opt-talos-tabswitch-swr-e10s
> test-linux64-qr/opt-talos-tp5o-swr-e10s
> test-linux64-qr/opt-talos-webgl-swr-e10s
> test-linux64-shippable-qr/opt-talos-chrome-swr-e10s
> test-linux64-shippable-qr/opt-talos-damp-swr-e10s
> test-linux64-shippable-qr/opt-talos-g3-swr-e10s
> test-linux64-shippable-qr/opt-talos-g5-swr-e10s
> test-linux64-shippable-qr/opt-talos-perf-reftest-swr-e10s
> test-linux64-shippable-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-linux64-shippable-qr/opt-talos-tabswitch-swr-e10s
> test-linux64-shippable-qr/opt-talos-tp5o-swr-e10s
> test-linux64-shippable-qr/opt-talos-webgl-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-bcv-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-chrome-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-damp-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-g1-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-g4-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-g5-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-perf-reftest-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-svgr-swr-e10s
> test-macosx1014-64-shippable-qr/opt-talos-tp5o-swr-e10s
> test-windows10-64-qr/opt-talos-bcv-swr-e10s
> test-windows10-64-qr/opt-talos-chrome-swr-e10s
> test-windows10-64-qr/opt-talos-damp-swr-e10s
> test-windows10-64-qr/opt-talos-g1-swr-e10s
> test-windows10-64-qr/opt-talos-g4-swr-e10s
> test-windows10-64-qr/opt-talos-g5-swr-e10s
> test-windows10-64-qr/opt-talos-other-swr-e10s
> test-windows10-64-qr/opt-talos-perf-reftest-swr-e10s
> test-windows10-64-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-windows10-64-qr/opt-talos-svgr-swr-e10s
> test-windows10-64-qr/opt-talos-tabswitch-swr-e10s
> test-windows10-64-qr/opt-talos-tp5o-swr-e10s
> test-windows10-64-qr/opt-talos-webgl-swr-e10s
> test-windows10-64-qr/opt-talos-xperf-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-bcv-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-chrome-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-damp-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-g1-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-g4-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-g5-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-other-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-perf-reftest-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-sessionrestore-many-windows-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-svgr-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-tabswitch-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-tp5o-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-webgl-swr-e10s
> test-windows10-64-shippable-qr/opt-talos-xperf-swr-e10s

Differential Revision: https://phabricator.services.mozilla.com/D93525
2020-10-19 15:06:07 +00:00
Simon Giesecke 64de9bfc62 Bug 1671897 - Fix test naming. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94013
2020-10-19 15:00:55 +00:00
Yoshi Cheng-Hao Huang 8c9a4c00bb Bug 1522187 - Decide string pretenuring base on pretenure rate. r=jonco
Choose the string pretenuring threshold as 0.55, as it's the most common
pretured rate when the number of strings pretenured exceeds 30,000 in JetStream2
benchmark.  (about 0.55~0.57 in my tests).

However this threshold shouldn't have any major impact on benchmarks like Octane,
JetStream2 and Kraken, as in these benchmarks when the pretenuring condition is
met, the tenured rate is 99%.

Differential Revision: https://phabricator.services.mozilla.com/D92762
2020-10-15 10:02:21 +00:00
Bryce Seager van Dyk 76c3e94c96 Bug 1671477 - Add profile markers and logs to help diagnose failures in WMF decoding. r=alwu
We have reports of VPx WMF failures in the wild causing performance issues, but
it can be hard to detect these failures. Having explicit markers in the profiler
with more information will make it easier to see if users are running into these
issues if they can provide profiles. I've also added logs to enrich cases where
we will use logging to debug.

Driveby fix a comment that says we're asserting when we no longer are.

Differential Revision: https://phabricator.services.mozilla.com/D93672
2020-10-19 14:41:11 +00:00
Jared Wein 8d1315165c Bug 1671504 - Handle exceptions related to message failures when the child actor is destroyed before the notification can be closed. r=Gijs
This bug appeared because the PDFjs notification is now closed without animation on page navigation.

Differential Revision: https://phabricator.services.mozilla.com/D93851
2020-10-16 22:19:47 +00:00
ffxbld 6612f94b33 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D94009
2020-10-19 14:31:18 +00:00
Rob Wu dc4938fe77 Bug 1601678 - Resolve shutdown deadlock in EnvironmentAddonBuilder r=mixedpuppy
TelemetryEnvironment.jsm's EnvironmentAddonBuilder has a shutdown
blocker that depends on the addons database to have been loaded.
There are two calls to asyncLoadDB() in XPIProvider.jsm that are
supposed to activate the load. Neither of them work:

- XPIProvider calls asyncLoadDB() during quitApplicationGranted.
  But "quit-application-granted" is not always triggered, as seen in:
  https://bugzilla.mozilla.org/show_bug.cgi?id=1601678#c12

- XPIProvider.shutdown() calls asyncLoadDB().
  But shutdown() is only called when TelemetryEnvironment's blocker has
  been released. So this is never reached. More details in:
  https://bugzilla.mozilla.org/show_bug.cgi?id=1601678#c7

To fix the deadlock, asyncLoadDB() is called from profile-before-change,
which is the same phase as the blocker of EnvironmentAddonBuilder.

The two existing calls to asyncLoadDB() mentioned above are obsolete and
have been removed.

---

After the removal of asyncLoadDB() from XPIProvider.shutdown(), the
test_ext_persistent_events.js test started to fail. This is because the
test sends the "sessionstore-windows-restored" notification, for which
XPIProvider has a handler that calls asyncLoadDB(), without awaiting
the result.
Since XPIProvider.shutdown() doesn't await the DB load any more, it is
possible for the DB to be unloaded while being used. This only happens
in tests, because the construction with the TelemetryEnvironment ensures
that the addons database has fully loaded before shutdown() is called.

To resolve this test-only issue, AddonTestUtils.promiseShutdownManager()
has been updated to explicitly wait for the pending _dbPromise if any.

Differential Revision: https://phabricator.services.mozilla.com/D91388
2020-10-15 19:32:31 +00:00
Dylan Roeh c3b953817e Bug 1669577 - Add REPLACED_UNSAFE_CONTENT to LogEvent. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D93430
2020-10-15 13:54:46 +00:00
Simon Giesecke 855223cb72 Bug 1671897 - Add QM_DIAGNOSTIC_ASSERT_UNREACHABLE and define QM_*_ASSERT_UNREACHABLE only when the assert level is active. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D93923
2020-10-19 12:43:13 +00:00
Olli Pettay eb0d74a373 Bug 1671922 - Minor tweak to a comment, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D93997
2020-10-19 12:44:21 +00:00
Mihai Alexandru Michis ffa3cd17cd Backed out changeset 13e30b1593e6 (bug 1671839) for causing webdriver failures in element_click/navigate.py
CLOSED TREE
2020-10-19 16:06:57 +03:00
Gregory Mierzwinski 4d455be744 Bug 1671650 - Check for Chrome in Progra~1 and Progra~2 on windows. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D93836
2020-10-19 12:21:54 +00:00
Paulo Matias 4dd77eeb91 Bug 1671695 - Fix system icu build; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D93847
2020-10-19 11:54:20 +00:00
Andrei Oprea 1a8a9298ef Bug 1670945 - Messaging System can't handle missing values when a feature is turned off r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D93666
2020-10-16 14:37:08 +00:00
Olli Pettay a6dad52cd1 Bug 1671840 - [Fission] enable iframe_sandbox_navigate_history_go_back-2.html, r=peterv
Depends on D93899

Differential Revision: https://phabricator.services.mozilla.com/D93900
2020-10-19 10:21:19 +00:00
Olli Pettay a97e19e9c5 Bug 1671839 - [Fission] Enable back.py and navigate.py in Fission, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D93899
2020-10-19 10:20:30 +00:00
Ben Delevingne 541f51aabc Bug 1664769 - Remove defer usage from devtools\client\shared\test\helper_workers.js. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D92479
2020-10-19 10:59:30 +00:00
smolnar d7f403a6cc Backed out 2 changesets (bug 1631476) for causing reftest failures. CLOSED TREE
Backed out changeset 22d52c012fd0 (bug 1631476)
Backed out changeset ca9c321d4225 (bug 1631476)
2020-10-19 14:54:05 +03:00
Butkovits Atila fa26555988 Backed out changeset d2a1d34fe1f2 (bug 1671897) for causing bustage on TestQuotaCommon.cpp. CLOSED TREE 2020-10-19 13:38:34 +03:00
Simon Giesecke 4307cfe954 Bug 1663924 - Use IDB_TRY in DatabaseOperationBase::DeleteObjectStoreDataTableRowsWithIndexes. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93781
2020-10-19 10:09:21 +00:00