752016 Commits

Author SHA1 Message Date
Florin Strugariu
64f2140290 Bug 1701241 - Do not run wasm baseline and opt on chrome and chromium r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D110665
2021-04-05 16:00:58 +00:00
Neil Deakin
cd18ab48b1 Bug 1701963, fix some menu related tests on Windows 10 that fail with the larger menu size, r=Gijs
Account for the border and padding now on the inner arrowscrollbox, and increase some window and margin
sizes to account for the menu being larger in Windows 10.

Differential Revision: https://phabricator.services.mozilla.com/D110587
2021-04-05 16:00:32 +00:00
Doug Thayer
261c0c67f4 Bug 1702516 - Fix hang notification tests to not expect terminateGlobal r=florian
Depends on D110583

Differential Revision: https://phabricator.services.mozilla.com/D110695
2021-04-05 16:00:09 +00:00
Doug Thayer
f75d49d54f Bug 1702516 - Remove all terminateGlobal uses r=kmag
This never actually worked, because nothing ever listened to the notification
sent in XPCJSContext (kill-content-script-sandbox). We're also removing the
"Temporarily disable extension" button in the slow addon notification, which
was the primary caller of this - however, that's in a separate patch.

Differential Revision: https://phabricator.services.mozilla.com/D110583
2021-04-05 16:00:09 +00:00
Doug Thayer
d5a34a1fb7 Bug 1702516 - Remove Temporarily disable extension button r=florian
Fairly straightforward - this removes the button from the slow add-on script
notification, as well as the functions that only it utilizes.

Differential Revision: https://phabricator.services.mozilla.com/D110582
2021-04-05 16:00:08 +00:00
Kajal Sah
d7e344e956 Bug 1702539 - Fixes eslint errors in browser/extensions/screenshots/background/selectorLoader.js. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110758
2021-04-05 15:57:38 +00:00
Nika Layzell
87810a2b88 Bug 1702245 - Expand XPCOM's in-tree documentation, r=xpcom-reviewers,kmag
This change involved migrating a number of pages, including the DMD
documentation, XPIDL documentation, and the Internal String Guide to
Firefox Source Docs, as well as performing a review/update to these
documents to be more accurate and current.

In addition, some additional sections were written in the various
documents to elaborate on important features which were not present when
the documents were originally written, and a few new documents were
written to add basic documentaiton for other XPCOM components.

The following MDN pages were migrated in this patch:

https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPIDL
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Guide/Internal_strings
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/DMD

Differential Revision: https://phabricator.services.mozilla.com/D110424
2021-04-05 15:56:18 +00:00
Andreea Pavel
473bb162bd Bug 1634684 - disable test_setSinkId_preMutedElement on linux-qr debug r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D110796
2021-04-05 15:48:28 +00:00
Kajal Sah
59f950e145 Bug 1702538 - Fixes eslint errors in browser/extensions/screenshots/background/main.js. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D110759
2021-04-05 15:45:39 +00:00
Sean Feng
d5bb4c62a6 Bug 1696352 - Handle SetHadLazyLoadImage failure gracefully r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110803
2021-04-05 15:35:51 +00:00
Geoff Brown
e477785caf Bug 1703016 - Run android xpcshell in fewer test chunks; r=jmaher
Run android xpcshell in 2 test chunks instead of 4. Also remove custom max-run-time as it is not needed.

Differential Revision: https://phabricator.services.mozilla.com/D110804
2021-04-05 15:06:57 +00:00
Byron Campen [:bwc]
92c01bf34b Bug 1702323: Fix bug where the tls bit was being stomped by conversion functions. r=mjf
Also, some logging that was useful.

Depends on D110634

Differential Revision: https://phabricator.services.mozilla.com/D110635
2021-04-05 14:53:00 +00:00
Byron Campen [:bwc]
afc52e3c18 Bug 1702323: Get this TURNS server code working again. r=ahal
Not that it helps us on CI, because of bug 1323439, but we can at
least run it locally.

Differential Revision: https://phabricator.services.mozilla.com/D110634
2021-04-05 14:53:00 +00:00
Bryce Seager van Dyk
4f5780010c Bug 1696034 - Restore code to record VIDEO_ENCRYPTED_PLAY_TIME_MS probe. r=alwu
This code didn't make it across when we reworked how we record our playback
probes. However, it's a useful checksum to compare against our Widevine
playtime + as a general data point. This patch restores the code to record the
probe.

Differential Revision: https://phabricator.services.mozilla.com/D107072
2021-04-05 14:32:14 +00:00
Bryce Seager van Dyk
ca29af8bbd Bug 1696034 - Expand EME telemetry test to cover cases involving unecnrypted media. r=alwu
Expands the EME telemetry test to cover two additional cases.
1. The EME media is loaded but before playback the src is switched to unecrypted
   media. In this case, we don't expect encrypted playtime to be recorded, but
   we will still collect clearkey playtime as the element still has clearkey
   media keys attached.
2. Same as the above, but where the media keys are also cleared. In this case we
   do not expect either encrypted or clearkey time to be recorded.

Differential Revision: https://phabricator.services.mozilla.com/D110550
2021-04-05 14:32:14 +00:00
Bryce Seager van Dyk
34fc51796d Bug 1696034 - Add a browser test to verify EME related playtime telemetry is gathered. r=alwu
This changeset adds a test to verify that playtime telemetry related to EME is
gathered after playing an encrypted file. It does so by checking that the
VIDEO_ENCRYPTED_PLAY_TIME_MS and VIDEO_CLEARKEY_PLAY_TIME_MS are the same as the
VIDEO_PLAY_TIME_MS after playing an encrypted file (this may not always happen
in the wild, but should hold for test).

To support this test I've added a new eme helper file `eme_standalone.js` this
is an EME helper with no extra dependencies. This allows it to be used in normal
mochitests and browser mochitests, rather than just one or the other. It is also
not coupled with the media mochitests (and `manifest.js`) unlike our existing
EME helpers, so should be more portable.

Differential Revision: https://phabricator.services.mozilla.com/D110446
2021-04-05 14:32:13 +00:00
Joel Maher
87b40f9ff1 Bug 1702974 - move remaining wpt reftests: not webrender, from 10.14 to 10.15. r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D110799
2021-04-05 14:29:53 +00:00
Gijs Kruitbosch
16a48ac4f1 Bug 1700221 - fix IDN display in content prompts, r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D110435
2021-04-05 14:05:17 +00:00
Larry Bordowitz
8fe72bf507 Bug 1700386 - Reword "Try Import Again" in CSV import error modal. r=tgiles,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D110776
2021-04-05 13:24:55 +00:00
Sebastian Hengst
d52fdcd31c Bug 1699446 - map FeatureGate source files to their Bugzilla component. r=jaws DONTBUILD
This allows getting bugs get filed into the correct component (e.g. from
Treeherder for test failures or from Searchfox which mentions the component
at the top right in the file view).

Differential Revision: https://phabricator.services.mozilla.com/D108951
2021-04-05 12:15:42 +00:00
Masayuki Nakano
e1298d770d Bug 1697876 - part 2: Make EditorBase::EndPlaceholderTransaction() release placeholder transaction and related stuff before dispatching input event r=m_kato
Currently, it dispatches `input` event with holding `mPlaceholderTransaction`
and `mPlaceholerBatch` as 1.  If `input` event listener sets value in XUL
document, the setting value transaction will break the existing placeholder
transaction.  Then, only the last one will be undone, and it causes inserting
new padding `br` element with transaction and clears redo history.

This patch makes it forget them before dispatching `input` event.

Note that I tried to create automated test for this, but I cannot reproduce
this with simple testcase.  I guess something other things also required to
reproduce this bug.

Differential Revision: https://phabricator.services.mozilla.com/D110715
2021-04-05 11:35:49 +00:00
Masayuki Nakano
119be8e287 Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D110714
2021-04-05 11:35:48 +00:00
Timothy Nikkel
a5befa8e27 Bug 1702862. Allow nsICotent::List and friends in --enable-dump-painting builds. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D110743
2021-04-05 10:49:40 +00:00
Mark Banner
ae4f7314e2 Bug 1702333 - Add diagram of add-ons and default search engine prompting to docs. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D110468
2021-04-05 10:37:21 +00:00
Emilio Cobos Alvarez
dfb42e5808 Bug 1702847 - Ensure we set the select background from content if either background or color is set. r=Gijs
This is also an issue with proton in dark mode, and I think that this solution
is sensible.

Differential Revision: https://phabricator.services.mozilla.com/D110733
2021-04-05 09:28:21 +00:00
Dale Harvey
3ec449562e Bug 1697251 - Add a calculator to the Urlbar r=adw,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108529
2021-04-05 08:26:29 +00:00
Nick Alexander
166dfa51ee Bug 1700850 - Part 2: Remove temporary background profile directories very late. r=dthayer
When `--backgroundtask TASK` invocations exit, they try to remove
their temporary profile directory.  This mostly works, except there
are some very late writes to the profile directory including
`Telemetry.ShutdownTime.txt` and the `security_state` directory.  This
commit accommodates by moving the profile directory removal even
later.  It might be possible to instead avoid these very late writes,
but that is hard in general, and is more likely to depend on the exact
code invoked by the background task itself.

Differential Revision: https://phabricator.services.mozilla.com/D110472
2021-04-05 04:16:37 +00:00
Nick Alexander
ea97f27b52 Bug 1700850 - Part 1: Make temporary background profiles per-installation and unique. r=bytesized,mossop
Differential Revision: https://phabricator.services.mozilla.com/D110310
2021-04-05 04:16:37 +00:00
Nick Alexander
b27ba19e6d Bug 1700850 - Pre: Create backgroundtask temporary profile before profile service. r=mossop
It's very unlikely that this would make a difference, since creating
the service does not immediately look for a profile.  But it's also
not clear to me why I originally placed it after the service was
created, and it's not impossible that the service creation would look
for `XRE_PROFILE_PATH` (which is how we communicate the desired
profile to the profile service), so let's create the profile before
the service.

Differential Revision: https://phabricator.services.mozilla.com/D110309
2021-04-05 04:16:36 +00:00
Markus Stange
05cea55db6 Bug 1702879 - Respect the document's ColorScheme when drawing native themed widgets. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D110766
2021-04-04 15:48:02 +00:00
Markus Stange
c9a43eb1f1 Bug 1702879 - Add LookAndFeel::ColorSchemeForDocument so that it can be called from nsNativeThemeCocoa. r=emilio
Depends on D110764

Differential Revision: https://phabricator.services.mozilla.com/D110765
2021-04-04 15:48:02 +00:00
Markus Stange
6b1a9bee56 Bug 1702879 - Remove GetAppAppearance() and choose the nsNativeThemeCocoa appearance in one place only. r=emilio
This also removes the 10.14+ check, so that on 10.12 & 10.13 we always set
currentAppearance to aqua. This preserves RenderWithCoreUI's behavior.

Depends on D110763

Differential Revision: https://phabricator.services.mozilla.com/D110764
2021-04-04 15:48:01 +00:00
Markus Stange
9fccd58ea9 Bug 1702877 - Make text field and search field rendering respect the Aqua override. r=emilio
Depends on D110762

Differential Revision: https://phabricator.services.mozilla.com/D110763
2021-04-04 15:48:01 +00:00
Markus Stange
9937416554 Bug 1702876 - Remove caching from macOS nsLookAndFeel, and add an NSAppearanceForColorScheme function. r=emilio
This also switches us to use the modern Objective C syntax for accessing properties and NSArray elements.

Differential Revision: https://phabricator.services.mozilla.com/D110762
2021-04-04 15:48:00 +00:00
Tomislav Jovanovic
7d7448d91f Bug 1685422 - Enable test_ext_web_accessible_resources and test_ext_web_accessible_incognito with fission r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D110761
2021-04-04 12:04:25 +00:00
Mark Banner
c3d0fbb56a Bug 1702166 - Update ESLint, Babel and associated modules to the latest versions. r=mossop,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D110606
2021-04-04 08:05:39 +00:00
Ryan VanderMeulen
db2ae8741c Bug 1698592 - Upgrade to SQLite 3.35.4. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D109834
2021-04-03 22:21:26 +00:00
Tomislav Jovanovic
d97368f61c Bug 1697774 - Avoid accessing cross-process contentWindow after navigation r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D110338
2021-04-03 16:38:39 +00:00
Csoregi Natalia
bc2d9d0d31 Backed out changeset 97c97bbc0691 (bug 1694123) for causing crashes in gfxUserFont* (bug 1702865). CLOSED TREE 2021-04-03 16:58:57 +03:00
Dave Hunt
2e6060ba79 Bug 1701764 - Remove --no-conditioned-profile from remaining Raptor task configurations; r=perftest-reviewers,Bebe
Depends on D110213

Differential Revision: https://phabricator.services.mozilla.com/D110687
2021-04-03 11:08:15 +00:00
Dave Hunt
06ee4b5177 Bug 1701764 - Only use a conditioned profile if a scenario is passed on the command line; r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D110213
2021-04-03 11:08:14 +00:00
Glenn Watson
5280d51443 Bug 1702662 - Fix scale_factors calculation in presence in negative ScaleOffset. r=gfx-reviewers,jrmuizel
The `scale_factors` method for `ScaleOffset` needs to take the absolute
value of the scale field, which is the same way that scale factors
are calculated in the slower transform based path. These scale factors
are used to determine the appropriate size of an offscreen surface in
some cases.

Differential Revision: https://phabricator.services.mozilla.com/D110726
2021-04-03 02:34:08 +00:00
Emilio Cobos Álvarez
cb042c2f1c Bug 1700294 - For chrome documents, base system colors off the lwtheme if appropriate, and force light for content. r=mstange
The first part fixes the bookmarks sidebars etc when in a light theme.

The second fixes too-light selection colors in websites.

Differential Revision: https://phabricator.services.mozilla.com/D110729
2021-04-03 01:17:00 +00:00
Emilio Cobos Álvarez
f51c1a00cc Bug 1700294 - Collect both light and dark colors in nsLookAndFeel. r=mstange
And honor the ColorScheme argument for NativeGetColor.

Differential Revision: https://phabricator.services.mozilla.com/D110728
2021-04-03 01:16:59 +00:00
Emilio Cobos Álvarez
65b4e0feb5 Bug 1700294 - Introduce LookAndFeel::SystemColorScheme(). r=mstange
Trivial, but maybe worth splitting.

Differential Revision: https://phabricator.services.mozilla.com/D110727
2021-04-03 01:16:59 +00:00
Butkovits Atila
a7c7897c17 Bug 1701078 - disable browser_remoteiframe.js on Linux_64 and Win_64_asan for frequent failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D110716
2021-04-03 01:04:18 +00:00
Andreea Pavel
7a0148230a Bug 1697988 - disable test_browsingcontext_currenturi.html on linux64, mac-qr and win-qr r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D110721
2021-04-03 00:59:22 +00:00
Timothy Nikkel
6420ad52a1 Bug 1700535. Make textareas inline block by default. r=emilio
This matches Chrome and Safari, as well as what we do for all other <input>s.

<input>s were changed to inline block in 1539469 with a couple of font inflation reftests marked as failing to follow up on. https://hg.mozilla.org/mozilla-central/rev/a1201db1b8cc is the follow up which made inputs not be font inflation containers. The same change for textarea fixes similar reftest failures for textarea. I read through the commit message for the change and doing the same for textareas seems to make sense but I don't understand it in detail.

Differential Revision: https://phabricator.services.mozilla.com/D109603
2021-04-02 23:34:47 +00:00
julianwels
8e31dccde7 Bug 1694139 - Remove .part-files when download is canceled by mixed download protection. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D109506
2021-04-02 22:22:43 +00:00
Emilio Cobos Álvarez
d3f4f81c53 Bug 1702765 - Plumb ColorScheme through nsXPLookAndFeel. r=mstange
After this patch, there are two remaining pieces to fix bug 1700294:

 * macOS nsLookAndFeel needs to return the right colors for light / dark
   appearance.

 * We need to return ColorScheme::Dark for the right documents in
   ColorSchemeForDocument.

Both of those should be straight-forward.

Differential Revision: https://phabricator.services.mozilla.com/D110680
2021-04-02 22:17:55 +00:00