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

8806 Коммитов

Автор SHA1 Сообщение Дата
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
Mike Conley 6a17ceea10 Bug 1619979 - Don't show PiP toggle on videos that have been laid out with small dimensions. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D70703
2020-04-16 14:50:01 +00:00
pbz 3075dbd453 Bug 1615588 - Extended nsIPromptService to support tab modal prompts. r=johannh,MattN,necko-reviewers,dragana
This patch introduces a new tab modal system prompt type. It can be opened via the nsIPromptService
with a destination BrowsingContext. These tab system prompts overlap slightly with the upper
chrome UI to differentiate them from content prompts (previously called tab prompts).

- Extended nsIPromptService and nsIPrompt to accept 3 types of modal prompts:
  - Window prompts
  - Tab (system) prompts
  - Content prompts (the old tab prompts)
- Removed prompt code from Prompter.jsm, always call PromptParent window actor instead
- Added PromptChild window actor to forward pagehide events to parent actor
- Created additional prompt methods in nsIPromptService to prompt by browsingContext and modalType
- Backwards compatibility is maintained, consumers can still open content prompts calling nsIPrompt with a content window

Differential Revision: https://phabricator.services.mozilla.com/D66446
2020-04-16 14:43:50 +00:00
Tim Nguyen 072d80ee18 Bug 1630201 - Merge browser/themes/shared/preferences and browser/themes/shared/incontentprefs. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D71020

--HG--
rename : browser/themes/shared/incontentprefs/bookmark.svg => browser/themes/shared/preferences/bookmark.svg
rename : browser/themes/shared/incontentprefs/containers.css => browser/themes/shared/preferences/containers.css
rename : browser/themes/shared/incontentprefs/critters-postcard.jpg => browser/themes/shared/preferences/critters-postcard.jpg
rename : browser/themes/shared/incontentprefs/dialog.inc.css => browser/themes/shared/preferences/dialog.inc.css
rename : browser/themes/shared/incontentprefs/extensions.svg => browser/themes/shared/preferences/extensions.svg
rename : browser/themes/shared/incontentprefs/face-sad.svg => browser/themes/shared/preferences/face-sad.svg
rename : browser/themes/shared/incontentprefs/face-smile.svg => browser/themes/shared/preferences/face-smile.svg
rename : browser/themes/shared/incontentprefs/formfill.svg => browser/themes/shared/preferences/formfill.svg
rename : browser/themes/shared/incontentprefs/fxaPairDevice.css => browser/themes/shared/preferences/fxaPairDevice.css
rename : browser/themes/shared/incontentprefs/general.svg => browser/themes/shared/preferences/general.svg
rename : browser/themes/shared/incontentprefs/history.svg => browser/themes/shared/preferences/history.svg
rename : browser/themes/shared/incontentprefs/no-search-bar.svg => browser/themes/shared/preferences/no-search-bar.svg
rename : browser/themes/shared/incontentprefs/no-search-results.svg => browser/themes/shared/preferences/no-search-results.svg
rename : browser/themes/shared/incontentprefs/preferences.inc.css => browser/themes/shared/preferences/preferences.inc.css
rename : browser/themes/shared/incontentprefs/preferences.svg => browser/themes/shared/preferences/preferences.svg
rename : browser/themes/shared/incontentprefs/privacy-security.svg => browser/themes/shared/preferences/privacy-security.svg
rename : browser/themes/shared/incontentprefs/privacy.css => browser/themes/shared/preferences/privacy.css
rename : browser/themes/shared/incontentprefs/search-arrow-indicator.svg => browser/themes/shared/preferences/search-arrow-indicator.svg
rename : browser/themes/shared/incontentprefs/search-bar.svg => browser/themes/shared/preferences/search-bar.svg
rename : browser/themes/shared/incontentprefs/search.css => browser/themes/shared/preferences/search.css
rename : browser/themes/shared/incontentprefs/search.svg => browser/themes/shared/preferences/search.svg
rename : browser/themes/shared/incontentprefs/siteDataSettings.css => browser/themes/shared/preferences/siteDataSettings.css
rename : browser/themes/shared/incontentprefs/sync.svg => browser/themes/shared/preferences/sync.svg
rename : browser/themes/shared/incontentprefs/tab.svg => browser/themes/shared/preferences/tab.svg
extra : moz-landing-system : lando
2020-04-15 20:41:37 +00:00
Csoregi Natalia de8e762887 Backed out 7 changesets (bug 1625615) for multiple failures e.g. /test_windowedhistoryframes.html. CLOSED TREE
Backed out changeset f239d24658c9 (bug 1625615)
Backed out changeset acea7c78db20 (bug 1625615)
Backed out changeset d709f5a72c35 (bug 1625615)
Backed out changeset 4cd231b1f3fb (bug 1625615)
Backed out changeset 45942c8dc380 (bug 1625615)
Backed out changeset 3f03a8703a8a (bug 1625615)
Backed out changeset e9299fc48796 (bug 1625615)
2020-04-16 00:32:16 +03:00
Csoregi Natalia fef701cb35 Backed out 2 changesets (bug 1630201) for bustages due to containers.css. CLOSED TREE
Backed out changeset 05d18c70a0bd (bug 1630201)
Backed out changeset 60f42302b5d5 (bug 1630201)

--HG--
rename : browser/themes/shared/preferences/bookmark.svg => browser/themes/shared/incontentprefs/bookmark.svg
rename : browser/themes/shared/preferences/critters-postcard.jpg => browser/themes/shared/incontentprefs/critters-postcard.jpg
rename : browser/themes/shared/preferences/dialog.inc.css => browser/themes/shared/incontentprefs/dialog.inc.css
rename : browser/themes/shared/preferences/extensions.svg => browser/themes/shared/incontentprefs/extensions.svg
rename : browser/themes/shared/preferences/face-sad.svg => browser/themes/shared/incontentprefs/face-sad.svg
rename : browser/themes/shared/preferences/face-smile.svg => browser/themes/shared/incontentprefs/face-smile.svg
rename : browser/themes/shared/preferences/formfill.svg => browser/themes/shared/incontentprefs/formfill.svg
rename : browser/themes/shared/preferences/fxaPairDevice.css => browser/themes/shared/incontentprefs/fxaPairDevice.css
rename : browser/themes/shared/preferences/general.svg => browser/themes/shared/incontentprefs/general.svg
rename : browser/themes/shared/preferences/history.svg => browser/themes/shared/incontentprefs/history.svg
rename : browser/themes/shared/preferences/no-search-bar.svg => browser/themes/shared/incontentprefs/no-search-bar.svg
rename : browser/themes/shared/preferences/no-search-results.svg => browser/themes/shared/incontentprefs/no-search-results.svg
rename : browser/themes/shared/preferences/preferences.inc.css => browser/themes/shared/incontentprefs/preferences.inc.css
rename : browser/themes/shared/preferences/preferences.svg => browser/themes/shared/incontentprefs/preferences.svg
rename : browser/themes/shared/preferences/privacy-security.svg => browser/themes/shared/incontentprefs/privacy-security.svg
rename : browser/themes/shared/preferences/privacy.css => browser/themes/shared/incontentprefs/privacy.css
rename : browser/themes/shared/preferences/search-arrow-indicator.svg => browser/themes/shared/incontentprefs/search-arrow-indicator.svg
rename : browser/themes/shared/preferences/search-bar.svg => browser/themes/shared/incontentprefs/search-bar.svg
rename : browser/themes/shared/preferences/search.css => browser/themes/shared/incontentprefs/search.css
rename : browser/themes/shared/preferences/search.svg => browser/themes/shared/incontentprefs/search.svg
rename : browser/themes/shared/preferences/siteDataSettings.css => browser/themes/shared/incontentprefs/siteDataSettings.css
rename : browser/themes/shared/preferences/sync.svg => browser/themes/shared/incontentprefs/sync.svg
rename : browser/themes/shared/preferences/tab.svg => browser/themes/shared/incontentprefs/tab.svg
rename : browser/themes/shared/preferences/containers-dialog.css => browser/themes/shared/preferences/containers.css
2020-04-15 23:28:06 +03:00
alwu 4634c817c4 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

--HG--
extra : moz-landing-system : lando
2020-04-15 18:13:29 +00:00
Tim Nguyen cd2283165d Bug 1630201 - Merge browser/themes/shared/preferences and browser/themes/shared/incontentprefs. r=jaws
Depends on D71019

Differential Revision: https://phabricator.services.mozilla.com/D71020

--HG--
rename : browser/themes/shared/incontentprefs/bookmark.svg => browser/themes/shared/preferences/bookmark.svg
rename : browser/themes/shared/incontentprefs/critters-postcard.jpg => browser/themes/shared/preferences/critters-postcard.jpg
rename : browser/themes/shared/incontentprefs/dialog.inc.css => browser/themes/shared/preferences/dialog.inc.css
rename : browser/themes/shared/incontentprefs/extensions.svg => browser/themes/shared/preferences/extensions.svg
rename : browser/themes/shared/incontentprefs/face-sad.svg => browser/themes/shared/preferences/face-sad.svg
rename : browser/themes/shared/incontentprefs/face-smile.svg => browser/themes/shared/preferences/face-smile.svg
rename : browser/themes/shared/incontentprefs/formfill.svg => browser/themes/shared/preferences/formfill.svg
rename : browser/themes/shared/incontentprefs/fxaPairDevice.css => browser/themes/shared/preferences/fxaPairDevice.css
rename : browser/themes/shared/incontentprefs/general.svg => browser/themes/shared/preferences/general.svg
rename : browser/themes/shared/incontentprefs/history.svg => browser/themes/shared/preferences/history.svg
rename : browser/themes/shared/incontentprefs/no-search-bar.svg => browser/themes/shared/preferences/no-search-bar.svg
rename : browser/themes/shared/incontentprefs/no-search-results.svg => browser/themes/shared/preferences/no-search-results.svg
rename : browser/themes/shared/incontentprefs/preferences.inc.css => browser/themes/shared/preferences/preferences.inc.css
rename : browser/themes/shared/incontentprefs/preferences.svg => browser/themes/shared/preferences/preferences.svg
rename : browser/themes/shared/incontentprefs/privacy-security.svg => browser/themes/shared/preferences/privacy-security.svg
rename : browser/themes/shared/incontentprefs/privacy.css => browser/themes/shared/preferences/privacy.css
rename : browser/themes/shared/incontentprefs/search-arrow-indicator.svg => browser/themes/shared/preferences/search-arrow-indicator.svg
rename : browser/themes/shared/incontentprefs/search-bar.svg => browser/themes/shared/preferences/search-bar.svg
rename : browser/themes/shared/incontentprefs/search.css => browser/themes/shared/preferences/search.css
rename : browser/themes/shared/incontentprefs/search.svg => browser/themes/shared/preferences/search.svg
rename : browser/themes/shared/incontentprefs/siteDataSettings.css => browser/themes/shared/preferences/siteDataSettings.css
rename : browser/themes/shared/incontentprefs/sync.svg => browser/themes/shared/preferences/sync.svg
rename : browser/themes/shared/incontentprefs/tab.svg => browser/themes/shared/preferences/tab.svg
extra : moz-landing-system : lando
2020-04-15 19:59:46 +00:00
Stefan Hindli 15cb1192a5 Backed out changeset 887f1769a2c6 (bug 1609446) for causing bc permafails in browser/base/content/test/webextensions/browser_permissions_installTrigger.js CLOSED TREE 2020-04-15 08:20:48 +03:00
Emilio Cobos Álvarez 59de159bd9 Bug 1609446 - Make default window-constraints always show the content. r=mats,mstange
This code is used to determine the sizes of the top-level windows. However the
code doesn't cause quite desirable behavior (see the bug, and comment 15).

This patch does two things:

 * Unifies the html / xul code-paths. This shouldn't change behavior (because
   GetXULMinSize returns the fixed min-* property if present anyways), but
   makes the patch a bit simpler.

 * Makes the min-width of the XUL window be the pref size instead of the
   min-size (for the cases where you have no explicit min-width). This looks a
   bit counter intuitive, but it's the only way to guarantee that the content
   will be shown. This matches the sizing algorithm that dialogs use by default
   (via calling window.sizeToContent()), while allowing to undersize the window
   via a fixed min-width property.

This in turn makes sizeToContent() work "by default" on XUL windows, avoiding
having to make JS listen to everything that possibly could change the layout of
the document (like resolution changes).

Differential Revision: https://phabricator.services.mozilla.com/D70209

--HG--
extra : moz-landing-system : lando
2020-04-15 01:44:25 +00:00
Emilio Cobos Álvarez a2c02d9e75 Bug 1627520 - Use keydown instead of keypress for autocomplete event listeners. r=mak,Gijs
This is so that we can avoid needing mozSystemGroup (to get keypress for
non-printable keys), which in turn prevents racing with the native key event
listeners, see the second patch in bug 1624657.

This turned out to be a bit tricky, because we need to guarantee the ordering of
the search one-offs handling in the searchbar with the usual autocomplete-input
handling. We could try to move this to the popup subclass but this is already a
bigger patch than what I'd like.

We can also revert the customElements.js change I did in bug 1624657, as the bug
is no longer relevant.

Differential Revision: https://phabricator.services.mozilla.com/D69743

--HG--
extra : moz-landing-system : lando
2020-04-14 20:48:26 +00:00
Matthew Noorenberghe f8d773254a Bug 1627754 - Increase the min-width of resetProfileProgress.xhtml to avoid truncating titles. r=jaws
Switch to `em` units to take font-size changes into account. This size works for one of the longer strings:
  Restableix el &brandShortName; a l'estat inicial

Differential Revision: https://phabricator.services.mozilla.com/D70154

--HG--
extra : moz-landing-system : lando
2020-04-14 17:20:39 +00:00
Bogdan Tara 52f29c9810 Backed out changeset b92904ec121f (bug 1627520) for browser_searchbar_keyboard_navigation.js failures CLOSED TREE 2020-04-14 16:58:35 +03:00
Emilio Cobos Álvarez d547edb535 Bug 1627520 - Use keydown instead of keypress for autocomplete event listeners. r=mak,Gijs
This is so that we can avoid needing mozSystemGroup (to get keypress for
non-printable keys), which in turn prevents racing with the native key event
listeners, see the second patch in bug 1624657.

This turned out to be a bit tricky, because we need to guarantee the ordering of
the search one-offs handling in the searchbar with the usual autocomplete-input
handling. We could try to move this to the popup subclass but this is already a
bigger patch than what I'd like.

We can also revert the customElements.js change I did in bug 1624657, as the bug
is no longer relevant.

Differential Revision: https://phabricator.services.mozilla.com/D69743

--HG--
extra : moz-landing-system : lando
2020-04-14 12:42:16 +00:00
Narcis Beleuzu 69f64d87d9 Backed out 2 changesets (bug 1617963, bug 1179358) for Linting failure on windows_build.rst . CLOSED TREE
Backed out changeset a2c7ad83a45b (bug 1179358)
Backed out changeset 4cf6af7fbcdb (bug 1617963)
2020-04-13 22:53:54 +03:00
mhoye a73e1808d1 Bug 1179358 - Removing Adobe CMAP license r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D69281

--HG--
extra : moz-landing-system : lando
2020-04-13 17:24:41 +00:00
Gijs Kruitbosch 4890e67e21 Bug 1616881 - get rid of `uses-unsafe-cpows`, r=mconley
This removes the annotation from the following tests:

browser/base/content/test/general:
- browser_bug735471.js by removing the test
- browser_clipboard.js which seems like it's not using CPOWs anyway
- browser_blockHPKP.js which is disabled and isn't using CPOWs anyway

browser/components/customizableui/test:
- browser_934951_zoom_in_toolbar.js as CPOW usage was removed in bug 962248

toolkit/components/reader/test:
- browser_readerMode_with_anchor.js as CPOW usage was already removed in bug 1492482

toolkit/content/tests/browser:
- browser_datetime_datepicker.js as CPOW usage was removed in bug 1492482
- browser_saveImageURL.js which used deprecated CPOW-only APIs that I removed in an earlier cset

It also removes all the test framework code relying on this annotation.

Depends on D70685

Differential Revision: https://phabricator.services.mozilla.com/D70686

--HG--
extra : moz-landing-system : lando
2020-04-13 18:05:00 +00:00
Gijs Kruitbosch aa717aac9c Bug 1616881 - clear up saveBrowser/saveDocument and remove all mentions of CPOWs from contentAreaUtils.js, r=mconley
Depends on D70684

Differential Revision: https://phabricator.services.mozilla.com/D70685

--HG--
extra : moz-landing-system : lando
2020-04-13 17:46:05 +00:00
Gijs Kruitbosch 971ae919c8 Bug 1616881 - remove saveImageURL which, besides the now-dead CPOW checks, just calls internalSave, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70684

--HG--
extra : moz-landing-system : lando
2020-04-13 17:43:22 +00:00
aarushivij cfc8ffe0e1 Bug 1628645 - Use unified fragment pattern for toolkit/content/widgets/panel.js r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D70687

--HG--
extra : moz-landing-system : lando
2020-04-13 15:15:25 +00:00
Csoregi Natalia 954b969608 Backed out 5 changesets (bug 1615588) for browser-chrome failures e.g. browser_beforeunload_duplicate_dialogs.js. CLOSED TREE
Backed out changeset 751cca7566a8 (bug 1615588)
Backed out changeset 474aca043834 (bug 1615588)
Backed out changeset 7839b95ef76c (bug 1615588)
Backed out changeset 32bb87f48b13 (bug 1615588)
Backed out changeset 264e642042b1 (bug 1615588)

--HG--
extra : rebase_source : 41ed149c97382bc1cf823abc56811b382cae0207
2020-04-10 21:19:15 +03:00
pbz 2f0f0d62d1 Bug 1615588 - Extended nsIPromptService to support tab modal prompts. r=johannh,MattN
This patch introduces a new tab modal system prompt type. It can be opened via the nsIPromptService
with a destination BrowsingContext. These tab system prompts overlap slightly with the upper
chrome UI to differentiate them from content prompts (previously called tab prompts).

- Extended nsIPromptService and nsIPrompt to accept 3 types of modal prompts:
  - Window prompts
  - Tab (system) prompts
  - Content prompts (the old tab prompts)
- Removed prompt code from Prompter.jsm, always call PromptParent window actor instead
- Added PromptChild window actor to forward pagehide events to parent actor
- Created additional prompt methods in nsIPromptService to prompt by browsingContext and modalType
- Backwards compatibility is maintained, consumers can still open content prompts calling nsIPrompt with a content window

Differential Revision: https://phabricator.services.mozilla.com/D66446

--HG--
extra : moz-landing-system : lando
2020-04-10 16:47:00 +00:00
Tim Nguyen cb0168e22f Bug 1624482 - Followup: Adapt to changes in bug 1590573. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D70251

--HG--
extra : moz-landing-system : lando
2020-04-08 23:32:49 +00:00
Mike Hommey ac5b6e6cd0 Bug 1628200 - Fix config/tests/test_mozbuild_reading.py. r=rstewart
Since the test goes through all moz.build files disregarding DIRS and
the conditions that may disable directories, in some cases, moz.builds
can fail to be evaluated properly because of missing variables in
config.status. This time (because it's not the first), it's
LLVM_DLLTOOL.

After fixing that, it turns out many of the files/directories pointed to
by Files() directives were removed or moved.

While here, make the test script python3-ready.

Differential Revision: https://phabricator.services.mozilla.com/D70157

--HG--
extra : moz-landing-system : lando
2020-04-09 00:24:29 +00:00
Oana Pop Rus 90abf0bc61 Backed out 2 changesets (bug 1625513) for bc failures in browser/base/content/test/siteIdentity/browser_identity_UI.js on a CLOSED TREE
Backed out changeset 876b33334577 (bug 1625513)
Backed out changeset 69f75d37ae8e (bug 1625513)

--HG--
extra : rebase_source : e8752080577e762777eff9cda7a695bfa2ccd4cf
2020-04-09 00:57:32 +03:00
Tim Nguyen 93728d0f3f Bug 1624482 - Scope menulist styles to its own component using shadow DOM. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67954

--HG--
extra : moz-landing-system : lando
2020-04-08 20:00:30 +00:00
Emma Malysz a7282ce447 Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866

--HG--
extra : moz-landing-system : lando
2020-04-08 16:17:50 +00:00
Nika Layzell e7ed7401ba Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh
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

--HG--
extra : moz-landing-system : lando
2020-04-08 16:56:37 +00:00
Kris Taeleman d6bbb95830 Bug 1622020 - Add DTZ info to about:support. r=botond,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D69839

--HG--
extra : moz-landing-system : lando
2020-04-06 22:49:37 +00:00
Gijs Kruitbosch 9cb230e2de Bug 1627983 - remove frontend hack now that layout correctly handles rounding of content sizes, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D70049

--HG--
extra : moz-landing-system : lando
2020-04-08 05:55:19 +00:00
Razvan Maries 072b678c5a Backed out changeset 6b7c81561ecc (bug 1590573) for marionette perma failures on test_refresh_firefox.py. CLOSED TREE 2020-04-08 07:43:49 +03:00
Emma Malysz b657384896 Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866

--HG--
extra : moz-landing-system : lando
2020-04-07 23:56:45 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

Differential Revision: https://phabricator.services.mozilla.com/D67687

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Cosmin Sabou 3a544c8273 Backed out 2 changesets (bug 1625513) for causing several reftest failures. CLOSED TREE
Backed out changeset 64dfd2e32a7b (bug 1625513)
Backed out changeset a78ae89b25b6 (bug 1625513)

--HG--
extra : amend_source : b2383d74665a38a1fcf6cf0c3b62f6700002055c
extra : histedit_source : c9251ae9cdf46168c15328aa83655e2f93c95b85
2020-04-06 20:11:51 +03:00
Nika Layzell 312045489f Bug 1625513 - Part 1: Perform onMayChangeProcess handling within DocumentLoadListener, r=mattwoodrow,pbone,droeh
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

--HG--
extra : moz-landing-system : lando
2020-04-06 15:17:40 +00:00
Emilio Cobos Álvarez efbf711e30 Bug 1624657 - Eagerly load autocomplete-input custom element. r=Gijs
My patch causes an interesting regression. We stop constructing custom elements
for the stuff inside the edit-bookmark-panel as expected. This means that the
autocomplete-input here:

  https://searchfox.org/mozilla-central/rev/3f9e822318e8ec18ce673a9cb983d3608a3e2ed2/browser/components/places/content/editBookmarkPanel.inc.xhtml#81

Doesn't cause autocomplete-input.js to load. That means that it'll load by the
time the searchbar-textbox autocomplete is created, which means that it'll get
upgraded asynchronously. So far so good. However there's an interesting race due
to the way keypress event listeners are setup in autocomplete-input.js. In
particular, it uses the capture phase and the system group:

  https://searchfox.org/mozilla-central/rev/3f9e822318e8ec18ce673a9cb983d3608a3e2ed2/toolkit/content/widgets/autocomplete-input.js#38

This means it'll race with the other native / system group event listeners that
get added by the editor component. This caused arrow-up / arrow-down to not work
on the searchbar because the custom element was upgraded async.

This kinda papers over the issue the same way editBookmarkPanel was papering
over it, but ideally we should figure out a way to not use the system group or
keypress there so that we don't race in this awful way. Separate bug, probably.

Differential Revision: https://phabricator.services.mozilla.com/D69730

--HG--
extra : moz-landing-system : lando
2020-04-05 18:36:00 +00:00
Itiel 8b6e89a718 Bug 1627036 - Convert all relevant uses of left/right to logical properties in the remaining files in toolkit/ r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D69447

--HG--
extra : moz-landing-system : lando
2020-04-03 19:17:34 +00:00
Emilio Cobos Álvarez 622f498e09 Bug 1618678 - Make disabling layout.css.cached-scrollbar-styles.enabled not a massive perf regression. r=heycam
(Because of all the extra declarations)

Differential Revision: https://phabricator.services.mozilla.com/D65916

--HG--
extra : moz-landing-system : lando
2020-04-04 12:39:58 +00:00
Mike Conley 35c3f141c1 Bug 1624702 - Add a preference to control the minimum video length for displaying the Picture-in-Picture toggle. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D68822

--HG--
extra : moz-landing-system : lando
2020-04-02 19:30:44 +00:00
Brendan Dahl 6f5ed38db3 Bug 1626815 - Expose startup cache info to about:support. r=froydnj,fluent-reviewers
Adds a new startup cache info service to expose some of the internal
state of the startup cache.

Differential Revision: https://phabricator.services.mozilla.com/D69298

--HG--
extra : moz-landing-system : lando
2020-04-02 19:40:39 +00:00
Gijs Kruitbosch c19f1c9f84 Bug 1626779 - fix wizard page header handling so it copes with non-fluent labels, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D69283

--HG--
extra : moz-landing-system : lando
2020-04-02 19:19:19 +00:00
Mihai Alexandru Michis e4d93049ab Backed out changeset 73e0e7a872c3 (bug 1626815) for causing failures regarding startupCache.
CLOSED TREE
2020-04-02 22:15:38 +03:00
aarushivij c60456e198 Bug 1578906 - Show a larger underline on the accesskeys since they are only single characters and descenders can make the underline appear very small for an accesskey. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D69265

--HG--
extra : moz-landing-system : lando
2020-04-02 18:37:17 +00:00
Brendan Dahl 3533e1dfc8 Bug 1626815 - Expose startup cache info to about:support. r=froydnj,fluent-reviewers
Adds a new startup cache info service to expose some of the internal
state of the startup cache.

Differential Revision: https://phabricator.services.mozilla.com/D69298

--HG--
extra : moz-landing-system : lando
2020-04-02 17:40:50 +00:00
Gijs Kruitbosch 1ed2ab8ca7 Bug 1625938 - work around fluent bug in wizard code, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D69246

--HG--
extra : moz-landing-system : lando
2020-04-01 22:21:04 +00:00
Ciure Andrei 16d71de78e Backed out changeset 9ce55318603b (bug 1625938) for causing DOMLocalization.cpp asertion failures CLOSED TREE 2020-04-01 23:24:54 +03:00
Gijs Kruitbosch ea1d8695e4 Bug 1625938 - work around fluent bug in wizard code, r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D69246

--HG--
extra : moz-landing-system : lando
2020-04-01 18:06:12 +00:00
Henri Sivonen b7d799ab30 Bug 1615544 - Re-enable test_videocontrols.html for Fission. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D67192

--HG--
extra : moz-landing-system : lando
2020-03-18 11:11:13 +00:00
Tim Nguyen 1a8eadc208 Bug 1626662 - Remove warning from xul.css and minimal-xul.css. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D69224

--HG--
extra : moz-landing-system : lando
2020-04-01 15:59:23 +00:00
Dão Gottwald 018f0a96e6 Bug 1626539 - Remove the dlgType property from XUL buttons. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D69162

--HG--
extra : moz-landing-system : lando
2020-04-01 15:08:08 +00:00
Henri Sivonen 201591fd91 Bug 1613031 - Re-enable test_mousecapture.xhtml for Fission. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D67310

--HG--
extra : moz-landing-system : lando
2020-03-19 10:49:22 +00:00
Neil Deakin 61184721de Bug 1610141, findbar should only apply to the main browsers and tests, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D68782

--HG--
extra : moz-landing-system : lando
2020-03-30 15:10:52 +00:00
Tim Nguyen e8449a1918 Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-31 14:33:49 +00:00
Stefan Hindli f2ba85fcf2 Backed out changeset ea3d100c8428 (bug 1624488) as per emilio's request on Riot for being related to Bug 1626198 CLOSED TREE 2020-03-31 15:22:42 +03:00
Christoph Kerschbaumer 4b9c5814af Bug 1571461 - Change accessibility of search widget to look for all event handlers and remove hack to hide.r=surkov,MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D68023

--HG--
extra : moz-landing-system : lando
2020-03-31 11:06:38 +00:00
Tim Nguyen d959de9939 Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-30 17:17:44 +00:00
Mark Striemer 21205b994f Bug 1525178 - Part 3: Add second about:addons sidebar in HTML r=fluent-reviewers,rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D60424

--HG--
extra : moz-landing-system : lando
2020-03-30 19:45:05 +00:00
Tim Nguyen b107812baf Bug 1625314 - Followup: fix test_textbox_search.xhtml. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D68890

--HG--
extra : histedit_source : 7d5a4c2e1422a987cd2f1c625a4eb7a48c68d440
2020-03-30 21:10:25 +00:00
Tim Nguyen 21c46131c1 Bug 1625314 - Followup: remove search-textbox.css from widgets.css.
Differential Revision: https://phabricator.services.mozilla.com/D68879

--HG--
extra : moz-landing-system : lando
2020-03-30 20:23:16 +00:00
Tim Nguyen 4447b7118b Bug 1625314 - Scope search-textbox.css to search-textbox custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68810

--HG--
extra : moz-landing-system : lando
2020-03-30 19:59:45 +00:00
Tim Nguyen 9f4dbeaf3c Bug 1625982 - Rename textbox.js and textbox.css to moz-input-box.js and search-textbox.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68829

--HG--
rename : toolkit/content/widgets/textbox.js => toolkit/content/widgets/moz-input-box.js
rename : toolkit/themes/linux/global/textbox.css => toolkit/themes/linux/global/search-textbox.css
rename : toolkit/themes/osx/global/textbox.css => toolkit/themes/osx/global/search-textbox.css
rename : toolkit/themes/windows/global/textbox.css => toolkit/themes/windows/global/search-textbox.css
extra : moz-landing-system : lando
2020-03-30 18:22:56 +00:00
Dorel Luca 70fdea7bd2 Backed out changeset a6c0b1afc2b0 (bug 1624488) for browser-chrome failures in checkouts/gecko/layout/style/ServoStyleSet.cpp. CLOSED TREE 2020-03-30 20:08:05 +03:00
Tim Nguyen 9a97b51447 Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-30 16:03:04 +00:00
Cosmin Sabou 9dd3baaacb Backed out changeset 9ce9b251c321 (bug 1624488) bc failures on ServoStyleSet.cpp.
CLOSED TREE
2020-03-30 18:11:02 +03:00
Tim Nguyen 7f2dbb133e Bug 1625911 - Split popupnotification.css from notification.css. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68788

--HG--
rename : toolkit/themes/linux/global/notification.css => toolkit/themes/linux/global/popupnotification.css
rename : toolkit/themes/osx/global/notification.css => toolkit/themes/osx/global/popupnotification.css
rename : toolkit/themes/shared/notification.inc.css => toolkit/themes/shared/notification.css
rename : toolkit/themes/windows/global/notification.css => toolkit/themes/windows/global/popupnotification.css
extra : moz-landing-system : lando
2020-03-30 13:57:23 +00:00
Tim Nguyen 28cd004d4f Bug 1624488 - Scope dropmarker.css to dropmarker custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D67957

--HG--
extra : moz-landing-system : lando
2020-03-30 13:21:20 +00:00
Dão Gottwald bb5b482bc6 Bug 1625896 - Rename scrollbox.css to arrowscrollbox.css. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68777

--HG--
rename : toolkit/themes/shared/scrollbox.css => toolkit/themes/shared/arrowscrollbox.css
extra : moz-landing-system : lando
2020-03-30 11:49:31 +00:00
Emilio Cobos Álvarez 02c5c21c33 Bug 1625792 - Remove nsIURIContentListener.onStartURIOpen. r=mattwoodrow
It's only used to check whether the docshell is gone already, and we need to
deal with that in other places anyway. No other useful implementation.

In comm-central there are a couple, but they're useless too.

Differential Revision: https://phabricator.services.mozilla.com/D68731

--HG--
extra : moz-landing-system : lando
2020-03-29 22:10:09 +00:00
Dão Gottwald 90134aca52 Bug 1625710 - Use :host([orient="horizontal"]) to style arrowscrollbox buttons instead of inheriting the orient attribute. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68706

--HG--
extra : moz-landing-system : lando
2020-03-29 00:28:18 +00:00
Dão Gottwald 1db19692be Bug 1625636 - Remove support for buttonicon* attributes on <dialog>. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D68686

--HG--
extra : moz-landing-system : lando
2020-03-28 17:11:10 +00:00
Tim Nguyen 21d5add699 Bug 1625043 - Small cleanups to videocontrols.css. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D68295

--HG--
extra : moz-landing-system : lando
2020-03-28 16:41:56 +00:00
Dorel Luca 847e5224ce Backed out changeset 2c38d1e46f28 (bug 1625043) for mochitest failures in toolkit/content/tests/widgets/test_videocontrols_video_noaudio.html. CLOSED TREE 2020-03-28 18:27:31 +02:00
Tim Nguyen 94b16f6e71 Bug 1625043 - Small cleanups to videocontrols.css. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D68295

--HG--
extra : moz-landing-system : lando
2020-03-28 15:27:49 +00:00
Dão Gottwald 67d15f6796 Bug 1625622 - Use id and element selectors in arrowscrollbox shadow DOM. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68668

--HG--
extra : moz-landing-system : lando
2020-03-28 12:44:20 +00:00
Dão Gottwald 5f75a69363 Bug 1625630 - Rename popup-internal-box to menupopup-arrowscrollbox. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68672

--HG--
extra : moz-landing-system : lando
2020-03-28 12:46:35 +00:00
Tim Nguyen 80ddb04e75 Bug 1624865 - Scope wizard.css to wizard custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68205

--HG--
extra : moz-landing-system : lando
2020-03-28 05:24:10 +00:00
Dão Gottwald 44b994fa2c Bug 1625464 - Invert the logic of the `notoverflowing` attribute. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D68563

--HG--
extra : moz-landing-system : lando
2020-03-27 14:24:10 +00:00
Tim Nguyen 3c79278072 Bug 1624882 - Fix broken .spacer selector in dialog.js.
Differential Revision: https://phabricator.services.mozilla.com/D68568

--HG--
extra : moz-landing-system : lando
2020-03-27 14:06:57 +00:00
Julian 8f869c8980 Bug 1608200 - port toolkit/chrome/global/wizard.dtd to Fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66771

--HG--
extra : moz-landing-system : lando
2020-03-27 14:08:01 +00:00
Tim Nguyen d1bf0ebec3 Bug 1624882 - Scope dialog.css styles to dialog custom element. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D68216

--HG--
extra : moz-landing-system : lando
2020-03-27 12:52:03 +00:00
Arthur Iakab c43e09d0b4 Backed out changeset 753c5e83ea11 (bug 1624865) for causing browser chrome failures and turning Bug 1594440 into perma.
CLOSED TREE
2020-03-27 00:56:05 +02:00