Граф коммитов

8786 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 321e28ab43 Bug 1633938 - Implement RDM zoom with transform. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D72981
2020-04-30 01:37:30 +00:00
Dorel Luca 8e7e7136a3 Backed out 4 changesets (bug 1633938, bug 1578008, bug 1633488) for Devtool failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset e690c4cf8848 (bug 1633938)
Backed out changeset c999ecad3be8 (bug 1633488)
Backed out changeset abbc47ce1451 (bug 1578008)
Backed out changeset 9e6925ea790f (bug 1578008)
2020-04-30 04:13:42 +03:00
Neil Deakin f22197fbf1 Bug 1614747, convert about:plugins to JSWindowActor-based remote page manager, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D71025
2020-04-30 00:14:56 +00:00
Emilio Cobos Álvarez 17fae10a8b Bug 1633938 - Implement RDM zoom with transform. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D72981
2020-04-29 21:44:17 +00:00
Bianca Danforth 496577214b Bug 1598464 - Stop pre-filtering logins from autocomplete to about:logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D72770
2020-04-29 00:10:05 +00:00
Ed Lee a6fbc5aae4 Bug 1618311 - Contextually suggest importing passwords as an autocomplete entry r=MattN,fluent-reviewers,flod
Add importableLogins autocomplete items that show for a site when there's chromium-based logins, no saved logins, and appropriate experiment state. Default behavior is unchanged with default "" pref value, and new behavior can be turned on with "import" pref value.

Differential Revision: https://phabricator.services.mozilla.com/D72096
2020-04-28 21:59:34 +00:00
Michael Kaply 59de6dc9a6 Bug 1557754 - Don't allow locked preferences to be enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D59945
2020-04-24 16:50:37 +00:00
Andreas Farre 6adf2b375d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-27 05:41:40 +00:00
Tim Nguyen ebc0e940ae Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-26 15:31:40 +00:00
Mihai Alexandru Michis f71d7e6a52 Backed out changeset 9432b1bd3d98 (bug 1625720) for causing crashes in LayerComposite.
CLOSED TREE
2020-04-25 00:10:33 +03:00
Dorel Luca c2d429f9a0 Backed out 2 changesets (bug 1576188) for Build bustage in docshell/base/BrowsingContext.cpp. CLOSED TREE
Backed out changeset 7e5e86986811 (bug 1576188)
Backed out changeset b731cbad59a8 (bug 1576188)
2020-04-24 23:02:11 +03:00
Andreas Farre 55a186014d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-24 15:47:26 +00:00
Tim Nguyen 92e6364dec Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-24 16:40:23 +00:00
Cosmin Sabou 65d407b03b Backed out changeset 4bd5a347ff43 (bug 1557754) for causing build bustages. 2020-04-24 19:20:37 +03:00
Michael Kaply e8984aee47 Bug 1557754 - Don't allow locked preferences to be enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D59945
2020-04-24 15:58:08 +00:00
Tim Nguyen 5a254f3623 Bug 1632092 - Rename all XUL namespace variables to XUL_NS. r=Gijs,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D71913
2020-04-24 09:23:52 +00:00
Arthur Iakab c278cf13d3 Backed out 2 changesets (bug 1576188) for causing browser-chrome failures on browser_persist_cross_origin_iframe.js
CLOSED TREE

Backed out changeset d2c102f8d898 (bug 1576188)
Backed out changeset 9ddd9a63d178 (bug 1576188)
2020-04-23 19:38:58 +03:00
Emilio Cobos Álvarez d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
Andreas Farre 6a4f39685d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-23 13:56:26 +00:00
Stefan Hindli 257361e9a8 Backed out changeset 7316271178bd (bug 1624907) for perma wpt5 failures in /css/css-pseudo/text-selection.html CLOSED TREE 2020-04-23 00:10:49 +03:00
Tim Nguyen 4bfbb7fc9d Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-22 17:49:30 +00:00
Mark Banner a6640ce0a3 Bug 1629946 - Add region and distribution ID information onto about:support. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71831
2020-04-22 17:16:12 +00:00
Dorel Luca ab5670f475 Backed out changeset 155de7837de7 (bug 1629946) for Browser-chrome failures in tests/browser/browser_Troubleshoot.js. CLOSED TREE 2020-04-22 19:05:49 +03:00
Dorel Luca bcfca7e237 Backed out changeset 64f788053239 (bug 1625720) for mochitest failures in ests/chrome/test_panel.xhtml. CLOSED TREE 2020-04-22 19:05:06 +03:00
Mark Banner f3ac58690e Bug 1629946 - Add region and distribution ID information onto about:support. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71831
2020-04-22 13:28:44 +00:00
Tim Nguyen edb3ed9de7 Bug 1625720 - Scope popup.css to menupopup and panel custom elements. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70343
2020-04-22 13:48:05 +00:00
alwu f6f59cedd1 Bug 1625615 - part0 : create and set the flag `suspendMediaWhenInactive` on docShell. r=baku,farre
Implemecurnt a flag `suspendMediaWhenInactive` on the docShell that indicates media in that shell should be suspended when the shell is inactive. Currently, only GeckoView is using this flag.

---

The reason of implementing this flag is because in bug1577890 we remove the old way to suspend/resume the media, and I thought setting docshell to inactive is enough to suspend the media because we already have a mechanism which would suspend/resume media when document becomes inactive/active [1].

However, the active state of document is actually different from what I thought it was. Setting docshell to inactive won't change the document's active state, because that indicates if the document is the current active document for the docshell [2] (docshell can have multiple documents), instead of indicating if the docshell is active or not.

Therefore, we have to add another flag to indicate if the docshell wants to suspend its media when it's inactive, in order to use current mechanism to suspend/resume media.

[1] https://searchfox.org/mozilla-central/rev/4d2a9d5dc8f0e65807ee66e2b04c64596c643b7a/dom/html/HTMLMediaElement.cpp#6453
[2] https://searchfox.org/mozilla-central/rev/4d2a9d5dc8f0e65807ee66e2b04c64596c643b7a/dom/base/Document.h#2627-2633

Differential Revision: https://phabricator.services.mozilla.com/D69669
2020-04-20 21:19:56 +00:00
Nika Layzell df943db304 Bug 1625513 - Part 4: Don't require being in tabbrowser for subframe process switches, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D71396
2020-04-21 22:33:14 +00:00
Nika Layzell 975ef89398 Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh,necko-reviewers,valentin
When I first added this method last year, I added it in JS, handled from within
SessionStore.jsm, as that was the easiest place to do it. Now that
DocumentLoadListener exists, it makes more sense to handle this logic directly
from within that code.

Many parts of the process switch are still handled by frontend JS, such as
selecting remote types, and performing toplevel process switches.

Differential Revision: https://phabricator.services.mozilla.com/D68594
2020-04-21 22:33:00 +00:00
Cosmin Sabou 190731f374 Backed out 5 changesets (bug 1625513) for bc failures on browser_identity_UI.js. CLOSED TREE
Backed out changeset 88ac5d853e38 (bug 1625513)
Backed out changeset 8ac6db819435 (bug 1625513)
Backed out changeset cc19c74910d1 (bug 1625513)
Backed out changeset 8c235f0f967c (bug 1625513)
Backed out changeset 24a646225c68 (bug 1625513)
2020-04-22 00:17:08 +03:00
Nika Layzell 2447bb3983 Bug 1625513 - Part 4: Don't require being in tabbrowser for subframe process switches, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D71396
2020-04-21 18:33:52 +00:00
Nika Layzell 8438107f7a Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh,necko-reviewers,valentin
When I first added this method last year, I added it in JS, handled from within
SessionStore.jsm, as that was the easiest place to do it. Now that
DocumentLoadListener exists, it makes more sense to handle this logic directly
from within that code.

Many parts of the process switch are still handled by frontend JS, such as
selecting remote types, and performing toplevel process switches.

Differential Revision: https://phabricator.services.mozilla.com/D68594
2020-04-21 18:33:39 +00:00
Bogdan Tara 6a85ee67dd Backed out changeset 74882843cbaf (bug 1624907) for reftest failures on 299837-3.xhtml CLOSED TREE 2020-04-21 20:23:07 +03:00
Tim Nguyen 0c15aaa999 Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-21 14:41:24 +00:00
Brindusan Cristian 2803300f5b Backed out changeset 27d3c6f3204e (bug 1624907) for reftest failures at 299837-3.xhtml. CLOSED TREE 2020-04-21 15:11:02 +03:00
Tim Nguyen a9ad6c797b Bug 1624907 - Split tree.css into shadow and non-shadow stylesheets. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D71652
2020-04-21 10:50:17 +00:00
Tim Nguyen 2eeab7c5b4 Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:54:57 +00:00
Brindusan Cristian aac7877663 Backed out changeset 6c312e49ee09 (bug 1625721) for build bustages at popup.css. CLOSED TREE 2020-04-21 12:46:28 +03:00
Tim Nguyen 61b493582b Bug 1625721 - Split out arrow panel styles and load them as shadow DOM stylesheet. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68713
2020-04-21 09:20:43 +00:00
mhoye 6bd7b3a1ff Bug 1179358 - Removing Adobe CMAP license r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D69281
2020-04-20 19:00:10 +00:00
Bianca Danforth 1256767ba1 Bug 1630681 - Avoid a sync layout flush in the main thread of the parent process when rendering the Password Manager autocomplete popup r=MattN
Instead of forcing a sync layout flush every time the autocomplete popup is opened, this forces a less expensive sync style flush instead (see [diff profile](https://perfht.ml/2VKZF77)). This results in a 29% performance improvement in the time it takes to show the autocomplete popup on my machine (Bug 1619498; average time across 5 measurements for the _first time_ the popup is shown went from 45 ms down to 32 ms).

Other approaches that were considered to avoid any flushing:
* `windowUtils.getBoundsWithoutFlushing`: Unfortunately, `getBoundingClientRect` couldn't be replaced with `windowUtils.getBoundsWithoutFlushing`, because the previously computed width of the popup is `0` when it is first shown, due to it starting out hidden (i.e. `display: none`).
* `promiseDocumentFlushed`: This method is async while all of the surrounding autocomplete UI code is sync, so while it's not impossible, it would be difficult to implement a simple fix.

Differential Revision: https://phabricator.services.mozilla.com/D71254
2020-04-20 23:54:03 +00:00
Kris Maglione 6e7489c316 Bug 1614462: Part 2e - Migrate desktop-only CrashService_crash test to browser test. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70746
2020-04-20 22:15:30 +00:00
Ciure Andrei a5ac2a8bbc Backed out 10 changesets (bug 1614462) for causing test_ipc_messagemanager_blob.js failures CLOSED TREE
Backed out changeset bf4f8253c708 (bug 1614462)
Backed out changeset c61b797d63e9 (bug 1614462)
Backed out changeset 284002de7137 (bug 1614462)
Backed out changeset 7f604ee5731c (bug 1614462)
Backed out changeset a73ef8167cd4 (bug 1614462)
Backed out changeset ecc3477ed34e (bug 1614462)
Backed out changeset 2106f3ccc4b5 (bug 1614462)
Backed out changeset e68c38a7741d (bug 1614462)
Backed out changeset 93b3bacdbb34 (bug 1614462)
Backed out changeset 0cf4898ae08d (bug 1614462)
2020-04-21 01:11:37 +03:00
Kris Maglione e1b1f20547 Bug 1614462: Part 2e - Migrate desktop-only CrashService_crash test to browser test. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70746
2020-04-20 20:11:46 +00:00
Noemi Erli 6ce4e6b1e0 Backed out 4 changesets (bug 1625513) for causing assertion in WindowGlobalChild.cpp
Backed out changeset 0366bbc9e0f7 (bug 1625513)
Backed out changeset 3554e0be2e66 (bug 1625513)
Backed out changeset ad09a911bc43 (bug 1625513)
Backed out changeset f2dbff5d584f (bug 1625513)
2020-04-20 22:28:20 +03:00
Nika Layzell 23b374de36 Bug 1625513 - Part 4: Don't require being in tabbrowser for subframe process switches, r=mattwoodrow,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D71396
2020-04-20 17:00:21 +00:00
Nika Layzell 8624c6d38b Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh,necko-reviewers,valentin
When I first added this method last year, I added it in JS, handled from within
SessionStore.jsm, as that was the easiest place to do it. Now that
DocumentLoadListener exists, it makes more sense to handle this logic directly
from within that code.

Many parts of the process switch are still handled by frontend JS, such as
selecting remote types, and performing toplevel process switches.

Differential Revision: https://phabricator.services.mozilla.com/D68594
2020-04-20 16:57:01 +00:00
Emilio Cobos Álvarez 31821e1fc4 Bug 1449522 - Remove nsIEditorStyleSheets. r=masayuki,m_kato
Users have much better, easier alternatives, like
DOMWindowUtils.{loadSheetUsingURIString,removeSheet}, which we use to
replace the only caller that exists in mozilla-central (the editor
element, which loads EditorOverride.css).

This allows to clean up the style system and editor. There are other
callers in comm-central, but it seems they can switch to DOMWindowUtils
trivially, as the DOMWindowUtils APIs also use the system principal and
thus they can load any URL.

I'll make sure to give them some time with the migration and/or help
out of course.

Differential Revision: https://phabricator.services.mozilla.com/D71263
2020-04-17 22:54:48 +00:00
Ciure Andrei c15dcac93b Backed out 10 changesets (bug 1614462) for causing xpcshell failures CLOSED TREE
Backed out changeset 34d4a86530b4 (bug 1614462)
Backed out changeset dbc2e2556d08 (bug 1614462)
Backed out changeset 512bbab4730c (bug 1614462)
Backed out changeset cd6b8d630f4c (bug 1614462)
Backed out changeset e4ad5037658f (bug 1614462)
Backed out changeset 0ffed1dc4296 (bug 1614462)
Backed out changeset 90ed81cbfe34 (bug 1614462)
Backed out changeset 6d2137eb1d52 (bug 1614462)
Backed out changeset b4819c99e16e (bug 1614462)
Backed out changeset b7deaed376ed (bug 1614462)
2020-04-17 02:26:14 +03:00
Kris Maglione 5d5b988515 Bug 1614462: Part 2e - Migrate desktop-only CrashService_crash test to browser test. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70746
2020-04-16 16:58:13 +00:00