772654 Commits

Author SHA1 Message Date
Harry Twyford
a7b6e3d4d3 Bug 1730562 - White flash before about:home/newtab themed background is rendered. r=mconley,dao
Differential Revision: https://phabricator.services.mozilla.com/D127561
2021-10-07 18:57:27 +00:00
Nick Alexander
8a9bd38a0b Bug 1733273 - Allow to repackage (after unpacking) MSIX packages directly. r=bhearsum
There are a few wrinkles here:

1.  Embedded langpack XPI files have central and local directory mismatches,
and `mozjar.py` and `UnpackFinder` don't read such files correctly, so we
need to use `unzip{.exe}` to unpack them.  It's much faster to use
this approach than `mozjar.py` anyway.

2.  Some accommodations are needed for multiple overlapping
distribution directories and in particular recognizing langpacks from
the existing MSIX package directory.

Differential Revision: https://phabricator.services.mozilla.com/D127583
2021-10-07 18:48:09 +00:00
Nick Alexander
1fa8bb82c7 Bug 1733273 - Pre: Allow to have UnpackFinder not unpack embedded XPI files. r=firefox-build-system-reviewers,mhentges,glandium
Signed langpack XPI files produced by automation are ZIP files that
have central and local directory mismatches, which `mozjar.py` and
therefore `UnpackFinder` do not handle at this time.  This flag, which
defaults to unpacking, allows to not unpack the embedded XPI files.

Differential Revision: https://phabricator.services.mozilla.com/D127582
2021-10-07 18:48:09 +00:00
Nick Alexander
27d1eec33b Bug 1733273 - Pre: Fix minor typos. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D127581
2021-10-07 18:48:08 +00:00
Henrik Skupin
072e33d893 Bug 1706581 - [remote] Write CDP connection details to DevToolsActivePort file. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D127626
2021-10-07 18:43:25 +00:00
Itiel
f27aac4b04 Bug 1734660 - Don't apply hover backgrounds on native buttons in dark mode r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D127845
2021-10-07 18:30:05 +00:00
Doug Thayer
b8b587b454 Bug 1734516 - Exit if popup frame is destroyed while showing it r=NeilDeakin
I'm not sure this is the appropriate fix for this, honestly. This hits a crash
in some urlbar work on a different branch, and this change avoids that. If we
don't do this, then we end up with a popup in mPopups which never actually
opened, which seems to create problems. Alternatively, we could try to fix
the frame's state so that it can be opened? I don't know if that's sane or not.
It presently doesn't open because of the check on mPopupState inside
nsMenuPopupFrame::ShowPopup. I don't know if there's more state than that to
get it to appropriately open.

Differential Revision: https://phabricator.services.mozilla.com/D127758
2021-10-07 18:07:51 +00:00
Alexandru Michis
224d4ba025 Backed out changeset 5d92bd37605f (bug 1732724) for causing xpcshell failures in test_targeting.js
CLOSED TREE
2021-10-07 21:16:39 +03:00
Noemi Erli
6d82d33655 Backed out 5 changesets (bug 1733876) for causing build windows bustages CLOSED TREE
Backed out changeset f7f60a86bf47 (bug 1733876)
Backed out changeset 6f0a6fcd5f5e (bug 1733876)
Backed out changeset b06880832da2 (bug 1733876)
Backed out changeset 2a6422635d37 (bug 1733876)
Backed out changeset dd5f9ce8a831 (bug 1733876)
2021-10-07 21:12:58 +03:00
Dimi
a64d7bd613 Bug 1710079 - Re-enble browser_aaa_eventTelemetry_run_first.js on mac r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D127409
2021-10-07 17:43:39 +00:00
Tim Giles
82264d8c1d Bug 1733426: Add workaround in test due to autocomplete-item.css being treated as a non-privileged stylesheet. r=dimi
This adds a workaround in the `browser_parsable_css.js` test for the autocomplete item stylesheets.
These stylesheets are loaded via chrome:// and so are privileged stylesheets, but in automation they are loaded as non-privileged stylesheets.
Since color-mix requires chrome privileges outside of Nightly, we need this workaround in order to not permanently fail when migrating from central to beta/release.

Differential Revision: https://phabricator.services.mozilla.com/D127314
2021-10-07 17:27:34 +00:00
ffxbld
518bed94e6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D127793
2021-10-07 17:17:12 +00:00
Andrei Oprea
57d4339370 Bug 1732724 - Report targeting expression source in the case of undesired events r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D126776
2021-10-07 17:10:27 +00:00
Alexandru Michis
26c14b3225 Backed out 24 changesets (bug 1678373) for causing bc failures in browser_tab_visibility_and_play_time.js
CLOSED TREE

Backed out changeset 1886dbd81c46 (bug 1678373)
Backed out changeset aeff26b5b1ae (bug 1678373)
Backed out changeset 261d8e4483d4 (bug 1678373)
Backed out changeset 89cb5ae23632 (bug 1678373)
Backed out changeset b1eaedd192ab (bug 1678373)
Backed out changeset 58a3eb19c818 (bug 1678373)
Backed out changeset b027ec789cbe (bug 1678373)
Backed out changeset fd596a84feb9 (bug 1678373)
Backed out changeset 1f0ed0392ae2 (bug 1678373)
Backed out changeset ac2be1df81af (bug 1678373)
Backed out changeset bf6d47905d78 (bug 1678373)
Backed out changeset a9fe4f310962 (bug 1678373)
Backed out changeset a15316058968 (bug 1678373)
Backed out changeset 217cdfd46120 (bug 1678373)
Backed out changeset c33c8411129b (bug 1678373)
Backed out changeset 3b854fc36abf (bug 1678373)
Backed out changeset e47c82bcb49a (bug 1678373)
Backed out changeset 2a77cbba1c9f (bug 1678373)
Backed out changeset 65206afede36 (bug 1678373)
Backed out changeset bd04930155f4 (bug 1678373)
Backed out changeset 034e8edd4619 (bug 1678373)
Backed out changeset ed1e56487c4c (bug 1678373)
Backed out changeset b7673d20c521 (bug 1678373)
Backed out changeset 5a93251e2fea (bug 1678373)
2021-10-07 20:36:47 +03:00
Ting-Yu Lin
896d7904fd Bug 1733876 Part 5 - Simply line wrapping logic involving line breaker in FindWrapIndexForContent(). r=m_kato
The purpose of this patch is to remove LineBreaker::Prev(), and audit
the deprecated LineBreaker::DeprecatedNext() (added in bug 1733872).

Add blockquotecite gtest to make sure short line wrapping with
blockquote citation still works. The testcase's behavior is not changed.

Differential Revision: https://phabricator.services.mozilla.com/D127385
2021-10-07 17:10:15 +00:00
Ting-Yu Lin
d08912596c Bug 1733876 Part 4 - Allow GetUnicharStringWidth() to support mozilla::Span substring argument. r=m_kato
This is required by Part 5.

Differential Revision: https://phabricator.services.mozilla.com/D127384
2021-10-07 17:10:15 +00:00
Ting-Yu Lin
060d72b1fb Bug 1733876 Part 3 - Consolidate logic dealing with and without aLineBreaker in FindWrapIndexForContent(). r=m_kato
This patch only moves logic, and shouldn't change the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D127383
2021-10-07 17:10:14 +00:00
Ting-Yu Lin
6993f02a9e Bug 1733876 Part 2 - Run line wrapping algorithm only if content of current line is not empty. r=m_kato,mbrodesser
With this edge case explicitly considered, it will be easier for the
following patches to simplify logic in `FindWrapIndexForContent()`.

Differential Revision: https://phabricator.services.mozilla.com/D127382
2021-10-07 17:10:14 +00:00
Ting-Yu Lin
431bd8d5d2 Bug 1733876 Part 1 - Remove unused kNoFlags in nsPlainTextSerializer.cpp. r=mbrodesser
Differential Revision: https://phabricator.services.mozilla.com/D127381
2021-10-07 17:10:14 +00:00
Drew Willcoxon
cc82c1d2e8 Bug 1734447 - Record in telemetry environment the user's choice in the Firefox Suggest online opt-in onboarding dialog/modal. r=chutten,dao
Differential Revision: https://phabricator.services.mozilla.com/D127700
2021-10-07 17:02:08 +00:00
Drew Willcoxon
61c28d385f Bug 1733687 - Store in a pref the user's response to the Firefox Suggest onboarding dialog and add two new telemetry event objects. r=dao,mythmon
This does a couple of things:

* Instead of using the `not_now` telemetry event object for the cases where the
  dialog is closed by the Escape key or some other atypical way, reserve
  `not_now` -- renamed `not_now_link` -- specifically for clicks on the "Not
  now" link and add two new objects: `dismissed_escape_key` and
  `dismissed_other`. That should give us a little better understanding of how
  the dialog is being dismissed. The new `not_now_link` name is to avoid
  conflation with the previous meaning of `not_now`.
* Add a new `browser.urlbar.quicksuggest.onboardingDialogChoice` pref that
  stores exactly the same values as the telemetry event. e.g., if the dialog is
  accepted, then we'll record a telemetry event whose object is `accept` and
  we'll also store `accept` in the pref.

I figure if we decide to show the onboarding again for people who have already
seen it, (1) we'll use this pref to decide the flow for any given user, and (2)
we'll need to add another pref for the user's response to the "v2" dialog, or
maybe we could morph this one into an array of responses or something more
complex like that.

Differential Revision: https://phabricator.services.mozilla.com/D127354
2021-10-07 17:02:07 +00:00
Emilio Cobos Álvarez
15e2dd7a4e Bug 1733384 - Allow explicitly-inert modal dialog to be inert. r=sefeng
This matches the consensus from the CSSWG call.

Differential Revision: https://phabricator.services.mozilla.com/D127423
2021-10-07 17:00:36 +00:00
Emilio Cobos Álvarez
9fbc18ca4c Bug 1733384 - Make inert not modify the computed style. r=sefeng,layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D127422
2021-10-07 17:00:36 +00:00
Niklas Baumgardner
9dd0c68d5c Bug 1714234 - Enable the dimension checks for visible-page screenshots in browser_screenshots_dimensions.js. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D127573
2021-10-07 16:58:02 +00:00
Markus Stange
e438bb47ac Bug 1734460 - Make these profiler docs refer to the Upload button (which no longer says Publish) correctly. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D127699
2021-10-07 16:48:52 +00:00
Butkovits Atila
ba1e989261 Backed out changeset bbea0c20d7fe (bug 1732724) for causing Xpcshell failures at test_targeting.js. CLOSED TREE 2021-10-07 19:29:34 +03:00
John M. Schanck
e8ced8b530 Bug 1717711 - Enable EV Treatment for HARICA's 2015 and 2021 root certificates r=rmf,keeler
Differential Revision: https://phabricator.services.mozilla.com/D127167
2021-10-07 16:22:49 +00:00
Luca Greco
12f85654aa Bug 1711120 - Fix test_ext_startup_cache intermittent failures on windows builds. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D127685
2021-10-07 16:09:38 +00:00
Chun-Min Chang
e0f2880ec7 Bug 1708718 - mach vendor rust. r=cubeb-reviewers,padenot
Depends on D127832

Differential Revision: https://phabricator.services.mozilla.com/D127833
2021-10-07 16:01:51 +00:00
Chun-Min Chang
eb155369ac Bug 1708718 - Update cubeb-coreaudio to 5ada876. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D127832
2021-10-07 16:01:51 +00:00
Yury Delendik
66cb934308 Bug 1690483 - Use saturating add for mask of SIMD swizzle. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D127746
2021-10-07 15:55:35 +00:00
Paul Adenot
a76e403529 Bug 1678373 - Remove mAudibleState. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D127559
2021-10-07 15:44:59 +00:00
Paul Adenot
c3e0d55a5d Bug 1678373 - Don't count muted time without an audio track, but start counting time as soon as an audio track is added. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D126912
2021-10-07 15:44:58 +00:00
Paul Adenot
16b65bd57d Bug 1678373 - Adjust media telemetry attributes. r=alwu
2h is a bit short for video.

Percentage need to be linear and between 0 and 100. 50 buckets are good enough,
having 100 buckets doesn't work, it needs to be lower than the `high` value.

Differential Revision: https://phabricator.services.mozilla.com/D125846
2021-10-07 15:44:58 +00:00
Paul Adenot
13eff79a3a Bug 1678373 - Count muted time correct when seeking while muted. r=alwu
The counter was paused, but `mIsMuted` was getting desynchronized. It's best to
reset the media element muted state, visibility and media content when paused,
they are set again properly in ::Play, preventing any issue.

It is necessary to reset the media content after reporting telemetry, because a
media content of MEDIA_HAS_NOTHING isn't reported.

Differential Revision: https://phabricator.services.mozilla.com/D125845
2021-10-07 15:44:58 +00:00
Paul Adenot
ecc424b1c5 Bug 1678373 - Update description for media playback telemetry probes. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125695
2021-10-07 15:44:57 +00:00
Paul Adenot
dc9fb0994e Bug 1678373 - Add telemetry probes for audible and muted media. r=alwu data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D125694
2021-10-07 15:44:57 +00:00
Paul Adenot
6a8e954392 Bug 1678373 - Add a testcase for MEDIA_PLAY_TIME_MS. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125693
2021-10-07 15:44:56 +00:00
Paul Adenot
4fc40231a3 Bug 1678373 - Prepare tests for test-cases without video. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125692
2021-10-07 15:44:56 +00:00
Paul Adenot
7ca1f38445 Bug 1678373 - Fix displaying the media element by using display: block. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125691
2021-10-07 15:44:56 +00:00
Paul Adenot
b422324e29 Bug 1678373 - Put the new and old value in the assert to diagnose failures better. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125690
2021-10-07 15:44:55 +00:00
Paul Adenot
2e756eee23 Bug 1678373 - Add tests for muted and audible audio. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125689
2021-10-07 15:44:55 +00:00
Paul Adenot
410e29319c Bug 1678373 - Add a telemetry probe for understanding how media content with audio content is played back. r=alwu data-review=chutten
Differential Revision: https://phabricator.services.mozilla.com/D125089
2021-10-07 15:44:54 +00:00
Paul Adenot
82125c0639 Bug 1678373 - Add a way to measure the duration a media was muted. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125088
2021-10-07 15:44:54 +00:00
Paul Adenot
ef0bfbff05 Bug 1678373 - Fix a typo in the accumulator names. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125087
2021-10-07 15:44:54 +00:00
Paul Adenot
6dc847cdf6 Bug 1678373 - Expose audio telemetry counters as chrome-only attributes like their video counterparts. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125084
2021-10-07 15:44:53 +00:00
Paul Adenot
94b7678216 Bug 1678373 - Rename chrome-only telemetry counter attributes to distinguish audio and video. r=alwu,webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D125083
2021-10-07 15:44:53 +00:00
Paul Adenot
521f23c69b Bug 1678373 - Make the test more robust, and check constant/increasing accumulators a bit more. r=alwu
This was failing locally sometimes.  Resolving a Promise is not very
deterministic: it can take some time, or be almost instantaneous. It's simpler
to block the main thread for a time duration longer than the clock resolution of
the OS. Generally, the worst clock resolution is on Windows, it's by default
16ms, and resolving a Promise is often a lot faster than 16ms, so we could have
had the same value here, but the code was correct. The reason that it passed was
because of this code. This is currently changing a lot in Windows, but 30ms is a
good middle ground I thought. The clock resolution on macOS/Linux
desktop/Android/anything else such as BSDs is a lot better than 16ms (in the
microsecond/nanosecond range depending on the kernel), so we're good there.

Differential Revision: https://phabricator.services.mozilla.com/D125082
2021-10-07 15:44:53 +00:00
Paul Adenot
5b350b7fc5 Bug 1678373 - The test was failing because the video ended early. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125081
2021-10-07 15:44:52 +00:00
Paul Adenot
575630f8df Bug 1678373 - Don't detach the media element from the tree for checking play time probes: it pauses the media element per spec. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D125080
2021-10-07 15:44:52 +00:00