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

693068 Коммитов

Автор SHA1 Сообщение Дата
Greg Tatum 7a74223d84 Bug 1597378 - Migrate profiler popup tests; r=julienw
This commit adds tests for the profiler popup, and migrates some of the
older ones to use about:profiling instead.

Differential Revision: https://phabricator.services.mozilla.com/D62915

--HG--
rename : devtools/client/performance-new/test/browser/browser_popup-env-restart-button.js => devtools/client/performance-new/test/browser/browser_aboutprofiling-env-restart-button.js
rename : devtools/client/performance-new/test/browser/browser_popup-features-disabled.js => devtools/client/performance-new/test/browser/browser_aboutprofiling-features-disabled.js
rename : devtools/client/performance-new/test/browser/browser_popup-end-to-end-click.js => devtools/client/performance-new/test/browser/browser_popup-record-capture.js
extra : moz-landing-system : lando
2020-02-25 20:41:15 +00:00
Greg Tatum f34a461b3d Bug 1597378 - Create new UI for the profiler popup; r=julienw
This commit implements the actual UI changes. A follow-up commit adds the
tests for the changes. The CSS is a little bit awkard since it uses lots of
ID selectors rather than class selectors. I wanted to be able to write quick
selects, since it's selecting across the entire browser document. I feel
a little conflicted with the approach, as I would prefer to use classes in
general.

The panel.jsm.js file collects all of the UI handling changes rather than
having everything in menu-button.jsm.js, as the latter can get loaded
at startup. I'm not sure if it's completely worth the trouble of having
two files, as most of it should be pretty light.

This commit does not handle localization for the panel, as we should be moving
to Fluent. Rather than solve that here, I will follow-up with it in Bug 1599774.

Differential Revision: https://phabricator.services.mozilla.com/D62914

--HG--
extra : moz-landing-system : lando
2020-02-25 20:39:27 +00:00
Greg Tatum 7bfba0e99e Bug 1597378 - Remove old popup implementation; r=julienw
This commit removes the old popup implementation, but does not implement the new one
yet. This is in a follow-up commit. The client is in a bit of an awkard state where
it is mid-transition to a new architecture. Some of the code comments and documentation
were updated to reflect the changes coming up.

Differential Revision: https://phabricator.services.mozilla.com/D62913

--HG--
extra : moz-landing-system : lando
2020-02-25 20:37:53 +00:00
Greg Tatum 08b378c2c8 Bug 1597378 - Change location of the presets; r=julienw
The presets in recording-utils.js couldn't be shared via the ChromeUtils.import
mechanism. When they were in recording-utils.js they could only be loaded in
via the DevTools require() loader. This commit changes it so that they are
stored in a jsm, and are also injected to each UI interface where the
ChromeUtils.import function is available (only in the initializers).

Differential Revision: https://phabricator.services.mozilla.com/D62912

--HG--
extra : moz-landing-system : lando
2020-02-25 20:36:34 +00:00
Greg Tatum 2d66c41684 Bug 1144438 - Remove false error notification when the profiler stops; r=julienw
If the profiler unexpectedly stops, this is fine, as the new recording infrastructure
is most likely in control of it. This was leading to lots of spurious errors when
working on the new about:profiling infrastructure.

Differential Revision: https://phabricator.services.mozilla.com/D62911

--HG--
extra : moz-landing-system : lando
2020-02-25 20:35:15 +00:00
Emilio Cobos Álvarez 36d5280904 Bug 1617990 - Remove a silly string copy in nsGlobalWindowOuter::Prompt. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64192

--HG--
extra : moz-landing-system : lando
2020-02-25 20:46:57 +00:00
Emilio Cobos Álvarez 9724c94c25 Bug 1617990 - Remove three silly uses of nsACString::Adopt in GTK widget code. r=froydnj
NS_Convert* has small string optimizations and doesn't require an extra strlen()
call from Adopt().

Differential Revision: https://phabricator.services.mozilla.com/D64191

--HG--
extra : moz-landing-system : lando
2020-02-25 20:09:29 +00:00
Emilio Cobos Álvarez 91c9a44fe5 Bug 1617600 - Update test expectations for a test that was somehow passing on windows before implementing the pseudo-class (?).
CLOSED TREE

MANUAL PUSH: Simple test expectation fix.
2020-02-25 21:50:21 +01:00
moz-wptsync-bot 7b3e0455af Bug 1617670 - [wpt-sync] Update web-platform-tests to 085b675a6a7dabadc080b34711f632d26ec2b634, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 085b675a6a7dabadc080b34711f632d26ec2b634
wpt-type: landing
2020-02-25 20:29:41 +00:00
Anne van Kesteren 919dca719f Bug 1617621 [wpt PR 21934] - CSP nonce: correct some SVG assertions, a=testonly
Automatic update from web-platform-tests
CSP nonce: correct some SVG assertions

Chrome implements nonce reflection incorrectly for SVG and the tests (used to) reflect that...

Also change assertion order of a custom element test to be more useful.

--

wpt-commits: 085b675a6a7dabadc080b34711f632d26ec2b634
wpt-pr: 21934
2020-02-25 20:29:40 +00:00
Philip Jägenstedt 1ec53f09b2 Bug 1616208 [wpt PR 21851] - Remove remaining copies of W3C 3-clause BSD License, a=testonly
Automatic update from web-platform-tests
Remove remaining copies of W3C 3-clause BSD License (#21851)

In https://github.com/web-platform-tests/rfcs/blob/master/rfcs/simplify_license.md
we resolved to simplify the license to the plain 3-Clause BSD License,
with the support of the W3C, and this was implemented in
https://github.com/web-platform-tests/wpt/pull/11191.

It was an oversight that these copies of the license were left.
--

wpt-commits: 18340cf88e178b97dc38d0f7cebf150e6712a893
wpt-pr: 21851
2020-02-25 20:29:40 +00:00
moz-wptsync-bot 9c368865db Bug 1613849 [wpt PR 21652] - Update wpt metadata, a=testonly
wpt-pr: 21652
wpt-type: metadata
2020-02-25 20:29:39 +00:00
Ting Shao 23b3980af8 Bug 1613849 [wpt PR 21652] - service worker: Add test for FetchEvent.handled, a=testonly
Automatic update from web-platform-tests
service worker: Add test for FetchEvent.handled

The spec PR is: https://github.com/w3c/ServiceWorker/pull/1496

--

wpt-commits: 59be92336b2e8563207a1323250c6f1092a03d80
wpt-pr: 21652
2020-02-25 20:29:39 +00:00
Leon Han 90cadb8620 Bug 1615556 [wpt PR 21799] - [webnfc] Support reading/writing smart-poster records, a=testonly
Automatic update from web-platform-tests
[webnfc] Support reading/writing smart-poster records

The spec changes:
https://github.com/w3c/web-nfc/pull/361
https://github.com/w3c/web-nfc/pull/495
https://github.com/w3c/web-nfc/pull/536

BUG=520391

Change-Id: I00a363aba07d1f9f2f8e40212dca7650e26047a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2038492
Commit-Queue: Leon Han <leon.han@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#743864}

--

wpt-commits: 89a8f08c2a04508b40c8819d785c5ce7369dcf68
wpt-pr: 21799
2020-02-25 20:29:38 +00:00
autofoolip 59de70e306 Bug 1617395 [wpt PR 21927] - Update interfaces/css-font-loading.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/css-font-loading.idl

Source: https://github.com/tidoust/reffy-reports/blob/3812454/ed/idl/css-font-loading.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653884183

--

wpt-commits: 66e4fb431fcf46c66bc65e0b3294b92e4f26e48b
wpt-pr: 21927
2020-02-25 20:29:38 +00:00
autofoolip 4a299c31aa Bug 1617320 [wpt PR 21925] - Update interfaces/scroll-animations.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/scroll-animations.idl

Source: https://github.com/tidoust/reffy-reports/blob/d961003/ed/idl/scroll-animations.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653696408

--

wpt-commits: a378af216e6a703d9553c579293fd0f8c396c63a
wpt-pr: 21925
2020-02-25 20:29:37 +00:00
L. David Baron 0c548f6fe2 Bug 1617325 [wpt PR 21926] - Sync Mozilla CSS tests as of 2020-02-21, a=testonly
Automatic update from web-platform-tests
Sync Mozilla CSS tests as of https://hg.mozilla.org/mozilla-central/rev/793e3b87db82871f182046db439391d86d47cb67 . (#21926)

This contains changes from:
* [bug 1616368](https://bugzilla.mozilla.org/show_bug.cgi?id=1616368) by @ahal, reviewed by me.
* [bug 1499281](https://bugzilla.mozilla.org/show_bug.cgi?id=1499281) by @aethanyc, reviewed by me.
--

wpt-commits: 031c4d5d10d52b1a5a1e9d6a98ec9528ff56fbe1
wpt-pr: 21926
2020-02-25 20:29:37 +00:00
moz-wptsync-bot 5b28882c56 Bug 1615008 [wpt PR 21759] - Update wpt metadata, a=testonly
wpt-pr: 21759
wpt-type: metadata
2020-02-25 20:29:36 +00:00
Artem Bolgar 710736042f Bug 1615008 [wpt PR 21759] - Adding core support for WebXR squeezestart / squeeze / squeezeend events, a=testonly
Automatic update from web-platform-tests
Adding core support for WebXR squeezestart / squeeze / squeezeend events

New WebXR spec has a new set of input events. This commit adds core support for those. Still must be hooked up to the actual HW-specific code (I've added code for Oculus Rift (S) as an example).

Bug: 1051247,1019144
Change-Id: Iac0e66a39eff68c567af2234e583780af6dcaed2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2051369
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Klaus Weidner <klausw@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743715}

--

wpt-commits: 6c0160d3c0e99ffa3d3156b5f1b52d0c34b62b3f
wpt-pr: 21759
2020-02-25 20:29:36 +00:00
autofoolip 53ec5e6dc0 Bug 1617251 [wpt PR 21922] - Update interfaces/webaudio.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webaudio.idl

Source: https://github.com/tidoust/reffy-reports/blob/2fcb733/ed/idl/webaudio.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/653581105

--

wpt-commits: cb9c3cad6fbeb2ea8e6cb2424536c95e9be3b557
wpt-pr: 21922
2020-02-25 20:29:35 +00:00
Andrea Marchesini 82a54122f0 Bug 1617925 - Get rid of 2 unused variables in PeerConnectionImpl, r=drno
Differential Revision: https://phabricator.services.mozilla.com/D64107

--HG--
extra : moz-landing-system : lando
2020-02-25 18:40:11 +00:00
Mike Shal b1dbf109ed Bug 1606922 - Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster; r=tomprince,chmanchester
We don't need to package tests for builds that we don't actually run
tests from, but it is tricky to align this correctly by setting
MOZ_AUTOMATION_PACKAGE_TESTS=0 in relevant mozconfigs. Instead we can
set the environment variable in the task definition, and use a full
taskgraph verification check to ensure that the flag is only set on
builds that have tests.

The one tricky area is the win64-aarch64 builds, which have a workaround
by specifying the new skip-verify-test-packaging attribute.

In one case, win64-aarch64-shippable has tests that run against it, but
it copies those tests from a win64-aarch64-shippable-no-eme task, which
itself has no tests. Both of those tasks need to skip the verify check
as a result.

In another case, the win64-aarch64-eme task is an artifact build that
grabs test packages from the win64-aarch64 build. Since the win64-aarch64
build doesn't have tests, it needs to skip the verify check.

Differential Revision: https://phabricator.services.mozilla.com/D59426

--HG--
extra : moz-landing-system : lando
2020-02-25 20:13:12 +00:00
Eric Rahm 02784ee81c Bug 1617771 - Remove nsAutoPtr usage from svg. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D63984

--HG--
extra : moz-landing-system : lando
2020-02-25 20:03:26 +00:00
Mike Conley 87d5aea554 Bug 1610560 - Collect Telemetry on whether or not Superfetch and Prefetch are enabled and set to default settings. r=dthayer,chutten,data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D63359

--HG--
extra : moz-landing-system : lando
2020-02-25 19:28:42 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione c31aa68fb4 Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8
This covers most cycle collected objects which support weak references, but
not the ones which inherit from a cycle collected class and don't do any cycle
collection on their own.

Differential Revision: https://phabricator.services.mozilla.com/D63962

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:39 +00:00
Kris Maglione 64a2c8bb8f Bug 1535617: Part 1 - Add macros to clear weak references on unlink. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D63961

--HG--
extra : moz-landing-system : lando
2020-02-25 19:44:27 +00:00
André Bargull 080169b1aa Bug 1613713 - Part 6: Enable Intl.Locale by default. r=jwalden
Some tests needed to be updated to account for an `Intl` constructor whose
prototype doesn't have a `resolvedOptions` method.

Differential Revision: https://phabricator.services.mozilla.com/D61875

--HG--
extra : moz-landing-system : lando
2020-02-25 18:47:42 +00:00
André Bargull 9914c761ae Bug 1613713 - Part 5: Canonicalise transform extension subtags. r=jwalden
Canonicalises the `tlang` subtag of a transform extension per the usual rules
for canonicalising the base name parts of a locale identifier. In addition to
that, deprecated `tvalue` subtags are now also replaced with their preferred
replacements according to the `alias` data from CLDR.

Differential Revision: https://phabricator.services.mozilla.com/D61873

--HG--
extra : moz-landing-system : lando
2020-02-25 18:01:16 +00:00
André Bargull 5350ec886f Bug 1613713 - Part 4: Remove UnicodeExtensionCanonicalForm option. r=jwalden
Unicode extension subtags are now canonicalised for all operations, so we no
longer need the UnicodeExtensionCanonicalForm enum.

Unicode extension types provided through option objects are also canonicalised
to ensure no uncanonicalised locales are exposed. This also avoids triggering
various assertions where we assume we only expose fully canonicalised locales.

Also see: https://github.com/tc39/proposal-intl-locale/issues/96

Differential Revision: https://phabricator.services.mozilla.com/D61872

--HG--
extra : moz-landing-system : lando
2020-02-25 17:57:27 +00:00
André Bargull 639a012e05 Bug 1613713 - Part 3: Add variant subtag canonicalisation. r=jwalden
Variant subtag canonicalisation is back, but with slightly different semantics
compared to IANA BCP 47 canonicalisation.

Differential Revision: https://phabricator.services.mozilla.com/D61871

--HG--
extra : moz-landing-system : lando
2020-02-25 17:55:06 +00:00
André Bargull a61211e0b3 Bug 1613713 - Part 2: Update comments for UTS 35. r=jwalden
Parts 3 and 5 will implement the missing canonicalisation steps for variant
and transform extension subtags.

Differential Revision: https://phabricator.services.mozilla.com/D61870

--HG--
extra : moz-landing-system : lando
2020-02-25 17:48:24 +00:00
André Bargull e09dc7f796 Bug 1613713 - Part 1: Update spec references. r=jwalden
Also reorder "caseFirst" to match the updated spec position.

Differential Revision: https://phabricator.services.mozilla.com/D61869

--HG--
extra : moz-landing-system : lando
2020-02-25 17:46:32 +00:00
André Bargull 12847dea6d Bug 1617196 - Part 2: Remove no longer used bailout kinds. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D63671

--HG--
extra : moz-landing-system : lando
2020-02-25 18:06:45 +00:00
André Bargull 1919e45ad4 Bug 1617196 - Part 1: Use an ool vm-call instead of a bailout for LCheckReturn. r=jandem
Branching on `undefined` in the newly added `ThrowBadDerivedReturnOrUninitializedThis`
function makes it possible to differentiate when `ThrowUninitializedThis()` and when
`ThrowBadDerivedReturn()` needs to be called.

Differential Revision: https://phabricator.services.mozilla.com/D63670

--HG--
extra : moz-landing-system : lando
2020-02-25 10:06:21 +00:00
Boris Chiou 9818601570 Bug 1611847 - Update relevance and its effect set in the early return of UpdatePlaybackRate(). r=birtles
To avoid hitting the assertion because of out-of-dated relevance.

Differential Revision: https://phabricator.services.mozilla.com/D63582

--HG--
extra : moz-landing-system : lando
2020-02-25 19:41:14 +00:00
André Bargull f8ca77cb52 Bug 1617853: Primitive values can't occur in super-property accesses. r=tcampbell
Only the receiver in a super property access can be a primitive value, the
holder value is guaranteed to be an object, because it's computed from
SuperBase, which always returns an object.

Differential Revision: https://phabricator.services.mozilla.com/D64045

--HG--
extra : moz-landing-system : lando
2020-02-25 18:07:33 +00:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
James Willcox 3a43793aaa Bug 1612961 - Disable the socket server on Android r=kershaw
This was inadvertently enabled and it has memory and likely
other perf impact that we're not yet ready to evaluate.

Differential Revision: https://phabricator.services.mozilla.com/D63343

--HG--
extra : moz-landing-system : lando
2020-02-25 15:34:22 +00:00
Botond Ballo 1e7c3bd30f Bug 1613195 - Initialize LayersId::mId to 0. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D63987

--HG--
extra : moz-landing-system : lando
2020-02-25 19:34:15 +00:00
Boris Chiou c68547f8f9 Bug 1612106 - Use NIGHTLY build flag to distinguish the writable/readonly Animation.timeline. r=birtles,bzbarsky
We only support writable Animation.timeline attribute on nightly
build, so use nightly build flag in WebIDL and Animation.h/cpp.
For the test expectations, we also use this build flag to skip them or
mark them as expected fail if necessary.

Differential Revision: https://phabricator.services.mozilla.com/D63432

--HG--
extra : moz-landing-system : lando
2020-02-24 23:07:09 +00:00
Dale Harvey af0051aade Bug 1589618 - Move the implementation of the region fetch to NetworkGeolocationProvider to have it close to the wifi scanning code. r=Standard8,garvan
Differential Revision: https://phabricator.services.mozilla.com/D62419

--HG--
extra : moz-landing-system : lando
2020-02-25 14:19:05 +00:00
Neil Deakin 64d1a3665c Bug 1616600, properly update the tab-indicator state when a tab is closed; it previously wasn't being removed properly from the per-tab indicator map when the indicator was from a subframe,r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D63535

--HG--
extra : moz-landing-system : lando
2020-02-25 18:08:06 +00:00
Arthur Iakab a973454927 Backed out 2 changesets (bug 1616298)for causing build bustages on TestBaseProfiler.cpp
CLOSED TREE

Backed out changeset 781be7f64b1a (bug 1616298)
Backed out changeset a3920eccb1ac (bug 1616298)
2020-02-25 20:55:44 +02:00
Arthur Iakab 854fd7a3b4 Backed out 6 changesets (bug 1144438, bug 1617208, bug 1597378) for causing mochitest failures on test_perf-settings-entries.html.
Backed out changeset 2181d8a99229 (bug 1617208)
Backed out changeset 38c8db44b398 (bug 1597378)
Backed out changeset b2f0cf9a387e (bug 1597378)
Backed out changeset 4d1ff8bd4e64 (bug 1597378)
Backed out changeset 9b760d8fc1dc (bug 1597378)
Backed out changeset bc5727185383 (bug 1144438)

--HG--
rename : devtools/client/performance-new/test/browser/browser_popup-record-capture.js => devtools/client/performance-new/test/browser/browser_popup-end-to-end-click.js
rename : devtools/client/performance-new/test/browser/browser_aboutprofiling-env-restart-button.js => devtools/client/performance-new/test/browser/browser_popup-env-restart-button.js
rename : devtools/client/performance-new/test/browser/browser_aboutprofiling-features-disabled.js => devtools/client/performance-new/test/browser/browser_popup-features-disabled.js
2020-02-25 20:51:07 +02:00
Andrea Marchesini b514a4a2fc Bug 1604212 - Enable sameSite=lax by default, r=Ehsan,ahal
Differential Revision: https://phabricator.services.mozilla.com/D63081

--HG--
extra : moz-landing-system : lando
2020-02-25 18:32:08 +00:00
Andrei Oprea be188b26bd Bug 1612914 - Enable DiscoveryStream provider in mochitests r=k88hudson,thecount
Differential Revision: https://phabricator.services.mozilla.com/D61481

--HG--
extra : moz-landing-system : lando
2020-02-25 18:26:06 +00:00
Gerald Squelart bd615e6031 Bug 1616298 - ULEB128Reader - r=canaltinova
Unsigned LEB128 parser class that can be fed bytes one by one.

Differential Revision: https://phabricator.services.mozilla.com/D63231

--HG--
extra : moz-landing-system : lando
2020-02-25 06:05:29 +00:00
Gerald Squelart 8f7a1f5c14 Bug 1616298 - Run BaseProfiler-independent tests even when BaseProfiler is disabled - r=gregtatum,canaltinova
Some of the BaseProfile headers are always available, even when BaseProfiler
itself is disabled, so we should test these in all cases.

Differential Revision: https://phabricator.services.mozilla.com/D63230

--HG--
extra : moz-landing-system : lando
2020-02-25 17:01:37 +00:00
Olli Pettay d9972ce888 Bug 1561488 - null check document in RecvUIResolutionChanged and RecvThemeChanged, r=bdahl
These were the worrisome missing null checks I noticed, and crash-stat shows that there areactually crashes in these two places

Differential Revision: https://phabricator.services.mozilla.com/D64162

--HG--
extra : moz-landing-system : lando
2020-02-25 18:05:57 +00:00