Commit Graph

763057 Commits

Author SHA1 Message Date
Tom Ritter
1b9b6b72db Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie
With Fuzzyfox removed, Now() does what NowUnfuzzed() did.

Differential Revision: https://phabricator.services.mozilla.com/D119639
2021-07-14 18:18:17 +00:00
Tom Ritter
1f7af19d9b Bug 1666222: Remove the DelayQueue thing as part of removing Fuzzyfox 3/5 r=necko-reviewers,kershaw
This leaves the AsyncOpenFinal function because it is
used for Socket Process launch.

It adds some includes to fix Unified Builds.

Differential Revision: https://phabricator.services.mozilla.com/D119638
2021-07-14 18:18:16 +00:00
Tom Ritter
42c0ec86b4 Bug 1666222: Rip fuzzyfox out of the timestamp classes 2/5 r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D119637
2021-07-14 18:18:16 +00:00
Tom Ritter
701266cef6 Bug 1666222: Remove added Fuzzyfox Files Patch 1/5 r=smaug,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D119636
2021-07-14 18:18:15 +00:00
Andreea Pavel
37702a1fe0 Bug 1714895 - adjust fuzziness for 1313772-ref.xhtml on linux fission r=dholbert,intermittent-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D119016
2021-07-14 18:10:27 +00:00
Doug Thayer
2571ca6323 Bug 1719849 - Include ProcessRuntime.cpp and friends if not SM build r=aklotz
Originally these includes were wrapped in an ACCESSIBILITY define because the
bug that manifested only affected screen readers. However, theoretically
speaking other things *could* cause us to initialize COM early and run into
troubles, so this is not *strictly* an a11y issue from that perspective. It
wasn't wrapped around ACCESSIBILITY defines inside PreXULSkeletonUI.cpp for
this reason, but there was still lingering inconsistency inside the moz.build
file. This corrects that.

Differential Revision: https://phabricator.services.mozilla.com/D119541
2021-07-14 18:09:32 +00:00
Daniel Holbert
8b694b6eb5 Bug 1599346: Annotate recent observed fuzziness in reftest 315920-9.html. r=intermittent-reviewers,ahal
This is to allow "max difference: 1, number of differing pixels: 41".  The
differing pixels are all antialiased fringe along the curved edges of the
test's radio-buttons.

Differential Revision: https://phabricator.services.mozilla.com/D119778
2021-07-14 18:05:47 +00:00
Rob Lemley
c0fc8c4852 Bug 1720386 - Add a regex for Thunderbird update-verify-next version matching. r=taskgraph-reviewers,bhearsum
The update-verify-next test is new in Thunderbird 91. Since Thunderbird versions
do not include the esr suffix, a separate regex is needed.

Differential Revision: https://phabricator.services.mozilla.com/D119890
2021-07-14 17:50:36 +00:00
Mike Conley
68d6c6f23f Bug 1706981 - Fix placement of chevron for Bookmarks Menu button menupopups on Windows 10. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D115423
2021-07-14 17:39:00 +00:00
Luca Greco
c07f2abb1a Bug 1716452 - Fix test_ext_webrequest_auth.html intermittent failures. r=mixedpuppy
This patch fixes the intermittent failures being triggered by test_ext_webrequest_auth.html by making sure that
the "http-on-modify-request" observers added by the test tasks part of this test file are going to ignore any http
request that isn't related to the mochi.test url that is expected to trigger the authentication dialog.

With the previous version of the chrome script executed by these two test tasks, there was a chance that the observer
would be setting the mocked nsIAuthPromptProvider/nsIauthPromp2 notification callback on the wrong channel, if
the http channel was also related to the mochi.test host. After that the observer was removed and it would not be
setting the notificationCallbacks on the channel that was meant to set it on (and that would make the testcase to
trigger the actual authentication prompt that can be seen in the failure screenshots).

As part of this patch we are also reverting the additional debugging logs added in a previous patch attached to
this issue.

Differential Revision: https://phabricator.services.mozilla.com/D119880
2021-07-14 17:10:53 +00:00
Matthew Gaudet
1f3750875e Bug 1713155 - Ensure correct handling of await in class static block r=arai
This has been verified with the current version of
https://github.com/tc39/test262/pull/2968, rev a502d69

Differential Revision: https://phabricator.services.mozilla.com/D119793
2021-07-14 16:59:37 +00:00
Matthew Gaudet
f782e6d6e9 Bug 1713155 - Use FunctionSytnaxKind::StaticClassBlock for Static class blocks. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D119792
2021-07-14 16:59:37 +00:00
Julian Descottes
b1e8e9fcfc Bug 1720070 - [remote] Only apply common preferences on the first call to applyPreferences r=webdriver-reviewers,whimboo
Depends on D119610.  After fixing the error with targetList.destructor, calling CDP::stop() without having called CDP::start() before will trigger another failure.
This is because it will trigger a late load of RecommendedPreferences which will try to automatically initialize preferences
As we discussed about moving the init to be only performed during a call to applyPreferences, I am doing this change here to avoid the error.
This will not yet allow to call this from BiDi, or it would have to call it with an empty `preferences` map.

Differential Revision: https://phabricator.services.mozilla.com/D119611
2021-07-14 16:54:29 +00:00
Julian Descottes
a5a37abad6 Bug 1720070 - [remote] Only call TargetList::destructor if TargetList was created earlier r=webdriver-reviewers,jgraham,whimboo
targetList might be undefined if we call CDP::stop without having called CDP::start earlier

Differential Revision: https://phabricator.services.mozilla.com/D119610
2021-07-14 16:54:28 +00:00
Tarik Eshaq
9f2a55c5bc Bug 1587228 - Removes support for old send-tab clients. r=markh
* Removes the fallback to the old sent-tab
* Deletes the api to send URIs using commands
* Modifies tests that depended on that api to now use
   other commands, namely the wipeEngine command

Differential Revision: https://phabricator.services.mozilla.com/D118086
2021-07-14 16:50:26 +00:00
surajeet310
1903d302ab Bug 1717651 - Removed instances of 'ensure_subprocess_env' from python/mozperftest r=mhentges
Since Python 2 is no longer used in python/mozperftest, hence 'ensure_subprocess_env' is obsolete.

Differential Revision: https://phabricator.services.mozilla.com/D119898
2021-07-14 16:33:46 +00:00
Butkovits Atila
40a0e20486 Backed out 5 changesets (bug 1694496) for causing build bustages on GleanJSMetricsLookup.h. CLOSED TREE
Backed out changeset 86dc6a0fd554 (bug 1694496)
Backed out changeset 9ccad5fe13e7 (bug 1694496)
Backed out changeset 887eaee3ab5c (bug 1694496)
Backed out changeset 36421c124795 (bug 1694496)
Backed out changeset 9591dcd4369d (bug 1694496)
2021-07-14 19:46:38 +03:00
Mark Banner
317fbf055e Bug 1720151 - Hook up Snapshot handling to the real database. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D119652
2021-07-14 16:18:37 +00:00
Mark Banner
0f85cc5da1 Bug 1720461 - Improve layout of the interactions viewer to make more room for tables. r=mak
Also change the "page metadata" name to "Interactions" as that fits better.

Differential Revision: https://phabricator.services.mozilla.com/D119875
2021-07-14 16:18:37 +00:00
Chris H-C
895c3c8aac Bug 1694496 - GIFFT for FOG rate metric r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119788
2021-07-14 16:13:49 +00:00
Chris H-C
c569f6f483 Bug 1694496 - FOG Rate metric type C++ and JS r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119787
2021-07-14 16:13:48 +00:00
Chris H-C
5983db45bf Bug 1694496 MLA FFI for rate metric type r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119786
2021-07-14 16:13:48 +00:00
Chris H-C
30f1f5d53c Bug 1694496 - Add 'rate' metric type to FOG (Rust) r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119785
2021-07-14 16:13:48 +00:00
Chris H-C
19fe93727c Bug 1694496 - Update 'add a new metric type' docs r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D119784
2021-07-14 16:13:47 +00:00
Tim Giles
f418b5d169 Bug 1720507: Fix CC capture panel not appearing due to fieldset element. r=dimi,sfoster
When form autofill determines which extra fields were not autofilled, there is a chance that the filtered element will not have a value property (in our case, fieldset elements).
By ensuring we return an undefined instead of accessing a property that doesn't exist, we can ensure the rest of the credit card show panel flow works as expected

Differential Revision: https://phabricator.services.mozilla.com/D119660
2021-07-14 16:10:24 +00:00
lyavor
3ebe6a7c5d Bug 1720103 - Https-first: Do not upgrade form submissions (for now) r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D119882
2021-07-14 15:53:00 +00:00
Nika Layzell
4f50b5b81a Bug 1586830 - Part 3: Add a test for isInitialDocument, r=smaug
This test is based on the test written by ochameau for
https://phabricator.services.mozilla.com/D118740, but with modifications
to specifically test `isInitialDocument`.

Differential Revision: https://phabricator.services.mozilla.com/D119817
2021-07-14 15:51:20 +00:00
Nika Layzell
6f4ec0a0f4 Bug 1586830 - Part 2: Expose Document.isInitialDocument to chrome JS, r=smaug
Previously only the value in the parent process,
`windowGlobalParent.isInitialDocument`, was exposed to chrome JS. for testing
and other purposes, it is also useful to be able to read this value from JS in
a child process.

Depends on D119815

Differential Revision: https://phabricator.services.mozilla.com/D119816
2021-07-14 15:51:20 +00:00
Nika Layzell
fdaf413fa3 Bug 1586830 - Part 1: Ensure IsInitialDocument is set earlier and consistently on WindowGlobalParent, r=smaug
This makes sure to clear and set the value more consistently when replacing
documents within a WindowGlobal, and makes sure to include the relevant flag in
the initializer.

In addition, the place where the flag is set is moved ahead to happen before
the call to `Embed` so that the information is ready before the window is
created.

Differential Revision: https://phabricator.services.mozilla.com/D119815
2021-07-14 15:51:20 +00:00
Nan Jiang
0bf5838230 Bug 1719743 - Update eBay hi-res icon r=dao DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D119463
2021-07-14 15:34:36 +00:00
Hardik Sharma
e0db37de5a Bug 1716996 - Replace waitForCondition use in customizableui tests with TestUtils.waitForCondition r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D119509
2021-07-14 15:31:12 +00:00
Sean Feng
89ed93a047 Bug 1720344 - Add a <dialog> test for the setting the open attribute r=emilio
Added a test to ensure setting the open attribute to false doesn't
fire the `close` event.

Differential Revision: https://phabricator.services.mozilla.com/D119797
2021-07-14 15:20:22 +00:00
surajeet310
88365fbe52 Bug 1717651 - Removed instances of 'ensure_subprocess_env' from python/mozbuild r=mhentges
Since Python 2 is no longer used in python/mozbuild, hence 'ensure_subprocess_env' is obsolete.

Differential Revision: https://phabricator.services.mozilla.com/D119791
2021-07-14 15:17:27 +00:00
Butkovits Atila
433d514141 Backed out 4 changesets (bug 1718755) for causing Reftest failures. CLOSED TREE
Backed out changeset f2cc4fb3caa8 (bug 1718755)
Backed out changeset babc4fdcd08c (bug 1718755)
Backed out changeset 4566477a7075 (bug 1718755)
Backed out changeset 3cc5fcf9aeb6 (bug 1718755)
2021-07-14 18:36:32 +03:00
Butkovits Atila
f249f27d91 Backed out changeset f6c9bfa1591c (bug 1720386) for causing linting failures. 2021-07-14 18:33:50 +03:00
Edgar Chen
b56843e83d Bug 1666184 - Defer loading object when setting attribute; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D116819
2021-07-14 14:46:12 +00:00
Rob Lemley
57fdc2d4ad Bug 1720386 - Add a regex for Thunderbird update-verify-next version matching. r=taskgraph-reviewers,bhearsum
The update-verify-next test is new in Thunderbird 91. Since Thunderbird versions
do not include the esr suffix, a separate regex is needed.

Differential Revision: https://phabricator.services.mozilla.com/D119890
2021-07-14 14:39:06 +00:00
Thomas Wisniewski
172d2b2de9 Bug 1713699 - Add a SmartBlock shim for Chartbeat Superfly; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119883
2021-07-14 14:26:26 +00:00
Luca Greco
0995284f7d Bug 1638097 - ServiceWorkerManager should not store registration related to temporary addons. r=asuth
This patch include a small change to ServiceWorkerManager::StoreRegistration which does early exist
and not store the registration on disk if:
- the principal is from a WebExtension
- the addon is not enabled (or was already uninstalled) by the time we got to store the registration
- the addon is temporarily installed

At the moment it should not happen, but if ServiceWorkerManager::StoreRegistration was reached too late
for some reason and the registration was meant to be stored, the service worker would still be registered
again when the addon is started again on the next browser startup and stored on disk if it was meant to.

Depends on D119529

Differential Revision: https://phabricator.services.mozilla.com/D119530
2021-07-14 14:13:00 +00:00
Luca Greco
e1f61e1957 Bug 1638097 - Add a temporarilyInstalled boolean property to WebExtensionPolicy. r=mixedpuppy
This patch adds a new `temporarilyInstalled` property to the WebExtensionPolicy object, set to
the value of the same property from a Extension.jsm perspective.

The new property is being introduced mainly to be used in a patch that follows to allow the
ServiceWorkerManager internals to access that from the C++ layer (but it may be also
become a useful knowledge for other C++ components in the future).

Differential Revision: https://phabricator.services.mozilla.com/D119529
2021-07-14 14:13:00 +00:00
Alexandre Poirot
4eabf1bdd8 Bug 1720184 - [devtools] Fix browser toolbox against mochitests. r=jdescottes
Worker targets only set threadActor late, quite asynchronously.
So that the target is registered in TargetCommand, but we can't call target.getFront
without having it to throw.

Differential Revision: https://phabricator.services.mozilla.com/D119672
2021-07-14 14:06:47 +00:00
Luca Greco
ea8a4e4c3e Bug 1570478 - Re-enabled browser_ext_devtools_network.js on all jobs besides fission. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D119115
2021-07-14 14:02:41 +00:00
Mike Conley
6fd25326aa Bug 1720300 - Remove browser.proton.enabled preference probe. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D119822
2021-07-14 13:50:11 +00:00
Emilio Cobos Álvarez
ae70245631 Bug 1718755 - Follow-up: Put the rAF back in reftest-content.js. CLOSED TREE 2021-07-14 16:47:21 +03:00
Harry Twyford
9f250fa6e0 Bug 1719734 - Enable widget.macos.support-dark-appearance by default on Release. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D119440
2021-07-14 13:36:54 +00:00
Harry Twyford
0a09bfc556 Bug 1710934 - Manage toolbar field selection colors manually based on theme colors. r=emilio,dao
Differential Revision: https://phabricator.services.mozilla.com/D118043
2021-07-14 13:36:54 +00:00
lyavor
34292f2736 Bug 1719309 - HTTPS-First test for bad certifactes. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D119779
2021-07-14 12:34:01 +00:00
Emilio Cobos Álvarez
a2cfcac615 Bug 1718755 - Ensure the reftest harness at least ticks the refresh driver once. r=tnikkel
Otherwise after the previous change we might get some reftest failures
like this in noqr platforms if the snapshot is taken too soon:

  https://treeherder.mozilla.org/jobs?repo=try&revision=5452076b8278fdb514e8c3bc10486b0c74917eb0

This patch fixes it.

Differential Revision: https://phabricator.services.mozilla.com/D119453
2021-07-14 11:29:25 +00:00
Emilio Cobos Álvarez
0d448eff03 Bug 1718755 - Fix the SpecialPowers pref code to deal with ui / font prefs correctly after the previous change. r=kmag
This allows us to remove the timeout (which was there for these prefs)
and makes the code a bit more explicit.

Unconditionally making all tests wait for rAF causes some timing changes
which cause some tests to time out / fail, see:

  https://treeherder.mozilla.org/jobs?repo=try&revision=3aef4c168c6ab7d762dd360f49d4f56dff686c03

So this only does it when changing the prefs that care about it. Fix
some tests that were relying on the timeout to get this green.

Differential Revision: https://phabricator.services.mozilla.com/D119040
2021-07-14 11:29:25 +00:00
Emilio Cobos Álvarez
5c4a0e6c23 Bug 1718755 - Use an early refresh driver runner rather than Dispatch() to coalesce theme changes. r=stransky
That way we guarantee they are processed before display.

Differential Revision: https://phabricator.services.mozilla.com/D119023
2021-07-14 11:29:24 +00:00