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

8705 Коммитов

Автор SHA1 Сообщение Дата
egao a3a95d7b94 Bug 1613983 - adjust test manifests for linux64 browser-chrome tests on ubuntu 1804, r=jmaher.
Depends on D63435

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

--HG--
extra : moz-landing-system : lando
2020-02-20 13:50:30 +00:00
Brendan Dahl b7f5c4a0d2 Bug 1531455 - Don't load extra custom elements in GeckoView. r=bgrins
GeckoView only needs the browser element, skip loading the rest.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 20:13:42 +00:00
Henri Sivonen ac7d3f7b2a Bug 1556627 - Make nsFocusManager::SetFocus work in Fission. r=NeilDeakin,farre,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D55651

--HG--
extra : moz-landing-system : lando
2020-02-18 13:30:04 +00:00
Gijs Kruitbosch ce1a86b0e0 Bug 1610899 - avoid text track list being cut off, r=jaws
The text track list should not exceed the size of the video controls. Because it is positioned
absolutely, and because the height of the video is not known in the CSS, the only way to
ensure the list's height does not exceed the video's height is to set a 'top' value as well as
a 'bottom' one.

Unfortunately, that then means that if the list is quite small and the video quite tall, the
popup becomes way too large.

To avoid this, I've added another level of nesting, and used flexbox to align the actual list
to the bottom of the container for the list.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 00:11:02 +00:00
Dorel Luca 5ad62a55ac Backed out changeset f1c4e39dce89 (bug 1610899) for Mochitest failures on toolkit/content/tests/widgets/test_videocontrols_vtt.html. CLOSED TREE 2020-02-14 21:00:00 +02:00
Gijs Kruitbosch e692643fd6 Bug 1610899 - avoid text track list being cut off, r=jaws
The text track list should not exceed the size of the video controls. Because it is positioned
absolutely, and because the height of the video is not known in the CSS, the only way to
ensure the list's height does not exceed the video's height is to set a 'top' value as well as
a 'bottom' one.

Unfortunately, that then means that if the list is quite small and the video quite tall, the
popup becomes way too large.

To avoid this, I've added another level of nesting, and used flexbox to align the actual list
to the bottom of the container for the list.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 17:21:24 +00:00
Tim Nguyen 7f3964e840 Bug 1610597 - Use legacy-stack for notification boxes. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D60600

--HG--
extra : moz-landing-system : lando
2020-02-14 16:32:55 +00:00
Tim Nguyen a2e4d99a50 Bug 1610597 - Re-introduce display: -moz-stack; as <legacy-stack>. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62758

--HG--
extra : moz-landing-system : lando
2020-02-14 16:32:38 +00:00
Neil Deakin e1685e02b7 Bug 1606392, pass along and update the match case, diacriticals and whole word state to the child for each find attempt, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D60010

--HG--
extra : moz-landing-system : lando
2020-02-12 12:09:01 +00:00
Chris H-C 59d8224746 Bug 1613072 - Only show Late Writes if there are late writes r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D62109

--HG--
extra : moz-landing-system : lando
2020-02-10 16:35:20 +00:00
Andrew Osmond 215f13488a Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers
This patch also exposes the desktop environment and window protocol on
the gfx blocklist, allowing us more control over feature deployment.
This will help with the slow rollout of WebRender to release channels.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 14:21:30 +00:00
Razvan Maries 23b0b10a14 Backed out changeset 8ddc0a160da1 (bug 1602819) for Mochitest perma failures on Linux. CLOSED TREE 2020-02-10 14:52:27 +02:00
Andrew Osmond b2a444ebe9 Bug 1602819 - Expose desktop environment (e.g. GNOME, KDE) on Linux. r=jrmuizel,fluent-reviewers
This patch also exposes the desktop environment and window protocol on
the gfx blocklist, allowing us more control over feature deployment.
This will help with the slow rollout of WebRender to release channels.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 18:57:51 +00:00
Kris Maglione 06a73300ce Bug 1603485: Fix opening XUL links when no browser window is open. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D61879

--HG--
extra : moz-landing-system : lando
2020-02-07 22:25:28 +00:00
Gijs Kruitbosch 9632554164 Bug 1606300 - escape filenames in tab titles, save as... dialog and as used by webbrowserpersist, r=valentin
The getDefaultFileName helper function does its own filename parsing using header info
it has previously 'manually' retrieved, so it needs to manually unescape its input.

Meanwhile, NS_GetFilenameFromDisposition is used by webbrowserpersist and for
the title of documents, and so updating that helps ensure better UI as well as
correct filename suggestions when saving from the context menu.

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

--HG--
rename : accessible/tests/mochitest/moz.png => uriloader/exthandler/tests/mochitest/file_with@@funny_name.png
rename : toolkit/components/mediasniffer/test/unit/data/file.webm => uriloader/exthandler/tests/mochitest/file_with[funny_name.webm
extra : moz-landing-system : lando
2020-02-06 18:23:45 +00:00
Tim Nguyen a435ffa929 Bug 1606018 - Make sure edit context menu also appears on inputs inside shadow trees. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D61847

--HG--
extra : rebase_source : 0375f259591d548c90218e2783fe53c03c71d5fb
extra : source : b0e6dad6ff014080801ac2720b2b99c472677751
2020-02-06 19:15:17 +00:00
Mihai Alexandru Michis b1942beef4 Backed out changeset b0e6dad6ff01 (bug 1606018) for causing failures in BrowsingContext.h
CLOSED TREE
2020-02-06 23:29:07 +02:00
Tim Nguyen f6a013abd2 Bug 1606018 - Make sure edit context menu also appears on inputs inside shadow trees. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D61847

--HG--
extra : moz-landing-system : lando
2020-02-06 19:15:17 +00:00
Emilio Cobos Álvarez 322cec0c5e Bug 1612510 - Remove IsChromeOrXBL*. r=bzbarsky
XBL is no longer a thing... Also, should we rename AllowContentXBLScope?

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

--HG--
extra : moz-landing-system : lando
2020-02-04 21:28:57 +00:00
Emilio Cobos Álvarez 6cbfa720de Bug 1612202 - Fix focus check for date / time inputs inside shadow DOM. r=smaug
The code was using activeElement which is not safe inside shadow DOM as it is
retargeted.

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

--HG--
extra : moz-landing-system : lando
2020-01-31 09:43:23 +00:00
Zibi Braniecki f3db980355 Bug 1608022 - Migrate browser-sets to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D60068

--HG--
extra : moz-landing-system : lando
2020-01-30 21:07:20 +00:00
Rob Wu 483ad3cf50 Bug 1609000 - Stop logspam when <browser> is removed r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D60720

--HG--
extra : moz-landing-system : lando
2020-01-23 23:21:06 +00:00
Cosmin Sabou a54705b862 Bug 1388959 - Disable browser_resume_bkg_video_on_tab_hover.js on debug for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D61069

--HG--
extra : moz-landing-system : lando
2020-01-26 12:00:07 +00:00
Matthew Gregan d148e81119 Bug 1590249 - Enable AudioIPC on Windows in Nightly builds. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60618

--HG--
extra : moz-landing-system : lando
2020-01-25 22:52:36 +00:00
Dorel Luca 3025fdd0aa Backed out 5 changesets (bug 1590249) for Build bustage in AudioThreadPriorityError. CLOSED TREE
Backed out changeset 301b1a49db9b (bug 1590249)
Backed out changeset c675b890508d (bug 1590249)
Backed out changeset ed1cd65eedae (bug 1590249)
Backed out changeset 0a7873a6b522 (bug 1590249)
Backed out changeset 36f6505b50c9 (bug 1590249)
2020-01-26 00:18:35 +02:00
Matthew Gregan 13cc7e6129 Bug 1590249 - Enable AudioIPC on Windows in Nightly builds. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60618

--HG--
extra : moz-landing-system : lando
2020-01-25 21:34:14 +00:00
Jan Varga 1439211b47 Bug 1608449 - Test fixes for old localStorage implementation; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D60884

--HG--
extra : moz-landing-system : lando
2020-01-23 20:34:55 +00:00
Edwin Takahashi 7ee98bde51 Bug 1602863 - run mochitest-chrome on linux1804 r=jmaher
Changes:

Migrate over the platform of `mochitest-chrome` to ubuntu1804:

Mark as expected failure one test, and expand the disable annotation of another test to include all platform variants of linux.

Resulting runs have some intermittent failures but nothing significant.

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

--HG--
extra : moz-landing-system : lando
2020-01-24 01:04:09 +00:00
Dão Gottwald faf06e2fa4 Bug 1606716 - Focus search-textbox when clicking outside the inner input. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D60846

--HG--
extra : moz-landing-system : lando
2020-01-23 17:06:28 +00:00
Valentin Gosu f67d51022f Bug 1609869 - Make about:networking an HTML page r=Gijs
* renames aboutNetworking.xhtml to aboutNetworking.html
* fixes markup to be valid html
* fixes missing instructions link in about:networking#logging

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

--HG--
rename : toolkit/content/aboutNetworking.xhtml => toolkit/content/aboutNetworking.html
extra : moz-landing-system : lando
2020-01-23 16:42:02 +00:00
Kirk Steuber 0c6c51ee27 Bug 1607575 - Restore support for saving/restoring MozTree column ordering r=bgrins CLOSED TREE
MozTrees persist column ordering using the XUL persist="ordinal" attribute. This patch synchronizes MozTree with that old mechanism to restore the ability to save and restore column ordering. Because the persist data will be stored in the same place as before, this should prevent people from losing their column ordering data without requiring data migration.

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

--HG--
extra : rebase_source : 0474619cb817263d7a56b970c44cf8987d719355
extra : histedit_source : d8ed787170f5dd3ac6e19bf318e1a69c9ad0eac5
2020-01-21 18:48:58 +01:00
Kirk Steuber 44aeb05573 Bug 1607575 - Change consumers of XUL ordinal attribute to use the -moz-box-ordinal-group style instead r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D59762

--HG--
extra : rebase_source : e70a0b95e3f878fa57d4af134e5ed7d16200467c
2020-01-22 17:23:47 +01:00
Kirk Steuber dc99689ced Bug 1607575 - Remove support for the XUL ordinal attribute r=bgrins,bz
This removes nsTreeColumns::RestoreNaturalOrder, which requires the ordinal attribute to function. It only has one consumer: toolkit/content/widgets/tree.js. The call is removed from that consumer in this patch. This will break column ordering in MozTree's, which is fixed by a later changeset in this stack.

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

--HG--
extra : rebase_source : 88c0b1dda44dc64eedbb73f7902e6cc61faeee1b
2020-01-21 18:46:13 +01:00
Gijs Kruitbosch 0606b71ddb Bug 1526731 - pass content policy to webbrowserpersist to improve image request headers, r=smaug,johannh
Differential Revision: https://phabricator.services.mozilla.com/D60567

--HG--
extra : moz-landing-system : lando
2020-01-23 08:36:00 +00:00
Mike Conley ea70cbeec9 Bug 1576917 - Port PopupBlocker to JSWindowActors to make it Fission-compatible. r=NeilDeakin
This patch was started by Alex Vamvounis <a.vamvounis@gmail.com> and finished by
Mike Conley <mconley@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2020-01-22 21:24:19 +00:00
Dão Gottwald 62b6304c38 Bug 1610779 - Remove obsolete MozTabbox::_tabs and MozTabbox::_tabpanels getters. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D60653

--HG--
extra : moz-landing-system : lando
2020-01-22 14:46:41 +00:00
Sylvestre Ledru 0eafef9ee8 Bug 1607724 - Remove 3 licenses that we don't use anymore r=peterv
They were used by pdfium

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

--HG--
extra : moz-landing-system : lando
2020-01-22 11:29:03 +00:00
Mark Banner 793a87d40a Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D59691

--HG--
extra : moz-landing-system : lando
2020-01-21 20:46:06 +00:00
Mihai Alexandru Michis 2dab66d06e Backed out 9 changesets (bug 1607172, bug 1609998, bug 1608799) for causing xpcshell failures in test_parser.js
CLOSED TREE

Backed out changeset 7753083b67dd (bug 1609998)
Backed out changeset e6f5aac734ab (bug 1608799)
Backed out changeset 90ea35966b73 (bug 1608799)
Backed out changeset 6fafa451b3f9 (bug 1608799)
Backed out changeset e07a4aea2ae1 (bug 1608799)
Backed out changeset d69d6dfdccad (bug 1607172)
Backed out changeset 93023b1b6153 (bug 1607172)
Backed out changeset 99ce7a56080e (bug 1607172)
Backed out changeset 20aa5934c785 (bug 1607172)
2020-01-21 21:44:03 +02:00
Mark Banner 96709101c1 Bug 1607172 - Update ESLint to the latest version and use ignorePatterns to ignore paths listed in ThirdPartyPaths.txt. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D59691

--HG--
extra : moz-landing-system : lando
2020-01-21 17:10:10 +00:00
Neil Deakin 6437917bea Bug 1603020, send state update messages to all child actors, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D58991

--HG--
extra : moz-landing-system : lando
2020-01-20 15:15:04 +00:00
Neil Deakin 3d7ffd608a Bug 1603020, allow sendMessageToActor to send the message to all descendants, not just process roots, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D58990

--HG--
extra : moz-landing-system : lando
2020-01-20 15:14:31 +00:00
Zibi Braniecki 79a10c61a3 Bug 1605467 - Migrate text action keys to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D59272

--HG--
extra : moz-landing-system : lando
2020-01-17 11:43:39 +00:00
Narcis Beleuzu d97f243585 Backed out changeset a2f061d89feb (bug 1605467) for causing Bug 1609898. 2020-01-17 13:23:33 +02:00
Zibi Braniecki 723beff370 Bug 1605467 - Migrate text action keys to Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D59272

--HG--
extra : moz-landing-system : lando
2020-01-15 11:44:14 +00:00
Brian Grinstead fd3ed49e86 Bug 1602230 - Use an html:label with textContent instead of xul:label with [value] for toolbarbutton-badges r=Gijs
This both allows proper CSS sizing (it respects max-width), and allows for hidden overflow for long badges.
Using xul:label with textContent fixes the former but doesn't support the latter, so an html:label is used instead.

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

--HG--
extra : moz-landing-system : lando
2020-01-15 10:49:04 +00:00
Dimi Lee d1daecd272 Bug 1600896 - P2. Use getContentBlockingLog in WindoowGlobalParent instead of getContentBlockingEvent in nsIRemoteTab. r=timhuang,Ehsan
Depends on D55779

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:34:41 +00:00
Magnus Melin fba3b80d05 Bug 1597421 - Remove unused autocompleteinput attr in autocomplete-popup.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D59606

--HG--
extra : moz-landing-system : lando
2020-01-15 08:44:59 +00:00
Magnus Melin 8d440ee8a2 Bug 1608658 - AutocompleteInput.detachController() should consider null element.mController. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D59605

--HG--
extra : moz-landing-system : lando
2020-01-14 16:22:28 +00:00
Dimi Lee 10c00c38cf Bug 1600878 - P3. Do not store contentBlockingEvent in RemoteSecurityUI.jsm r=timhuang,Ehsan
ContentBlockingEvents is now accessed via WindowGlobalActor::ContentBlockingEvents.
Updating and storing contentBlockingEvent in RemoteSecurityUI are no longer needed.

Depends on D55622

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:27 +00:00
Dimi Lee 27d4d88bfe Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:23 +00:00
Masayuki Nakano 90cd2122dd Bug 970802 - part 5: Make `AutoEditActionDataSetter` created method dispatch "beforeinput" event r=smaug,m_kato
`AutoEditActionDataSetter` is created in the stack when editor's public method
is called and that guarantees lifetime of global objects in editor such as
editor itself, selection controller, etc.

The dispatcher of `beforeinput` event returns `NS_ERROR_EDITOR_ACTION_CANCELED`
if an event is actually dispatched but canceled.  The reason why it's an error
is, editor code must stop handling anything when any methods return error.
So, returning an error code is reasonable in editor module.  But when it's
filtered by `EditorBase::ToGenericNSResult()` at return statement of public
methods, it's converted to `NS_SUCCESS_DOM_NO_OPERATION`.  This avoids throwing
new exception, but editor class users in C++ can distinguish whether each edit
action is canceled or handled.  The reason why we should not throw new
exception from XPCOM API is, without taking care of each caller may break some
our UI (especially for avoiding to break comm-central).  Therefore, this patch
does not make XPCOM methods return error code when `beforeinput` event is
canceled.

In most cases, immediately after creating `AutoEditActionDataSetter` is good
timing to dispatch `beforeinput` event since editor has not touched the DOM
yet.  If `beforeinput` requires `data` or `dataTransfer`, methods need to
dispatch `beforeinput` event after that.  Alhtough this is not a good thing
from point of view of consistency of the code.  However, I have no better
idea.

Note 1: Our implementation does NOT conform to the spec about event order
between `keypress` and `beforeinput` (dispatching `beforeinput` event after
`keypress` event).  However, we follow all other browsers' behavior so that it
must be safe and the spec should be updated for backward compatibility.
Spec issue: https://github.com/w3c/uievents/issues/220

Note 2: Our implementation does NOT conform to the spec about event order
between `compositionupdate` and `beforeinput`.  Our behavior is same as
Safari, but different from Chrome.  This might cause web-compat issues.
However, our behavior does make sense from point of view of consistency of
event spec.  Additionally, at both `compositionupdate` and `beforeinput`,
composition string in editor has not been modified yet.  Therefore, this
may not cause web-compat issues (and I hope so).
Spec issue: https://github.com/w3c/input-events/issues/49

Note that this patch makes editor detect bugs that `beforeinput` event hasn't
been handled yet when it dispatches `input` event or modifying `data` and
`dataTransfer` value are modified after dispatching `beforeinput` event with
`MOZ_ASSERT`s.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:18:51 +00:00
Masayuki Nakano 0bf0eeeaa0 Bug 970802 - part 1: Add `beforeinput` event tests into existing mochitests r=smaug
This patch adds a lot of `beforeinput` event tests into existing mochitests
which test `input` events.  But this does not add tests of canceling
`beforeinput` event because it requires really complicated path until
implementing `beforeinput` actually.

Note that `beforeinput` event is not fired with `Document.execCommand()`.
Therefore, this patch does not add WPT for testing `beforeinput` event.
And unfortunately, WPT cannot test most cases of the new tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 07:14:50 +00:00
Razvan Maries 0df75c8122 Backed out 5 changesets (bug 970802) for xpcshell perma fails. CLOSED TREE
Backed out changeset 5511edd700f7 (bug 970802)
Backed out changeset 1fb9cf2264b6 (bug 970802)
Backed out changeset 6b185296c742 (bug 970802)
Backed out changeset ce6853e64ed6 (bug 970802)
Backed out changeset aa9bd45c09b1 (bug 970802)
2020-01-14 04:41:15 +02:00
Masayuki Nakano 00f4c31bb7 Bug 970802 - part 5: Make `AutoEditActionDataSetter` created method dispatch "beforeinput" event r=smaug,m_kato
`AutoEditActionDataSetter` is created in the stack when editor's public method
is called and that guarantees lifetime of global objects in editor such as
editor itself, selection controller, etc.

The dispatcher of `beforeinput` event returns `NS_ERROR_EDITOR_ACTION_CANCELED`
if an event is actually dispatched but canceled.  The reason why it's an error
is, editor code must stop handling anything when any methods return error.
So, returning an error code is reasonable in editor module.  But when it's
filtered by `EditorBase::ToGenericNSResult()` at return statement of public
methods, it's converted to `NS_SUCCESS_DOM_NO_OPERATION`.  This avoids throwing
new exception, but editor class users in C++ can distinguish whether each edit
action is canceled or handled.  The reason why we should not throw new
exception from XPCOM API is, without taking care of each caller may break some
our UI (especially for avoiding to break comm-central).  Therefore, this patch
does not make XPCOM methods return error code when `beforeinput` event is
canceled.

In most cases, immediately after creating `AutoEditActionDataSetter` is good
timing to dispatch `beforeinput` event since editor has not touched the DOM
yet.  If `beforeinput` requires `data` or `dataTransfer`, methods need to
dispatch `beforeinput` event after that.  Alhtough this is not a good thing
from point of view of consistency of the code.  However, I have no better
idea.

Note 1: Our implementation does NOT conform to the spec about event order
between `keypress` and `beforeinput` (dispatching `beforeinput` event after
`keypress` event).  However, we follow all other browsers' behavior so that it
must be safe and the spec should be updated for backward compatibility.
Spec issue: https://github.com/w3c/uievents/issues/220

Note 2: Our implementation does NOT conform to the spec about event order
between `compositionupdate` and `beforeinput`.  Our behavior is same as
Safari, but different from Chrome.  This might cause web-compat issues.
However, our behavior does make sense from point of view of consistency of
event spec.  Additionally, at both `compositionupdate` and `beforeinput`,
composition string in editor has not been modified yet.  Therefore, this
may not cause web-compat issues (and I hope so).
Spec issue: https://github.com/w3c/input-events/issues/49

Note that this patch makes editor detect bugs that `beforeinput` event hasn't
been handled yet when it dispatches `input` event or modifying `data` and
`dataTransfer` value are modified after dispatching `beforeinput` event with
`MOZ_ASSERT`s.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 01:09:45 +00:00
Masayuki Nakano 583465bce4 Bug 970802 - part 1: Add `beforeinput` event tests into existing mochitests r=smaug
This patch adds a lot of `beforeinput` event tests into existing mochitests
which test `input` events.  But this does not add tests of canceling
`beforeinput` event because it requires really complicated path until
implementing `beforeinput` actually.

Note that `beforeinput` event is not fired with `Document.execCommand()`.
Therefore, this patch does not add WPT for testing `beforeinput` event.
And unfortunately, WPT cannot test most cases of the new tests.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 09:22:50 +00:00
Gijs Kruitbosch 6ad266aef8 Bug 1600919 - work around XUL layout bug by manually measuring wrapping description element in reset profile dialog, r=MattN,zbraniecki
This is basically the same technique as `descriptionHeightWorkaround` in the
PanelMultiView implementation (from bug 1009116).

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

--HG--
extra : moz-landing-system : lando
2020-01-13 23:42:29 +00:00
Alexander Surkov b8bdb342d2 Bug 1606108 - Autoscroll works only once in iframe r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D58390

--HG--
extra : moz-landing-system : lando
2020-01-10 13:41:27 +00:00
Emilio Cobos Álvarez 8315ea0c9c Bug 1608159 - Make <xul:image> inline-level by default. r=Gijs
This also matches html <img>.

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

--HG--
extra : moz-landing-system : lando
2020-01-10 10:29:12 +00:00
Alexander Surkov 49360f819d Bug 1601733 - add sjs script into test suite that generates a document from code snippet r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D58992

--HG--
rename : accessible/tests/browser/fission_document_builder.sjs => testing/mochitest/document-builder.sjs
extra : moz-landing-system : lando
2020-01-08 18:41:01 +00:00
Emilio Cobos Álvarez e7783b322a Bug 1607557 - Make labels and button inline level. r=Gijs
<xul:description> doesn't respect `display` and effectively behaves like
`display: flow-root` unless it has the `value` attribute.

<xul:label> and <xul:button> are expected to be inline level when in HTML
blocks.

The former fixes the about dialog. The later fixes the session restore page,
which in today's nightly shows the two buttons in different lines.

I could try to write more targeted fixes if you want, and probably switching to
html layout while at it.

<label> can be display: inline, at least in the about dialog. And the
<xul:button> in the restore session page can be <html:buttons> (inline-blocks).

But then again the involved elements always create specific layout boxes
disregarding display, so this patch does effectively the same.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 12:17:07 +00:00
Brian Grinstead c777fd4ce8 Bug 1607181 - eagerly set [smoothscroll] on arrowscrollbox instead of waiting for the getter to be called;r=dao
The XBL implementation set the attribute in the constructor if it wasn't already:
- https://hg.mozilla.org/mozilla-central/file/94eaa02e0ea1725512893cd5139b1d200fcf4fdd/toolkit/content/widgets/scrollbox.xml#l34.

In the Custom Element conversion this check was moved into the getter, which isn't called until a scrollbutton is clicked,
which meant that we'd get non-smooth scrolling if just mousewheeling the button. I can't find any reason for intentionally
changing that in the bug or review, so I think it was just an oversight.

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

--HG--
extra : moz-landing-system : lando
2020-01-08 13:15:32 +00:00
Kirk Steuber ab4a9b729a Bug 1603827 - Replace XULElement.orient with getAttribute/setAttribute r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57665

--HG--
extra : moz-landing-system : lando
2020-01-07 19:26:27 +00:00
Brindusan Cristian 5d7bfb85f1 Backed out 2 changesets (bug 1603827) for build bustages at XULElementBinding.cpp. CLOSED TREE
Backed out changeset e975644f8000 (bug 1603827)
Backed out changeset f6b5e15b13af (bug 1603827)
2020-01-07 19:31:48 +02:00
Kirk Steuber 544bd79ea5 Bug 1603827 - Replace XULElement.orient with getAttribute/setAttribute r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57665

--HG--
extra : moz-landing-system : lando
2020-01-07 17:16:01 +00:00
shindli 25c99bbe4b Backed out 2 changesets (bug 1603827) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsXULElement.h: CLOSED TREE
Backed out changeset 0acbc135a17d (bug 1603827)
Backed out changeset db69be9423ae (bug 1603827)
2020-01-07 18:55:28 +02:00
Kirk Steuber 44408fe91e Bug 1603827 - Replace XULElement.orient with getAttribute/setAttribute r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57665

--HG--
extra : moz-landing-system : lando
2020-01-07 16:41:35 +00:00
Tom Schuster c73016a38b Bug 1605854 - Fix remaining tests using uneval/toSource r=mccr8,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58685

--HG--
extra : moz-landing-system : lando
2020-01-07 13:19:30 +00:00
Thomas Nguyen 37de21b36d Bug 1604813 - Clear checked value if the "Remember this decision" checkbox is hidden. r=johannh
If we are setting up a new permission prompt from iframe navigation, the popup
notification may reuse "checked" value from previous notification, even if the
checkbox is hidden. We should clear checkbox.checked (set to false) if the
checkbox is hidden

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

--HG--
extra : moz-landing-system : lando
2020-01-07 10:47:44 +00:00
Brindusan Cristian 39a0983bcc Bug 1477593 - Fix ESlint. CLOSED TREE 2020-01-07 14:35:17 +02:00
Greg V af84abd92f Bug 1477593 - fix about:networking on tier-3 platforms r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D58855

--HG--
extra : moz-landing-system : lando
2020-01-07 11:15:15 +00:00
Kris Maglione 955e22bbdb Bug 1604003: Part 2 - Convert RemoteController.js to a JSM. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D57557

--HG--
rename : toolkit/modules/RemoteController.js => toolkit/modules/RemoteController.jsm
extra : moz-landing-system : lando
2020-01-07 00:04:57 +00:00
Kris Maglione 912ada80ab Bug 1604003: Part 1 - Correctly unregister controller when destroying browser. r=NeilDeakin
It was being set to null before we tried to remove it, which left a dead
controller registered and consuming commands after a frameloader rebuild.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 15:24:15 +00:00
Neil Deakin 16c3f34381 Bug 1602616, ubuntu18.04 has a taller titlebar, so increment the allowed range where the popup's height can be by a few pixels, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D58460

--HG--
extra : moz-landing-system : lando
2020-01-06 20:05:18 +00:00
Neil Deakin 9c5eae7c36 Bug 1602624, move buttons down a bit to add room so that the larger themed popup can fit aligned in the available window space in ubuntu18.04, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D58461

--HG--
extra : moz-landing-system : lando
2020-01-06 20:05:15 +00:00
Neil Deakin 0532548244 Bug 1602620, adjust the margin to accomodate the different theme in ubuntu 18.04, this was causing the popup to not fit aligned above the button and get flipped to the other side of the button, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D58689

--HG--
extra : moz-landing-system : lando
2020-01-06 20:05:13 +00:00
Kirk Steuber 55bdd37f7c Bug 1603830 - Replace XULElement.ordinal with el.style.MozBoxOrdinalGroup r=bgrins
Depends on D58670

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

--HG--
extra : moz-landing-system : lando
2020-01-06 20:02:43 +00:00
Brian Hackett 99ff90baa1 Bug 1607014 Part 2 - Remove references to toolkit/recordreplay/udis86, r=jlast.
Depends on D58693

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

--HG--
extra : moz-landing-system : lando
2020-01-05 01:43:41 +00:00
Jason Laster 9b99e1d9c6 Bug 1606949 - Revert "Bug 1606949 - Add about:replay. "
This reverts commit 5721aff7c1f3ffe5491d277dc01f6eec32771f12.

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

--HG--
extra : moz-landing-system : lando
2020-01-05 05:58:37 +00:00
Jason Laster d3eb64cb4d Bug 1606949 - Add about:replay. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D58661

--HG--
extra : moz-landing-system : lando
2020-01-05 02:04:18 +00:00
Emilio Cobos Álvarez 7d9dd50759 Bug 1606263 - Make default tooltip rtl when appropriate. r=Itiel
After bug 1598841, they don't inherit `direction` from the root, so we need to
explicitly style the default toltip.

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

--HG--
extra : moz-landing-system : lando
2019-12-30 14:47:46 +00:00
alwu 2f1d5440af Bug 1585231 - refactor test. r=bryce
We remove `file_blockMedia_shouldPlay.html` and `file_blockMedia_shouldNotPlay.html` and move those operation on test directly, and do those operations after media fully loading.

And seperate two different test cases to two testing tasks.

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

--HG--
extra : moz-landing-system : lando
2019-12-27 23:24:14 +00:00
Zibi Braniecki 3b0c2d1abd Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713

--HG--
extra : moz-landing-system : lando
2019-12-25 10:01:46 +00:00
Ciure Andrei c79fc6e32a Backed out changeset 0267e42c0db5 (bug 1604960) for causing bc permafails 2019-12-25 05:15:16 +02:00
Zibi Braniecki ebad9a1dbf Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713

--HG--
extra : moz-landing-system : lando
2019-12-24 20:43:17 +00:00
Mark Banner fc9f798420 Bug 1595989 - Make autocomplete widgets respect devtools's 'disable popup auto-hide'. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D54466

--HG--
extra : moz-landing-system : lando
2019-12-23 12:18:17 +00:00
Masayuki Nakano 87ca855ece Bug 1603074 - part 1: Make `synthesizePlainDragAndDrop()` synthesize drag events without `DataTransfer` object r=smaug
`synthesizePlainDragAndDrop()` synthesizes drag events with `DataTransfer`
object which is set to `DragEvent.dataTransfer` of `dragstart` after starting
drag session explicitly.  However, this causes
`EventStateManager::DoDefaltDragStart()` does not initialize `nsIDragService`
instance.  Therefore, synthesized drag events cannot work with editor because
`DragEvent::GetMozSourceNode()` returns `nullptr` due to
`nsIDragSession::GetSourceNode()` returning `nullptr`.

On the other hand, synthesized drag events cannot use
`nsIDragService::InvodeDragSession()` normally because of hitting an assertion.
https://searchfox.org/mozilla-central/rev/690e903ef689a4eca335b96bd903580394864a1c/widget/nsBaseDragService.cpp#230-233

This patch does:
- mark drag events caused by synthesized mouse events as "synthesized for tests"
- make `synthesizePlainDragAndDrop()` stop using
  `nsIDragService.startDragSession()`
- make `nsBaseDragService` initialize and start session even for synthesized
  `dragstart` event
- make `synthesizePlainDragAndDrop()` stop synthesizing drag events with
  `DataTransfer` object since it's normal behavior and it'll be initialized
  with `nsIDragService::GetDataTransfer()`
- make `nsBaseDragService` store `effectAllowed` for the session only when
  it's synthesized session because it's required at initializing synthesized
  default `dropEffect` value of `dragenter`, `dragover`, `dragexit` and `drop`
  events' `dataTransfer`
- make all tests which use `nsIDragService.startDragSession()` use new
  API, `nsIDragService.startDragSessionForTests()` to initialize session's
  `effectAllowed` value
- make `EventStateManager::PostHandleEvent()` set drag end point of the test
  session to `eDrop` event's screen point
- make `synthesizePlainDragAndDrop()` set drag end point of the session if
  it does not synthesize `drop` event because following `endDragSession()`
  use it at dispatching `dragend` event on the source element

Additionally, this adds `dumpFunc` new param to `synthesizePlainDragAndDrop()`
because it's really useful to investigate the reason why requesting DnD isn't
performed as expected.

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

--HG--
extra : moz-landing-system : lando
2019-12-21 12:27:06 +00:00
Bryce Van Dyk da72d7934a Bug 1596894 - Update fallback GMP downloader for Widevine 4.10.1582.2. r=rhelmer
Update the GMP fallback downloader for Widevine to reference the 4.10.1582.2
CDM. This keeps the fallback URLs in step with Balrog.

Add an alias for `Linux_x86_64-gcc3-asan` to `Linux_x86_64-gcc3`. This alias
exists in the Balrog rules already. This covers the case where the fallback is
needed for such asan builds.

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

--HG--
extra : moz-landing-system : lando
2019-12-20 20:10:27 +00:00
Alexander Surkov f9f8b6c906 Bug 1597765 - support auto scroll in out of process frames r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54596

--HG--
rename : toolkit/modules/AutoScrollController.jsm => toolkit/actors/AutoScrollChild.jsm
extra : moz-landing-system : lando
2019-12-19 02:35:57 +00:00
Kirk Steuber 3036d033c3 Bug 1603828 - Replace XULElement.pack with getAttribute/setAttribute r=bgrins
Depends on D57686

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

--HG--
extra : moz-landing-system : lando
2019-12-19 06:39:15 +00:00
Tyler ea8b8dab8a Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D56051

--HG--
extra : moz-landing-system : lando
2019-12-18 21:46:51 +00:00
Bogdan Tara bda0db5d2d Backed out changeset c53bf87f1e5d (bug 1597765) for test_login_item.html failures CLOSED TREE
--HG--
rename : toolkit/actors/AutoScrollChild.jsm => toolkit/modules/AutoScrollController.jsm
2019-12-19 04:31:36 +02:00
Alexander Surkov caa3428343 Bug 1597765 - support auto scroll in out of process frames r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D54596

--HG--
rename : toolkit/modules/AutoScrollController.jsm => toolkit/actors/AutoScrollChild.jsm
extra : moz-landing-system : lando
2019-12-18 15:09:50 +00:00
Alastor Wu 9ba3998b7c Bug 1578945 - part2 : remove old audio competing related tests. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44750

--HG--
extra : moz-landing-system : lando
2019-12-18 17:26:20 +00:00
Emma Malysz ebaa98b111 Bug 1601113, replace URIs ending in vnd.mozilla.xul+xml with xhtml+xml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57148

--HG--
extra : moz-landing-system : lando
2019-12-17 00:33:16 +00:00
Kris Maglione 39d7eb39ed Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:48 +00:00
Kris Maglione 3cb2072737 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:40 +00:00
Kris Maglione 295e55e227 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:37 +00:00
Kris Maglione 0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Dão Gottwald 18526d61b5 Bug 1603058 - Remove onBeforeTextValueSet, onBeforeTextValueGet, onBeforeValueGet, trimValue, formatValue hooks from autocomplete-input.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56709

--HG--
extra : moz-landing-system : lando
2019-12-12 18:35:15 +00:00
Emma Malysz be0238569b Bug 1601090, rename .xul files to .xhtml in toolkit/mozapps r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55837

--HG--
rename : toolkit/mozapps/downloads/content/unknownContentType.xul => toolkit/mozapps/downloads/content/unknownContentType.xhtml
rename : toolkit/mozapps/extensions/content/blocklist.xul => toolkit/mozapps/extensions/content/blocklist.xhtml
rename : toolkit/mozapps/extensions/content/extensions.xul => toolkit/mozapps/extensions/content/extensions.xhtml
rename : toolkit/mozapps/handling/content/dialog.xul => toolkit/mozapps/handling/content/dialog.xhtml
rename : toolkit/mozapps/update/content/updateElevation.xul => toolkit/mozapps/update/content/updateElevation.xhtml
extra : moz-landing-system : lando
2019-12-12 16:30:59 +00:00
Bryan Kok 990fa9c17c Bug 1595738 - Update about:licenses page with SignalR WS parser. r=Honza,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D53326

--HG--
extra : moz-landing-system : lando
2019-12-12 16:09:50 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Neil Deakin 75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
Dão Gottwald eb29184025 Bug 1603050 - Remove unused displayurl and lookslikeurl attributes from autocomplete-richlistitem.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56695

--HG--
extra : moz-landing-system : lando
2019-12-11 09:31:37 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione d7164b11c3 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:28 +00:00
Kris Maglione 37c15883a5 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:34 +00:00
Kris Maglione 356e59c6bc Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:22 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Kirk Steuber 6c7eec60e6 Bug 1585482 - Necessary test fixes following the change to stop using xul:dialog as a root element. r=marionette-reviewers,ato,bgrins
Most of these fixes involve fixing test XUL to not use <dialog> as a top level element or replacing calls to document.documentElement that expect it to return the dialog, now that the dialog is not the top level element anymore.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:14:10 +00:00
Kirk Steuber 589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Dão Gottwald 647685dd70 Bug 1602691 - Remove trimValue and textRunsMaxLen hooks from autocomplete-richlistitem.js. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56518

--HG--
extra : moz-landing-system : lando
2019-12-10 10:50:35 +00:00
Alex Henrie 00867c4809 Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-09 19:26:40 +00:00
Daniel Varga 6e13799734 Backed out changeset e65c1bcb013f (bug 1601475) for causing build bustage. On a CLOSED TREE 2019-12-09 12:51:07 +02:00
Tyler 103588ae45 Bug 1601475 - Remove ImageContentLoaded event and ImageDocumentLoaded message handling code across the tree r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D56051

--HG--
extra : moz-landing-system : lando
2019-12-09 10:18:25 +00:00
Cameron McCormack 80142a59ab Bug 1571285 - Correctly style dark scrollbars in tree components. r=emilio
We need to ensure the rules that override all properties for scrollbar
part elements only apply to those that are NAC (and so will be eligible
for NAC style sharing).  We have some uses of non-NAC <scrollbar>
elements that should continue to inherit properties from their parents.

To avoid any changes in rule matching order that come with changing specificity,
we add a new :-moz-native-anonymous-no-specificity pseudo-class.

While we're here, we note :-moz-native-anonymous-no-specificity (and the
regular :-moz-native-anonymous pseudo-class) as not needing style
sharing cache revalidation, as we never share NAC styles.

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

--HG--
extra : moz-landing-system : lando
2019-12-09 03:16:03 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 84fa9ffb2a Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione 63b8ddb1c0 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione 8c28f5ff8d Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione bd497b1a21 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 6422a4c146 Backed out changeset b9f93a02d6be (bug 1571285) for causing reftest failures at build/tests/reftest/tests/layout/reftests/svg/sizing/scrollbars-01.svg. On a CLOSED TREE 2019-12-07 03:20:00 +02:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Cameron McCormack 6f930e61d3 Bug 1571285 - Correctly style dark scrollbars in tree components. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D56154

--HG--
extra : moz-landing-system : lando
2019-12-06 10:22:17 +00:00
Kris Maglione cd579034cc Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:43 +00:00
Kris Maglione 41c61c2bb9 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:29 +00:00
Kris Maglione 6d5729ccb5 Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53745

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:27 +00:00
Kris Maglione 73e3d8bcf6 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:25 +00:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Brindusan Cristian 4b11b63400 Backed out changeset b89936db7178 (bug 202251) for bc failures at browser_misused_characters_in_strings.js. CLOSED TREE 2019-12-05 23:10:09 +02:00
Alex Henrie ca467c4b3f Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-05 18:08:20 +00:00
Masatoshi Kimura 502bc1fe35 Bug 1601235 - Remove the second arg of nsIXULBrowserWindow::SetOverLink. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D55946

--HG--
extra : moz-landing-system : lando
2019-12-05 14:23:01 +00:00
Julian Descottes 81e34d9437 Bug 1600333 - Remove all tags = clipboard from the codebase r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D55305

--HG--
extra : moz-landing-system : lando
2019-12-05 11:07:10 +00:00
Matthew Noorenberghe beec957175 Bug 1598717 - Make the line-height of the 3 password generation lines consistent. r=sfoster
Also increase the min-width for password generation popups so at least en-US doesn't wrap.

Depends on D55742

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

--HG--
extra : moz-landing-system : lando
2019-12-04 20:57:54 +00:00
Matthew Noorenberghe 3a20585186 Bug 1598717 - Hide the "Firefox will save this password for this website" text when we wouldn't auto-save due to an existing login. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D55741

--HG--
extra : moz-landing-system : lando
2019-12-04 21:34:08 +00:00
Ciure Andrei 7229b5803b Backed out 5 changesets (bug 1595154) for causing talos performance tests failures CLOSED TREE
Backed out changeset 498f750ed88a (bug 1595154)
Backed out changeset 45481561c120 (bug 1595154)
Backed out changeset 8ca3c106fc8d (bug 1595154)
Backed out changeset 7ffa8f958d0a (bug 1595154)
Backed out changeset 444505b4936b (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-12-04 21:07:05 +02:00
Thomas Nguyen a0b817ac65 Bug 1483631 - Restrict nested permission requests in webrtc with permission delegate r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47417

--HG--
extra : moz-landing-system : lando
2019-12-04 15:39:14 +00:00
Neil Deakin 0fe11bd612 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-04 11:45:10 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Wendy Wigg d53f9a35f8 Bug 1431214 - removed _setCurrentURI function as it was unused r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D55394

--HG--
extra : moz-landing-system : lando
2019-12-04 10:59:42 +00:00