Mike Conley
f2127e9ebb
Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert
...
--HG--
extra : commitid : 20kUFlNpMz6
extra : rebase_source : 89f89eea235b8a68f6c76e3324909be7d7da0ede
2015-12-01 14:34:25 -05:00
Felipe Gomes
bddd338cd7
Bug 1231728 - Fixes some code to follow eslint rules. r=mak
...
--HG--
extra : commitid : 2pB0pOqsHVW
2015-12-10 14:38:30 -05:00
Carsten "Tomcat" Book
ffb37c03fb
merge mozilla-inbound to mozilla-central a=merge
2015-12-10 12:05:03 +01:00
Andrea Marchesini
32580a380e
Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking
2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Bill McCloskey
18a0bcc6d7
Bug 1208257 - [webext] Fix failing test
2015-12-06 11:01:20 -08:00
Bill McCloskey
6e0bf624bf
Bug 1208257 - [webext] tabs.json (r=kmag)
2015-12-06 08:50:24 -08:00
Bill McCloskey
505a9bb407
Bug 1208257 - [webext] windows.json (r=kmag)
2015-12-06 08:50:24 -08:00
Kris Maglione
b729a30707
Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
...
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.
For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:
* The rule for opening brace alignment can only be applied globally, and
doesn't make exceptions for top-level functions. I chose to turn it on, and
change the brace style of existing top-level functions that violated it,
since the rule seemed worth using, and that's the direction most Toolkit JS
code has been headed anyway.
* The rule for switch/case statements requires an added indentation level for
case statements. Most of our switch statements did not use an extra level
of indentation, and I initially wrote the rule to enforce that style, until
I came across case statements that used blocks, and required the extra
indentation level for sanity.
--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Mike Conley
904acbd272
Bug 1225921 - Have SessionStore keep a list of window data that might be saved during a flush. r=billm
...
This helps us keep track of what windows we've chosen to forget, and helps
us avoid the problem of accidentally saving a window we've chosen to forget.
--HG--
extra : commitid : 4sAF1DKyhKp
extra : rebase_source : c1e967bc38ebd32ced25ba3ee6ed5912b0f2e50a
2015-12-02 13:48:19 -05:00
Mike Conley
3969629382
Bug 1225921 - Regression tests. r=billm
...
--HG--
extra : commitid : 4MkFmSCJAK8
extra : rebase_source : 6e5d89f6d142aa145b91d84f971a490d53660a5a
extra : amend_source : 99e021ab8f0b7d9db1311ef2c589c881aa0d54a0
2015-12-02 13:48:05 -05:00
simplyblue
34af26c5b6
Bug 1228976 - Remove array comprehensions from Places .r=mak
2015-12-03 16:26:58 +05:30
Gijs Kruitbosch
9930c8ae16
Bug 1229474 - only create widgets in browser windows, r=jaws
...
--HG--
extra : commitid : DyFeq4QIv9e
extra : rebase_source : fe42eb4a04c783f975de86f226e6f6029adb1fa6
2015-12-02 16:11:56 +00:00
Kris Maglione
62d3c9701a
Bug 1229874: Part 2 - Fix the major errors detected by ESLint. r=billm
...
--HG--
extra : commitid : 8MfFtdlzGEG
extra : rebase_source : 744d65868d5a3d217bd5f6428a3486e95fa14716
extra : source : 880fc261adae00a344e227ea2fa246b771cd57a6
2015-12-02 16:58:24 -08:00
Mike Conley
51e9466a0f
Bug 1226333 - Add tests for async window flushing. r=billm.
...
--HG--
extra : commitid : 9ji0WXf0vH0
extra : rebase_source : 31ffb2e4df2cf6f4e3902fb4504fae2984dee55a
2015-12-02 09:46:06 -05:00
Mike Conley
673a539ce8
Bug 1177310 - Don't flush windows synchronously on application shutdown. r=billm,feedback=ttaubert
...
Instead of synchronously flushing the windows, we use AsyncShutdown to
wait for all window flushes to finish.
--HG--
extra : commitid : 1dDdTLBcZrt
extra : rebase_source : ea10bed3dc4920e769e73a6469510d4f303b88dc
2015-11-13 14:46:37 -05:00
Mike Conley
c9f1c242db
Bug 1177310 - TabStateFlusher Promises should always resolve. r=Yoric
...
They'll always resolve, but might receive a negative success state
and a message. We're doing this so that we can maintain a Set of
in-flight flushes that we can call Promise.all on (which will
fast-fail if any Promise rejects, or will just never resolve if
one or more of the Promises never resolve).
--HG--
extra : commitid : AkIM83IZCxK
extra : rebase_source : 4fb8eb059589299c87fcbd3c4e519a81a8b93def
2015-11-24 18:41:32 -05:00
Kris Maglione
5c5a4d1119
Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm
...
--HG--
rename : browser/components/extensions/test/browser/browser_ext_tabs_executeScript.js => browser/components/extensions/test/browser/browser_ext_tabs_executeScript_good.js
extra : commitid : iRaiDjAAti
extra : rebase_source : 3906f8f3ffaf91815f9463564b9e6243f443750c
extra : source : 1d5e9f3d094d075cfda767dd2108b07c7f8557de
2015-12-02 15:07:02 -08:00
Kris Maglione
66c9592a32
Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm
...
--HG--
extra : commitid : 7CvbJtxVmuS
extra : rebase_source : 88dadc60ac17cd9036f85c81ac19dfb3db1d0c91
extra : source : 4a10c564dfca3189ab521c3ccfa92330163189b1
2015-12-01 20:37:41 -08:00
Kris Maglione
ccd1557027
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
...
--HG--
extra : commitid : 14Ay1RxALKN
extra : rebase_source : 539fce3e4d8a8456d73bd2d1736338e835e264da
extra : source : ebe2433705a55c4b91d5726ed81574e3bcb5c6fb
2015-12-01 20:32:18 -08:00
Matthew Noorenberghe
ed06cf5e06
Bug 1229168 - UITour: Use the correct window in initForBrowser to handle windows with no tabs. r=Dexter
...
--HG--
extra : commitid : KqRYnsV6Z9M
extra : rebase_source : 3149ba3d9b48cb284607fa14a60dd645c686d359
2015-12-02 15:26:23 -08:00
Drew Willcoxon
4d0b5df661
Bug 1226629 - Increment "urlbar" BrowserUITelemetry/FHR for all searchengine results clicked in the urlbar. r=mak
2015-12-02 16:26:07 -08:00
Mark Hammond
a795eb0690
Bug 1201331 (part 4) - replace "Tabs from other devices" with "Synced Tabs" on menus and history panel. r=Gijs
2015-12-03 10:05:03 +11:00
Mark Hammond
64831b8ba3
Bug 1201331 (part 3) - add a Synced Tabs panel. r=Gijs
2015-12-03 10:05:03 +11:00
Mark Hammond
c0c731c7d0
Bug 1201331 (part 2) - update tests that use the sync-button as a placeholder for "generic XUL button". r=Gijs
2015-12-03 10:05:03 +11:00
Mark Hammond
a9596f0e57
Bug 1201331 (part 1) - use a broadcaster to manage the Sync status. r=adw
...
This patch leverages broadcasters to keep the various sync UI elements sane.
Rather than adding yet another button ID to browser-syncui, we now just update
the broadcaster and let all the elements automagically get the attributes.
2015-12-03 10:05:03 +11:00
Wes Kocher
66050f6f32
Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
...
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -08:00
Wes Kocher
fdc2d1bcff
Backed out 2 changesets (bug 1190688) for browser_ext_tabs_executeScript.js permatimeouts
...
Backed out changeset 1d5e9f3d094d (bug 1190688)
Backed out changeset 4a10c564dfca (bug 1190688)
2015-12-02 11:22:31 -08:00
Kris Maglione
0776c5fb47
Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm
...
--HG--
extra : commitid : EEVPrB3WgcX
extra : rebase_source : 98f6f3363287429c8211c28f50e5a8abb0a66a01
2015-12-01 20:47:08 -08:00
Kris Maglione
de25656504
Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm
...
--HG--
extra : commitid : 3fCvT7O5Oax
extra : rebase_source : 6df43947daa552eb318bf74a3c71792889328618
2015-12-01 20:37:41 -08:00
Kris Maglione
6c8390c592
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
...
--HG--
extra : commitid : AHQ6RpQNa70
extra : rebase_source : 913662702f1a06a7773fd31e93eb095cab6b37d7
2015-12-01 20:32:18 -08:00
Mark Banner
b62903e4e0
Bug 1229351 - If the Loop button was removed from the toolbar will re-appear when the Loop system add-on is activated. r=Gijs
2015-12-02 16:08:34 +00:00
Florian Quèze
1486293294
Bug 1227045 - Save the new current engine when it has been set as a fallback after the previous current engine was removed, r=mak.
2015-12-02 16:51:15 +01:00
Carsten "Tomcat" Book
5adcabb340
merge mozilla-inbound to mozilla-central a=merge
2015-12-02 15:20:57 +01:00
simplyblue
499e992e6a
Bug 1228975 - Remove Array generics usage from Places code. r=mak
2015-12-01 15:40:30 +05:30
Wes Kocher
cf8498f97a
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : 7uZvQAK3Zn8
2015-12-01 16:10:04 -08:00
Carsten "Tomcat" Book
d1e027ccae
Merge mozilla-central to fx-team
2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book
f3e1aec951
merge mozilla-inbound to mozilla-central a=merge
2015-12-01 15:25:14 +01:00
Gijs Kruitbosch
7df117fdb9
Bug 1222490 - part 3: update all the tests for tabview's removal, r=ttaubert
...
--HG--
extra : commitid : LsM4DGXki7Q
extra : rebase_source : 37969b5cbad6f656485554f336bccffc5a6e4994
2015-12-01 10:48:11 +00:00
Gijs Kruitbosch
bf031e6216
Bug 1222490 - part 2: remove traces of tabview from XUL/XBL/JS in other parts of browser/, r=ttaubert
...
--HG--
extra : commitid : 8OhDhB9ajM1
extra : rebase_source : 2c160a041845cbac2b1a5b4bf197b32f1ea56734
2015-12-01 10:48:11 +00:00
Gijs Kruitbosch
f8550279c7
Bug 1222490 - part 1: remove browser/components/tabview and its references, r=ttaubert
...
--HG--
extra : commitid : 32uPFrV2zvJ
extra : rebase_source : d626d0de588ef9188f30084fefd0cd6f6b8e31fd
2015-12-01 10:48:10 +00:00
Gijs Kruitbosch
781be4fb9c
Bug 1221050 - part 5: create page for use with tabview migration, r=ttaubert
...
--HG--
rename : browser/components/sessionstore/content/aboutSessionRestore.xhtml => browser/base/content/aboutTabGroupsMigration.xhtml
extra : commitid : E9PZnr7z9hO
extra : rebase_source : e3c38469a98bb008075110e4e7d4af1e151511f3
2015-12-01 10:48:10 +00:00
Gijs Kruitbosch
218769e24f
Bug 1221050 - part 1: set up migration infrastructure, r=ttaubert
...
--HG--
extra : commitid : 8nKMm2oklw9
extra : rebase_source : 6957bbc0b47accf8161476d97b1c20e775e814fb
2015-12-01 10:48:09 +00:00
Gijs Kruitbosch
845fd1cf6f
Bug 1221050 - part 0: remove notification for tab groups removal, r=ttaubert
...
--HG--
extra : commitid : EpMPqCwCDJl
extra : rebase_source : da3b15437d6898e65134347ecda07441280fa4aa
2015-12-01 10:48:08 +00:00
Mike de Boer
43df676e10
Bug 1225832: partially fix UITour for Loop without navigator.mozLoop present. r=Standard8
2015-12-01 12:17:28 +01:00
Shane Caraveo
ea32959e69
Bug 1229123 support for obsoleted buttons, r=Gijs
2015-11-30 13:57:01 -08:00
Mike Conley
b864bcf349
Bug 1228518 - Don't send SessionStore:update for initial about:blank page load. r=ttaubert
...
--HG--
extra : commitid : 6stWXZ9IUIJ
extra : rebase_source : c9dd1b4f641320ab0229097c868c216df5e96bce
2015-11-27 15:11:31 -05:00
Mike Conley
326648e0df
Bug 1228518 - Regression test. r=ttaubert
...
--HG--
extra : commitid : 40sOsxV5Nbs
extra : rebase_source : 28886968eb0250c5ea66c8e580873a5b6be829be
2015-11-27 15:48:43 -05:00
Carsten "Tomcat" Book
906d89bc14
Merge mozilla-central to fx-team
2015-11-30 13:46:30 +01:00
Carsten "Tomcat" Book
5a9f09086a
merge mozilla-inbound to mozilla-central a=merge
2015-11-30 13:19:02 +01:00