Commit Graph

150 Commits

Author SHA1 Message Date
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione
da08b6926c Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
MozReview-Commit-ID: CTX0TckLqoV
2017-04-07 13:39:06 -07:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione
937291f42b Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
MozReview-Commit-ID: BQoWF9nHOuF
2017-04-02 11:59:55 -07:00
Bob Silverberg
1478bd4047 Bug 1338312 - browser.sessions.getRecentlyClosed returns incorrect information for tabs in closed windows, r=aswan
MozReview-Commit-ID: FrUhiR9Q9aV
2017-02-14 15:23:46 -05:00
Kris Maglione
7155ba197e Bug 1336308: Part 5 - Add documentation for the Android-specific tab API helpers. r=aswan
MozReview-Commit-ID: UN78mhAArC
2017-02-03 15:29:46 -08:00
Kris Maglione
4722c10362 Bug 1336308: Part 4 - Rename tab variables that refer to native tabs to avoid confusion. r=aswan
MozReview-Commit-ID: 5An7K1crYRS
2017-02-03 12:57:43 -08:00
Kris Maglione
23395564bb Bug 1336308: Part 3 - Add inline documentation for tabs API. r=aswan
MozReview-Commit-ID: 9ZwCkHcVv15
2017-02-02 19:30:56 -08:00
Kris Maglione
1ccc618561 Bug 1260548: Part 5 - Factor out <browser> data logic into shared modules. r=aswan
MozReview-Commit-ID: GHPympWA7U
2017-01-30 20:11:14 -08:00
Kris Maglione
e607ae18d8 Bug 1260548: Part 3 - Factor out the extension popup code into its own module. r=aswan
MozReview-Commit-ID: HpaAkt5nBqf
2017-01-28 15:00:15 -08:00
Kris Maglione
bbe2608ca7 Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Andrew Swan
d23b45b581 Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Phil Ringnalda
5781d2a09e Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
CLOSED TREE

Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
99c8d3a692 Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Carsten "Tomcat" Book
25b0f4912d merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Kris Maglione
1deafeed86 Bug 1331999: Fix race in setting initial popup background color. r=aswan
MozReview-Commit-ID: KgRTxRIFbVd
2017-01-18 11:38:46 -08:00
Kris Maglione
fe512e6f1b Bug 1320395: Part 3 - Run WebExtensions in their own process type. r=billm,bobowen
MozReview-Commit-ID: FZ4f1Lda5vh
2017-01-12 14:11:47 -08:00
Bob Silverberg
2df3788beb Bug 1329971 - tab objects returned by sessions.getRecentlyClosed are missing some data, r=kmag
MozReview-Commit-ID: GB3Xaxg8HRf
2017-01-11 09:14:58 -05:00
Wes Kocher
16474ee2b4 Merge m-c to autoland, a=merge 2016-12-22 18:45:10 -08:00
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
Kris Maglione
0bbe39a4f0 Bug 1322869: Part 2 - Memoize some relatively expensive-to-compute tab attributes. r=bsilverberg
MozReview-Commit-ID: EpjsLhlNzvG
2016-12-19 12:34:50 -08: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