Commit Graph

64 Commits

Author SHA1 Message Date
Jared Wein
e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jonathan Watt
6266ded185 Bug 1263332 - Avoid startup JavaScript strict warning in DirectoryLinksProvider.jsm. r=MattN 2016-04-12 16:10:25 +01:00
Olivier Yiptong
ca1ce2967c Bug 1240245 - Disable data collection for new-tab page r=jaws
--HG--
extra : rebase_source : 0fccb300b9e1411d4d3c7c08c53be28dd3940d7e
2016-01-20 16:58:01 -05:00
Olivier Yiptong
268f43e4f7 Bug 1218996 - Allow Remote New Tab to ride release trains r=marcosc
--HG--
extra : rebase_source : 4f3e45ee392385451f979b084a1d3afab215b925
2016-01-11 20:30:24 -05:00
Olivier Yiptong
25a0061e43 Bug 1218996 - Remove now redundant messaging code for remote newtab r=marcosc
--HG--
extra : rebase_source : 667b19c153820198977d423703c08c0274a05c8f
2016-01-11 20:30:18 -05:00
Wes Kocher
1f00d8d838 Backed out 4 changesets (bug 1218996) for talos svg failures CLOSED TREE
Backed out changeset ba750628c4f3 (bug 1218996)
Backed out changeset 2205cce34824 (bug 1218996)
Backed out changeset 9410cbc0545e (bug 1218996)
Backed out changeset 7839222071ac (bug 1218996)

--HG--
extra : commitid : Ju4TBTVoAIr
2015-12-23 11:09:05 -08:00
Olivier Yiptong
c04bec08b0 Bug 1218996 - Allow Remote New Tab to ride release trains r=marcosc
--HG--
extra : rebase_source : f8df0d27eddf8e4d112d7fa8e954c08f38f22069
2015-12-21 16:14:38 -05:00
Olivier Yiptong
e725cd46a8 Bug 1218996 - Remove now redundant messaging code for remote newtab r=marcosc
--HG--
extra : rebase_source : b79e21fb4898742b2e8ccefd4309f6eea2bd5ff5
2015-12-21 16:14:33 -05:00
Gijs Kruitbosch
2a29a25860 Bug 1233470 - make browser/modules eslintable, r=Mossop
--HG--
extra : commitid : IZkQYhmLl9V
extra : rebase_source : 82bd0ac1e9f3b3267d60d127758fa5771a5e9fc9
extra : amend_source : aa17ba3c05cd56840df3c986ba04221beeac2026
2015-12-17 18:31:08 +00:00
Olivier Yiptong
a10c269286 Bug 1224950 - Limit Message-Using Remote New Tab to Nightly and Aurora r=mconley
--HG--
extra : commitid : 7WhGDvbiS1o
2015-11-19 16:51:45 -05:00
Maxim Zhilyaev
c6aaea2687 Bug 1224310 - Suggested tiles requires two blocks to stop showing in newtab [r=marcosc] 2015-11-14 06:10:29 -08:00
Olivier Yiptong
c84ef61eea Bug 1214287 - 2-4% linux64/win7/8 ts_paint regression on inbound (v.44) seen on Oct 12, 2015 from rev 3012b7a2c97c r=mconley
--HG--
extra : commitid : 2b5S3mpFBf2
2015-10-30 23:00:35 -04:00
Maxim Zhilyaev
2853b7dd46 Bug 1204361 - New Tab Page doesn't honor my "x" clicks on Suggested Tiles; instead of removing the tile, it swaps in a very similar one. [r=emtwo] 2015-10-22 07:18:02 -07:00
Tooru Fujisawa
a9ba6e8360 Bug 1207490 - Part 11: Remove use of expression closure from browser/modules/DirectoryLinksProvider.jsm. r=Gijs
--HG--
extra : commitid : 6BrNT0HYiLb
extra : rebase_source : ca65a71ce1bbb287c431824ed1aed300ebd45996
2015-09-23 17:57:45 +09:00
Dave Townsend
a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Wes Kocher
468b697f04 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend
fb7653707b Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : FuPUB9X4oYJ
extra : rebase_source : cfcd31d7da5f5b636a2ec11546dbada973d681de
extra : histedit_source : 3df840dc502c6ee4177f1858920d1260e4dc27af
2015-09-14 11:04:19 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Marina Samuel
ce263b9f80 Bug 1203577 - Remove hardcoded adgroup buckets. r=Mardak. 2015-09-14 14:44:51 -04:00
Nihanth Subramanya
b2fa1cbd22 Bug 1171344 - Update in-content search UI tests. r=adw
--HG--
rename : browser/base/content/test/general/browser_searchSuggestionUI.js => browser/base/content/test/general/browser_contentSearchUI.js
rename : browser/base/content/test/general/searchSuggestionUI.html => browser/base/content/test/general/contentSearchUI.html
rename : browser/base/content/test/general/searchSuggestionUI.js => browser/base/content/test/general/contentSearchUI.js
extra : amend_source : 9c4e36512a0deec03af39a1f0aaee3a1312aa7a5
2015-06-29 13:52:22 -07:00
Ryan VanderMeulen
d7e5192373 Backed out changesets 7f2ddcfe4537 and e88770aa2160 (bug 1171344) for intermittent OSX browser_tabopen_reflows.js failures.
--HG--
rename : browser/base/content/contentSearchUI.css => browser/base/content/searchSuggestionUI.css
rename : browser/base/content/contentSearchUI.js => browser/base/content/searchSuggestionUI.js
rename : browser/base/content/test/general/browser_contentSearchUI.js => browser/base/content/test/general/browser_searchSuggestionUI.js
rename : browser/base/content/test/general/contentSearchUI.html => browser/base/content/test/general/searchSuggestionUI.html
rename : browser/base/content/test/general/contentSearchUI.js => browser/base/content/test/general/searchSuggestionUI.js
2015-07-16 21:42:22 -04:00
Nihanth Subramanya
a10ae2709a Bug 1171344 - Update in-content search UI tests. r=adw
--HG--
rename : browser/base/content/test/general/browser_searchSuggestionUI.js => browser/base/content/test/general/browser_contentSearchUI.js
rename : browser/base/content/test/general/searchSuggestionUI.html => browser/base/content/test/general/contentSearchUI.html
rename : browser/base/content/test/general/searchSuggestionUI.js => browser/base/content/test/general/contentSearchUI.js
extra : rebase_source : 5026d41213c8ebfbdcb56b0a5e88e4d8b0fc22d8
2015-06-29 13:52:22 -07:00
Maxim Zhilyaev
2edeb7cc5c Bug 1161656 - Report total views preceding a click [r=adw] 2015-07-09 23:03:05 -07:00
Maxim Zhilyaev
2b90bd3e49 Bug 1178586 - Pinned suggested tile loses "history" type after a click [r=adw] 2015-07-08 07:28:13 -07:00
Mike Hommey
a99e964614 Bug 1094324 - Set browser.newtabpage.enhanced default in prefs. r=adw
The current behavior is that if there is no user pref, it is set to true or
false depending on the value of privacy.donottrackheader.enabled, but
completely ignoring the global default.

This patch changes the behavior such that:
- browser.newtabpage.enhanced's default value is set as a global default
- it is also set as sticky, so that even when the same value as the default is
  set, prefHasUserValue is true.
- The introduction is not shown when the default for browser.newtabpage.enhanced
  is false. It is however shown when the pref is flipped for the first time.
2015-06-30 07:30:33 +09:00
Marina Samuel
6016450080 Bug 1169366 - Bucket updates & escaping html characters. r=Mardak 2015-06-16 16:14:54 -07:00
Maxim Zhilyaev
99ab481e6c Bug 1159884 - Implement inadjacency with a hardcoded list of hashed sites [r=adw] 2015-05-20 17:21:16 -07:00
Ed Lee
fb98b283b1 Bug 1157810 - Enforce that tile images are loaded from mozilla.net [r=adw, f=bsmedberg] 2015-05-14 16:46:39 -07:00
Marina Samuel
33263c6e66 Bug 1139496 - Allow server provided explanation / ad group name to be displayed on Suggested Tiles [r=adw, f=bsmedberg] 2015-05-19 12:42:08 -07:00
Ed Lee
bdb93184b4 Bug 1160369 - Allow for sponsored suggested tiles [r=adw] 2015-05-14 16:01:47 -07:00
Ed Lee
003696dd05 Bug 1158208 - Enforce that tiles HTTP requests don't have cookies [r=adw] 2015-05-11 17:09:29 -07:00
Nicholas Nethercote
6dc67d00a1 No bug - Remove extraneous semicolon in DirectoryLinksProvider.jsm. r=glandium. 2015-05-11 16:11:48 -07:00
Maxim Zhilyaev
fcfa8d9127 Bug 1159571 - Use server provided frequency caps for daily and lifetime totals [r=adw] 2015-05-08 09:20:18 -07:00
Maxim Zhilyaev
a843ee9494 Bug 1156549 - Allow ramp up time for campaigns with strict start/stop times [r=adw] 2015-05-06 12:09:45 -07:00
Ed Lee
a53c40df76 Bug 1148862 - Update pref to the new v3 endpoint [r=adw] 2015-04-01 01:02:50 -07:00
Ed Lee
1da5e819af Bug 1152145 - Filter for specific suggested tiles adgroups/buckets/frecent_sites lists with display name [r=adw]
Use a set of predefined lists of allowed sites with explicit names.
2015-04-07 19:13:46 -07:00
Marina Samuel
b8400eafd3 Bug 1139052 - Don't show suggested tiles for users with fewer than 8 history tiles. r=adw 2015-04-14 14:39:50 -04:00
Marina Samuel
88616f3a59 Bug 1151876 - Blocking a targeted tile should remove its associated suggested tile in the next new tab. r=adw 2015-04-14 14:34:32 -04:00
Marina Samuel
fada1e8aae Bug 1149682: Don't cache (or show) sponsored suggested links. r=adw 2015-04-01 17:34:21 -04:00
Marina Samuel
1f1e082198 Bug 1149680: Send the Firefox channel on fetch. r=adw 2015-04-01 17:30:28 -04:00
Marina Samuel
02b3ec0a15 Bug 1105360: Only enhance tiles that are under the 'enhanced' key. r=adw 2015-04-01 17:26:46 -04:00
Ed Lee
fa8436c5d6 Bug 1148938 - Temporarily test suggested tiles for Nightly and Aurora [r=adw]
Temporarily switch to a local source with test suggested data.

--HG--
extra : rebase_source : 474a5dcc0800dbcb7d79807ed70fe1f98230d231
2015-03-29 23:43:30 -07:00
Ed Lee
58a4893d8d Bug 1149021 - Suggested tile with just an image shows a thumbnail instead [r=adw]
Use Object.assign to copy over base values into a new link with extra attributes.

--HG--
extra : rebase_source : a46c5a501d4611bf373e5b20179de286cd1de8c4
2015-03-29 23:30:54 -07:00
Marina Samuel
a660fe51ad Bug 1136203 - Remove thumbnail/title replacing functionality for history tiles. r=adw 2015-03-27 17:57:11 -04:00
Ed Lee
edc8b399f9 Bug 1140496 - Only show a suggested tile url for some number of times or until clicked [r=adw]
Default to a hardcoded frequency cap that decreases by 1 per view or all for a click.

--HG--
extra : rebase_source : 23e3d55ab1fd78f84b9b1807b91ea066fa758ed5
2015-03-22 00:46:26 -07:00
Marina Samuel
49c5893d01 Bug 1136208 - Change all references of 'related' to 'suggested' r=adw 2015-03-26 17:23:21 -04:00
Marina Samuel
95e6c5d809 Bug 1143745 - Update the way Firefox reads directoryLinks.json sent from the server for the tiles v3 endpoint. r=adw 2015-03-26 17:17:59 -04:00
Marina Samuel
b682e44acd Bug 1143797 - Allow clicking on suggested explanation text to see overlay explaining the suggested tile. r=adw 2015-03-26 17:05:44 -04:00
Marina Samuel
39a1681b62 Bug 1126188: Show suggested tile explanation text under a suggested tile. r=adw 2015-03-20 16:39:09 -04:00