Commit Graph

18041 Commits

Author SHA1 Message Date
sefeng
4132c41203 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-06-29 15:33:45 +00:00
Dale Harvey
df928be821 Bug 1627555 - Update region if in new location for a length of time. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D79272
2020-06-27 08:14:11 +00:00
Dorel Luca
d706a36326 Backed out changeset c1568e698723 (bug 1627555) for Devtools failures in /tests/browser_resources_several_resources.js. CLOSED TREE 2020-06-26 17:08:15 +03:00
Dragana Damjanovic
268766d0e7 Bug 1648532 - Add support for HTTP3 draft 29 and draft 28. r=michal,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81145
2020-06-26 11:03:07 +00:00
Dale Harvey
ad16313f52 Bug 1627555 - Update region if in new location for a length of time. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D79272
2020-06-25 22:20:21 +00:00
Jonathan Kew
800ef13016 Backed out changeset ed8d5ec80203 (Bug 1533462) to revert the gfx.e10s.font-list.shared pref change.
Differential Revision: https://phabricator.services.mozilla.com/D81304
2020-06-26 09:05:00 +00:00
Cosmin Sabou
e84886cc27 Backed out changeset b33756c2e334 (bug 1645046) for causing several HTML related failures. CLOSED TREE 2020-06-25 21:11:00 +03:00
Tom Tung
8b72b4c57b Bug 1619649 - Set the prefs for COOP header, COEP header, and postMessage SAB to true on all channels; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D80858
2020-06-24 18:25:06 +00:00
prathiksha
bc85d62d8c Bug 1597358 - Create a backup of logins.json to use when logins.json is missing or corrupt. r=MattN
Depends on D78477

Differential Revision: https://phabricator.services.mozilla.com/D79688
2020-06-25 16:30:42 +00:00
sefeng
a4e9869db7 Bug 1645046 - Enable HTML5 dialog in Nightly r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D80045
2020-06-18 22:22:21 +00:00
Narcis Beleuzu
4215791027 Backed out changeset cb9029d07271 (bug 1618013) for wr failures on will-change-fixedpos-cb-005.html 2020-06-25 12:44:21 +03:00
Erik Nordin
6b608e8023 Bug 1618013 - Enable backdrop-filter for early beta r=emilio
Resolution from intent-to-ship discussion is to release for early beta or earlier.

Differential Revision: https://phabricator.services.mozilla.com/D80528
2020-06-25 06:59:33 +00:00
Martin Stransky
4a8f96bbdc Bug 1646007 [Wayland] Check Wayland dmabuf backend and fallback to a default one, r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D79979
2020-06-25 05:57:40 +00:00
Delan Azabani
5dc229e516 Bug 1630935 - Add use counter and deprecation warning for STIXGeneral fonts. r=emilio
This patch adds the boolean pref mathml.stixgeneral_operator_stretching.disabled, which defaults to true iff nightly.

When the pref is true, stretched operators won’t be rendered with STIXGeneral, because we only use OpenType MATH tables (in fonts that have them) or the generic Unicode table.

When the pref is false, we continue to support STIXGeneral for stretched operators, but warn the author in devtools and bump the use counter (up to once per page). This only happens when a stretched operator actually uses STIXGeneral: not when we successfully render the operator with some other font earlier in the font-family stack, and not when STIXGeneral isn’t installed.

Differential Revision: https://phabricator.services.mozilla.com/D73833
2020-06-25 04:20:57 +00:00
Jason Laster
6c1b3966e2 Bug 1603204 - Enable windowless-service-workers for Release. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D80907
2020-06-24 16:44:06 +00:00
Marcos Cáceres
c6692c02ca Bug 1647858 - Enable dom.manifest.enabled for all channels r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D80776
2020-06-24 08:34:44 +00:00
Tom Tung
3e754f2b5c Bug 1645943 - Override xFullPathname to avoid the use of GetFullPathNameW; r=janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D80202
2020-06-24 16:08:45 +00:00
Razvan Maries
c54f50f342 Backed out changeset a10fc7b299ff (bug 1614969) for build bustages on nsContentSecurityUtils.cpp. CLOSED TREE 2020-06-24 13:23:02 +03:00
Sebastian Streich
a9516ee4f5 Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-06-24 09:54:50 +00:00
Butkovits Atila
c112069ef0 Backed out changeset 3685f83e0dc0 (bug 1614969) as requested by dev. 2020-06-23 15:22:21 +03:00
Sebastian Streich
d8ff61ded5 Bug 1614969 - Check download with MixedContentBlocker r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73302
2020-06-23 11:30:28 +00:00
Makoto Kato
f8d53560e0 Bug 1490661 - Part 1. Support HTML.enterKeyHint in Nighly. r=webidl,smaug,hsivonen
On mobile platform, "ENTER" key on software keyboard key can sometimes
change to "Next" and etc. Although Firefox OS/Firefox Android have
`mozactionhint` attribute for its behaviour, This is standardized version
of it.

Chrome and Safari already support it now, so I would like to support this
on Firefox/GeckoView Nightly.

Differential Revision: https://phabricator.services.mozilla.com/D79641
2020-06-23 06:37:20 +00:00
Narcis Beleuzu
1a80f9b28e Backed out changeset 7549c5a5df5a (bug 1618013) for wr failures on will-change-abspos-cb-003.html . CLOSED TREE 2020-06-23 06:24:38 +03:00
Erik Nordin
3418e3aa8b Bug 1618013 - Enable backdrop-filter for early beta r=emilio
Resolution from intent-to-ship discussion is to release for early beta or earlier.

Differential Revision: https://phabricator.services.mozilla.com/D80528
2020-06-22 23:50:57 +00:00
Andrea Marchesini
7468c2f663 Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-22 11:03:24 +00:00
Jonathan Kew
515e87f0e9 Bug 1533462 - Enable the cross-process shared font list by default on Nightly builds. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D79963
2020-06-18 22:07:44 +00:00
Kagami Sascha Rosylight
3ad076e375 Bug 1646240 - Default to visual selection direction on non-Linux Nightly r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D79939
2020-06-20 20:53:59 +00:00
Markus Stange
62a3d2cfa4 Bug 1592016 - Enable gfx.webrender.compositor by default on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D57071
2020-06-19 03:29:23 +00:00
Nihanth Subramanya
5ab95662ca Bug 1644444 - Update NextDNS endpoint URL and migrate pref values. r=valentin,prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D79627
2020-06-18 08:18:58 +00:00
Kershaw Chang
6bca92d00c Bug 1632881 - Clear gCallbackPref in Preferences::EnsureSnapshot, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D76671
2020-06-18 09:33:31 +00:00
Paul Adenot
ae68ef21b3 Bug 1646660 - Disable cheaper processing made in bug 1628779. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D80156
2020-06-18 09:43:28 +00:00
Ted Campbell
8898cf7914 Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai
Also remove js/src/frontend/BinAST* sources.

Differential Revision: https://phabricator.services.mozilla.com/D77945
2020-06-17 14:26:09 +00:00
Csoregi Natalia
599b1d4255 Backed out changeset 57c593a7e623 (bug 1533462) for valgrind failures. CLOSED TREE 2020-06-17 18:20:48 +03:00
Csoregi Natalia
e722c196bc Backed out 5 changesets (bug 1642708) for build bustages. CLOSED TREE
Backed out changeset d307b00c7e1b (bug 1642708)
Backed out changeset d210a60ad435 (bug 1642708)
Backed out changeset bcc2728b5ca5 (bug 1642708)
Backed out changeset 1c245d4e8244 (bug 1642708)
Backed out changeset ad613fa94a83 (bug 1642708)
2020-06-17 16:51:16 +03:00
Ted Campbell
0d2aa310b5 Bug 1642708 - Remove code guarded by JS_BUILD_BINAST r=arai
Also remove js/src/frontend/BinAST* sources.

Differential Revision: https://phabricator.services.mozilla.com/D77945
2020-06-12 14:25:50 +00:00
Kershaw Chang
180b52ef6f Bug 1646058 - Disable network.send_ODA_to_content_directly, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D79832
2020-06-17 07:16:07 +00:00
Jonathan Kew
f95a302340 Bug 1533462 - Enable the cross-process shared font list by default on Nightly builds. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D79963
2020-06-17 09:15:14 +00:00
sotaro
3f0b08deb4 Bug 1645579 - Disable RecycleAllocator for RDD process when WebRender is disabled on Mac r=nical
Recycling caused rendering problem on a MacOS PC with OpenGL compositor. TextureHost reuse with OpenGL compositor seemed to have a problem.

Adds pref layers.recycle-allocator-rdd for disable/enable the RecycleAllocator.

Differential Revision: https://phabricator.services.mozilla.com/D79639
2020-06-16 18:14:46 +00:00
Sylvestre Ledru
85c05f3a47 Bug 1519636 - Reformat recent changes to the Google coding style r=andi
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D79795
2020-06-16 14:37:23 +00:00
Alessio Placitelli
978c11c581 Bug 1620656 - Remove 'geckoview' telemetry support. r=chutten,geckoview-reviewers,aklotz
This removes the support for the 'geckoview' telemetry in
the core and in the JSM files. It also cleans up testing
and the configurations.

Differential Revision: https://phabricator.services.mozilla.com/D79521
2020-06-16 12:22:55 +00:00
Butkovits Atila
29b9d8b25a Backed out 3 changesets (bug 1620656) for causing bustage at TestGeckoView. CLOSED TREE
Backed out changeset af6b36a497e8 (bug 1620656)
Backed out changeset f0b502580ef0 (bug 1620656)
Backed out changeset dd0ce5e4a1bf (bug 1620656)
2020-06-16 13:22:04 +03:00
Alessio Placitelli
96574abcf1 Bug 1620656 - Remove 'geckoview' telemetry support. r=chutten,geckoview-reviewers,aklotz
This removes the support for the 'geckoview' telemetry in
the core and in the JSM files. It also cleans up testing
and the configurations.

Differential Revision: https://phabricator.services.mozilla.com/D79521
2020-06-16 08:49:12 +00:00
Johann Hofmann
2c1092dc68 Bug 1642899 - Consider entity allow lists for cookie purging. r=dimi,ewright
This commit is made a bit harder to understand by a couple of changes
that I felt were necessary to make:

- I refactored the code for purging a single origin into the maybePurgePrincipal function.
- I updated the logger to actually allow for different log levels (to get debug logging)

Differential Revision: https://phabricator.services.mozilla.com/D79386
2020-06-15 19:20:45 +00:00
Severin
c26d4965f3 Bug 1641412 - Pass all possible UNs/PWs to doorhanger;r=MattN,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D77190
2020-06-16 02:43:43 +00:00
Nika Layzell
cde53b3bec Bug 1508306 - Part 1: Migate the Large-Allocation handler to DocumentLoadListener, r=mattwoodrow,necko-reviewers,geckoview-reviewers,agi,valentin
This removes the diagnostic warnings which used to be logged when the
Large-Allocation header was present, but failed to switch into a
Large-Allocation process. Due to the low adoption of the header, this shouldn't
be too large of a problem, but we can look into re-adding the diagnostics if
needed in the future.

The new codepath no longer performs multiple network requests for
Large-Allocation resources, and now relies on the battle-tested
DocumentLoadListener codepath for process switching.

Differential Revision: https://phabricator.services.mozilla.com/D78998
2020-06-15 23:24:07 +00:00
Nika Layzell
24afe9ee3d Bug 1640019 - Part 6: Get rid of the rebuild_frameloaders pref, r=Gijs
This pref was enabled on all platforms, and the codepath which has it disabled
has been untested for some time. Remove the pref to simplify the code handling
the old case.

Differential Revision: https://phabricator.services.mozilla.com/D78974
2020-06-15 23:24:00 +00:00
Henri Sivonen
d5b9be12ce Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D79101
2020-06-15 15:32:21 +00:00
Martin Stransky
ba5f1e21d3 Bug 1645706 [Wayland] disable dmabuf-video-textures by default, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D79624
2020-06-15 08:10:15 +00:00
Masayuki Nakano
e51cdb3ca3 Bug 1642594 - part 5: Implement first version of new white-space normalizer which simulates Blink's one r=m_kato
This patch tries to implement Blink-compat white-space normalizer for
`HTMLEditor`.

It's difficult to list up our traditional white-space normalization rules
because `WSRunObject` touches white space sequence only when there is not
acceptable case, e.g., an ASCII white-spaces will be adjacent to another
one, and replaces only unacceptable white-space only.  Therefore, whether
white-space sequence may start with either an ASCII white-space or an NBSP.
On the other hand, Blink and WebKit makes white-space sequence always
starts with an NBSP or an ASCII white-space (unfortunately, they behave
differently!).  So, for web-compat, we should simulate Blink's behavior
because either behavior is reasonable but Blink have more market share.

This patch simply adds new white-space normalization path for the new one,
and it's switchable with a pref, and still disabled by default.

The other reason why we should do this is, our traditional white-space
normalizer touches the DOM a lot of times per edit action, and the timing
is both before and after touches the DOM tree.  Therefore, it's difficult
to compute actual deleting range for `InputEvent.getTargetRanges()` and
touching a lot of times causes running mutation event listeners a lot and
creates a lot of transaction class instances.  So, new one have a lot of
merits:

1. Improve web-compat
2. Improve the peformance
3. Improve the security
4. Improve the footprint (but this is now worse then traditional one)
5. Simplify the implementation

The new normalizer is mostly implemented with only 3 `HTMLEditor` methods.

One is `HTMLEditor::DeleteTextAndNormalizeSurroundingWhiteSpaces()`.  This is
semi-public method for the edit action handlers.  This takes a range with
2 `EditorDOMPoinInText` to delete the range simply.  This also replaces
surrounding white-space sequence if necessary.  For inserting text case,
this method also handles only white-space normalization when it's called
with collapsed range, i.e., same `EditorDOMPointInText`.  This tries to use
`RepaceTextWithTransaction()` as far as possible to reduce creation cost of
transaction classes and the footprint.

Another one is `HTMLEditor::ExtendRangeToDeleteWithNormalizingWhiteSpaces()`.
This tries to extend the given range to normalize surrounding white-spaces.
This is currently not optimized for footprint because this may include
white-spaces which do not need to be replaced.  This optimization should be
done before shipping, but for now, enabling `InputEvent.getTargetRanges()` in
Nightly channel is more important.  So that it should be done in a follow-up
bug.

The other is `HTMLEditor::GenerateWhitepaceSequence()`.  This creates
normalized white-space sequence with surrounding character information.
For keeping this method simple as far as possible, we shouldn't optimize
the range of generation even in follow-ups.

Finally, the white-space sequence is not tested in mochitests, so that we
can enable this new normalizer when we run mochitests under
`editor/libeditor/tests`.  However, WPT has some tests.  We should keep
them running with current normalizer for checking regression.  Instead,
we should enable the pref only for the new WPT added by the previous patch.

Depends on D78655

Differential Revision: https://phabricator.services.mozilla.com/D78656
2020-06-15 07:37:56 +00:00
Nicholas Nethercote
a15b81b965 Bug 1572508 - Convert ui.touch.* and ui.mouse.* VarCache prefs to static prefs. r=KrisWright,kats,geckoview-reviewers,agi.
This is a weird conversion because the existing VarCache mirror prefs are in a
two static structs, one for touch prefs and one for the equivalent mouse prefs,
and we dynamically select the appropriate struct in `GetPrefsFor()`.

(But note that `ui.mouse.radius.reposition` and
`ui.mouse.radius.inputSource.touchOnly` do not have corresponding `touch`
prefs! For touch events they are always considered to be false.)

The commit make the following changes.
- It makes the prefs into static prefs.
- It moves the code in `GetPrefsFor()` into a constructor for
  `EventRadiusPrefs`, and copies the pref values into a temporary object of
  that type. Those copied values are then used by the subsequent code.
- It removes the two static `EventRadiusPrefs` structs.
- It renames some fields in `EventRadiusPrefs` to make them more closely match
  the pref names.

Differential Revision: https://phabricator.services.mozilla.com/D79405
2020-06-15 06:23:48 +00:00