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

7222 Коммитов

Автор SHA1 Сообщение Дата
Eliza Balazs 334166becd Bug 1312652 - Disable browser_autoscroll_disabled.js on multiple platforms for frequent failures. r=jmaher 2018-08-22 04:40:00 +03:00
Timothy Guan-tin Chien 4b6408eacd Bug 1485133 - Remove Web Animation polyfill in video controls r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D3918

--HG--
extra : moz-landing-system : lando
2018-08-21 22:43:55 +00:00
Mike Conley bda8a0dccd Bug 1478112 - Get rid of preselect tabbox workaround, and adjust focus after changing visible tab right away. r=dao
The "select" event handler workaround was originally added in bug 1379270 to make it
possible to focus and select the URL bar a little bit later. This ugly hack was to
workaround an issue with WebExtensions that override about:newtab with the
chrome_url_overrides property (the issue would be that the URL bar would not be
properly focused and selected if about:newtab was overridden).

Back in the day, this was necessary because the overriding URL was fully displayed
in the URL bar (moz-webextension://...). These days, when about:newtab is overridden,
the URL bar is still empty - we just end up showing the information about the
WebExtension overriding about:newtab to the left of the URL bar.

So I think we can remove the old workaround.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 06:55:47 +00:00
Csoregi Natalia 6a5d41b053 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/server/actors/webconsole/moz.build => devtools/server/actors/webconsole/listeners/moz.build
2018-08-21 01:00:01 +03:00
Timothy Guan-tin Chien df8a644582 Bug 1483408 - Set focus to the video element when the media document loads r=Gijs
For some reason we might miss the initial focus event. This ensures the video
element is focused when the document loads.

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

--HG--
extra : moz-landing-system : lando
2018-08-20 13:06:01 +00:00
shindli 1d3a8e90da Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-20 19:36:01 +03:00
Paolo Amadini 99697b4790 Bug 1393965 - Fix intermittent browser_default_image_filename.js. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D3775

--HG--
extra : rebase_source : 30d8d75d478403264ec0530452def76984e47fb0
2018-08-20 13:42:19 +01:00
Emilio Cobos Álvarez 69f98d5c58 Bug 1484474 - Make the ua widget flag in ShadowRoot write-only. r=smaug
Letting people set it back to false would be bad.

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

--HG--
extra : moz-landing-system : lando
2018-08-18 21:32:38 +00:00
spillner ae484ea026 Bug 260562 - Remove obsolete accessibility.typeaheadfind.enabletimeout preference. r=kmag
Summary:
Mike DeBoer correctly noted in a comment at https://bugzilla.mozilla.org/show_bug.cgi?id=254592 that enabletimeout is no longer used and should be removed.  I updated the timeout logic to treat a zero or negative value as effectively "no automatic timeout" for the quick-find dialog (otherwise, setting the timeout value to a small or negative value makes the feature unusable).

This is a corollary to the bugfix at https://phabricator.services.mozilla.com/D3404 ; I've split it out into a separate patch to avoid confusing that issue.

Update: this specific issue already had its own bug at https://bugzilla.mozilla.org/show_bug.cgi?id=260562, and another mention at https://bugzilla.mozilla.org/show_bug.cgi?id=265915 .

Reviewers: kmag

Reviewed By: kmag

Bug #: 260562

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

--HG--
extra : rebase_source : 1c2b73d6af1343d536a2380dee784f8ea2339b61
extra : amend_source : cc00a2398b2c478003e842b4dc9b99bf53af6824
2018-08-19 08:47:57 +03:00
Drew Willcoxon f90bca5e29 Bug 1484067 - Hide search em-dash when search query only contains spaces r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D3659

--HG--
extra : moz-landing-system : lando
2018-08-17 20:56:31 +00:00
Timothy Guan-tin Chien 166aa2d738 Bug 1483972 - Allow videocontrols to initialize without style r=jaws,dholbert!,jaws!
This crash happens because nsVideoFrame didn't know what to do with two
children in the UA Widget Shadow Root.

The two children are both videocontrols, with the first one being the lingering
DOM inserted by first constructor call that throws.

The subsequent appendChild of the same element caused the videocontrols
to be initialized again, since the previous run didn't return a widget
instance to UAWidgetsChild.

The fix here removes the throw statement added in
https://hg.mozilla.org/mozilla-central/rev/dca187f7c72c#l3.15 ,
allowing the constructor to complete.

Without this statement, we will rely on assertion in the test here
https://hg.mozilla.org/mozilla-central/rev/4ddca5eb06c2#l2.18
to fail on slower platforms to ensure the stylesheet is loaded synchronously.

An alternative fix would be to wrap up the contructor in a try catch block
from UAWidgetsChild and make sure the DOM is cleaned up when the constructor
throw. That however will hide the error thrown so I decided to remove the throw
statement instead.

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

--HG--
extra : moz-landing-system : lando
2018-08-17 20:43:46 +00:00
Tiberius Oros 482b5ce92a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-17 00:38:55 +03:00
Tiberius Oros 246f2b4fab Merge inbound to mozilla-central. a=merge 2018-08-17 00:32:50 +03:00
Matthew Noorenberghe 7b9e74a701 Bug 1483672 - Inject the autofill autocomplete-item stylesheets like formautofill.css. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D3442

--HG--
extra : rebase_source : 31d43a73a895d3933efde83b68b5a1d8a87fb0c8
2018-08-15 14:09:50 -07:00
Andrew Swan 3badf01810 Bug 1449055 Convert formautofill to a webextension r=MattN,kmag
--HG--
rename : browser/extensions/formautofill/bootstrap.js => browser/extensions/formautofill/api.js
rename : browser/extensions/formautofill/install.rdf.in => browser/extensions/formautofill/manifest.json
rename : browser/extensions/formautofill/skin/shared/autocomplete-item.css => browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css
rename : browser/extensions/formautofill/skin/shared/editDialog.css => browser/extensions/formautofill/skin/shared/editDialog-shared.css
extra : rebase_source : 8ddd40e3bbf84fadb7ef07b30822030e346ae341
extra : intermediate-source : 45306ff933fe8dfad0ab11b2f4072389b15fd993
extra : source : ecda6532c852b3f225fce998e3ce83ad157760e6
2018-07-28 14:06:07 -07:00
Timothy Guan-tin Chien 3a8416b993 Bug 1431255 - Part XIII, Make <link> in UA Widget load stylesheets synchronously r=bzbarsky
Set SheetLoadData::mSyncLoad to true when the link element is in a UA Widget.

MozReview-Commit-ID: 2NPSJnL0rKl

--HG--
extra : rebase_source : 9af8c7add41b39f6eb8e3ac02dbefb9607b905f9
2018-08-07 11:20:31 -07:00
Timothy Guan-tin Chien 0f3d6a3193 Bug 1431255 - Part XII, Don't set hidden explicitly on animating elements r=jaws
For elements with an animationProp, always set its hidden state from the
startFade() method, so the reverse-direction animation can be correctly
cancelled.

Additionally, considers elements with "fadeout" class as hidden,
so other states can be toggled correctly.

This patch fixes intermittent failures on slower platforms, and perma-orange
on Windows.

MozReview-Commit-ID: KgQXaryEHad

--HG--
extra : rebase_source : b2c7eb81110bf2a55820460cfc24b3418fd4bbdb
2018-07-17 23:01:00 +08:00
Timothy Guan-tin Chien fd253ac962 Bug 1431255 - Part XI, Remove bogus comments in videocontrols.js r=jaws
Also removing unremoved <xul:slider> properties and workarounds.

MozReview-Commit-ID: 8JrcDyDOBWS

--HG--
extra : rebase_source : ebd8c3af91d07769ab2d71e8ac9be541e7fae68f
2018-07-06 22:39:10 +08:00
Timothy Guan-tin Chien c36e4f22d6 Bug 1431255 - Part X, Remove XBL workaround in bug 462114 r=jaws
This is documented throughly in bug 448909 comment 79.
It is no longer needed for our current setup.

MozReview-Commit-ID: 9XWCqGUYHW4

--HG--
extra : rebase_source : 7d8e042d2e11704b68fb42ea14b421d9eada4abb
2018-07-06 20:51:22 +08:00
Timothy Guan-tin Chien fe66d98d86 Bug 1431255 - Part IX, Remove fullscreenchange workaround for bug 718107 r=jaws
Acknowledge the control bar hidden behavior caused by the bug.
Also, set the cursor state before early return, because the video might not
be in the same fullsreen state the last time control bar is hidden/shown.

MozReview-Commit-ID: 3oN3r8dsUvH

--HG--
extra : rebase_source : 34a95e9d5ddfd8abb96adde452858e4b7acb4946
2018-07-06 18:37:10 +08:00
Timothy Guan-tin Chien 4f4992fc3d Bug 1431255 - Part VIII, Adjust videocontrols tests to test on UA Widget r=jaws
Duplicates the unchanged tests to xbl dir, ensuring the legacy XBL
videocontrols continue to work.

Opt out of related reftests until we've found a way to load the UA Widget in
reftests. Also opt out of DevTools test until a decision is made on the
representation of UA Widgets in the inspector.

MozReview-Commit-ID: 9sDD7xeuv2H

--HG--
rename : toolkit/content/tests/widgets/chrome.ini => toolkit/content/tests/widgets/xbl/chrome.ini
rename : toolkit/content/tests/widgets/head.js => toolkit/content/tests/widgets/xbl/head.js
rename : toolkit/content/tests/widgets/mochitest.ini => toolkit/content/tests/widgets/xbl/mochitest.ini
rename : toolkit/content/tests/widgets/test_audiocontrols_dimensions.html => toolkit/content/tests/widgets/xbl/test_audiocontrols_dimensions.html
rename : toolkit/content/tests/widgets/test_bug898940.html => toolkit/content/tests/widgets/xbl/test_bug898940.html
rename : toolkit/content/tests/widgets/test_videocontrols.html => toolkit/content/tests/widgets/xbl/test_videocontrols.html
rename : toolkit/content/tests/widgets/test_videocontrols_audio.html => toolkit/content/tests/widgets/xbl/test_videocontrols_audio.html
rename : toolkit/content/tests/widgets/test_videocontrols_audio_direction.html => toolkit/content/tests/widgets/xbl/test_videocontrols_audio_direction.html
rename : toolkit/content/tests/widgets/test_videocontrols_error.html => toolkit/content/tests/widgets/xbl/test_videocontrols_error.html
rename : toolkit/content/tests/widgets/test_videocontrols_iframe_fullscreen.html => toolkit/content/tests/widgets/xbl/test_videocontrols_iframe_fullscreen.html
rename : toolkit/content/tests/widgets/test_videocontrols_jsdisabled.html => toolkit/content/tests/widgets/xbl/test_videocontrols_jsdisabled.html
rename : toolkit/content/tests/widgets/test_videocontrols_keyhandler.html => toolkit/content/tests/widgets/xbl/test_videocontrols_keyhandler.html
rename : toolkit/content/tests/widgets/test_videocontrols_onclickplay.html => toolkit/content/tests/widgets/xbl/test_videocontrols_onclickplay.html
rename : toolkit/content/tests/widgets/test_videocontrols_orientation.html => toolkit/content/tests/widgets/xbl/test_videocontrols_orientation.html
rename : toolkit/content/tests/widgets/test_videocontrols_size.html => toolkit/content/tests/widgets/xbl/test_videocontrols_size.html
rename : toolkit/content/tests/widgets/test_videocontrols_standalone.html => toolkit/content/tests/widgets/xbl/test_videocontrols_standalone.html
rename : toolkit/content/tests/widgets/test_videocontrols_video_direction.html => toolkit/content/tests/widgets/xbl/test_videocontrols_video_direction.html
rename : toolkit/content/tests/widgets/test_videocontrols_video_noaudio.html => toolkit/content/tests/widgets/xbl/test_videocontrols_video_noaudio.html
rename : toolkit/content/tests/widgets/test_videocontrols_vtt.html => toolkit/content/tests/widgets/xbl/test_videocontrols_vtt.html
extra : rebase_source : 474e4d1967bb96b4ffad283f83055e5fe58165f0
2018-07-06 13:27:12 +08:00
Timothy Guan-tin Chien dab48182aa Bug 1431255 - Part V, Set the reflectors of the UA Widget DOM to UA Widget Scope r=bholley
The DOM elements within the UA Widget Shadow DOM should have its reflectors in
the UA Widget Scope. This is done by calling nsINode::IsInUAWidget() which
would check its containing shadow and its UA Widget bit.

To prevent JS access of the DOM element before it is in the
UA Widget Shadom DOM tree, various DOM methods are set to inaccessible to
UA Widget script. It would need to use the two special methods in ShadowRoot
instead to insert the DOM directly into the shadow tree.

MozReview-Commit-ID: Jz9iCaVIoij

--HG--
extra : rebase_source : b7b17be68dcde00cfeb207cb39cf16b486f2ab02
2018-06-29 13:39:46 -07:00
Timothy Guan-tin Chien 3fc48b5fcd Bug 1431255 - Part IV, Load videocontrols.js, migrated from videoControls binding r=jaws
videocontrols.js handles the controls attribute with a callback named
"onattributechange" called by UAWidgets, replaces the CSS selectors.

MozReview-Commit-ID: 8rrw0Pbu8Dj

--HG--
rename : toolkit/content/widgets/videocontrols.xml => toolkit/content/widgets/videocontrols.js
extra : rebase_source : 8d8a38afac0273621f711b988c1be82d04865e33
2018-06-27 11:55:38 -07:00
Brian Grinstead 9382a39249 Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Browsers can switch at runtime from remote to non-remote and vice versa,
which on the C++ side is detected from a XBL binding change which causes
nsIRemoteBrowser to either be implemented or not. Custom Elements can't
change at runtime in the same way, so unifying on a single [implements]
will allow browser (both remote and non-remote) to be migrated to a single
Custom Element.

To keep current functionality, this updates Qi calls into nsIRemoteBrowser
to instead Qi into nsIBrowser and check isRemoteBrowser.

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

--HG--
extra : moz-landing-system : lando
2018-08-15 19:21:22 +00:00
Cosmin Sabou 1c8ad7b4ba Merge mozilla-inbound to mozilla-central. a=merge 2018-08-15 03:51:45 +03:00
Kris Maglione b5be6c0987 Bug 1483363: Stop loading ZoomChild.jsm before necessary. r=mconley
--HG--
extra : rebase_source : 0145f5c1cded4b38f65570b75710d98370da3a32
extra : amend_source : dd6b99a67ffd22b439544295d6e16a8deb0d6dd8
2018-07-31 19:41:09 -07:00
Brendan Dahl 195f739823 Bug 1482256 - Support switching to browser.xul to browser.xhtml. r=mossop
Adds a new environment variable MOZ_BROWSER_XHTML to change Firefox to load
a modified version of browser.xul as browser.xhtml. Adds the xhtml
namespace to the script tags to make them work.

MozReview-Commit-ID: 2adtOVzXHKd
2018-08-14 13:13:38 -07:00
Brian Grinstead 829d7647d3 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275

--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Kanika Saini b8dfc69c2a Bug 1472528 - Design and implementation of about:policies page r=flod,felipe 2018-07-02 12:55:31 +05:30
Andreea Pavel fba9b7255c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-08-14 19:19:03 +03:00
Suriyaa Sundararuban ef2703b39a Bug 1482708 - Update links in license.html file using HTTPS protocol r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D3165

--HG--
extra : moz-landing-system : lando
2018-08-13 23:48:22 +00:00
Kris Maglione f97cab9ee3 Bug 1472491: Part 5η - Add BrowserChild actor. r=florian f=mconley
MozReview-Commit-ID: D1d4hFGNKXj

--HG--
extra : rebase_source : 2f5eb873285824d6b190b59b93309342d66b45aa
2018-07-30 10:52:55 -07:00
Kris Maglione 56ec495c3d Bug 1472491: Part 5p - Add ExtFindChild actor. r=mikedeboer f=felipe
MozReview-Commit-ID: 3zL8iYeYAPx

--HG--
extra : rebase_source : 8d6d2f4b9776d6e66b66da7fbeba826056afe77d
2018-07-29 21:44:48 -07:00
Kris Maglione 5b2b235a9a Bug 1472491: Part 5μ - Add WebNavigationChild actor. r=mconley
MozReview-Commit-ID: 3AiCuNfMenb

--HG--
rename : toolkit/modules/WebNavigationChild.jsm => toolkit/actors/WebNavigationChild.jsm
extra : rebase_source : 085ffbe1d8cf5b51570bb2de406d2c177a6051be
2018-07-30 12:55:22 -07:00
Kris Maglione be97cc14bc Bug 1472491: Part 5λ - Add Split RemoteFinder into FinderChild and FinderParent actors. r=gijs
MozReview-Commit-ID: JAv8lh2gJoB

--HG--
rename : toolkit/modules/RemoteFinder.jsm => toolkit/actors/FinderChild.jsm
rename : toolkit/modules/RemoteFinder.jsm => toolkit/modules/FinderParent.jsm
extra : rebase_source : 08eaf28894b0cd89f082b4cf14d428fa43668988
2018-07-30 12:25:58 -07:00
Kris Maglione 3cdcc6d6af Bug 1472491: Part 5ζ - Add ControllersChild actor. r=mconley
MozReview-Commit-ID: 2u6ayRoHvIh

--HG--
rename : toolkit/content/browser-child.js => toolkit/actors/ControllersChild.jsm
extra : rebase_source : 46dd4b7ea9394ca0da97f35129ae4ff822d37723
2018-07-30 10:52:29 -07:00
Kris Maglione aba57b7011 Bug 1472491: Part 5ε - Add PurgeSessionHistoryChild actor. r=mconley
MozReview-Commit-ID: 7oOXuPNsPPG

--HG--
extra : rebase_source : 696b840ba75fc23ec76b6c9e217a1d3b84107871
2018-07-30 10:14:12 -07:00
Kris Maglione f66f1e4480 Bug 1472491: Part 5δ - Add UnselectedTabHoverChild actor. r=mconley
MozReview-Commit-ID: JYAYb8NshrW

--HG--
extra : rebase_source : d511fbd164e8f5e18bd826169e512b6d1092d5e7
2018-07-30 10:11:41 -07:00
Kris Maglione 0fe397f54b Bug 1472491: Part 5γ - Add UITourChild actor. r=MattN
MozReview-Commit-ID: 7Pfu7sSOE1i

--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/UITourChild.jsm
extra : rebase_source : 9669a73172d4ae6cb84fddff2541e5bfbba7c7e3
2018-07-29 23:47:26 -07:00
Kris Maglione 66f4ed7652 Bug 1472491: Part 5β - Add ShieldFrameChild actor. r=mconley
MozReview-Commit-ID: 5HqAEEO7nJy

--HG--
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/ShieldFrameChild.jsm
extra : rebase_source : b480265ad0746c700716ed9011db4b2c0f39b9e8
2018-07-29 23:45:18 -07:00
Kris Maglione 4e1ac07ba3 Bug 1472491: Part 5α - Add DateTimePickerChild actor. r=mconley
MozReview-Commit-ID: EWTCdNCmE9S

--HG--
rename : toolkit/modules/DateTimePickerContent.jsm => toolkit/actors/DateTimePickerChild.jsm
extra : rebase_source : c92d504e8da81151a3937d2a2091ef07356f5df7
2018-07-29 23:39:17 -07:00
Kris Maglione aed171e1e6 Bug 1472491: Part 5z - Add WebChannelChild actor. r=markh f=mconley
MozReview-Commit-ID: 1f056kpyJW6

--HG--
rename : toolkit/modules/WebChannelContent.jsm => toolkit/actors/WebChannelChild.jsm
extra : rebase_source : b0993e4967314f50efb0acb8afb44270d6c372de
2018-07-29 23:36:12 -07:00
Kris Maglione 2771aa208c Bug 1472491: Part 5y - Add PopupBlockingChild actor. r=mconley
MozReview-Commit-ID: Bw7u8m3xY38

--HG--
rename : toolkit/modules/PopupBlocking.jsm => toolkit/actors/PopupBlockingChild.jsm
extra : rebase_source : 7c675d31c04be2eac0e37adcc9dbb2cd3766ce6a
2018-07-29 23:31:39 -07:00
Kris Maglione dbbb50d17a Bug 1472491: Part 5x - Add SelectionSourceChild actor. r=mconley
MozReview-Commit-ID: 6RioXbevgRO

--HG--
rename : toolkit/modules/SelectionSourceContent.jsm => toolkit/actors/SelectionSourceChild.jsm
extra : rebase_source : 6c0c76cbea4e203ba715a05a68241794e6c11213
2018-07-29 23:28:10 -07:00
Kris Maglione 2cb877e6e7 Bug 1472491: Part 5t - Add ThumbnailsChild actor. r=Mossop
MozReview-Commit-ID: 31V11KaJj4D

--HG--
extra : rebase_source : d0b0334a0d02ecd85fdb81c51cd42aa021f6319d
2018-07-29 22:25:48 -07:00
Kris Maglione a1bab19851 Bug 1472491: Part 5s - Add ZoomChild actor. r=mconley
MozReview-Commit-ID: 9vTa1PbTh5t

--HG--
rename : toolkit/content/browser-child.js => toolkit/actors/ZoomChild.jsm
extra : rebase_source : 68edc86e4e93304292a1d99e76d8e4258de98e8f
2018-07-29 22:18:52 -07:00
Kris Maglione f72cf1a680 Bug 1472491: Part 5r - Add PrintingChild actor. r=felipe
MozReview-Commit-ID: K3xcS5TNiQj

--HG--
rename : toolkit/modules/PrintingContent.jsm => toolkit/actors/PrintingChild.jsm
extra : rebase_source : d30675b4212f71f1f17a7ac74adbd42ad7b0e3c7
2018-07-29 22:05:14 -07:00
Kris Maglione 08e6ae3629 Bug 1472491: Part 5q - Add SelectChild actor. r=felipe
MozReview-Commit-ID: J5MAJMbblyr

--HG--
rename : toolkit/modules/SelectContentHelper.jsm => toolkit/actors/SelectChild.jsm
extra : rebase_source : 4ade8f5f0f3b68124c5f0f3cf2eae545db4b6854
2018-07-29 21:59:16 -07:00
Kris Maglione d19429b2f0 Bug 1472491: Part 5o - Add FindBarChild actor. r=gijs
MozReview-Commit-ID: IGNjeh8o91l

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/FindBarChild.jsm
rename : toolkit/modules/FindBarChild.jsm => toolkit/modules/FindBarContent.jsm
extra : rebase_source : 8937478f17235dfe078feac381b871f0b5e4a424
2018-07-29 21:38:21 -07:00
Kris Maglione 9d0fd10b85 Bug 1472491: Part 5n - Add AudioPlaybackChild actor. r=felipe
MozReview-Commit-ID: DtGNW4riHQX

--HG--
rename : toolkit/content/browser-content.js => toolkit/actors/AudioPlaybackChild.jsm
extra : rebase_source : d37eef766306f0967ac4c13b4705e32197f7d0f6
2018-07-29 21:27:32 -07:00