Commit Graph

13723 Commits

Author SHA1 Message Date
Drew Willcoxon
c4991eb672 Bug 1292345 - Downloads panel didn't shrink to the fit height after all items are downloaded. r=me
MozReview-Commit-ID: AV0S8GM0ztj
2016-08-26 16:36:56 -07:00
Wes Kocher
f5d24f6a4a Merge m-c to fx-team, a=merge 2016-08-26 16:33:43 -07:00
Wes Kocher
e079662c3f Merge inbound to central, a=merge 2016-08-26 16:20:50 -07:00
Justin Dolske
97ecccda9c Bug 1298208 - followup fix for correct JS type. CLOSED TREE 2016-08-26 15:20:48 -07:00
Drew Willcoxon
be9189f4dd Bug 1292573 - Broken keyboard interaction with the subview in the Downloads Panel. r=Paolo
MozReview-Commit-ID: 3jiqzlzLuWM
2016-08-26 09:59:11 -07:00
James Andreou
ec9db2689b Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer 2016-08-26 13:06:48 -04:00
Justin Dolske
790a3531c8 Bug 1298208 - FX_MIGRATION_HOMEPAGE_IMPORTED probe is (incorrectly) always true. r=mattn
MozReview-Commit-ID: 6wZUeRTKExw
2016-08-26 13:06:14 -07:00
Ryan VanderMeulen
fa3e44b133 Merge inbound to m-c. a=merge 2016-08-26 09:37:03 -04:00
Wes Kocher
e13f8b0cdf Merge m-c to inbound, a=merge 2016-08-25 17:14:17 -07:00
Wes Kocher
00c5aee754 Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Kris Maglione
c6c89fc38c Bug 1293287: Close extension popups on extension shutdown. r=aswan
MozReview-Commit-ID: 5lpIk6XrdOM
2016-08-24 16:26:35 -07:00
Rob Wu
a430263825 Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
MozReview-Commit-ID: GSqmh0xC2hW
2016-08-23 16:19:33 -07:00
Rob Wu
812e170fe8 Bug 1287010 - Make environment of Context explicit. r=billm
- Add `envType` to BaseContext.
 - Pass an explicit envType to all `registerSchemaAPI` invocations.
 - The factories passed to `registerSchemaAPI` will be split up later, so
   that content scripts (`content_child`) and addon pages can share
   common implementations.
 - The factories that implement the addon API will also be split up,
   to separate code running in the main process (`addon_parent`) from
   code running in a child process (`addon_child`).
 - Remove the use of a hardcoded list of `namespaces` from ProxyContext.
   Now `envType` is used to specify whether an API should be activated.

MozReview-Commit-ID: Jiff8HIwG92
2016-08-16 15:51:50 -07:00
Rob Wu
a68fdede92 Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm
Currently there is a tight coupling between registered APIs because they
share the same global scope, and the dependencies between the modules
that use these globals are not explicit. Consequently, it would be
possible for APIs to break when the registered APIs run in separate
processes, because then there are separate global scopes.
To mitigate this issue, this patch isolates the global namespaces of
API registrations in different environments, starting with the "chrome"
process. Content and addon processes will follow later.

A new JSM is introduced to avoid hidden dependencies between ext-*.js
and the script loader. ExtensionUtils.jsm would be a natural choice for
this shared utility method, but cannot be used because its local
`EventEmitter` implementation conflicts with the `EventEmitter` import
in ext-tabs.js.

So, this patch provides isolation of global variables declared through
`globals.XXX = ...`, but does not provide isolation for `Cu.import`-ed
logic. Ideally `Cu.import` should always use its second argument to
prevent inadvertent namespace pollution.

MozReview-Commit-ID: 1DTZaKOaeSE
2016-08-17 20:28:19 -07:00
Gijs Kruitbosch
6bc028f9a6 Bug 1297479 - create a pref to turn off UI to undo automatic migration for use by funnelcake builds, r=Dolske
MozReview-Commit-ID: JZQuhMxxrXU
2016-08-23 19:30:32 +01:00
Ryan VanderMeulen
dbf61a2219 Merge m-c to autoland. a=merge 2016-08-25 08:14:36 -04:00
Ryan VanderMeulen
79935a96ec Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Kris Maglione
dbe2425b27 Bug 1293548: Split browser_ext_pageAction_context into two files. r=me
MozReview-Commit-ID: 1Zj36K0xkX4
2016-08-23 18:18:27 -07:00
Kris Maglione
b0b7864ffc Bug 1271374: Cache-bust page URL. r=me
MozReview-Commit-ID: FAdxwoxRLMA
2016-08-23 18:00:58 -07:00
Sebastian Hengst
e4b461b181 Backed out changeset bbe3a00528ed (bug 1288247) for failing test_TabListComponent.js. r=backout 2016-08-24 18:22:40 +02:00
Sebastian Hengst
d2968bc779 Backed out changeset f976df7f1eba (bug 1288247) 2016-08-24 18:21:44 +02:00
Sebastian Hengst
91d8c8cd01 Bug 1288247 - Open synced tabs in a new tab on middle click: Add whitespace after 'if' to make eslint happy. r=eslint-fix 2016-08-24 16:43:12 +02:00
Ricky Chien
d711924747 Bug 1206229 - Inform the user that changes may require a page reload r=Paolo
MozReview-Commit-ID: 3tJRhxeDnUb
2016-08-11 11:52:47 +08:00
Edouard Oger
a48f5cedf3 Bug 1288247 - Open synced tabs in a new tab on middle click. r=markh
MozReview-Commit-ID: LTE5NolY8V3
2016-08-19 17:10:45 -07:00
Tim Huang
3f2a7f1c64 Bug 1289319 - Add a test framework for the first party isolation tests. r=arthuredelstein+474980,baku 2016-08-22 22:05:01 +08:00
Ryan VanderMeulen
6ee104ada6 Merge fx-team to m-c. a=merge 2016-08-24 09:04:42 -04:00
Phil Ringnalda
6057e1ef1a Merge m-c to a CLOSED TREE f-t 2016-08-23 22:59:10 -07:00
Edouard Oger
f67773f756 Bug 1297473 - Check for first tab in synced tabs sidebar before assigning tabindex. r=markh
MozReview-Commit-ID: 9FkT0HpoB8r
2016-08-23 11:11:29 -07:00
Shane Caraveo
16d9f3dd57 Bug 1289549 bump slop in jpg color test, r=maglione
MozReview-Commit-ID: GGNze65Lpkl
2016-08-23 15:24:07 -07:00
Shane Caraveo
e5626fbd1f Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Shane Caraveo
da86ee46c2 Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: IgpgD7qwasI
2016-08-23 15:24:06 -07:00
Jinank Jain
7e5a9f8bcc Bug 1276701 - Remove Windows code from Safari migrator. r=Gijs
MozReview-Commit-ID: CuV2xSmXnq
2016-08-23 14:49:39 -07:00
Ryan VanderMeulen
3db710d2ee Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
Ryan VanderMeulen
faf402f266 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Ryan VanderMeulen
0a34dacb49 Merge m-c to fx-team. a=merge 2016-08-23 10:11:52 -04:00
Paolo Amadini
4ccafbc68e Bug 1287384 - Fix icon and progress bar alignment in the Downloads Panel. r=jaws
MozReview-Commit-ID: 1Im2tA3CLr2
2016-08-22 13:01:40 +01:00
Paolo Amadini
4b4a9792a3 Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library. r=jaws
MozReview-Commit-ID: DCPhxiB1i0Y
2016-08-22 14:22:18 +01:00
Aryeh Gregor
a297c86b1c Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Ryan VanderMeulen
ed8e5f5191 Merge m-c to inbound. a=merge 2016-08-22 09:43:40 -04:00
Ryan VanderMeulen
0c6be0762e Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Rob Wu
47e975c1fb Bug 1286712 - Validate runtime.sendMessage parameters r=billm
The main motive for this patch is to remove the use of the GlobalManager
global (which was used to see if an extension ID is valid, which was
specifically added in order to create thebrowser_ext_lastError.js test).
To preserve test coverage I implemented a full validation of the
runtime.sendMessage method.

Now the error for a non-existent extension is identical in both the
content script and background pages. Note that this also fixes a
minor privacy leak: Previously extensions could see whether another
extension is installed by sending a message to the specified extension
and using the different responses to see whether another extension is
installed.

MozReview-Commit-ID: 82R97Ei25Xr
2016-08-16 21:36:42 -07:00
Jared Wein
27ed8f76b0 Bug 1297239 - Enable eslint for browser/components/shell. r=Gijs
MozReview-Commit-ID: 9mCR495fwEn
2016-08-23 15:39:18 -04:00
Sean Lee
4a6aa72b89 Bug 1297039 - Implement the preference for showing dropmarker or not in Downloads Panel., r=Paolo
MozReview-Commit-ID: ArmPPgLABtA
2016-08-22 18:44:24 +08:00
Ryan VanderMeulen
65e0550627 Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Gijs Kruitbosch
e2e91c7669 Bug 1289436 - add telemetry for the length of time we take to import data, r=jaws,bsmedberg
MozReview-Commit-ID: CkbHJVRucr5
2016-07-26 18:05:08 +01:00
Gijs Kruitbosch
62c0afdc69 Bug 1289231 - part 2: remove notification after it's been displayed for 3 days, r=dolske
MozReview-Commit-ID: CFARPDu3FnI
2016-07-26 13:14:44 +01:00
Gijs Kruitbosch
04c7494230 Bug 1289231 - show 'undo' notification bar, r=dolske
MozReview-Commit-ID: 1qy7GUSaowb
2016-08-20 12:15:02 +01:00
Wes Kocher
2d34b40ea3 Merge inbound to central, a=merge 2016-08-19 18:16:20 -07:00
Katie Broida[:ktbee]
0bcb756d06 Bug 1171746 - Ensure tab-specific panels close when you switch the tab. r=jaws 2016-08-19 07:27:00 -04:00
Ryan VanderMeulen
724c163f1c Merge fx-team to m-c. a=merge 2016-08-19 09:54:25 -04:00