Commit graph

88 commits

Author SHA1 Message Date
Mike de Boer
d16ee58ded Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
MozReview-Commit-ID: 9qzq1aGvjDu

--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Sebastian Hengst
3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Peter Van der Beken
6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gijs Kruitbosch
bc72f5ea01 Bug 1435217 - move pocket initialization to delayed-browser-startup, r=jaws
MozReview-Commit-ID: HFR2VHOliK3

--HG--
extra : rebase_source : a8a2ae76a7d1b063335ef705a97f9ef0c5d0262a
2018-02-02 14:20:06 +00:00
Gijs Kruitbosch
5a980122fd Bug 1435217 - remove vestiges of dead pocket toolbar/panel button and always-hidden bookmarks menu button panel menu item, r=jaws
MozReview-Commit-ID: 9V7w9VnTZTN

--HG--
extra : rebase_source : 7e5d45c9b38f3702c0a81d2386f51f5ef1b6ed80
2018-02-02 11:54:24 +00:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Drew Willcoxon
65176851c3 Bug 1417036 - "Save to Pocket" drop down menu glitches. r=Gijs
MozReview-Commit-ID: 1JPOmQNLn26

--HG--
extra : rebase_source : ec596c222caa916b02897cbbd36f4a9ae614e518
2017-11-15 10:44:47 -08:00
Drew Willcoxon
46c5139ac2 Bug 1413574 - Hide disabled page actions and offer a "Manage Extension" command for actions in extensions. r=Gijs
MozReview-Commit-ID: HJpu9Jfi2bB

--HG--
extra : rebase_source : ee219138b8df1744c223d81281d9525c3d7b7227
2017-11-10 11:06:02 -05:00
Drew Willcoxon
13280ee095 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: Photon page action changes. r=jaws
MozReview-Commit-ID: BOEhQEJbUNO

--HG--
extra : rebase_source : ff88d19669530269486d3441fe9cbebe6c73090b
2017-10-30 17:47:54 -04:00
Phil Ringnalda
c21a471320 Backed out 2 changesets (bug 1412170) for eslint bustage
Backed out changeset a9a646fe54ec (bug 1412170)
Backed out changeset 8b46ed411edf (bug 1412170)

MozReview-Commit-ID: Et3MnX3ieBe
2017-10-30 14:21:45 -07:00
Drew Willcoxon
cdfcd527d8 Bug 1412170 - Integrate WebExtension page action context menus with the Photon page action context menu: Photon page action changes. r=jaws
MozReview-Commit-ID: BOEhQEJbUNO

--HG--
extra : rebase_source : 4cfa98799c5b1a673efe52c37e595c88cbd71902
2017-10-30 16:53:21 -04:00
Drew Willcoxon
6d7492ef9b Bug 1395387 - Reconcile WebExtension page actions and Photon page actions: Photon page actions changes. r=Gijs
MozReview-Commit-ID: 5NOc9N2idRE

--HG--
extra : rebase_source : 17e91f9b85bfb49d6fdf29c25bfba7a7c4f86452
2017-10-27 17:39:38 -04:00
Jared Wein
e42a0ecfec Bug 1410985 - Run the pocket-library animation if the item was added, regardless of the position of the Pocket button. r=adw
MozReview-Commit-ID: H5jFPHeusJL

--HG--
extra : rebase_source : d2dde89cfb127ac47e0d4ba49c29d26649831f39
2017-10-24 17:40:59 -04:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Drew Willcoxon
9100f68edc Bug 1387141 - Pocket button does not stay red after URL pocketed and animation has finished. r=Gijs
MozReview-Commit-ID: KQVOUJUOfrx

--HG--
extra : rebase_source : 07e77c7835286c78789fc6c6ff553ae475f26e5e
2017-10-05 13:03:44 -07:00
Gijs Kruitbosch
c6ffe22372 Bug 1393843 - add telemetry for page action items and the context menu that enables/disables them, data-review=rweiss, r=adw,rweiss+418169
MozReview-Commit-ID: E52TGDLgjCC

--HG--
extra : rebase_source : 9a370490ec927bde37468295c1fb4415aa6e0212
2017-09-20 17:32:11 +01:00
Gijs Kruitbosch
5520fd7eb2 Bug 1401238 - remove pocket entries in bookmarks menu button panel and bookmarks menu, r=jaws
MozReview-Commit-ID: HPxVus6oXjS

--HG--
extra : rebase_source : 95c8ef96e42fe2001f45f5b53549662e55e320c2
2017-09-20 01:00:25 +01:00
Drew Willcoxon
67fd8c9838 Bug 1397501 - Page actions added to the urlbar should always come before the bookmark star. r=Gijs
MozReview-Commit-ID: 6pVlr9d0crn

--HG--
extra : rebase_source : 0f83a8ea8ada71bc6ce88859d09fc93460abafa3
2017-09-07 16:44:34 -07:00
Drew Willcoxon
de90ac28a4 Bug 1397609 - Fix a11y of bookmark star and Pocket urlbar buttons. r=Gijs
MozReview-Commit-ID: 30zJfz52uVB

--HG--
extra : rebase_source : c5a6a3dc5f9a66752e844c8ff18c7f66655a7325
2017-09-06 22:30:35 -07:00
Jared Wein
d395875dc0 Bug 1393565 - De-duplicate the JS code and CSS that sets the bookmark and pocket library animation. r=Gijs
MozReview-Commit-ID: Z1kIdrY2Um

--HG--
extra : rebase_source : fbff99adf6446d060f32cb49cfdce8a9912da891
2017-08-30 15:58:24 -04:00
Drew Willcoxon
8128003b90 Bug 1395743 - Pocket button should come before bookmarks star button in urlbar. r=Gijs
MozReview-Commit-ID: 2KPSv3Fy8kn

--HG--
extra : rebase_source : 714c1ae1faebc08f62d9898dfc2a455c486c802d
2017-09-01 14:46:52 -07:00
Drew Willcoxon
1f60dd6d1c Bug 1395178 - The new buttons that can be added to the toolbar don't announce themselves to screen readers as buttons. r=jaws
MozReview-Commit-ID: AvQD9Z9ySfu

--HG--
extra : rebase_source : 27b79ef79f6c2ecad8a8258245123b9dad94e7c5
2017-08-30 13:29:54 -07:00
Drew Willcoxon
73ad0ddaf3 Bug 1388835 - Hide page action urlbar buttons on about pages (about:preferences, etc.). r=Gijs
MozReview-Commit-ID: 9lid8VpPkJE

--HG--
extra : rebase_source : b57a37788f20345750d8daa5f73011bf6fac1ef8
2017-08-26 12:47:33 -07:00
Gijs Kruitbosch
27a784c809 Bug 1375806 - don't overwrite the current non-empty tab when viewing pocket list, r=mixedpuppy
This moves the logic into Pocket.jsm, and first determines the right place based on modifiers etc.
using whereToOpenLink. If that returns 'current', we override with 'tab' if and only if the current
tab is non-empty (so we'll reuse about:blank or about:newtab, but not tabs with a website / history).

MozReview-Commit-ID: H64bREBn8OU

--HG--
extra : rebase_source : 9f7df22d0fc08fcdb9e37b4cce0a95f9979b98e5
2017-08-23 23:31:19 +01:00
Jared Wein
e5bbbb1e79 Bug 1384953 - Run the library and pocket animations outside of the navigation-toolbar to workaround z-index issues with the selected tab. r=gijs
MozReview-Commit-ID: dXVThUXdXi
2017-08-09 20:36:17 -04:00
Drew Willcoxon
9def1e8a0e Bug 1388170 - Page Action Menu > Pocket needs to read "Save to Pocket". r=Gijs
MozReview-Commit-ID: KRK3GYion1t

--HG--
extra : rebase_source : ca8fab30ec6c99c00917f3a686be61cf51272646
2017-08-16 15:02:07 -07:00
Drew Willcoxon
3c27aee62b Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV

--HG--
extra : rebase_source : f87650ab8c09f7a313cda9b7ec73ee1e20d6fe34
2017-08-16 10:13:15 -07:00
Dão Gottwald
e2259fbc44 Bug 1389740 - Rename urlbar-icons to page-action-buttons. r=gijs
MozReview-Commit-ID: 980Rvv8mxtU
2017-08-14 16:45:17 +02:00
Jared Wein
baaaed0eec Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t

--HG--
extra : rebase_source : e862c01c1d71165ccd5d0932299c7f1fbdebe659
2017-08-08 11:56:49 -04:00
Wes Kocher
3c7cc8f012 Backed out changeset d4cc2f1e5c48 (bug 1387077) for windows debug crashtest failures a=backout
MozReview-Commit-ID: kEMoucDCJY
2017-08-10 15:46:38 -07:00
Jared Wein
8880224f6b Bug 1387077 - Reimplement Pocket animation in the Page Action area. r=adw
MozReview-Commit-ID: 5pJ96un8W5t

--HG--
extra : rebase_source : bef396788013f8ed60d72b01bf59e34e01d36209
2017-08-08 11:56:49 -04:00
Gijs Kruitbosch
8b5c74561f Bug 1383009 - fix tests, BrowserUITelemetry and pocket to deal with the changes to the navbar, r=jaws
MozReview-Commit-ID: 9dZI5AI3kvP

--HG--
extra : rebase_source : 5be8516451149b34b1ac758436027fde10f623f5
2017-08-08 15:09:44 +01:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Jared Wein
76f886b972 Bug 1385913 - Remove MOZ_PHOTON_ANIMATIONS ifdef. r=Gijs
MozReview-Commit-ID: 40TP43EKPCU

--HG--
extra : rebase_source : 203f7449e8345ed5c779dfc4fd5e9bd515b89da8
2017-08-07 12:37:34 -04:00
Sebastian Hengst
ca40024d84 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
45d5f35624 Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe

--HG--
extra : rebase_source : 20d6404db9f90cfcb7de03d4c527ad6ed79d49f8
2017-08-05 20:37:40 +02:00
Drew Willcoxon
7a295f2a10 Bug 1386474 - Pocket shouldn't assume that Photon page actions are enabled. r=mixedpuppy
MozReview-Commit-ID: H4sYvICRqx4

--HG--
extra : rebase_source : af35a035fbd4135a5ea874c3c3ce3c56cb33814f
2017-08-01 19:10:34 -07:00
Drew Willcoxon
b18ff3f722 Bug 1367927 - Add a "save to pocket" item to the page action menu. r=mixedpuppy
MozReview-Commit-ID: APmutOUh2Q6

--HG--
extra : rebase_source : 734be8511fd4ac21efbaf6182f644aa9a3930270
2017-08-01 10:17:00 -07:00
Jared Wein
b451d4ce96 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg

--HG--
extra : rebase_source : de322ffcc261ad3ef497ec82494056d44c767590
2017-07-21 18:00:01 -04:00
Wes Kocher
b33abfa979 Backed out changeset d4b7fc921b88 (bug 1355922) for assertions in test_display_mode.html a=backout
MozReview-Commit-ID: GQh4DRTEUJI
2017-07-21 00:36:41 -07:00
Jared Wein
3d8a18b1a2 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg

--HG--
extra : rebase_source : 216557e4bbb265c222b104f2314ac7a0e00fe459
2017-07-20 09:59:22 -04:00
Gijs Kruitbosch
9a80ff00c4 Bug 1354534 - add pocket item to photon library panel, r=mixedpuppy
MozReview-Commit-ID: BEgyelipo0j

--HG--
extra : amend_source : 9333c8c4c2af80ab15609132acc92e598f5a6557
2017-06-16 23:16:29 +01:00
Shane Caraveo
d76d15db1e Bug 1359851 - "Load SocialAPI providers lazily". r=mconley 2017-04-26 09:19:00 +02:00
Kris Maglione
b91438bf36 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4

--HG--
extra : source : c39985abd71ceaa90fef9c438cc7627667d2e024
extra : amend_source : 26f1aa9c2d2d7604b056ca88a1071ff5fb490dd8
2017-04-15 16:23:54 -07:00