JerryShih
b518b2acc4
Bug 1310681 - do not use devtools colorUtils in browser. r=kmag,tromey
...
MozReview-Commit-ID: 3qbsBGC7Lt6
2016-10-21 10:03:58 -04:00
Kris Maglione
5bc64322de
Bug 1318583: Part 3 - Set minWidth and minHeight on non-fixed-width panel browsers. r=aswan
...
MozReview-Commit-ID: FvqsaubkFUy
2016-11-26 17:17:16 -08:00
Kris Maglione
d72d856ea9
Bug 1318583: Part 1 - Ignore fixed-width panel browser resizes that happened prior to reparenting. r=aswan
...
MozReview-Commit-ID: 1oFbtM6Khw7
2016-11-29 16:50:44 -08:00
Shane Caraveo
78ba5276c6
Bug 1319567 fix window id so it is never zero, r=kmag
...
MozReview-Commit-ID: 30u1o1BOAvv
2016-11-22 17:35:37 -08:00
Wes Kocher
65fb84245c
Backed out changeset 15ab89563679 (bug 1319567) for browser-chrome failures a=backout
2016-11-22 16:57:39 -08:00
Shane Caraveo
354c627846
Bug 1319567 fix window id so it is never zero, r=kmag
...
MozReview-Commit-ID: 30u1o1BOAvv
2016-11-22 15:12:14 -08:00
Kris Maglione
797d6a1c6b
Bug 1317101 - Part 7c: Run extension popups in a remote browser. r=aswan
...
MozReview-Commit-ID: CATeESBwj1J
2016-11-17 11:28:40 -08:00
Kris Maglione
e0a987da8a
Bug 1317101 - Part 5: Simply remote view initialization code, and fix some inconsistent handling. r=billm
...
MozReview-Commit-ID: 65BE0oF3rpI
2016-11-12 16:13:21 -08:00
Kris Maglione
158298c36f
Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
...
This could still use a fair amount of additional cleanup.
MozReview-Commit-ID: BteBFMlZCsy
2016-11-15 15:13:50 -08:00
Wes Kocher
2876e6bba5
Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
...
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Kris Maglione
fdc5daa396
Bug 1317101: Follow-up: Fix race in popup tests.
...
MozReview-Commit-ID: af64Ic1qBg
2016-11-16 15:35:24 -08:00
Kris Maglione
0e86c5bb9c
Bug 1317101 - Part 7c: Run extension popups in a remote browser. r=aswan
...
MozReview-Commit-ID: CATeESBwj1J
2016-11-16 13:39:45 -08:00
Kris Maglione
aff12600f8
Bug 1317101 - Part 5: Simply remote view initialization code, and fix some inconsistent handling. r=billm
...
MozReview-Commit-ID: 65BE0oF3rpI
2016-11-12 16:13:21 -08:00
Kris Maglione
6050204429
Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
...
This could still use a fair amount of additional cleanup.
MozReview-Commit-ID: BteBFMlZCsy
2016-11-15 15:13:50 -08:00
Bob Silverberg
526a59632c
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04:00
Bob Silverberg
aad054cf11
Bug 1310019 - web extension API : chrome.tabs.query doesn’t get tabs title at first call, r=kmag
...
Add permission to the active tab on mousedown in ext-browserAction.js
MozReview-Commit-ID: H0oXQElppo7
2016-10-31 17:30:16 -04:00
Sebastian Hengst
e7b63fb1b2
Backed out changeset 15760cbfa77a (bug 1308058) for almost permafailing browser_ext_sessions.js on Linux debug in e10s mode. r=backout a=backout
...
MozReview-Commit-ID: 6uhHHvTHguG
2016-11-05 11:12:19 +01:00
Bob Silverberg
fac8d96785
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04:00
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