Commit Graph

1180 Commits

Author SHA1 Message Date
Tomislav Jovanovic
e7e303ee0e bug 1310331 - implement matchAboutBlank for tabs.executeScript r=kmag
MozReview-Commit-ID: ApuakyrctzD
2016-11-03 11:41:21 +01:00
Michael Layzell
50024eb6a5 No bug - Correct previously ignored argument to gBrowser.duplicateTab, a=bustage
MozReview-Commit-ID: Bs3rkMsLFbk
2016-11-15 13:50:29 -05:00
Kris Maglione
db0fb8589b Bug 1308416: Un-request longer timeout for browser_ext_windows_create, since the last failure was before it was split up.
MozReview-Commit-ID: 7CMC31puAOP
2016-11-15 09:45:05 -08:00
Kris Maglione
7773c208b0 Bug 1315769, 1308416: Request longer timeouts for tests that can't be split up.
MozReview-Commit-ID: IWRk3FYqKIE
2016-11-15 09:36:27 -08:00
Kris Maglione
e009ce031d Bug 1312492: Fix intermittent. r=me
MozReview-Commit-ID: 2l8z5BLP4hs
2016-11-15 08:51:37 -08:00
Kris Maglione
42792859c4 Bug 1312392: Fix a timing regression in popup sizing tests. r=trivial
MozReview-Commit-ID: EDkPfxCN8BE
2016-11-14 17:15:45 -08:00
Kris Maglione
b4e56ef41e Bug 1316784: Kill PseudoChildAPIManager. r=aswan
MozReview-Commit-ID: CIRltzhWWAJ
2016-11-11 15:50:29 -08:00
Sebastian Hengst
fed6b9490d Backed out changeset 888815bca14c (bug 1316784) 2016-11-12 13:43:23 +01:00
Kris Maglione
7ee67562ed Bug 1316784: Kill PseudoChildAPIManager. r=aswan
MozReview-Commit-ID: CIRltzhWWAJ
2016-11-11 15:50:29 -08:00
Kris Maglione
d93e64da44 Bug 1316780: Part 2 - Remove ext-test.js. r=aswan
MozReview-Commit-ID: HGv8t0LZK4K
2016-11-11 15:23:17 -08:00
Wes Kocher
5168212894 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book
cabaa5540f Merge mozilla-central to mozilla-inbound 2016-11-11 16:43:07 +01:00
Carsten "Tomcat" Book
561dbc62e1 Backed out changeset 7ef35cccfd7b (bug 1267810) 2016-11-11 09:08:18 +01:00
Wes Kocher
1ce6160424 Backed out changeset 15886f6c3dd1 (bug 1311576) for test_ext_webrequest_filter.html failures a=backout 2016-11-10 23:36:07 -08:00
Matthew Wein
9ce3e30edf Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
MozReview-Commit-ID: GYzueGSijyd
2016-11-11 02:06:43 +00:00
Matthew Wein
8087ad59e9 Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
MozReview-Commit-ID: GYzueGSijyd
2016-11-11 02:06:43 +00:00
djmdev
1b539bd4c9 Bug 1274860 - Modify getContexts function so that page context is applied properly. r=kmag 2016-11-11 17:49:44 +05:30
Shane Caraveo
beac0c5fcf Bug 1311576 fix webrequest filter for tabId and windowId, r=kmag
MozReview-Commit-ID: Gfg3Wv7JGI6
2016-11-10 09:54:34 -08:00
Carsten "Tomcat" Book
a3d6de70fa merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Kris Maglione
fc4b71e5a1 Bug 1315872: Refactor browser_ext_tabs_cookieStoreId. r=aswan
MozReview-Commit-ID: J4diktOFIQR
2016-11-07 22:08:24 -08:00
Kris Maglione
b73015d895 Bug 1315872: Refactor tests that check for promise rejection to use assertRejects. r=aswan
MozReview-Commit-ID: 1fBE7B2OdH7
2016-11-07 22:04:49 -08:00
Tom Schuster
8a865b25f4 Bug 1221764 - Implement simple chrome.bookmarks events, r=aswan,mak
MozReview-Commit-ID: LWbhYf8CpZD
2016-08-17 10:22:10 -04:00
Bob Silverberg
1a6335b5b2 Bug 1308060 - Implement sessions.restore WebExtensions API, r=aswan
MozReview-Commit-ID: Ci7WhKYJBN1
2016-11-07 14:53:27 -05:00
Kris Maglione
569fb0cb43 Bug 1315575: Part 3 - Convert ImageData objects at the binding layer, and remove unnecessary content bindings. r=aswan
MozReview-Commit-ID: CjqXRiFcMWp
2016-11-06 17:35:07 -08:00
Wes Kocher
86964bef8b Merge inbound to central, a=merge 2016-11-07 14:00:52 -08:00
Kris Maglione
0ab41d69f6 Bug 1306797: Dispatch key events to the correct windows. r=me
MozReview-Commit-ID: 2jxb5dnVREu
2016-11-06 19:18:24 -08:00
Phil Ringnalda
4c46d018e5 Merge m-c to m-i
MozReview-Commit-ID: KCA8bY2DowI
2016-11-06 19:16:46 -08:00
Kris Maglione
1f1a3e01f3 Bug 1266510: Try explicitly focusing new browser window before waiting for focus change event. r=me
MozReview-Commit-ID: B3mod2MtA8d
2016-11-06 19:03:03 -08:00
Kris Maglione
8583b9858a Bug 1308649: Split browser_ext_windows_create.js into three files. r=me
MozReview-Commit-ID: 5abJw8VEJCU
2016-11-06 17:43:47 -08: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
526a59632c Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04: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
b4842e7473 Bug 1308421: Handle MessageChannel responses correctly after docshells have been swapped. r=aswan
MozReview-Commit-ID: HDTrBfdclXd
2016-10-11 21:08:33 +01:00
Kris Maglione
85d559d507 Bug 1307551: Don't attempt to pre-load popup for disabled browserAction. r=bsilverberg
MozReview-Commit-ID: 8imoqD1Xoja
2016-11-01 09:41:30 -07:00
Kris Maglione
bec1b361f5 Bug 1312690: Lazily initialize extension APIs. r=aswan
MozReview-Commit-ID: 2ofzT6wPvus
2016-11-02 19:21:04 -07:00
Shane Caraveo
b2ca77fcab Bug 1273138 fix WebRequest for background pages, r=kmag
MozReview-Commit-ID: DEW9anMmKi2
2016-11-02 09:30:50 -07:00
Kris Maglione
970653dbb7 Bug 1313956: Async all the tests. r=aswan
MozReview-Commit-ID: CyNCfEsDD42
2016-11-07 21:03:14 -08:00
Ryan VanderMeulen
112d5746d5 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Andrea Marchesini
b45c01c2f2 Bug 1302697 - Containers and WebExtensions - part 3 - getAllCookieStores, r=kmag 2016-10-28 10:16:32 +02:00
Andrea Marchesini
bc1116fcdc Bug 1302697 - Containers and WebExtensions - part 1 - Tab API, r=kmag 2016-10-28 10:15:42 +02:00
Eric Rahm
965e3eada3 Bug 1312901 - Part 2: Use nsIArray for URL argument when opening a window. r=Gijs
This updates the URL argument to use an nsIMutableArray instead of an nsIArray.

MozReview-Commit-ID: 45kvKCBYNK6
2016-10-27 14:22:14 -07:00
Rob Wu
1a903f50f2 Bug 1299411 - Pass port parameter to port.onMessage r=kmag
This should have been a part of bug 1298810, but that only set the
argument for native messaging ports, which does not use Port from
ExtensionUtils. The port parameter must also be included in runtime's
Port.onMessage to avoid regressions when the port implementations are
unified and native messaging starts using runtime's Port.

Note that starting from this commit, multiple onMessage listeners
receive the same (cloned) message instead of a new clone per listener.
This is a side effect of using `fire.withoutClone` instead of `fire`:
`fire` clones all parameters, but ports are not cloneable so we have
to use `fire.withoutClone` instead. This change with regards to message
cloning is fully compatible with Chrome's messaging API (which also
passes the same message object to all `port.onMessage` calls).

MozReview-Commit-ID: AUDuUKHkXCM
2016-09-24 11:34:26 +02:00
Carsten "Tomcat" Book
7b3ddedddd Backed out changeset 0fd006bf6f9d (bug 1308058) for timeouts in browser_ext_sessions.js 2016-10-28 15:45:29 +02:00
Rob Wu
dcfc8d1a52 Bug 1287007 - Fix timing issue in browser_ext_windows_create_tabId.js r=billm
When tabs.onUpdated is called before the promise of windows.create
resolves, the test fails.
This test failure was observed on almost every try run with non-e10s,
and sometimes (rarely) with e10s.

MozReview-Commit-ID: 3znCP1uAUSB
2016-10-21 01:35:03 +02:00
Rob Wu
6f174d89d2 Bug 1287007 - Fix timing issue in browser_ext_contextMenus.js r=billm
MozReview-Commit-ID: D7No2zFUWjf
2016-10-12 01:10:33 +02:00
Rob Wu
c7f6b42024 Bug 1287007 - Adjust state test in browser_ext_windows_update.js on Linux r=kmag
The test/browser/browser_ext_windows_update.js test fails on Linux.

The window ID is not expected to change, add assertion for it to
eliminate causes for test failures.

Ultimately, it turns out that the test failure is caused by a defect
in the implementation, not the test itself, see bugzil.la/1307759

MozReview-Commit-ID: Lo8IIvcfYQ2
2016-10-03 01:13:32 +02:00
Rob Wu
925536f20a Bug 1287007 - Fix timing issue in browser_ext_tabs_onUpdated.js r=billm
Reload about:blank tab after opening it and registering the
`tabs.onUpdated` event. This is needed because about:blank loads very
fast, before the callback of `tabs.create` is invoked. This effect is
amplified by the fact that the APIs are now proxied.

MozReview-Commit-ID: DgPtIqHSUDx
2016-10-01 01:07:22 +02:00
Rob Wu
8fae22a649 Bug 1287007 - Remove contextMenusInternal.onClicked r=billm
contextMenusInternal.onClicked is already inlined in context_menus.json.
It should be removed because otherwise the
`browser.contextMenusInternal.onClicked` API would be generated.

MozReview-Commit-ID: LAKd2IGM5GU
2016-10-01 00:46:19 +02:00
Rob Wu
d18dd3dbb9 Bug 1287007 - Make browser_ext_tabs_executeScript.js reliable r=billm
The ProxyMessenger registers a listener whenever the first addon
starts. Although the map does not have any listeners any more at
the end of the test, the listener itself is not removed because
the message-manager-close notification is not sent for them.

So do not count these persistent message managers in the test.
The actual message managers of interest are those associated with
the (closed) tab.

Note: When the test is run in isolation, it may still fail due
to bugzil.la/1293583. See bug for work-around if you want to test.

MozReview-Commit-ID: IiDHhmvQPcv
2016-09-15 15:53:03 -07:00