Andi-Bogdan Postelnicu
806f346204
Bug 1519636 - Reformat recent changes to the Google coding style. r=marco
...
Updated with clang-format version 14.0.5 (taskcluster-ThuAJINyTKOILKeakawQZw)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D151908
2022-07-15 08:27:50 +00:00
Emilio Cobos Álvarez
4414d74633
Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond
...
All its members are optional, so we can just use it as a plain struct
rather than Maybe<> all around, which simplifies the code and prevents
silly bugs like bug 1779592.
Mostly automatic via:
rg -l 'SVGImageContext' . | xargs sed -i 's/Maybe<SVGImageContext>/SVGImageContext/g'
With trivial build fixes.
Not intended to change behavior.
Differential Revision: https://phabricator.services.mozilla.com/D151846
2022-07-14 16:03:25 +00:00
Emilio Cobos Álvarez
5b5d69a8c4
Bug 1779457 - Fix test_mq_dynamic_svg.
...
MANUAL PUSH: Trivial orange fix CLOSED TREE
2022-07-14 12:37:41 +02:00
Tooru Fujisawa
54623364da
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-12 04:21:34 +00:00
Sebastian Hengst
07c1520097
Bug 1774376 - update further metadata mapping files to Graphics Bugzilla components. DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D151558
2022-07-11 22:38:30 +00:00
Andreea Pavel
7738a75fdd
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
8cd6ed7409
Bug 1777486 - Part 2: Migrate XPCOMUtils.jsm consumers with automatic migration. r=webdriver-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,kmag,owlish,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D151214
2022-07-11 15:09:13 +00:00
Tooru Fujisawa
52c95734e7
Bug 1667455 - Part 9: Stop importing Services.jsm from chrome-priv HTML code, single-line cases. r=kmag,necko-reviewers,geckoview-reviewers,extension-reviewers,m_kato,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D150898
2022-07-11 12:41:52 +00:00
Tooru Fujisawa
47c8f80432
Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa
bf93d07148
Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Nika Layzell
7ced96212e
Bug 1778211 - Reject xpidl CDATA containing 'virtual', r=xpcom-reviewers,necko-reviewers,mccr8,dragana
...
We'll probably want to do something more accurate in the future with a
custom clang static analysis pass which validates that XPIDL interfaces
have the expected vtable and struct layout, however doing so would be
more involved than the string matching done in this patch.
In addition to checking for extra virtual methods, we'll likely also
want to check for data members on interfaces, and reject them unless the
class is marked as `[builtinclass]` in addition to some other attribute
which we'll need to add to prevent them from being implemented in Rust
(as c++ data members will not be reflected by the rust macro).
There were 2 instances of a comment which contained the word 'virtual'
within a CDATA block. These comments were moved out of the CDATA block
to avoid triggering the error.
Differential Revision: https://phabricator.services.mozilla.com/D151068
2022-07-06 14:53:06 +00:00
Dragana Damjanovic
0cb9ae544a
Bug 1778272 - Revert the change to the LoadInfo release function. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D151103
2022-07-06 08:10:51 +00:00
Razvan Cojocaru
47f3281d5e
Bug 1775209 - Change local variables of type gfx::Size, which actually represent scales, to MatrixScales. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149866
2022-06-24 19:00:38 +00:00
Joel Maher
5bf232d7af
Bug 1776212 - cleanup e10s in manifest conditions for bc/dt. r=aryx,necko-reviewers,extension-reviewers,preferences-reviewers,dragana,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D150127
2022-06-23 17:49:07 +00:00
Andrew Osmond
2a6e181df2
Bug 1775495 - Avoid trigger extra async image decodes when sync decodes are requested. r=jrmuizel
...
When we request a sync decode, if there is an outstanding pending
async decode, but we don't have all the network data, we would end up
triggering an extra async decode. This patch ensures that we only
trigger sync decodes if they will actually execute as sync.
Differential Revision: https://phabricator.services.mozilla.com/D150008
2022-06-22 17:31:28 +00:00
Razvan Cojocaru
5b663ef76f
Bug 1773387 - Change local variables of type gfxSize, which actually represent scales, to MatrixScalesDouble. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149565
2022-06-20 19:17:14 +00:00
Razvan Cojocaru
1b6260e0ad
Bug 1773385 - Change the type of DownscalingFilter::mScale to MatrixScalesDouble. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149522
2022-06-17 21:32:10 +00:00
Razvan Cojocaru
08ea6a8367
Bug 1773384 - Change the type of Downscaler::mScale to MatrixScalesDouble. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D149380
2022-06-15 22:37:48 +00:00
Manuel Bucher
14dd2f26fc
Bug 1761242 - Expose computing security flags for early hint preloader r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144798
2022-06-15 09:59:44 +00:00
Joel Maher
490f3d046c
Bug 1773523 - allow_xul_xbl support in manifests. r=mccr8,gbrown
...
Differential Revision: https://phabricator.services.mozilla.com/D148681
2022-06-09 19:01:01 +00:00
Benjamin VanderSloot
5157d54b3b
Bug 1765313, part 2 - Move the ShouldAllowAccessFor functions to StorageAccess.h, r=anti-tracking-reviewers,timhuang
...
These functions are used to check if an object or context should have storage access.
Therefore they belong in StorageAccess.h with other functions that serve this purpose.
Differential Revision: https://phabricator.services.mozilla.com/D148285
2022-06-08 21:57:16 +00:00
Marian-Vasile Laza
a0f6973887
Backed out 5 changesets (bug 1765313, bug 1770403) for causing bc failures on browser_storageAccessPrivilegeAPI.js. CLOSED TREE
...
Backed out changeset 22153c8641e1 (bug 1765313)
Backed out changeset 588d54f796a0 (bug 1765313)
Backed out changeset 2376ca53eb9c (bug 1765313)
Backed out changeset 9cf02ec5657a (bug 1770403)
Backed out changeset 7d8147ba25e8 (bug 1770403)
2022-06-08 22:07:37 +03:00
Benjamin VanderSloot
b52e3e14a8
Bug 1765313, part 2 - Move the ShouldAllowAccessFor functions to StorageAccess.h, r=anti-tracking-reviewers,timhuang
...
These functions are used to check if an object or context should have storage access.
Therefore they belong in StorageAccess.h with other functions that serve this purpose.
Differential Revision: https://phabricator.services.mozilla.com/D148285
2022-06-08 17:11:19 +00:00
Molnar Sandor
1fc858a96d
Backed out 5 changesets (bug 1761242, bug 1744822, bug 1761252) for causing browser-chrome failures in netwerk/test/browser/browser_103_assets.js CLOSED TREE
...
Backed out changeset 33cc08eb51b3 (bug 1744822)
Backed out changeset b70697d24e75 (bug 1761252)
Backed out changeset 4a5e10110c6a (bug 1761242)
Backed out changeset 7cda175b833d (bug 1761242)
Backed out changeset 4f5ed111093b (bug 1761242)
2022-06-08 18:56:35 +03:00
Manuel Bucher
35abf46688
Bug 1761242 - Expose computing security flags for early hint preloader r=ckerschb,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D144798
2022-06-08 14:33:10 +00:00
Molnar Sandor
4012088f05
Backed out 5 changesets (bug 1765313, bug 1770403) for causing lint failure in tools/lint/rejected-words.yml CLOSED TREE
...
Backed out changeset c76671d99573 (bug 1765313)
Backed out changeset f0895e88c27e (bug 1765313)
Backed out changeset 81a0f8c40381 (bug 1765313)
Backed out changeset a11f5453e441 (bug 1770403)
Backed out changeset df452028881c (bug 1770403)
2022-06-08 15:48:57 +03:00
Benjamin VanderSloot
b99dc899f7
Bug 1765313, part 2 - Move the ShouldAllowAccessFor functions to StorageAccess.h, r=anti-tracking-reviewers,timhuang
...
These functions are used to check if an object or context should have storage access.
Therefore they belong in StorageAccess.h with other functions that serve this purpose.
Differential Revision: https://phabricator.services.mozilla.com/D148285
2022-06-08 12:18:22 +00:00
Mark Banner
61c02dadbe
Bug 1770727 - Fix ESLint rule mozilla/use-services on sjs files and expose Services to sjs files. r=Gijs
...
Depends on D147080
Differential Revision: https://phabricator.services.mozilla.com/D147081
2022-06-07 19:14:08 +00:00
Molnar Sandor
05e3775a6c
Backed out 4 changesets (bug 1770727) for causing mochitest failures in test_bug1180105/test_access_control. CLOSED TREE
...
Backed out changeset 6323b526b0ac (bug 1770727)
Backed out changeset fc7ea80aa2ff (bug 1770727)
Backed out changeset 2a358ba86652 (bug 1770727)
Backed out changeset 464d1af6523b (bug 1770727)
2022-05-24 17:24:40 +03:00
Mark Banner
dac6401c3b
Bug 1770727 - Fix ESLint rule mozilla/use-services on sjs files and expose Services to sjs files. r=Gijs
...
Depends on D147080
Differential Revision: https://phabricator.services.mozilla.com/D147081
2022-05-24 12:59:09 +00:00
Timothy Nikkel
1324503bdb
Bug 1770464. Correctly guard access to imgFrame::mDecoded with monitor. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D146956
2022-05-24 12:23:38 +00:00
Timothy Nikkel
dd3e9a6d5f
Bug 1769939. Avoid a couple of unnecessary image decodes at intrinsic size in some cases. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D146687
2022-05-21 06:44:19 +00:00
Timothy Nikkel
2e15b2af1d
Bug 1769195. Don't bother to try to do a partial draw of a background image if we haven't decoded any pixels. r=aosmond
...
The draw will be pointless, and it regresses one perf metric.
Differential Revision: https://phabricator.services.mozilla.com/D146685
2022-05-20 09:02:32 +00:00
Joel Maher
4645118c87
Bug 1392106 - remove obsolete reftest win7 conditions. r=aryx
...
Differential Revision: https://phabricator.services.mozilla.com/D146633
2022-05-19 12:27:29 +00:00
Mark Banner
7c198e01fd
Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-18 08:13:19 +00:00
Mark Banner
3924c8914b
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Sebastian Hengst
c552340e0c
Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
...
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner
5865f044db
Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
Mark Banner
4acbb4ff59
Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Timothy Nikkel
364d704041
Bug 1765871. Deal with oriented image frames in imgFrame::Finish. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D144390
2022-05-07 06:50:47 +00:00
Neil Deakin
6c927c11b6
Bug 1746052, add a means to get the filename that should be used for saving an image to disk, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D135950
2022-05-06 10:00:52 +00:00
Noemi Erli
295eab376a
Backed out 14 changesets (bug 1746052) for causing build bustages in nsExternalHelperAppService.cpp CLOSED TREE
...
Backed out changeset bf46b0add531 (bug 1746052)
Backed out changeset 684b2aca10bb (bug 1746052)
Backed out changeset d4796eeeaf64 (bug 1746052)
Backed out changeset 5cf2378f6eb4 (bug 1746052)
Backed out changeset 2055ec1e9a57 (bug 1746052)
Backed out changeset 1398fc0669d2 (bug 1746052)
Backed out changeset 1f979899c843 (bug 1746052)
Backed out changeset 561a24801d4d (bug 1746052)
Backed out changeset 73e4689120f0 (bug 1746052)
Backed out changeset 9891f3b0229b (bug 1746052)
Backed out changeset 4c1ab30de0bd (bug 1746052)
Backed out changeset 108e14122e53 (bug 1746052)
Backed out changeset 1ee59c52578a (bug 1746052)
Backed out changeset 41fe77c5f4b2 (bug 1746052)
2022-05-05 23:13:33 +03:00
Neil Deakin
ffd18bceae
Bug 1746052, add a means to get the filename that should be used for saving an image to disk, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D135950
2022-05-05 19:46:45 +00:00
Emilio Cobos Álvarez
3edae2885b
Bug 1757929 - Avoid some conflicts with WINDOWS define. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D145569
2022-05-05 11:37:51 +00:00
Csoregi Natalia
7896e7e124
Backed out 13 changesets (bug 1746052) for causing failures on uriloader/exthandler/tests/. CLOSED TREE
...
Backed out changeset d19cc58e3cab (bug 1746052)
Backed out changeset 229edc158a2b (bug 1746052)
Backed out changeset b0ef7c68abcf (bug 1746052)
Backed out changeset 30de4b77f242 (bug 1746052)
Backed out changeset ebc6720fdab3 (bug 1746052)
Backed out changeset daccb796a093 (bug 1746052)
Backed out changeset 5b76d8d76b2b (bug 1746052)
Backed out changeset a698068d078f (bug 1746052)
Backed out changeset 73d17535d8d1 (bug 1746052)
Backed out changeset 94c95f004221 (bug 1746052)
Backed out changeset 1a389759585a (bug 1746052)
Backed out changeset c91230a8ea90 (bug 1746052)
Backed out changeset 7665f02c114e (bug 1746052)
2022-05-04 01:15:12 +03:00
Neil Deakin
976c5b23db
Bug 1746052, add a means to get the filename that should be used for saving an image to disk, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D135950
2022-05-03 19:44:24 +00:00
Kagami Sascha Rosylight
73f6c1e217
Bug 1619574 - Remove HTMLCanvasElement::MozGetAsFile r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D144815
2022-04-27 16:13:14 +00:00
Timothy Nikkel
5702c6bb2c
Bug 1765116. Don't ignore any potential invalidation rect from calling UpdateState in FrameAnimator::ResetAnimation. r=aosmond
...
I added this in bug 1676990, I'm not sure why I ignored the rect return value, probably should have either asserted it was empty if I thought that or dealt with the return value.
Depends on D143894
Differential Revision: https://phabricator.services.mozilla.com/D143895
2022-04-22 09:00:42 +00:00
Timothy Nikkel
6226b1e342
Bug 1763581. Add test. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D143968
2022-04-21 08:01:10 +00:00
Timothy Nikkel
cdb1a9e090
Bug 1763581. If we reset an animated image animation make sure we can always reset the animation on the AnimationSurfaceProvider if it exists. r=aosmond
...
If the surface cache entry is a placeholder (because we haven't decoded any frames yet) then a surface cache lookup will not return anything, so we can't get ahold of the AnimationSurfaceProvider to call reset on it.
I also looked at the other places we call Lookup on the surface cache and it seems correct to me for them to not get the surface if it's still a placeholder.
Differential Revision: https://phabricator.services.mozilla.com/D143894
2022-04-21 08:01:10 +00:00