Commit Graph

469828 Commits

Author SHA1 Message Date
Edouard Oger
d236e9ccd1 Bug 1241319 - Clarify synced tabs menu when not logged in. r=markh 2016-04-08 10:46:00 -04:00
Jan Henning
d80f435b5a Bug 1229259 - Always initialise new tabs with basic session store data. r=margaret
When opening a new tab, there is a small window between tab creation and the DOMTitleChanged event firing where the tab - if it is not created as a delay loaded zombie tab right away - won't have any session store data. However a number of functions (tab zombification and restoring of zombified tabs, undo close tabs) depend on the session store data always being available, so things can fall apart if e.g. a zombification is triggered immediately after opening a new tab.
This also means that a tab which is zombfied immediately after its creation (e.g. when a number of tabs are opened through tab queues on startup) is not included in a session save and will therefore get lost if Firefox is killed.

Therefore, we now always intialise new tabs with some basic session store data.

MozReview-Commit-ID: 9248jJFUaq5

--HG--
extra : transplant_source : %BC%7Ci%20%82%1E7%29%9E%0E7%87%ED-%0B%E0%84%86R%F9
2016-04-07 22:02:05 +02:00
Chenxia Liu
843dc034d5 Bug 1261760 - History tab empty state appears at incorrect times. r=sebastian
MozReview-Commit-ID: 6HtS53fuCHE

--HG--
extra : rebase_source : 4ff1290522fb87833375d53dfd6cbca79f78d257
2016-04-07 13:52:21 -07:00
Nick Alexander
2f5e25c629 Bug 1262890 - Don't require Android NDK for Gradle dependencies build. r=mcomella
MozReview-Commit-ID: 44sw2qDN76s

--HG--
extra : rebase_source : 3e0eb3682c232af2904dc5651e44b4065cce7e83
2016-04-07 10:18:22 -07:00
Dave Townsend
fc4c4ab84a Bug 1257246: Update devtools for eslint 2. r=pbro
ESLint 2 now flags anonymous generator functions according to
generator-star-spacing. Most of the changes here are correcting that.

MozReview-Commit-ID: 9xg2Gmlaz94

--HG--
extra : rebase_source : e6db0fd0ef477cd4fd2196b1036783f0974c586b
extra : histedit_source : 03eea033884969cc2a340316377318b0487ebdf2
2016-04-05 11:31:19 -07:00
Dave Townsend
b6c94f538f Bug 1257246: Update webextension APIs for eslint 2. r=kmag
ESLint 2 now flags anonymous generator functions that don't match the
generator-star-spacing rule so this mostly is fixing that.

MozReview-Commit-ID: 5sLaF26sd0E

--HG--
extra : rebase_source : 6008f48c94e4a8e5bd2ed2f8a95e764e4aa39cdb
extra : histedit_source : 6f0151c184ee2e4288f3ec9c5a85a65e975d46e1
2016-04-05 11:30:51 -07:00
Dave Townsend
6e44ebad84 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr

--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -07:00
Dave Townsend
4bf4f02ce7 Bug 1257246: Update browser for eslint 2. r=felipe
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: DEskVIjiKDM

--HG--
extra : rebase_source : 07ba1d14655f5d761624b105ef025ec88323d4d5
extra : histedit_source : 9e5ab54ce1b1a5ee1f0fb143f8d1450522455e3b
2016-04-05 11:33:33 -07:00
Dave Townsend
5a830b3dbf Bug 1257246: Update toolkit/mozapps/extensions for eslint 2. r=aswan
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: CRpZy873GP6

--HG--
extra : rebase_source : d355e5f0f13211cbd81e2a91cfe6191f5e84adb2
extra : histedit_source : eb85af7438b493a22fd9a4c32ab254e6a01b7cb3
2016-04-05 11:32:12 -07:00
Dave Townsend
92b18b36e8 Bug 1257246: Update eslint rules for eslint 2. r=MattN
Rename the rules that ESLint 2 no longer supports to the new names. Ignore the
microformat test suite as it is external code.

MozReview-Commit-ID: BgIxFERjHp1

--HG--
extra : rebase_source : 9f02a87f9a843b427b021caa72db9eb766287151
extra : histedit_source : 954abc7e447ac6cdd36290ade7adec626f4fe4fb
2016-04-05 11:33:12 -07:00
Dave Townsend
bf59524a62 Bug 1257246: Update security/manager for eslint 2. r=cykesiopka
MozReview-Commit-ID: C04uJOhTbjw

--HG--
extra : rebase_source : 39fb9a3ce183b05e0b924563e055431828bab50d
extra : histedit_source : aacec3a02d251d0ec8e13e78900a6f53bc205ec3
2016-04-05 11:32:28 -07:00
Dave Townsend
9b180956a0 Bug 1257246: Update lint test image to newer packages of eslint. r=ahal
MozReview-Commit-ID: Kr0bsTfGyxS

--HG--
extra : rebase_source : 1790864740bb4013ed1481647223e74df75fe10f
extra : histedit_source : 139d7075064da2cb3a3a624ab216e2c3401254c9
2016-03-16 12:21:43 -07:00
Dave Townsend
66e6b814ee Bug 1257246: Update the version of eslint that mach installs. r=gps
MozReview-Commit-ID: mcb4QwtM96

--HG--
extra : rebase_source : 710a89b734eaae190584a6d9a34335b9c22039a3
extra : histedit_source : 64fc37853702895e49a4aaf3a441ddacf211a203
2016-03-17 10:58:12 -07:00
Dave Townsend
f2c61524b0 Bug 1262978: Run npm to get the path to installed binaries if eslint can't otherwise be found. r=gps
MozReview-Commit-ID: HFWID6QhpS2

--HG--
extra : rebase_source : bed90ecf7b59b348ec5047c9ac9e8cc31a2aa193
extra : amend_source : 97f81e0bb34098c1aaad1b2ad4355d3f0ad6f72c
2016-04-07 13:18:40 -07:00
Sebastian Hengst
c515d4ce79 Backed out changeset 81df156cb345 (bug 1250203) for test failures in mochitest-5 test_ext_bookmarks.html, browser-chrome browser_views_liveupdate.js, OS X xpcshell test_browserGlue_migrate.js and maybe more. r=backout on a CLOSED TREE 2016-04-08 18:42:07 +02:00
Sebastian Hengst
96b92febed Backed out changeset 8ec9a8049a25 (bug 1248617) 2016-04-08 18:39:39 +02:00
Michael Comella
5396926b28 Bug 1263056 - Add TODO for CAST check in WhitespaceAfter. r=sebastian
MozReview-Commit-ID: 5ZRSnGylCnJ

--HG--
extra : rebase_source : a88bed32638ef44b93b8ba9d1682793588593614
2016-04-07 18:23:54 -07:00
Michael Comella
70a0ef8e25 Bug 1263056 - Add WhitespaceAfter comma & fix issues. r=sebastian
Fixed via:
 gsed -i"" -e "s/,\([^[:space:]\"']\)/, \1/g" **/*.java

And hand curation.

MozReview-Commit-ID: DHaXJbW4plY

--HG--
extra : rebase_source : fc708f6fac7b7245a1da6541c4ff44d8e231b879
2016-04-07 18:07:29 -07:00
Michael Comella
f397cb45d3 Bug 1263056 - Add WhitespaceAfter for semi-colons & fix warnings. r=sebastian
MozReview-Commit-ID: FWujl1XuxgR

--HG--
extra : rebase_source : 106f9ce8ec75d024ccb68af95129f1ef6f08de16
2016-04-07 17:53:55 -07:00
Florian Quèze
b3d0a08a2f Bug 1243378 - Enable the browser_devices_get_user_media_about_urls.js test for e10s, r=mconley. 2016-04-08 18:15:04 +02:00
Shane Caraveo
f3eddebe33 Bug 1263032 turn on pocket addon during tests, r=markh 2016-04-08 08:06:46 -07:00
Dão Gottwald
3642e0c3bc Bug 1260103 - Use inverted close icon for the vulnerable plugin notification bar. r=gijs 2016-04-08 16:36:39 +02:00
Dão Gottwald
f4a17df3f1 Bug 1248617 - Stop adding the "Recently bookmarked" smart folder in new profiles. r=mak 2016-04-08 16:35:28 +02:00
Dão Gottwald
02c6656bf9 Bug 1250203 - Re-populate recent bookmarks when a bookmark has been deleted. r=mak 2016-04-08 16:33:21 +02:00
Michael Kaply
69b23954e1 Bug 1222107 - Display error message when installing a duplicate search engine; r=Gijs
--HG--
extra : rebase_source : 809fe40709b1912ba8cc26ab322378aac2884771
2016-04-06 16:19:11 -05:00
Mike de Boer
73087c8fe1 Bug 1244500: add support for dark GTK themes when applied to toolbars and the tab strip. r=Gijs 2016-04-08 16:10:41 +02:00
Brian Grinstead
85bb978709 Bug 1260839 - Move -moz-user-select: text up to #output-wrapper so selection can be cancelled by clicking below messages. r=vporof
MozReview-Commit-ID: 6KyHSRclSMX

--HG--
extra : rebase_source : af183564aa0dbf6538882036bb1f0f96c1a96228
2016-03-30 11:44:10 -07:00
"Helen V. Holmes"
f6116b7a7b Bug 1246951 - [UX] Pixel snap rotation icon. r=gl
--HG--
extra : rebase_source : e69a740ed01b5fb06867cc8e126887c770b062a0
2016-04-06 08:18:00 -04:00
Tim Nguyen
0518f7e2fc Bug 1261642 - Various theme cleanups for Canvas Debugger, Shader Editor, Web Audio Editor and Performance tool. r=vporof
MozReview-Commit-ID: BrwIbsfvs8o

--HG--
extra : rebase_source : ee2481df3fd5f0435d1276c6c52c23345239f609
2016-04-02 16:13:00 -04:00
Ryo Kato
d4da73c340 Bug 1261561 - Part 2: Add a xpcshell test for TimeScale.getAnimationDimensions(). r=pbro
MozReview-Commit-ID: Hhwq0d21Rlw

--HG--
extra : rebase_source : 7de50c133838d0ef565cede74695a5587f9bbf69
2016-04-05 05:58:43 -07:00
Ryo Kato
4098f4c76b Bug 1261561 - Part 1: Fix TimeScale.getAnimationDimensions() to handle multiple iterations. r=pbro
MozReview-Commit-ID: FUjebmapYH1

--HG--
extra : rebase_source : 5f54bc420da55d5f66c684bb75f7e0be7fb810ad
2016-04-04 08:32:39 -07:00
Ryan VanderMeulen
2973c9f6e8 Bug 1214439 - Skip browser_dbg_split-console-keypress.js on Linux e10s for intermittent failures.
--HG--
extra : rebase_source : 1f72c5b7f70cc9b0fd675599d422dd025acce75d
2016-04-08 09:32:27 -04:00
Jarda Snajdr
e6efccfea4 Bug 890913 - Parser.jsm: support SpreadExpression r=vporof 2016-04-04 04:44:00 +02:00
Jarda Snajdr
fe9ec4e232 Bug 1260756 - make Parser.jsm ESLint-clean. r=vporof 2016-03-31 02:32:00 +02:00
Jarda Snajdr
b5ad9a5138 Bug 1260756 - The SyntaxTreeVisitor in Parser.jsm fails to process template literals and function default arguments. r=vporof 2016-03-31 01:49:00 +02:00
Margaret Leibovic
45c6259c25 Bug 1262896 - Add utm_source parameters to default bookmarks. r=sebastian
MozReview-Commit-ID: 1Ae7JAcR89s

--HG--
extra : rebase_source : 619d064de7428596f5cd4c4f0152b2813586c7bf
2016-04-07 14:01:49 -04:00
Allasso Travesser
cfd01a0232 Bug 1243707 - Split up addTad, create the new browser and link it to the new tab in _linkBrowserToTab. r=dao 2016-04-08 11:58:44 +02:00
Patrick Brosset
01d7e9bf57 Bug 1261715 - Avoid promise rejections in browser_rules_add-rule_05.js; r=jryans
This test simulates a context click in the rule view and selects the
"add rule" item in order to add a new rule.
Adding a rule triggers a ruleview-changed event, and so this test should
start listening for this event before triggering the action, which it
did not do.

MozReview-Commit-ID: BPO8Fgwsq5M

--HG--
extra : rebase_source : e975e57148850c41cfae4d9748809d1f6672aa84
2016-04-07 11:35:48 +02:00
Patrick Brosset
e710d0b812 Bug 1261651 - Avoid using element.animate() in tests - Use Animation constructor isntead; r=miker
MozReview-Commit-ID: Az9jBcW54j8

--HG--
extra : rebase_source : 6ff04833d9aabfcdfccccf9e05cf67077abb97d7
2016-04-07 12:09:29 +02:00
Drew Willcoxon
4594ef3ded Bug 1195054 - The location bar should display 10 autocomplete suggestions without scrollbar instead of 6. r=mak 2016-04-07 22:03:45 -07:00
Phil Ringnalda
9c769696c2 Back out changeset 5815d4fc3043 (bug 1195054) for failures in browser_urlbarEnterAfterMouseOver.js 2016-04-07 19:57:15 -07:00
Nick Fitzgerald
d6a64fd361 Bug 1250966 - Ignore retaining paths that are strictly a super set of other paths. r=jimb 2016-04-06 16:23:00 -04:00
bsilverberg
d43e3c8bdb Bug 1261949 - Complete test coverage for browser.windows events. r=kmag
Add coverage for:
* browser.windows.onCreated
* browser.windows.onRemoved

MozReview-Commit-ID: FMhcNBnijce

--HG--
extra : transplant_source : %12%15%D2%A7_w%9B%0F%3D%0C%EE%94%11%14%0Dk%87%28%A0%9D
2016-04-04 18:11:42 -04:00
bsilverberg
b42e7ecef4 Bug 1190325 - Test coverage for runtime extension API. r=kmag
Add coverage for:
* The |openOptionsPage| method when |options_ui| is missing from the manifest.

MozReview-Commit-ID: BwVMzDOECl3

--HG--
extra : transplant_source : %ED%E7%04N%DC%9D%FC%FD%BF%A2%02%D7SQ%3D%8A%EBa%98%A7
2016-04-06 09:36:45 -04:00
Jason Laster
6457b60519 Bug 1260529 - Showing a source in the editor should not update the cursor position. r=jlong 2016-04-07 12:48:00 -04:00
bsilverberg
9f8f48580a Bug 1262542 - WebExtension notifications seem to fail on Nightly. r=kmag
MozReview-Commit-ID: 4NaB9xHKFqq

--HG--
extra : transplant_source : Q0%03D%A2%C42%3D%C9%F5%1A%9D%E4%D5%88M%CE%9Cv%D0
2016-04-06 15:00:36 -04:00
Greg Tatum
ed48250e2f Bug 1261159 - Tree map zooming is awkward. r=fitzgen 2016-04-07 07:27:00 -04:00
bsilverberg
ecec410d6c Bug 1261185 - Complete test coverage for browser.windows.create. r=kmag
Add coverage for:
* passing an invalid |tabId|
* passing an array of URLs to open in |url|

MozReview-Commit-ID: EW8sh0p6hgB

--HG--
extra : transplant_source : %5D%BF%EE%EBM%9C%EA%AFj%0F%7F%AFx%F1%8E%F0QV%1Bb
2016-03-31 18:01:45 -04:00
Andrew Swan
476890d221 Bug 1231128 - Display errors when temporary add-on install fails. r=ochameau
MozReview-Commit-ID: BG81hWHLGQ2

--HG--
extra : amend_source : 1c6ba2bd1212a8cfaae78d38e4e7cf51f857e8d0
extra : transplant_source : %7Dv%2B%B0%D8%E3n%BF%B0%F2%AE%D2E%D9%A6%F4%FAJ%91%97
2016-03-31 20:53:17 -07:00
Ryan VanderMeulen
4e9b1134e1 Bug 1263067 - Update pdf.js to version 1.4.213. r=bdahl, r=sicking 2016-04-07 22:13:03 -04:00