Commit Graph

827837 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
ddb53db966 Bug 1811959 - Minor clean-up to transform interpolation code. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D167616
2023-01-23 23:12:33 +00:00
Chris Martin
15c5b22789 Bug 1799470 - Retighten GPU Process File Access r=nika,handyman
Differential Revision: https://phabricator.services.mozilla.com/D165419
2023-01-23 23:05:03 +00:00
Csoregi Natalia
f822f99642 Backed out 6 changesets (bug 1799258) for failures on gfx.color_management.display_profile. CLOSED TREE
Backed out changeset 22351f36b74b (bug 1799258)
Backed out changeset 9bbbe3ed2794 (bug 1799258)
Backed out changeset e05c809f58d0 (bug 1799258)
Backed out changeset 791eeb52f034 (bug 1799258)
Backed out changeset 353ef4721bba (bug 1799258)
Backed out changeset b5157d950aa7 (bug 1799258)
2023-01-24 02:08:51 +02:00
Iulian Moraru
4c2faa0f63 Backed out changeset 16229048031e (bug 1800618) for causing base-toolchains build bustages. CLOSED TREE 2023-01-24 01:46:26 +02:00
Iulian Moraru
551e2e66d9 Merge mozilla-central to autoland on a CLOSED TREE 2023-01-24 01:34:59 +02:00
Iulian Moraru
cf3af6bb66 Backed out 2 changesets (bug 1790287) for causing wpt failures on /url/failure.html. a=backout
Backed out changeset 8bfc0e189f13 (bug 1790287)
Backed out changeset 133e35a5acec (bug 1790287)
2023-01-24 01:30:53 +02:00
Cieara Meador
fbe2e56b2b Bug 1804414 - Tabstrip animation should respect OS reduced motion pref r=Gijs,emilio
Differential Revision: https://phabricator.services.mozilla.com/D167101
2023-01-23 22:51:45 +00:00
Iulian Moraru
a85d6ea8c4 Bug 1811678 - expectation update on find-range-from-text-directive.html for subtests on android. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D167479
2023-01-23 22:40:26 +00:00
Mike Conley
71d5700fd0 Bug 1811943 - Fix Lit import for Credential Management Stories. r=mtigley
According to mstriemer, when we want to use Lit in mozilla-central,
including in Storybook stories, this is how we want to import it now
that the Lit package has been removed from Storybook as of bug 1803151.

Differential Revision: https://phabricator.services.mozilla.com/D167611
2023-01-23 22:20:50 +00:00
Robert Longson
1652c45ca6 Bug 1811764 - Use FromNode more to make content casting safer r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D167495
2023-01-23 22:15:15 +00:00
Kelsey Gilbert
c0f7411fb5 Bug 1799258 - span_iterator::difference_type s/index_type/ptrdiff/. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D167473
2023-01-23 22:13:18 +00:00
Kelsey Gilbert
3a068f509a Bug 1799258 - Support outByIn.size()<2 in SampleOutByIn. r=bradwerth
This makes it easier to apply transform functions, even when they are
not defined/present.

Differential Revision: https://phabricator.services.mozilla.com/D167472
2023-01-23 22:13:18 +00:00
Kelsey Gilbert
d27ed44f80 Bug 1799258 - No-op equal tfs rather than inverting. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D167471
2023-01-23 22:13:17 +00:00
Kelsey Gilbert
9e2d016bd4 Bug 1799258 - Do color-management on Windows+DComp via IDCompositionFilterEffects. r=sotaro
+ Add gfx.color_management.rec709_gamma_as_srgb:true. :'(

In particular, rec709(16/255) -> srgb(31/255). Even though it's
technically correct, it's practically-speaking incorrect, since that's
not what Chrome does, nor what the web expected for years and years.

In practice, basically everyone expects gamma to just be completely
ignored.

What people expect:
* Pretend gamut is srgb(==rec709), but stretch this naively for the
  display. If you have a display-p3-gamut display, srgb:0.5 expects to
  be displayed as display:0.5, which will be display-p3:0.5 to the eyes.
* Pretend all content gammas (TFs) are srgb(!=rec790), and then bitcast this
  naively for the display. E.g. rec709(16/255) should
  display the same as srgb(16/255), not srgb(31/255). (Note: display-p3
  uses srgb gamma) But if your display has e.g. gamma=3.0, don't
  convert or compensate.

This is a formalization of what you get when you spend decades ignoring
color management, and people build things based on behavior-in-practice,
not behavior-in-theory.

Also:
+ gfx.color_management.native_srgb:true for Windows, so we don't use the
  display color profile, which no one else does.
+ Add rec2020_gamma_as_rec709, so we have a path towards maybe having
  rec2020 use its correct transfer function, rather than srgb (like
  rec709).

Differential Revision: https://phabricator.services.mozilla.com/D161857
2023-01-23 22:13:17 +00:00
Kelsey Gilbert
70f8fd53cc Bug 1799258 - Add prereq Colorspaces stuff, including generic gamma->linear LUT inversion approximation. r=gfx-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D163664
2023-01-23 22:13:16 +00:00
Kelsey Gilbert
4d0c2f5f61 Bug 1799258 - [qcms] Add query for profile data and lut tables. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D163663
2023-01-23 22:13:16 +00:00
Boris Chiou
28a7c5e6b7 Bug 1807966 - Avoid infinite output progress after applying the easing function. r=emilio
The output progress of easing functions could be inf or -inf, per spec,
https://drafts.csswg.org/css-easing-2/#output-progress-value.

But we should avoid using infinity to calculate interpolation or use
the infinite progress in Web Animations API, per the spec issue comments:
https://github.com/w3c/csswg-drafts/issues/8344#issuecomment-1399033481

Differential Revision: https://phabricator.services.mozilla.com/D167342
2023-01-23 22:02:23 +00:00
Csoregi Natalia
8231013706 Backed out 4 changesets (bug 1803201, bug 1804727, bug 1811340) for failures on browser_close_prompt_on_timeout.js. CLOSED TREE
Backed out changeset 7fbda782854c (bug 1803201)
Backed out changeset 67932cdde760 (bug 1811340)
Backed out changeset cc79edf88a1a (bug 1804727)
Backed out changeset 9207553612bd (bug 1804727)
2023-01-24 00:21:23 +02:00
Gregory Pappas
afbdb98adf Bug 1804264 - Refactor PermissionUI to use JS class r=pbz
Also, esmify.

Differential Revision: https://phabricator.services.mozilla.com/D167074
2023-01-23 21:53:19 +00:00
Boris Chiou
6ce6bd3cf7 Bug 1808409 - Part 4: Accept auto for {scroll|view}-timeline-name. r=emilio
Per https://github.com/w3c/csswg-drafts/issues/7431, both timeline name
should accept `auto`.

Differential Revision: https://phabricator.services.mozilla.com/D166476
2023-01-23 21:39:25 +00:00
Boris Chiou
320fb92c62 Bug 1808409 - Part 3: Support view-timeline shorthand. r=emilio
view-timeline shorthand includes view-timeline-name and
view-timeline-axis, but excludes view-timeline-inset.

Note: We will fix the test of "view-timeline-name: auto" in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D166404
2023-01-23 21:39:25 +00:00
Boris Chiou
464f0cdf7e Bug 1808409 - Part 2: Support view-timeline-inset in style system. r=emilio
Support view-timeline-inset: `[ [ auto | <length-percentage> ]{1,2} ]#`.
And its initial value is 0.

Differential Revision: https://phabricator.services.mozilla.com/D166243
2023-01-23 21:39:24 +00:00
Boris Chiou
722d422cfb Bug 1808409 - Part 1: Support view-timeline-name and view-timeline-axis in style system. r=emilio
view-timeline-name: `none | <custom-ident>#`
view-timeline-axis: `[ block | inline | vertical | horizontal ]#`

Note:
Both view-timeline-name and scroll-timeline-name should accept `auto`.
We will fix it in this patch series.

Differential Revision: https://phabricator.services.mozilla.com/D166242
2023-01-23 21:39:24 +00:00
Dana Keeler
5cd244aecb Bug 1800618 - implement an oblivious http channel r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D166612
2023-01-23 21:32:23 +00:00
William Durand
8a33fe0db5 Bug 1801540 - Clean-up unified extensions CSS after it ships by default. r=Itiel,desktop-theme-reviewers
Depends on D166934

Differential Revision: https://phabricator.services.mozilla.com/D167378
2023-01-23 21:31:18 +00:00
Robert Longson
fc7c0b16c4 Bug 1811464 - Use SVGElement::FromNode more r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D167459
2023-01-23 21:30:54 +00:00
William Durand
9e1effa26a Bug 1810734 - Use browser_specific_settings instead of applications in generated langpacks. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D167019
2023-01-23 21:19:15 +00:00
Ryan Hunt
f27ab35b13 Bug 1811559 - wasm: Handle offset in EmitPreBarrierCall. r=jseward
EmitPreWriteBarrierCall had an offset parameter added but didn't use
it.

Differential Revision: https://phabricator.services.mozilla.com/D167418
2023-01-23 21:09:03 +00:00
Hiroyuki Ikezoe
fb1dc455fa Bug 1811575 - Make sure the swipe-to-navigation icon isn't rendered at zero progress gesture value. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D167513
2023-01-23 21:06:36 +00:00
Michael Froman
81c0d1dfea Bug 1809569 - pt6 - clear no-op tracking and resume files when prepping repo. r=ng DONTBUILD
When prepping the moz-libwebrtc repo, it makes sense to reset all the no-op
tracking files and the resume_state file for the new fast-forward session.

Differential Revision: https://phabricator.services.mozilla.com/D166497
2023-01-23 21:05:58 +00:00
Michael Froman
5cb305451f Bug 1809569 - pt5 - move all temporary processing files to TMP_DIR. r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D166496
2023-01-23 21:05:58 +00:00
Michael Froman
6ccd07399c Bug 1809569 - pt4 - move all logging to LOG_DIR. r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D166495
2023-01-23 21:05:57 +00:00
Michael Froman
1d39607ad7 Bug 1809569 - pt3 - move log_resume.txt to state directory rename to resume_state. r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D166494
2023-01-23 21:05:57 +00:00
Michael Froman
9b10d108da Bug 1809569 - pt2 - write all the no-op-cherry-pick-msg files in new state directory. r=ng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D166493
2023-01-23 21:05:57 +00:00
Michael Froman
abc1e98d4e Bug 1809569 - pt1 - add new fast-forward state directory. r=ng DONTBUILD
- automatically create state directory (.moz-fast-forward) under top level or repo if missing
- automatically create log and tmp subdirectories if missing
- only execute use_config_env.sh once in nested scripts
- move default location for config_env under state directory

Differential Revision: https://phabricator.services.mozilla.com/D166492
2023-01-23 21:05:56 +00:00
Geoff Lankow
730eb55729 Bug 1811785 - Add example.com to WEBAPI_TEST_INSTALL_HOSTS. r=extension-reviewers,willdurand
This should've been added when addons-stage.thunderbird.net was, so we could run mochitests.

Differential Revision: https://phabricator.services.mozilla.com/D167505
2023-01-23 20:59:42 +00:00
Csoregi Natalia
2cad39daa4 Backed out 7 changesets (bug 1810906) for MediaDataEncoderTest failures. CLOSED TREE
Backed out changeset 587a70264fdd (bug 1810906)
Backed out changeset d274f0432208 (bug 1810906)
Backed out changeset 4f3d40be7421 (bug 1810906)
Backed out changeset 1eae73e0ba44 (bug 1810906)
Backed out changeset f8c3e3b17536 (bug 1810906)
Backed out changeset 89e7ad08b2a2 (bug 1810906)
Backed out changeset 2aa16e0149d2 (bug 1810906)
2023-01-23 22:47:04 +02:00
Benjamin VanderSloot
985bc4bc58 Bug 1803201 - Close Identity Credential popup on timeout - r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D167393
2023-01-23 20:26:16 +00:00
Benjamin VanderSloot
dcfdb53ed8 Bug 1811340 - Move FedCM timeout into the parent process - r=pbz
This makes it so a compromised content process can't determine if the request timed out or was rejected

Differential Revision: https://phabricator.services.mozilla.com/D167392
2023-01-23 20:26:15 +00:00
Benjamin VanderSloot
203ec0c0e5 Bug 1804727, part 2 - Prevent concurrent "identity" Credential requests - r=jschanck
This is a requirement of the FedCM spec.

Requesting review from you because I believe you are the only other person actively working on Credential Management API things and this touches the `navigator.credentials` object implementation.

Differential Revision: https://phabricator.services.mozilla.com/D167157
2023-01-23 20:26:15 +00:00
Benjamin VanderSloot
4a3caedc0b Bug 1804727, part 1 - Add a debugging preference to FedCM - r=pbz
This removes checks to the well-known file.
This makes having more than one folder of tests possible.
I'm leaving the mochitests that excercise the platform code as the folder that tests well-known behavior.

Differential Revision: https://phabricator.services.mozilla.com/D167391
2023-01-23 20:26:14 +00:00
Emily McMinn
4bb731e53d Bug 1794937 - Remove mr2022 test leaving open tabs r=barret
Differential Revision: https://phabricator.services.mozilla.com/D167163
2023-01-23 20:16:48 +00:00
Eden Chuang
cbff171b16 Bug 1811682 - Update expected result for /fetch/api/basic/request-upload.h2.any.js r=dom-worker-reviewers,smaug
This is an side-effect of PFetch implementation.
Currently, PFetch is only default on nightly, so when running merging to Beta, the test will fail.

Differential Revision: https://phabricator.services.mozilla.com/D167523
2023-01-23 20:01:53 +00:00
Razvan Cojocaru
82845f5773 No bug - Remove superfluous semicolon. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D167587
2023-01-23 19:56:01 +00:00
alwu
4ec215c199 Bug 1810906 - part7 : set CDM proxy to the content protection manager and the media source. r=jolin
We haven't decided where the CDM proxy is going to be created and
passed, for now let's assume the media engine parent is the entry point
to set the CDM proxy to the content protection manager and the media
source.

Depends on D167329

Differential Revision: https://phabricator.services.mozilla.com/D167441
2023-01-23 19:20:35 +00:00
alwu
e0c5c09271 Bug 1810906 - part6 : expose a method to know if a stream is encrypted. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D167329
2023-01-23 19:20:35 +00:00
alwu
f69abca78f Bug 1810906 - part5 : implement IMFTrustedInput on MFMediaSource. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D167328
2023-01-23 19:20:33 +00:00
alwu
d8da157e8b Bug 1810906 - part4 : implement a proxy to wrap IMFContentDecryptionModule. r=jolin
The content protection manager needs to perform some tasks on the CDM,
we wrapped the CDM and expose a proxy class in order to let other
components interact with it.

Differential Revision: https://phabricator.services.mozilla.com/D167305
2023-01-23 19:20:33 +00:00
alwu
a54c68bf8f Bug 1810906 - part3 : move WMFMediaDataEncoder implementation to its header to fix link errors. r=jolin
After adding more files, `WMFEncoderModule.cpp` is no longer in the same
unify build unit with the `WMFMediaDataEncoder.cpp`. Therefore, we need
to make the implementation of template class `WMFMediaDataEncoder`
visible in the header file, otherwise the compiler would report link
error of undefined `WMFMediaDataEncoder` symbol.

Differential Revision: https://phabricator.services.mozilla.com/D167304
2023-01-23 19:20:32 +00:00
alwu
e138d6230a Bug 1810906 - part2 : adding includes and missing namespace to fix build errors. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D167303
2023-01-23 19:20:32 +00:00