Commit graph

568 commits

Author SHA1 Message Date
Brian Grinstead
381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Ian Moody
56d2ed1a23 Bug 1544284 - toolkit/ manual ESLint no-throw-literal fixes. r=Standard8
Includes an otherwise-automated change to test_jsctypes.js that required an
expectation change in test_ctypes.xul.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 19:30:27 +00:00
Brian Grinstead
911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead
ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Brian Grinstead
6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Cosmin Sabou
a649207dc6 Bug 1484210 - Disable toolkit/content/tests/widgets/test_videocontrols.html on linux webrender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D25514

--HG--
extra : moz-landing-system : lando
2019-04-01 18:45:24 +00:00
Edwin Gao
5b2eb3b3ef Bug 1536347 - disable toolkit/content/tests/widgets/test_bug898940.html r=jmaher
This test fails fairly consistently.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 11:12:23 +00:00
Mike Conley
38a030193d Bug 1531101 - Update videocontrols error IDs to make it cleaner to introduce new message types. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22163

--HG--
extra : moz-landing-system : lando
2019-03-13 01:43:57 +00:00
Alastor Wu
3b7981db60 Bug 1531863 - part5 : modify test 'test_videocontrols_vtt.html'. r=jaws
According to the spec [1] step3, the 'change' event won't be dispatched immediately, so we should run the following check until we get the 'change' event.

[1] https://html.spec.whatwg.org/multipage/media.html#pending-text-track-change-notification-flag

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

--HG--
extra : moz-landing-system : lando
2019-03-12 00:28:26 +00:00
Neil Deakin
66040975f2 Bug 1519953, replace calls to retrieve boxobject position and size with getBoundingClientRect, r=gijs
--HG--
extra : rebase_source : 65a9e08513ada3cda6beeb09d7f8a53620c2999f
2019-03-01 12:26:45 -05:00
Marco Bonardo
5c4e44ce0a Bug 1528751 - Add a custom eslint rule to check "consistent" if bracing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D20753

--HG--
extra : moz-landing-system : lando
2019-02-28 08:39:33 +00:00
Emilio Cobos Álvarez
a80d4f866f Bug 1522987 - followup: Reduce expected assertion count in test_mousecapture_area.html 2019-02-12 17:58:19 +01:00
sotaro
b1374ee405 Bug 1523522 - Skip test_videocontrols_onclickplay.html r=jrmuizel
The test run with e10s disabled, and the test failure happens by disabling e10s. But WebRender is not used on windows with disabling e10s. Then we could skip the test for MVP.

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

--HG--
extra : moz-landing-system : lando
2019-02-06 20:46:16 +00:00
Timothy Guan-tin Chien
c013639646 Bug 1507895 - Part V, Remove dom.ua_widget.enabled pref r=smaug
With all the dependency removed this pref can be safely removed.

Depends on D17574

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:33:25 +00:00
Timothy Guan-tin Chien
d59f80985c Bug 1507895 - Part I, Remove the videocontrols binding r=smaug
This patch removes the XBL videocontrols binding and make <video>
to always use the UA Widget to generate controls.

DevTools tests that look for NAC is switched to use <input type=file>.

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

--HG--
extra : moz-landing-system : lando
2019-01-25 13:12:26 +00:00
Neil Deakin
cb10352f4b Bug 1482389, replace TreeBoxObject with XULTreeElement inherited from XULElement, r=peterv,paolo
--HG--
rename : dom/webidl/TreeBoxObject.webidl => dom/chrome-webidl/XULTreeElement.webidl
rename : layout/xul/tree/TreeBoxObject.cpp => dom/xul/XULTreeElement.cpp
rename : layout/xul/tree/TreeBoxObject.h => dom/xul/XULTreeElement.h
2018-12-04 11:25:30 -05:00
Andreea Pavel
95b755e3c8 Bug 1511256 - disabled test_videocontrols.html on linux r=jmaher
--HG--
extra : rebase_source : 2e78219ed1d980881dd317cb8fa831d8d8be67a8
2018-12-29 14:34:00 +02:00
Edgar Chen
3601b61cff Bug 1505547 - Use DocumentOrShadowRoot level checks in videocontrols for fullscreen; r=timdream
Differential Revision: https://phabricator.services.mozilla.com/D13402

--HG--
extra : moz-landing-system : lando
2018-11-29 23:01:55 +00:00
Timothy Guan-tin Chien
3c5974c14a Bug 1508000 - Dispatch UAWidgetUnbindFromTree event before calling nsGenericHTMLElement::UnbindFromTree() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D12205

--HG--
rename : toolkit/content/tests/widgets/test_ua_widget.html => toolkit/content/tests/widgets/test_ua_widget_sandbox.html
extra : moz-landing-system : lando
2018-11-28 02:29:38 +00:00
Tim Nguyen
044d8ca731 Bug 1508142 - Remove remains of tree cell-based selection code. r=bzbarsky,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D12225

--HG--
extra : moz-landing-system : lando
2018-11-22 09:59:02 +00:00
Timothy Guan-tin Chien
2b5881e46b Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 06:51:07 +00:00
Andreea Pavel
d51566f085 Backed out 2 changesets (bug 1503019) for failing crashtests at dom/base/crashtests/1505811.html on a CLOSED TREE
Backed out changeset 06b12fd41ff1 (bug 1503019)
Backed out changeset 7b845eac9dd7 (bug 1503019)
2018-11-15 01:52:30 +02:00
Timothy Guan-tin Chien
c0cc4f74e7 Bug 1503019 - Part I, Remove dom.webcomponents.shadowdom.enabled r=smaug
This patch removes the dom.webcomponents.shadowdom.enabled pref and all its
references, including the following functions:

* nsContentUtils::IsShadowDOMEnabled()
* nsIDocument::IsShadowDOMEnabled()
* nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal)
* nsDocument::IsShadowDOMEnabled(const nsINode* aNode)
* nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject)

This function is renamed and updated to nsDocument::IsCallerChromeOrAddon():

* nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject)

I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 19:34:52 +00:00
Julian Descottes
73e3a16c0d Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:35 +00:00
Tiberius Oros
3676bb6801 Disable bug 1366957 on linux for frequent failures 2018-10-13 04:27:00 +03:00
Timothy Guan-tin Chien
ca71a35fa1 Bug 1496636 - add_task() should wait for document finishes loading before starting the test r=florian
Differential Revision: https://phabricator.services.mozilla.com/D7941

--HG--
extra : moz-landing-system : lando
2018-10-08 12:59:15 +00:00
Eliza Balazs
38ba6ae11b Bug 1366957 - Disable test_videocontrols_keyhandler.html on linux for frequent failures. r=jmaher 2018-10-02 23:54:00 +03:00
Narcis Beleuzu
04ab391b65 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-19 19:44:24 +03:00
Timothy Guan-tin Chien
6c928dc396 Bug 1484048 - Part II, Make error label visible r=Gijs
This is a regression left over by Bug 1431255 Part IV.
I did s/anonid/id/ in videocontrols.js but I didn't do that in CSS.

anonid selectors are still needed in CSS until we remove the XBL binding.

Depends on D3667

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:16 +00:00
Emma Malysz
696ceb303f Bug 1465219, use XULMenuElement, a subclass of nsXULElement, instead of MenuBoxObject for menu and menulist elements, r=paolo,bz
MozReview-Commit-ID: 5253hAlxbhw

--HG--
rename : dom/webidl/MenuBoxObject.webidl => dom/chrome-webidl/XULMenuElement.webidl
rename : layout/xul/MenuBoxObject.cpp => dom/xul/XULMenuElement.cpp
rename : layout/xul/MenuBoxObject.h => dom/xul/XULMenuElement.h
2018-07-31 12:30:17 -07:00
Ehsan Akhgari
8038c6973e Bug 1486487 - Toggle a label's control in case it's a checkbox; r=dao
Differential Revision: https://phabricator.services.mozilla.com/D4833
2018-09-04 10:18:52 -04:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00: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
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
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
Boris Zbarsky
0fcb24c18d Bug 1446940 part 1. Stop getting docshells from windows via getInterface in toolkit. r=gijs
The change to test_hiddenPrivateWindow.xul is to make sure we pass windows, not
docshells, to an API that expects windows.
2018-08-01 13:07:09 -04:00
Tim Nguyen
73ad4c957d Bug 1471542 - Remove support for tree[seltype=cell] and tree[seltype=text]. r=Paolo
MozReview-Commit-ID: BW9u3CvvP1p

--HG--
extra : rebase_source : bf0895ac41708fa62125109a480f6dd172a03798
2018-06-27 18:35:18 +01:00
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Neil Deakin
ef5f9b4b23 Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz
Test changes for removal of PopupBoxObject and popup.xml methods, some reflow tests now have different stacks now that they are not going through popup.xml binding methods, test_popupanchor.xul changes due to need to wait for popuppositioned event after resizing. The old code would just adjust the arrow directly when sizeTo was called, but the new code does this through an asynchronous popuppositioned event. Changes to some places that check for XULElement class.

--HG--
rename : dom/webidl/PopupBoxObject.webidl => dom/webidl/XULPopupElement.webidl
rename : layout/xul/PopupBoxObject.cpp => dom/xul/XULPopupElement.cpp
rename : layout/xul/PopupBoxObject.h => dom/xul/XULPopupElement.h
2018-04-27 11:04:38 -04:00
Brian Grinstead
45b575d85f Bug 1456703 - Stop using nsIDOMXULTextBoxElement to detect XUL textboxes r=enndeakin+6102
This is used in JS via instanceof checks, and in C++ only to get the `inputField`
attribute (the actual HTML input or textarea). We can swap out instanceof by checking
the tag name, and we can directly query for the input field from C++.


MozReview-Commit-ID: 7xpHQMYzYhD

--HG--
extra : rebase_source : a5b62928665725133eb52e4df2fb6659a6109ffd
2018-04-26 15:15:10 -07:00
Kris Maglione
219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Timothy Guan-tin Chien
bd5d32f088 Bug 1452342 - Toggle cursor visibility correctly in video fullscreen mode r=Gijs
MozReview-Commit-ID: K3a40Q4hgZb

--HG--
extra : rebase_source : 92a1918e277f3625308e544df3fb3d6f9e70dda1
2018-04-09 13:00:15 +08:00
Timothy Guan-tin Chien
2bda996769 Bug 1449532 - Part II, Use Web Animation API to animate video control transition r=Gijs
Web Animation API should give us deterministic timing when the transition ends or aborts.

Additional clean-ups:

- Make sure hidden status is always set/get from the hidden property,
  instead of the hidden attribute.
- Remove the unused isControlBarHidden property.
- controlsSpacer no longer has a background color (removed in bug 1374007),
  therefore it no longer needs a transition and there is no need to test
  its state with the test added in bug 1319301.
- Fix a logic error at hideByAdjustment property, revealed by the changed
  transition timing, in which adjustControlSize() would show the controlBar
  set hidden by the transition.

MozReview-Commit-ID: DB2cgQcUEXi

--HG--
extra : rebase_source : 2a715038197aa29d3eaf837fad85797ec1e98b15
2018-03-30 00:21:03 +08:00
Timothy Guan-tin Chien
e4fc6df0d3 Bug 1449532 - Part I, Backed out changeset 99fc41ec7ce9 (Bug 1444489 Part VIII) r=Gijs
MozReview-Commit-ID: LQhZq0RlOvi

--HG--
extra : rebase_source : 7d8083da7205cdd5abfd2669871b405b9e52718f
2018-03-28 19:22:03 +08:00
Timothy Guan-tin Chien
e470a057a1 Bug 1444489 - Part VIII, Transition the visibility property instead of using transitionend event r=Gijs
Fades out all the UIs by applying CSS transition on opacity and visibility.
Stop relying on transitionend event to set the hidden state.

This removes a source of intermittent failure and while making sure UIs are
hidden.

MozReview-Commit-ID: FR7JQn4eO3X

--HG--
extra : rebase_source : d62faf9eb8c1cab72e9a0e445974be67e7ff5c85
2018-03-16 06:55:58 +08:00
Timothy Guan-tin Chien
164b1df8be Bug 1444489 - Part VI, Enlarge the size of controls on mobile r=e7358d9c+590837,Gijs
Enlarge controls by around 1.3x, which is the size of the original touch controls.

MozReview-Commit-ID: kpgFFIW2hh

--HG--
extra : rebase_source : 66636a0cb15a17ef15c2a2307a2f9100c1852480
extra : source : ae615321dc9b3e6276d8e79285d0e9d65b6d6bc2
2018-03-09 17:00:51 -08:00
Timothy Guan-tin Chien
64808cfafc Bug 1444489 - Part II, Replace touchControls with videoControls and remove touchControls r=Gijs
Also migrates TouchUtils to videoControls in order to keep some interactions.

Removed the casting button from TouchUtils (to be add back to Utils in the next
commit; not removing the SVG images for hg annotation)

MozReview-Commit-ID: DzhmjykCLzu

--HG--
extra : rebase_source : d77dfe3e2d9de2087d21dc2fb9b1773e710177d7
2018-03-21 15:10:20 +08:00