Kris Maglione
bec1b361f5
Bug 1312690: Lazily initialize extension APIs. r=aswan
...
MozReview-Commit-ID: 2ofzT6wPvus
2016-11-02 19:21:04 -07:00
Andrea Marchesini
bc1116fcdc
Bug 1302697 - Containers and WebExtensions - part 1 - Tab API, r=kmag
2016-10-28 10:15:42 +02:00
Rob Wu
a5e3a4826d
Bug 1287007 - Remove .contentWindow from ProxyContext r=billm
...
MozReview-Commit-ID: ASNigrM07yz
2016-09-13 16:02:03 -07:00
Rob Wu
0b6a21b18a
Bug 1287007 - Use IPC to share viewType, tabId and windowId r=billm
...
Accessing <browser> in ContentChild does not work when extensions run in
a separate process.
MozReview-Commit-ID: EK0aOYeGaZ5
2016-09-06 15:25:10 -07:00
Rob Wu
19ac7136a0
Bug 1287007 - Move extension context initialization to ExtensionContent r=billm
...
This is a simple move of ExtensionContext creation logic to
ExtensionChild.
Before the change, ExtensionContext was initialized as follows:
1. (ext-backgroundPage.js) Create background page
2. (Extension.jsm) document-element-inserted observed.
3. (Extension.jsm) new ExtensionContext + unload observer.
After this commit:
1. (ext-backgroundPage.js) Create background page
2. (ext-backgroundPage.js) emit extension-browser-inserted event
3. (Extension.jsm) Pass global to ExtensionContent + unload listener.
4. (ExtensionContent.jsm) document-element-inserted observed.
5. (ExtensionChild.jsm) new ExtensionContext
The next step is to use frame scripts and synchronize state.
MozReview-Commit-ID: K6mPdq7KQ2T
2016-09-05 23:50:11 -07:00
Rob Wu
85f4c6b8ea
Bug 1287007 - Rename "context.type" to "context.viewType" r=billm
...
"viewType" is more easily searchable and not as ambiguous as "type".
MozReview-Commit-ID: 8sG4qagFCBu
2016-09-05 22:26:56 -07:00
Kris Maglione
b6df3694bd
Bug 1287209: Make popup tests compatible with remote browsers. r=aswan
...
MozReview-Commit-ID: 79Xa3j5Kzov
2016-10-20 19:02:14 -07:00
Kris Maglione
d4f9daf879
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-20 15:27:51 -07:00
Phil Ringnalda
12b5bd3b6d
Backed out 2 changesets (bug 1287209) for failures in browser_ext_pageAction_popup_resize.js
...
Backed out changeset 50dcca551b63 (bug 1287209)
Backed out changeset cc7503f09572 (bug 1287209)
MozReview-Commit-ID: A5q4SnWzgOa
2016-10-20 19:23:33 -07:00
Kris Maglione
cf15f9775a
Bug 1287209: Make popup tests compatible with remote browsers. r=aswan
...
MozReview-Commit-ID: 79Xa3j5Kzov
2016-10-19 15:13:25 -07:00
Kris Maglione
967a70173c
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-20 15:27:51 -07:00
Wes Kocher
8bf7d8ac8b
Backed out 2 changesets (bug 1287209) for browser_ext_commands_execute_browser_action.js leaks a=backout
...
Backed out changeset a6787db4d131 (bug 1287209)
Backed out changeset 7ea8213113d7 (bug 1287209)
2016-10-20 14:37:12 -07:00
Kris Maglione
0975a72fa7
Bug 1287209: Make popup tests compatible with remote browsers. r=aswan
...
MozReview-Commit-ID: 79Xa3j5Kzov
2016-10-19 15:13:25 -07:00
Kris Maglione
ddb12899fc
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-20 09:57:13 -07:00
Sebastian Hengst
b8a5819c2d
Backed out changeset 68806639c031 (bug 1287209) for failing browser-chrome test browser_ext_popup_corners.js. r=backout
2016-10-20 09:17:03 +02:00
Sebastian Hengst
1546bd1e9a
Backed out changeset 642ee7eb70bb (bug 1287209)
2016-10-20 09:16:15 +02:00
Kris Maglione
d2dfc382dc
Bug 1287209: Make popup tests compatible with remote browsers. r=aswan
...
MozReview-Commit-ID: 79Xa3j5Kzov
2016-10-19 15:13:25 -07:00
Kris Maglione
c0448e9939
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-19 20:19:43 -07:00
Kris Maglione
e3b52ce5eb
Bug 1294442: Part 2 - Fix layout issues when popup's preferred size is larger than maximum. r=aswan
...
MozReview-Commit-ID: E9gaAeQWtDb
2016-10-19 13:47:59 -07:00
Kris Maglione
c2be3319a7
Bug 1246034: Part 1 - [webext] Add a helper function to trigger a browserAction. r=jaws
...
MozReview-Commit-ID: JUW6oUpWiN4
2016-09-07 11:05:11 +01:00
Kris Maglione
6641bc1d39
Bug 1299891: Make pageAction panels tab-specific. r=jaws
...
MozReview-Commit-ID: D0ZIJzWnUF6
2016-09-29 23:56:58 +01:00
Jesper Kristensen
4b02f4ef0a
Bug 1254221 - Support private browsing cookies in WebExtensions r=kmag
...
MozReview-Commit-ID: 29ci8wbnMra
2016-09-29 19:18:14 +02:00
Phil Ringnalda
f9b2178711
Backed out changeset 9b6a4552a5c2 (bug 1254221) for test_ext_cookies.html timeouts and lint failures
...
CLOSED TREE
2016-09-27 18:21:01 -07:00
Jesper Kristensen
69262c1580
Bug 1254221 - Support private browsing cookies in WebExtensions r=kmag
...
MozReview-Commit-ID: 29ci8wbnMra
2016-05-15 12:18:13 +02:00
Tomislav Jovanovic
d5ac19ab3e
bug 1269421 - enable HTML tooltips in extension popups, r=aswan
...
MozReview-Commit-ID: 6pyJKgKGW5F
2016-09-22 03:22:15 +02:00
Kanika Narang
7172a05279
Bug 1302950 - Rename --panel-arrowcontent* CSS variables to --arrowpanel*. r=dao
2016-09-20 09:27:49 +02:00
Sebastian Hengst
0a57070d7e
Backed out changeset 752f33561e8f (bug 1302950) for failing browser-chrome test browser_ext_popup_background.js. r=backout
2016-09-17 14:49:50 +02:00
Kanika Narang
1dab229a50
Bug 1302950 - Rename --panel-arrowcontent* CSS variables to --arrowpanel*. r=dao
2016-09-17 12:17:04 +02:00
Greg Tatum
0fc28c2ff3
Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
...
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst
93c9c62451
Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout
2016-09-13 17:43:44 +02:00
Greg Tatum
36e0a1b1fa
Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
...
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Rob Wu
91820391f9
Bug 1298979 - Add ProxyMessenger, change message managers and getSender r=billm
...
- Introduce a proxy for IPC messages to allow the following APIs
to be run out-of-process (ProxyMessenger):
* runtime.connect
* runtime.sendMessage
* tabs.connect
* tabs.sendMessage
* runtime.onConnect
* runtime.onMessage
- Update getSender in ext-tabs, make it independent of the context
(in particular do not throw an error when a message is received while
the tab is gone), and move it from MessageChannel to ProxyMessenger to
make sure that it works in webext-oop. MessageChannel lives in a child
process, whereas the TabManager (used by getSender) requires data from
the main process.
- Set the third parameter of `addMessageListener` to true in some places
to make sure that messages get delivered even after unloading the
context. This is needed for the next two points.
- Put the `messageManager` property in BaseContext, and let it be set by
`setContentWindow` - runtime.sendMessage/connect and tabs.sendMessage/
connect depends on this property, and using the frame message manager
makes sense.
- Unconditionally use the frame message manager in
runtime.sendMessage/connect instead of sometimes the cpmm.
MozReview-Commit-ID: 4QkPnlMOkjS
2016-08-25 17:08:08 -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
Kris Maglione
bfd63ddac8
Bug 1259093: Part 3 - Preload browserAction popups to prevent flicker during opening. r=Gijs r=jaws r=bwinton f=mattw
...
MozReview-Commit-ID: EpAKLV8VPTn
2016-08-19 12:29:11 -07:00
Phil Ringnalda
6bc09b7861
Backed out 3 changesets (bug 1246034) for Win e10s timeouts in browser_ext_commands_execute_browser_action.js
...
Backed out changeset f1f24546c26c (bug 1246034)
Backed out changeset 2c396099a21d (bug 1246034)
Backed out changeset 8cce25ece209 (bug 1246034)
2016-08-15 21:36:34 -07:00
Kris Maglione
548f0ffcdd
Bug 1246034 - Part 1: [webext] Add a helper function to trigger a browserAction. r=jaws
...
MozReview-Commit-ID: JUW6oUpWiN4
2016-08-05 18:35:39 -07:00
fiveNinePlusR
2ebc691028
Bug 1289213 - Part 2: Fall back to the tab.label when there is no browser.contentTitle available. r=kmag
...
When a tab is unloaded, the session browser.contentTitle is unavailable so this patch allows the title to be exposed when the tab is unloaded.
2016-08-11 19:44:00 -04:00
fiveNinePlusR
0513b456b2
Bug 1291830 - Do not return tabs that are in the process of closing from a chrome.tabs.query call. r=kmag
2016-08-09 16:43:33 -07:00
Kris Maglione
b3640156d8
Bug 1225215: Follow-up: ESLint fix. r=me
...
MozReview-Commit-ID: WP5idmrVE6
2016-08-14 20:05:07 -07:00
Kris Maglione
3531e0dc55
Bug 1225215: [webext] Raise the expected errors when given invalid tab IDs. r=aswan
...
MozReview-Commit-ID: E5G0GmVhzLh
2016-02-26 17:56:30 -08:00
Kris Maglione
4533efc450
Bug 1293099: Fill panel arrow and arrow content with browser body's background color. r=bwinton ui-r=maritz
...
MozReview-Commit-ID: 3xf31UgUy2A
2016-08-08 14:06:19 -07:00
Kris Maglione
3670cead92
Bug 1280128: [webext] Use transparent backgrounds and correct border radii for popup browsers. r=bwinton ui-r=maritz
...
MozReview-Commit-ID: 9jmuxdSLmBM
2016-08-09 12:08:04 -07:00
Wes Kocher
e1591981bb
Backed out changeset 9999b6b8022b (bug 1280128) for ESLint failures
2016-08-09 11:28:12 -07:00
Kris Maglione
c42feb4686
Bug 1280128: [webext] Use transparent backgrounds and correct border radii for popup browsers. r=bwinton ui-r=maritz
...
MozReview-Commit-ID: 9jmuxdSLmBM
2016-08-09 10:54:53 -07:00
Kris Maglione
557d31ba7e
Bug 1293036: Prevent BasePopup._resizeBrowser from being called recursive from MozScrolledAreaChanged events. r=robwu
...
This doesn't include tests for this behavior, because I'm not sure there's a
good way to test it reliably.
MozReview-Commit-ID: CM5rj1f9YiG
2016-08-07 12:44:15 -07:00
Kris Maglione
730c3b3741
Bug 1287649: Don't hide pageAction when only hash fragment changes. r=aswan
...
MozReview-Commit-ID: EvufryoPgcs
2016-07-26 17:28:29 -07:00
Kris Maglione
74d738d0ae
Bug 1282189: Improve resizing behavior for browser action views in menu panel. r=Gijs
...
MozReview-Commit-ID: 3SPQ1IimAY8
2016-07-27 12:46:43 -07:00
Pushpankar
77a14e357c
Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
2016-07-16 10:20:04 +02:00
Matthew Wein
6206634766
Bug 1270742 - Add support for default_icon in chrome.pageAction r=kmag
...
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Martin Giger
728d99143f
Bug 1282171 - Use setTimeout from parent window to throttle resizes. r=kmag
...
MozReview-Commit-ID: FsEjqfJKOUC
2016-06-25 00:06:56 +00:00