Commit Graph

10418 Commits

Author SHA1 Message Date
Jon Bauman
601b2f5365 Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:

- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped

Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-30 01:31:17 +00:00
Daniel Varga
452acadb3b Backed out 7 changesets (bug 1621762) for causing build bustages at builds/worker/workspace/obj-build/dist/include/mozilla/dom/ProducerConsumerQueue.h
CLOSED TREE

Backed out changeset 03903e8f368e (bug 1621762)
Backed out changeset 21ef72486643 (bug 1621762)
Backed out changeset 70d103786c83 (bug 1621762)
Backed out changeset a3e1332998c3 (bug 1621762)
Backed out changeset 010f653b87d2 (bug 1621762)
Backed out changeset 0496adcb4582 (bug 1621762)
Backed out changeset 8d85420fd2e6 (bug 1621762)
2020-04-30 06:06:33 +03:00
David Parks
053f3b98ca Bug 1621762: Part 7 - Add IpdlQueue actor traits to WebGLParent/WebGLChild r=jgilbert,jld
Adds IpdlQueue capability to PWebGL actors.  The WebGLChild, used in content processes, implements SyncProducerActor and AsyncConsumerActor because it sends (sync and async) messages and receives responses to them that it reads as async messages.  The WebGLParent, used in the compositor process, is a SyncConsumerActor and AsyncProducerActor for dual reasons.

Differential Revision: https://phabricator.services.mozilla.com/D68264
2020-04-30 01:56:55 +00:00
Dorel Luca
58186c88dc Backed out 8 changesets (bug 1620621) for XPCshell failures in xpcshell/rs-blocklist/test_blocklist_mlbf_fetch.js
Backed out changeset 06fccc75c09e (bug 1620621)
Backed out changeset 8b4e286967c0 (bug 1620621)
Backed out changeset cfde27a748fd (bug 1620621)
Backed out changeset 7abf836343be (bug 1620621)
Backed out changeset 1a28d1de8f76 (bug 1620621)
Backed out changeset 90c08438be0a (bug 1620621)
Backed out changeset 723a3b4e7bbf (bug 1620621)
Backed out changeset bbc991f09d5d (bug 1620621)
2020-04-30 05:44:28 +03:00
Rob Wu
986f0753c6 Bug 1620621 - Implement blocklist stashing behind pref r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72890
2020-04-30 00:33:39 +00:00
Rob Wu
03ec908820 Bug 1620621 - Add bloomfilter-based blocklist for addons r=Gijs,aswan
NOTE: This commit does not yet include a dump of the RemoteSettings
collection and attachment. This will be added in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D72418
2020-04-29 23:08:15 +00:00
Nicholas Nethercote
00c92b3d71 Bug 1632279 - Disallow default pref definitions in user pref files. r=KrisWright
We distinguish between two kinds of pref syntax.
- "Default pref files" are the ones that come with Firefox, constructed from
  `all.js` and similar files.
- "User pref files" are the ones that get created in the user's profile.
  `prefs.js` is the one that Firefox creates and overwrites every time a pref
  changes. `user.js` is the one that users can create themselves.

We also have two basic kinds of pref.
- Default: `pref(...)` and the unfortunate `sticky_pref(...)`.
- User: `user_pref(...)`, which override but don't replace the default.

It only makes sense for user pref files to contain user prefs; users shouldn't
be able to create default prefs or change default pref values.

But it turns out that user pref files have been able to define default prefs
pretty much forever. This appears to be an oversight, and this commit restricts
things so that user pref files cannot contain default prefs.

The commit also fixes an incorrect comment in testParser.js.

Differential Revision: https://phabricator.services.mozilla.com/D73003
2020-04-29 21:47:12 +00:00
owlishDeveloper
53e87dce1e Bug 1626687 - Do not handle data URIs larger than 2M on mobile r=necko-reviewers,geckoview-reviewers,valentin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D72955
2020-04-29 18:07:39 +00:00
Kris Maglione
f7e694f8cc Bug 1630691: Part 2 - Get rid of the "dom.mozBrowserFramesEnabled" pref. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D71227
2020-04-29 19:29:11 +00:00
Julian Descottes
6bd74b87a0 Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-29 06:34:22 +00:00
Bogdan Tara
606f9e2e6c Backed out changeset 9804951497f9 (bug 1625363) for bustages complaining about nsAVIFDecoder.cpp CLOSED TREE 2020-04-29 19:46:12 +03:00
Jon Bauman
1c60246bba Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:

- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped

Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-29 16:30:54 +00:00
Bogdan Tara
6f459fe2a4 Backed out changeset 9b71539e316f (bug 1632098) for formautofill mochitest failures CLOSED TREE 2020-04-29 19:21:50 +03:00
julianwels
00925bd53b Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-29 15:52:19 +00:00
Miko Mynttinen
b29ddae63b Bug 1633842 - Enable WR item cache r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D72924
2020-04-29 13:21:52 +00:00
Jean-Yves Avenard
f94fa62011 Bug 1632098 - P3. Enable the ParentProcessDocumentChannel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D72297
2020-04-29 13:51:19 +00:00
Kartikaya Gupta
cb79050579 Bug 1633451 - Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D72691
2020-04-29 13:44:11 +00:00
Bogdan Tara
fe228746b1 Backed out changeset 8e7b6ae8e18d (bug 1631384) for browser_upgrade_exceptions.js failure CLOSED TREE 2020-04-29 13:32:29 +03:00
julianwels
b9779446da Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-29 09:25:54 +00:00
Matt Woodrow
33a15190f6 Bug 1602318 - Enable parent initiated loads pref. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D72232
2020-04-26 06:09:05 +00:00
Narcis Beleuzu
c6a90c4273 Backed out 5 changesets (bug 1630228) for bc failures on browser_startup_images.js . CLOSED TREE
Backed out changeset 92172b9cef6b (bug 1630228)
Backed out changeset 8a9c30923847 (bug 1630228)
Backed out changeset 11f6beab6bdf (bug 1630228)
Backed out changeset f9e6d07f3a90 (bug 1630228)
Backed out changeset ae64b5ffc3b5 (bug 1630228)
2020-04-29 02:20:52 +03:00
Julian Descottes
7642daff2c Bug 1630228 - Basic implementation to disable F12 until toolbox opens r=nchevobbe
In this changeset, we add a preference that will simply disable F12 when it is set.
UI and tests are in followup patches

Differential Revision: https://phabricator.services.mozilla.com/D71035
2020-04-28 20:09:15 +00:00
Narcis Beleuzu
37816e1802 Backed out changeset 3b73e8e74ebf (bug 1633451) for wpt failure on pointerevent_lostpointercapture_for_disconnected_node_in_shadow_dom.html . CLOSED TREE 2020-04-28 23:15:17 +03:00
Kartikaya Gupta
a6055fcad3 Bug 1633451 - Re-disable synthetic mousemoves on Android. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D72691
2020-04-28 17:50:39 +00:00
Valentin Gosu
eacca87c9e Bug 1633567 - Re-enabled AppCache by backing out bug 1619673 (changeset f28b42617940) r=mayhemer
The new plan is to disable it in Firefox 79

🙁

Differential Revision: https://phabricator.services.mozilla.com/D72753
2020-04-28 15:34:49 +00:00
Martin Stransky
97ba87adb1 Bug 1632519 [Wayland] Turn off widget.wayland_vsync.enabled by default, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D72813
2020-04-28 14:58:32 +00:00
Jon Coppeard
3f616ab772 Bug 1633405 - Remove dynamic GC options that are enabled everywhere r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D72696
2020-04-28 07:59:47 +00:00
Noemi Erli
ccaad0ebc4 Backed out changeset 1fc50aa5c6bc (bug 1633405) for causing bustages in bigint.js CLOSED TREE 2020-04-28 13:49:51 +03:00
Emilio Cobos Álvarez
a1db8a1f5c Bug 1632765 - Turn on some more :visited privacy mitigations. r=mak
We couldn't turn these on before because of perf regressions, but after bug
1626586 perf looks pretty neutral.

Differential Revision: https://phabricator.services.mozilla.com/D72301
2020-04-27 20:22:11 +00:00
Jon Coppeard
896414dfa7 Bug 1633405 - Remove dynamic GC options that are enabled everywhere r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D72696
2020-04-28 07:59:47 +00:00
Mats Palmgren
12bca02735 Bug 1607954 part 1 - [css-grid][css-align] Implement style system support for Masonry layout. r=emilio
This implements support for this CSS Masonry layout proposal:
https://github.com/w3c/csswg-drafts/issues/4650

I've intentionally left out a shorthand (place-tracks?) for now until
we have a draft CSS spec for this.

Differential Revision: https://phabricator.services.mozilla.com/D67061
2020-04-28 01:18:44 +00:00
Andreea Pavel
5d6ba63743 Backed out changeset 7b5f7ee72a6c (bug 1631384) for failing bc at browser_upgrade_exceptions.js on a CLOSED TREE 2020-04-28 01:43:57 +03:00
julianwels
9b9cb82ccc Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-27 17:23:43 +00:00
Edgar Chen
ff8dabe37a Bug 1633388 - Convert full-screen-api.pointer-lock.enabled pref to static pref; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72650
2020-04-27 19:15:29 +00:00
Razvan Maries
06f153f86a Backed out changeset 29e132824d37 (bug 1632765) for Reftest failures. CLOSED TREE 2020-04-27 23:18:53 +03:00
Jan-Ivar Bruaroey
4c6caa0c3d Bug 1624181 - Omit getDisplayMedia() function on android to aid feature detection. r=dminor,snorp,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D72030
2020-04-27 15:05:29 +00:00
Emilio Cobos Álvarez
af812f0fd9 Bug 1632765 - Turn on some more :visited privacy mitigations. r=mak
We couldn't turn these on before because of perf regressions, but after bug
1626586 perf looks pretty neutral.

Differential Revision: https://phabricator.services.mozilla.com/D72301
2020-04-27 16:10:04 +00:00
Mihai Alexandru Michis
96ee45f78e Backed out changeset a37a427fac07 (bug 1631384) for causing wpt crashes in websocket.https.html
CLOSED TREE
2020-04-27 18:33:36 +03:00
julianwels
a8897c91ed Bug 1631384 - Added upgrade exceptions for HTTPS Only Mode. r=ckerschb,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D72002
2020-04-27 13:29:24 +00:00
Emilio Cobos Álvarez
8cfb840466 Bug 1627643 - Allow to find and display selection native anonymous content. r=jfkthame
The check for generated content in nsTextFrame is to the best of my
knowledge useless: We don't display generated content as selected when
the parent is selected anyhow, and the offsets would be wrong.

We special-case text inputs and textarea because of ::placeholder, see
the comment, but otherwise there's no reason you shouldn't be able to
find-in-page generated content / fallback / etc.

I added ForceBreakBetween so as to not create ranges that span across
shadow / anonymous content boundaries. They don't work anyway (see the
TODO in test_find.html), so it seems better to make that explicit until
we properly handle them (bug 1590379).

I added a pref just to be safe since this is long-standing behavior, but
I think it should be uncontroversial.

Differential Revision: https://phabricator.services.mozilla.com/D72447
2020-04-27 13:56:04 +00:00
Kartikaya Gupta
5adfc0b92b Bug 1630781 - Eliminate the frame_delay pref, assume it true everywhere. r=botond,mstange
Having to think about multiple codepaths adds complexity and it doesn't seem
like we're going to turn this pref back off anytime soon.

Differential Revision: https://phabricator.services.mozilla.com/D72040
2020-04-25 00:47:54 +00:00
pbz
a0a5236904 Bug 1629808 - Updated ConfirmAuth dialogs to be tab modal and re-enabled them. r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D72005
2020-04-24 13:14:11 +00:00
Dan Glastonbury
f2d5afd779 Bug 1623565 - P4: Make browser.cache.check_doc_frequency a StaticPref. r=nika
Due to the refactored code,
browser/base/content/test/performance/browser_preferences_usage.js started
reporting more accesses to browser.cache.check_doc_frequency preference.

Differential Revision: https://phabricator.services.mozilla.com/D68319
2020-04-27 05:38:22 +00:00
Masayuki Nakano
6cbea10c99 Bug 1632724 - part 1: Move common methods for handling delete selection to EditorBase r=m_kato
`DeleteSelection*()` are members of `TextEditor`, but they are also used by
`HTMLEditor`.  Therefore, they and pref cache members for them should be
in `EditorBase` too.

Depends on D71911

Differential Revision: https://phabricator.services.mozilla.com/D72290
2020-04-24 14:55:09 +00:00
sanketh
b2456e6ee7 Bug 1320229 - allow user pastes longer than input maxlength r=masayuki
Currently, all input (including user pastes) to an input field is truncated to
`maxlength`. This diff disables truncation for user pastes.

When (1) `GetEditAction` is `ePaste`, `ePasteAsQuotation`, `eDrop`, or
`eReplaceText` (ie we are dealing with a paste) and (2) `GetEditActionPrincipal`
is `nullptr` (ie we are dealing with a user edit and not a JS edit), allow a
paste without truncation. That means that, in this case, we will return
`EditActionIgnored` instead of trying to truncate the string.

This behavior is controlled by a new preference `editor.truncate_user_pastes`
which is `false` by default (set in `StaticPrefList.yaml`).

We also modify `editor/libeditor/tests/test_bug603556.html` which currently
expects the output of a paste longer than maxlength to be truncated.

Testing: Created
`editor/libeditor/tests/test_pasting_text_longer_than_maxlength.html` which
checks if a user can paste a password longer than `maxlength` and if the field
is then marked as `tooLong` (this was the original concern of the reporter of
Bug 1320229), and
`editor/libeditor/tests/test_setting_value_longer_than_maxlength_with_setUserInput.html`
which checks if `eReplaceText` has consistent behavior regardless of whether the
field has an associated editor (this test works by calling `setUserInput()`
before and after the element gets focus.) `./mach test editor/libeditor` tests
pass.

Differential Revision: https://phabricator.services.mozilla.com/D71689
2020-04-27 01:29:43 +00:00
Brindusan Cristian
55a4faa52f Backed out changeset d61dbc091c36 (bug 1602318) for geckoview failures. 2020-04-26 09:01:17 +03:00
Matt Woodrow
abfac91c6f Bug 1602318 - Enable parent initiated loads pref. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D72232
2020-04-26 01:44:42 +00:00
Matt Woodrow
a34398fd9f Bug 1602318 - Initiate document loads in the parent process in parallel with setting up the content process side. r=nika,jya
Differential Revision: https://phabricator.services.mozilla.com/D72112
2020-04-26 00:54:15 +00:00
Arthur Iakab
4de4edd78c Backed out 2 changesets (bug 1630320, bug 1632098) for causing high frequency mochitest failures.
Backed out changeset f3323f5ac02c (bug 1630320)
Backed out changeset 43b914eee3e3 (bug 1632098)
2020-04-26 00:05:50 +03:00
Kagami Sascha Rosylight
e2d20d0cfe Bug 1632143 - Disable window.content in early betas r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D72525
2020-04-25 10:50:34 +00:00