Commit graph

220 commits

Author SHA1 Message Date
Aryeh Gregor
76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Dão Gottwald
836ac9cc86 Bug 1279476 - Fix search arrow background styling in about:home and about:newtab. r=florian 2016-06-10 18:25:50 +02:00
Florian Quèze
8d9648c3dd Bug 1206709 - [RTL] mispositioned separators between one-off buttons in the searchbar panel, original patch by johngraciliano, r=adw. 2016-06-10 09:52:19 +02:00
Florian Quèze
83893d9c78 Bug 1278546 - [RTL] The search go arrow should point left, r=dao. 2016-06-10 09:52:00 +02:00
L. David Baron
d097996b85 Bug 1111440 - Replace -moz- prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g

While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.

Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.

MozReview-Commit-ID: EiQTuuV0MNQ
2016-05-12 22:19:58 -07:00
Astley Chen
d626fe0c49 bug 859301 : Part 2 - unprefix internal css files. r=dbaron
MozReview-Commit-ID: CRyp3zQxayh

--HG--
extra : rebase_source : 6b4a5d3e5292a1bdeceab37c5067c78fac69834a
2016-05-04 13:31:24 +08:00
Jonathan Watt
18119d61b6 Bug 1263256 - Silence startup JavaScript strict warning in chrome://browser/content/newtab/newTab.js. r=MattN 2016-04-08 18:32:14 +01:00
Kris Maglione
bf8aa934ca Bug 1252239: Trap errors thrown by speculativeConnect. r=ttaubert
MozReview-Commit-ID: Bbik1htw3qk

--HG--
extra : rebase_source : 9f0667a66e9447e3bdd4acb3af7d92f8bd27d240
2016-02-29 13:06:26 -08:00
bsilverberg
81f0639812 Bug 1248978 - Fix spelling error in page.js. r=jdm
MozReview-Commit-ID: LrZ4EZmwUy

--HG--
extra : transplant_source : %BE%A9%01d%D6k%8A%04%1A%EA%40%16%3F%3DIc%19E%3F%14
2016-02-17 10:01:27 -05:00
Jared Wein
21f682effb Bug 1229636 - Remove new tab first time use message. r=gijs
--HG--
extra : transplant_source : 6g%D7%0DmJ7%F5%08%90%16%F8%A9%15%0B%2C%BE%3EC%FA
2016-01-08 17:31:14 -05:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08: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
Maxim Zhilyaev
d62f1d47f9 Bug 1210091 - New Tab Page Drag&Drop Causes Overlapping Tiles. [r=mcaceres] 2015-10-11 18:44:37 -07:00
Carsten "Tomcat" Book
363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Maxim Zhilyaev
85fa1a2883 Bug 1196437 - Moving a sponsored tile in newtab breaks various things [r=marcosc] 2015-09-26 13:26:26 -07:00
Maxim Zhilyaev
38b058dca8 Bug 1199795 - New Tab's height doesn't update the same moment when I delete extra tiles/choose "show blank page" [r=marcosc] 2015-09-26 13:26:26 -07: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
Mason Chang
7c8b086a65 Bug 1197361. Optimize page thumbnails based on screen size. r=ttaubert 2015-09-25 11:27:16 -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
Maxim Zhilyaev
5c36aae9cb Bug 1188015 - Tile Bottom Bar: Automatic Color [r=emtwo] 2015-09-04 06:34:20 -07:00
Ryan VanderMeulen
6d6fe46972 Backed out changeset a6b0cad8fbc2 (bug 1199692) for causing frequent Win8 browser_private_search_perwindowpb.js timeouts.
CLOSED TREE
2015-08-31 22:43:41 -04:00
Marina Samuel
a430976514 Bug 1199692 - Open 'Learn more' link in a new tab. r=Mardak 2015-08-31 16:39:28 -04:00
Maxim Zhilyaev
35f85df452 Bug 1194895 - New tab page has unnecessary (or marginally-necessary) vertical scrollbar at various sizes. [r=emtwo] 2015-08-26 14:56:19 -07:00
Maxim Zhilyaev
71f8babb4a Bug 1186596 - Tile title bar enhancements. [r=emtwo] 2015-08-20 10:39:43 -07:00
Maxim Zhilyaev
d00c100f3a Bug 1195321 - 'Thumbnail removed' message overlaps search bar from newtab. [r=Mardak] 2015-08-20 10:17:45 -07:00
Maxim Zhilyaev
8fe529588b Bug 1180387 - New Tab Page doesn't show websites (wrong number of rows or lines) [r=emtwo] 2015-08-13 11:12:41 -07:00
Justin Crawford
d505bd22c2 bug 1184369 - Add hover styling to paragraph links in newtab intro. r=msamuel
--HG--
extra : commitid : G6zYoIjY2vM
2015-08-05 23:40:44 -07:00
Ursula
d16a40a831 Bug 1167601 - Convert newTab.xul to newTab.xhtml. r=mconley
--HG--
rename : browser/base/content/newtab/newTab.xul => browser/base/content/newtab/newTab.xhtml
extra : commitid : 33BT0Kzei0K
extra : rebase_source : 218e167293315c58727d55676ec6148e0cda627c
extra : amend_source : 7810e59a11fb6d636c71d0821fbccd5391f258b6
2015-06-15 10:23:33 -04:00
Justin Crawford
daf0bbf51b Bug 1169241 - Add hover style to footer links in newtab intro. r=emtwo 2015-07-21 14:30:32 -06:00
Ursula
e6703908db Bug 1186062 - newtab-customize-panel doesn't have rounded edges. r=mstange.
--HG--
extra : commitid : 1GXuCJkRLi1
extra : amend_source : eedca216bf794d988409091776c3d5ff433b28eb
2015-07-21 13:48:16 -04:00
Maxim Zhilyaev
13fd558e67 Bug 1183932 - Update onboarding for Fx 40 with single slide [r=emto, feedback=flod] 2015-07-20 22:17:09 -07:00
Nihanth Subramanya
351d64b267 Bug 1171344 - [implement] One-off searches on about:home and about:newtab. r=adw
--HG--
rename : browser/base/content/searchSuggestionUI.css => browser/base/content/contentSearchUI.css
rename : browser/base/content/searchSuggestionUI.js => browser/base/content/contentSearchUI.js
2015-06-29 13:52:20 -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
6e888d2fe5 Bug 1171344 - [implement] One-off searches on about:home and about:newtab. r=adw
--HG--
rename : browser/base/content/searchSuggestionUI.css => browser/base/content/contentSearchUI.css
rename : browser/base/content/searchSuggestionUI.js => browser/base/content/contentSearchUI.js
extra : rebase_source : 430736ce8dab32c7aad917ee87586ba2416d4dd3
2015-06-29 13:52:20 -07:00
Maxim Zhilyaev
dc31dd4a7f Bug 1178966 - Add FHR probe to measure eyeball time spent on newtab [r=bsmedberg] 2015-07-08 21:41:10 -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
Ursula Sarracini
a28e692609 Bug 1176517 - A white square is hiding text in New Tab tour. r=mardak 2015-06-21 01:14:51 -04:00
Ursula
cc9b1206a6 Bug 1175657 - The newtab customize panel is on the wrong side of the screen in RTL mode. r=mconley.
--HG--
extra : commitid : BH1ya1Q41DW
extra : rebase_source : 33a557ef7717b8992fbc0a08e74ff4aa5c9a7a76
2015-06-17 16:12:46 -04:00
Ursula
d7ea881063 Bug 1168589 - Convert newtab-customize-panel into an HTML element. r=mconley, feedback=emtwo.
--HG--
extra : commitid : 82LlZsyBQH6
extra : rebase_source : f02239b28e596503b50801b606336db2bdaa1efe
extra : amend_source : ee648b4c9521cdfd6ce35a994dc688133881fec9
2015-06-15 15:36:43 -04:00
Marina Samuel
1654f7f7a0 Bug 1158858 - Move 'suggested' and 'sponsored' labels to the top left of the tile. r=Mardak 2015-06-13 20:26:51 -07:00
Marina Samuel
245fff1c16 Bug 1165594 - Appropriately style new tab cog menu for RTL. r=Mardak 2015-06-12 11:43:58 -04:00
Marina Samuel
3512c5b545 Bug 1172987 - Incorrect padding for various locales. r=Mardak. 2015-06-11 14:09:13 -04:00
Marina Samuel
0a736201fd Bug 1164594 - Part 2b New Tab menu shouldn't use text-transform: uppercase [r=Mardak]
--HG--
extra : amend_source : 02a84f2e00fe5435c9169a7f6d2f95d4afdc22fd
2015-06-05 02:48:38 -07:00
Ursula
a2bdf04cfd Bug 1145303 - Remove unused 'What is this page?' link and related intro messaging. r=mconley 2015-05-22 15:52:43 -04:00
Ed Lee
f955a0aaf7 Bug 1167805 - Not enough padding for page title causing pin icon to overlap [r=adw] 2015-05-22 17:37:21 -07:00
Maxim Zhilyaev
620576d637 Bug 1145428 - Suggested Tiles pins (becomes a user history tile after end time) [r=adw] 2015-05-22 16:30:21 -07:00
Ed Lee
8c3e645451 Bug 1165525 - Onboarding messaging poorly words how to turn off suggestions by implying blank is the only way [r=adw] 2015-05-20 16:29:49 -07:00
Nihanth Subramanya
9d7e8dcce6 Bug 1166465 - about:home and about:newtab search suggestions should use openUILink. r=adw 2015-05-19 16:13:40 -07:00