Skip to content

Commit 1835cf3

Browse files
committed
[fix bug 1124628] Remove pinned tab APIs from UITour lib & docs
1 parent 67fc393 commit 1835cf3

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

docs/uitour.rst

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ and ``effect`` is the animation type:
6868
6969
Target types:
7070

71-
* ``'pinnedTab'``
7271
* ``'accountStatus'``
7372
* ``'addons'``
7473
* ``'appMenu'``
@@ -253,25 +252,6 @@ Cycles through an array of themes at a set interval with a callback on each step
253252
* ``delay`` in milliseconds (number)
254253
* ``callback`` to excecute at each step (function)
255254

256-
addPinnedTab()
257-
^^^^^^^^^^^^^^
258-
259-
Adds a pinned tab to the browser window. For security reasons the URL for this pinned tab
260-
is hard-coded in the browser, and currently points to ``https://support.mozilla.org/kb/pinned-tabs-keep-favorite-websites-open``
261-
262-
.. code-block:: javascript
263-
264-
Mozilla.UITour.addPinnedTab();
265-
266-
removePinnedTab()
267-
^^^^^^^^^^^^^^^^^
268-
269-
Removes the pinned tab if one was created.
270-
271-
.. code-block:: javascript
272-
273-
Mozilla.UITour.removePinnedTab();
274-
275255
getConfiguration(type, callback)
276256
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
277257

media/js/firefox/australis/australis-uitour.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,6 @@ if (typeof Mozilla == 'undefined') {
146146
nextTheme();
147147
};
148148

149-
Mozilla.UITour.addPinnedTab = function() {
150-
_sendEvent('addPinnedTab');
151-
};
152-
153-
Mozilla.UITour.removePinnedTab = function() {
154-
_sendEvent('removePinnedTab');
155-
};
156-
157149
Mozilla.UITour.showMenu = function(name, callback) {
158150
var showCallbackID;
159151
if (callback) {

0 commit comments

Comments
 (0)