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

245 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 7af37a52bd Merge mozilla-central to mozilla-inbound 2017-06-23 11:44:21 +02:00
Florian Quèze 2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze 721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Florian Quèze c3a5e47cea Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Rex Lee 4ae765a391 Bug 1374174 - Package UITour-lib.js only in onboarding extension to prevent noreference error. r=mossop
MozReview-Commit-ID: Fbxexo179pk

--HG--
extra : rebase_source : 479ec91fc056a012c42954aa65e6dd77984f92f4
2017-06-22 16:19:16 +08:00
Paolo Amadini 10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Edouard Oger b599411285 Bug 1369119 - Refresh known stale devices list on FxA device disconnect. r=markh
MozReview-Commit-ID: A2iqas0kP20

--HG--
extra : rebase_source : 15db886e4751885e173a55c561df7ea1a3b2871b
2017-06-06 14:28:00 -04:00
Rex Lee 8054139b8e Bug 1357026 - Open about:accounts with pre-filled email account from UITour. r=Gijs,MattN
MozReview-Commit-ID: JWFuEufGRYB

--HG--
extra : rebase_source : bf030da006a89269e6bca246a0d24fa0f3d6458b
2017-06-16 15:20:34 +08:00
Gijs Kruitbosch c6cf08cedd Bug 1372309 - fix browser_sync.js and browser_UITour_availableTargets.js to work with photon structure enabled, r=mikedeboer
MozReview-Commit-ID: 4bsqWScnRo2

--HG--
extra : rebase_source : a1b0f0dbd35054903469ae1623f56be9d038ad83
2017-06-14 10:18:27 +01:00
Rex Lee a073107ace Bug 1357049 - add one button in the Private Browsing and Search tour of onBoarding overlay to demonstrate the corresponding features. r=Fischer,gasolin,mossop
MozReview-Commit-ID: HIQOhWFVopb

--HG--
extra : rebase_source : f61314f4d879478030219c44a290814f2cf30d44
2017-06-09 21:54:07 +08:00
gasolin fe23e74717 Bug 1371144 - Add the library button as a UITour target. r=MattN
MozReview-Commit-ID: BSGMbdlujrC

--HG--
extra : rebase_source : ebb55cc2f6b13d801b03a9a3d86a0f79f6fe77b9
2017-06-09 16:35:21 +08:00
Gijs Kruitbosch c2f80065e2 Bug 1359137 - update UITour to highlight in new panel where appropriate, r=MattN
MozReview-Commit-ID: Asigfu41hTv

--HG--
extra : rebase_source : c0d01ebe5e5437c876ff97c4aa55f3091875a9dd
2017-05-31 13:41:07 +01:00
Shih-Chiang Chien 97f5f8bc70 Bug 1015466 - Part 6, wait "http-on-opening-request" after tracker iframe is inserted. r=MattN
The tracking protection status will be updated after nsHttpChannel.asyncOpen on chrome process and it is asynchronously triggered by inserting the tracker iframe.
This is not guaranteed to be happened before the |showMenuPromise|.
Waiting for "http-on-opening-request" on chrome process before "showMenuPromise" is invoked can ensure the tracking protection status is updated when the menu is shown.

MozReview-Commit-ID: INjaJUMLvZU

--HG--
extra : rebase_source : 1bf32151d3134b3527978934afc4c7405dc60b3e
2017-05-23 13:29:52 +08:00
Mike Cooper 3d6a5d153b Bug 1366005 - Remove UITour.showHeartbeat. r=MattN
MozReview-Commit-ID: 7VCJsJK9Bph

--HG--
extra : rebase_source : 006794e29814e091e145a0925d98919f850dfe57
extra : source : eb7038119e3a6f58f89bd75d40386cca41b9bbb9
2017-05-18 10:53:38 -07:00
Fischer.json 49a442f2dd Bug 1335454 - Add the ability to open the "Data Choices" options section through UITour, r=jaws
This patch does:
- Update UITour.jsm to make websites able to open to the old Prefernces advanced pane > dataChoicesTab by calling `Mozilla.UITour.openPreferences("privacy-reports")`.
- Update the comments of `Mozilla.UITour.openPreferences` to explain the old and new Preference to api users.

MozReview-Commit-ID: IdNDKiqfxKo

--HG--
extra : rebase_source : 520d3df019f37f8f6f581774b0b315a958d5246f
2017-04-23 16:27:26 +08:00
Ryan VanderMeulen 914a8f22a9 Backed out changesets 7662d766f166 and fc2c82d8ba22 (bug 1366005) for browser_all_files_referenced.js failures on a CLOSED TREE. 2017-05-26 13:31:52 -04:00
Mike Cooper 0bbe471ef7 Bug 1366005 - Remove UITour.showHeartbeat r=MattN
MozReview-Commit-ID: 7VCJsJK9Bph

--HG--
extra : rebase_source : 700dab9d26b56abf769980e31b68f784b7150415
extra : source : eb7038119e3a6f58f89bd75d40386cca41b9bbb9
2017-05-18 10:53:38 -07:00
Phil Ringnalda 6645d0c44d Backed out changeset 764076f746f1 (bug 1335454) for failures in browser_openPreferences.js on ASan
MozReview-Commit-ID: HVR1L82G9i1
2017-05-25 08:35:27 -07:00
Fischer.json fe0aa6f6a1 Bug 1335454 - Add the ability to open the "Data Choices" options section through UITour, r=jaws
This patch does:
- Update UITour.jsm to make websites able to open to the old Prefernces advanced pane > dataChoicesTab by calling `Mozilla.UITour.openPreferences("privacy-reports")`.
- Update the comments of `Mozilla.UITour.openPreferences` to explain the old and new Preference to api users.

MozReview-Commit-ID: IdNDKiqfxKo

--HG--
extra : rebase_source : a48e0029486b3dacd8ca0b095fd3b88c0b823532
2017-04-23 16:27:26 +08:00
Chris AtLee 2dd73df1e4 Bug 1363853: Remove LWT footers r=Gijs
MozReview-Commit-ID: 90sm2IcUmxf

--HG--
extra : rebase_source : 4be48d509c685763b2e5a94bd228bb9c56a6074a
2017-05-24 09:21:51 -04:00
Gijs Kruitbosch d4da052d31 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl

--HG--
extra : rebase_source : a4b4121fd729072ff9d2d37b01b6bea7ae27948a
2017-05-09 15:56:19 -04:00
Carsten "Tomcat" Book e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Florian Quèze 97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze 4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze 1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze 16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze 5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Wes Kocher ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Fischer.json 7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Edouard Oger b3b3ff9cc5 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : dcba087df94d06b15c9f073ff2df3324fd646c57
2017-04-18 14:15:43 -04:00
Sebastian Hengst 18253e3fa2 Backed out changeset 0a0138825fb5 (bug 1353571)
--HG--
rename : browser/base/content/test/sync/accounts_testRemoteCommands.html => browser/base/content/test/general/accounts_testRemoteCommands.html
rename : browser/base/content/test/sync/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/sync/content_aboutAccounts.js => browser/base/content/test/general/content_aboutAccounts.js
2017-05-03 21:56:44 +02:00
Edouard Oger c11e66021d Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : aa6cb209d312c6ef3f45589b0fd8fa8a39c612e3
2017-04-18 14:15:43 -04:00
Julian Descottes 3953540654 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf

--HG--
extra : rebase_source : 6fc322700f3d2113c813f2a33c09abc3ba865405
2017-05-02 22:56:40 +02:00
Mike Conley 009b75654d Bug 1336763 - Don't wait for response from content process in browser_closeTab.js UITour test to avoid a timeout. r=MattN
The closeTab API call from UITour tells the parent process to close the current tab,
and doing so might end up disconnecting the message manager. This means that the
Promise that the ContentTask returns may never resolve. Instead of waiting for it
to resolve, we just wait for the TabClose event in the parent process.

MozReview-Commit-ID: Ci7ck9j4llK

--HG--
extra : rebase_source : a7d3625cc001072c097af5c3f78dd19585f68e4e
2017-04-27 15:04:46 -04:00
Florian Queze 6a5b7fdb1f Bug 1349742 - avoid initializing UITour whenever about:home is loaded, r=MattN. 2017-04-19 13:37:09 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Gijs Kruitbosch 519b14ab26 Bug 1356030 - move HiddenFrame.jsm to toolkit, r=kmag
MozReview-Commit-ID: DUuYqamNMdT

--HG--
rename : browser/modules/HiddenFrame.jsm => toolkit/modules/HiddenFrame.jsm
extra : rebase_source : 7624e178fd2ba0ca9ba6d624ff2d18156e8d90fe
2017-04-13 11:42:56 +01:00
Mark Banner 92c422a2d6 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR

--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Matthew Noorenberghe b384d62bfc Bug 1310150 - Document UITour-exposed data and methods using jsdoc. r=Gijs
MozReview-Commit-ID: Eh5FYP4oaS1

--HG--
extra : rebase_source : 5f790c254669eadcf4791e4e71d21717ca58a83c
2017-03-31 15:38:24 -07:00
Jared Wein a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Florian Quèze 9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Florian Quèze 37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Mark Banner 561b6cfb0c Bug 1344027 - Fix most of the remaining ESLint no-undef issues in browser/components. r=jaws
MozReview-Commit-ID: DUnxVITvZgh

--HG--
extra : rebase_source : abe5adf3b024a45c2804d048f078c6a59a936242
2017-03-03 09:29:14 +00:00
Matthew Noorenberghe 8e6dfd43c3 Bug 1342462 - UITour: Remove automatic reader view tour based on a URL regex. r=Gijs
MozReview-Commit-ID: 1GCx4tOtjXA

--HG--
extra : rebase_source : 61e0798dc9d6315da864af63a10c78e9874eb039
2017-02-28 21:52:54 -08:00