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
Kris Maglione
68a10a9e01
Bug 1472491: Part 5l - Add OfflineAppsChild actor. r=felipe
...
MozReview-Commit-ID: Jo8Uqifw7sm
--HG--
rename : browser/base/content/content.js => browser/actors/OfflineAppsChild.jsm
extra : rebase_source : 054432c08510d3551253d9e7ff3797a7759ce035
2018-07-29 21:17:41 -07:00
Kris Maglione
30986431c7
Bug 1472491: Part 5a - Add BrowserTabChild actor. r=felipe
...
MozReview-Commit-ID: 38Y1xwkgxCx
--HG--
extra : rebase_source : 61a85af58f9f16b8e39b716e3df2d09b788fcb1a
2018-07-29 19:42:46 -07:00
Kris Maglione
739cafdadd
Bug 1472491: Part 4a - Add helper classes for lazily loading JS IPC actors. r=felipe
...
This adds the basic framework for defining IPC actors which are lazily
instantiated for the appropriate frame loaders based on DOM events, message
manager messages, and observers. Actual actors are defined in follow-up
commits.
MozReview-Commit-ID: Jb6CWWW7v3v
--HG--
extra : rebase_source : 6c465c492ef423616346d70047c4fd4b074af303
2018-08-11 15:27:12 -07:00
Matt Brubeck
49f0c3b342
Bug 1482304 - Remove dead code from remote-browser.xml. r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D3071
--HG--
extra : moz-landing-system : lando
2018-08-10 13:06:02 +00:00
Noemi Erli
be6ab34c54
Merge mozilla-central to inbound. a=merge CLOSED TREE
...
--HG--
extra : rebase_source : 691b5b30b6c3b2ddece605c045ad913e466fdbab
2018-08-10 00:35:58 +03:00
Mark Banner
226dbd7bdc
Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop
...
MozReview-Commit-ID: 7yvvXKxYodA
Differential Revision: https://phabricator.services.mozilla.com/D2834
--HG--
extra : moz-landing-system : lando
2018-08-07 14:46:19 +00:00
Brian Grinstead
abf1620630
Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
...
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.
The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):
firstChild->firstElementChild
lastChild->lastElementChild
nextSibling->nextElementSibling
previousSibling->previousElementSibling
childNodes->children
MozReview-Commit-ID: 95NQ8syBhYw
--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Tiberius Oros
aff5d4ad5d
Merge inbound to mozilla-central. a=merge
2018-08-09 13:02:05 +03:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Drew Willcoxon
ed36e3dff8
Bug 1480541 - Remove em-dash from search string dropdown text when the search query is empty. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D2898
--HG--
extra : moz-landing-system : lando
2018-08-08 19:52:59 +00:00
Jonathan Kingston
c15f69d427
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
...
Summary: Depends on D2046
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +03:00
Brendan Dahl
027788b3ce
Bug 1481286 - Move command dispatcher from XULDocument to Document. r=bz
...
Allows non-XUL chrome privilege documents to also use the command
dispatcher. The command dispatcher is created lazily since it will not
always be used.
Update test to reflect removal of the XUL attribute "commandDispatcher"
from content privilege XUL.
MozReview-Commit-ID: HUXMG9kx4ft
2018-08-08 09:02:03 -07:00
Brendan Dahl
3c230cf25e
Bug 1481286 - Use a custom element to add/remove command updater. r=bz
...
Create a "commandset" custom element that performs the job of adding and
removing command updaters that XULDocument use to do. Previously, the
"commandupdater" attribute was allowed on any element, but in tree it is
only every used on "commandset" elements.
MozReview-Commit-ID: HUXMG9kx4ft
2018-08-08 09:02:03 -07:00
Kris Maglione
a5afd46968
Bug 1479310: Don't load content-UITour.js until needed. r=Mossop
...
MozReview-Commit-ID: 55EPBxUYv9o
--HG--
rename : browser/components/uitour/content-UITour.js => browser/components/uitour/ContentUITour.jsm
extra : rebase_source : 0edbb87354918950e3e66577d0dde140ddc20c23
extra : source : 3583823171dea4207f9ea5665060bcb559f5e586
2018-07-29 12:36:45 -07:00
Brindusan Cristian
8c70dfad01
Backed out changeset 5212e051d039 (bug 1479310) for bc failures on /browser/browser_onboarding_uitour.js.
...
--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
2018-08-07 20:49:43 +03:00