Commit Graph

76 Commits

Author SHA1 Message Date
Kris Maglione
ed18f55d09 Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
MozReview-Commit-ID: 3qK6GpTmIFQ
2016-04-03 19:31:47 -07:00
Claas Augner
1737833daa Bug 1247455 - Add a .removeCSS method to complement .insertCSS. r=kmag 2016-04-15 00:39:09 +02:00
Kris Maglione
daea263459 Backed out changeset a3fbed43aa55 for a new set of intermittent failures.
MozReview-Commit-ID: 1lIDylABshC
2016-04-25 18:13:41 -07:00
Kris Maglione
1acdedc255 Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
MozReview-Commit-ID: 3qK6GpTmIFQ
2016-04-03 19:31:47 -07:00
Kris Maglione
6f3240ccb2 Bug 1238310: Part 5 - Implement the browser.tabs.onZoomChange event. r=gabor f=aswan
MozReview-Commit-ID: JlxSM13SeYg
2016-04-01 11:45:01 -07:00
Carsten "Tomcat" Book
7e879bbd62 merge mozilla-inbound to mozilla-central a=merge 2016-04-25 11:55:12 +02:00
Phil Ringnalda
efb295823a Back out a57938cd29d2 (bug 1254003) for timeouts in browser_ext_tabs_* 2016-04-24 22:16:13 -07:00
Kris Maglione
e58eb81098 Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
MozReview-Commit-ID: 3qK6GpTmIFQ
2016-04-03 19:31:47 -07:00
Kris Maglione
57af5fa029 Backed out changeset 8afadb96e977 for too many intermittent failures (bug 1254003).
MozReview-Commit-ID: 2wFCgIaH9lM
2016-04-24 00:39:29 -07:00
Kris Maglione
c71fbe77e2 Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
MozReview-Commit-ID: 3qK6GpTmIFQ
2016-04-03 19:31:47 -07:00
Kris Maglione
fb9a311d22 Bug 1238310: Part 4 - Refactor tab listener code. r=aswan
MozReview-Commit-ID: 66ZXlvepRsz
2016-02-17 11:47:56 -08:00
Kris Maglione
eacbda6ad5 Bug 1238310: Part 3 - Implement the base browser.tabs zoom API. r=aswan
MozReview-Commit-ID: BZEFOnCRMba
2016-04-01 15:44:29 -07:00
Matthew Wein
e265f5e579 Bug 1245355 - Add a unit test for tabs.getAllInWindow. r=kmag
MozReview-Commit-ID: 5wVRCLdCuq9
2016-03-17 09:35:58 +01:00
tofumatt
c760f1a680 Bug 1237822 - Throw error if tabs.query is used without "tabs" permission with url param. r=kmag
MozReview-Commit-ID: 4WpawIYcwnl
2016-03-15 15:39:27 +01:00
Bill McCloskey
21d9408694 Bug 1197346 - Rename ExtensionPage to ExtensionContext (r=kmag) 2016-04-23 20:04:29 -07:00
Sebastian Hengst
865d50e126 Backed out changeset 562dbcad5a6e (bug 1245355) for leaking windows and a docshell in its new test browser_ext_tabs_getAllInWindow.js. r=backout 2016-03-16 19:19:41 +01:00
Matthew Wein
91fecea3a3 Bug 1245355 - Add a unit test for tabs.getAllInWindow r=kmag
MozReview-Commit-ID: 5wVRCLdCuq9
2016-03-15 12:01:40 +01:00
Kris Maglione
e0795d5219 Bug 1220154, 1249830: Handle sendMessage replies with 0 and >1 listeners correctly. r=billm
MozReview-Commit-ID: 7lE7RaJcl7n
2016-03-04 15:40:56 -08:00
Kris Maglione
35884ee2a7 Bug 1253132: [webext] Support window states in browser.windows APIs. r=billm
MozReview-Commit-ID: LIw6swRAB3h
2016-03-05 09:59:35 -08:00
Kris Maglione
d7334ea44a Bug 1248499: [webext] Implement tabs.detectLanguage. r=billm
MozReview-Commit-ID: F4GpSesj2ho
2016-02-26 13:20:28 -08:00
Andy McKay
66ac63cf1a Bug 1248460 - pin during SSTabRestoring. r=kmag
MozReview-Commit-ID: A88UnreihK7
2016-02-29 13:45:36 -08:00
Matthew Wein
52d1cd6bcd Bug 1220124 - Add support for chrome.tabs.onhighlight. r=kmag
MozReview-Commit-ID: BB6vJl8qV4l
2016-02-07 18:35:22 -08:00
Kris Maglione
55354c26e2 Bug 1213993: [webext] Support frameId/allFrames/runAt in browser.tabs.executeScript and insertCSS. r=billm
MozReview-Commit-ID: FgV9vyHVjj8
2016-02-08 17:40:02 -08:00
Luca Greco
fc3ac46ddc Bug 1227462 - tabs.create and tabs.update should check URLs using checkLoadURL. r=kmag
MozReview-Commit-ID: EKFRpoSuXrF
2016-02-25 18:13:59 +01:00
Kris Maglione
8a6a9a1582 Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
MozReview-Commit-ID: F2GoU1fzj4s
2016-02-11 14:32:58 -08:00
Kris Maglione
852f68eea9 Bug 1234086: [webext] Add support for tabs.onAttached/onDetached events. r=billm
MozReview-Commit-ID: 4Kk1mTdGflI
2016-02-17 11:52:33 -08:00
Wes Kocher
50a6c0c612 Backed out changeset 5ec466af51e1 (bug 1234086) for failures in browser_ext_tabs_update.js 2016-02-17 14:31:04 -08:00
Wes Kocher
a19d946aed Backed out changeset c893cd374dcd (bug 1238313) 2016-02-17 14:30:56 -08:00
Kris Maglione
6ff4ef3207 Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
MozReview-Commit-ID: F2GoU1fzj4s
2016-02-11 14:32:58 -08:00
Kris Maglione
85151958d9 Bug 1234086: [webext] Add support for tabs.onAttached/onDetached events. r=billm
MozReview-Commit-ID: 4Kk1mTdGflI
2016-02-17 11:52:33 -08:00
Andy McKay
102661d869 Bug 1238312 - implement tabs.duplicate. r=kmag
MozReview-Commit-ID: Fzd6BuAEgSl
2016-02-12 15:38:55 -08:00
Kris Maglione
666cee3637 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Kris Maglione
c741b1621b Bug 1235571: Add an adoptTab method to <tabbrowser> and remove duplicated code. r=billm 2016-02-10 15:27:08 -08:00
Kris Maglione
5b7fc951d6 Bug 1234020: Part 2j - [webext] Return promises from the tabs API. r=rpl 2016-02-05 18:50:58 -08:00
Matthew Wein
a4b5f1da36 Bug 1242588 fix how tab.create handles missing URLs. r=kmag 2016-01-30 17:09:49 -08:00
Kris Maglione
d70aaf9205 Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm 2016-01-25 17:48:54 -08:00
Kris Maglione
c71b8aa2e6 Bug 1234020: Part 1 - [webext] Add initial binding-level promise<->callback support. r=billm 2016-02-01 19:20:13 -08:00
Matthew Wein
9db303e40d Bug 1234308 - Fix tabs.onCreated callback to receive bare tabs object (bug 1234308); r=kmag 2016-01-27 16:33:32 -08:00
Kris Maglione
cb2bf096f9 Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm 2016-01-29 18:38:08 -08:00
Kris Maglione
ce0d04043d Bug 1238311: Part 3 - [webext] Add audible and muted support to browser.tabs API. r=gabor 2016-01-26 17:06:41 -08:00
Kris Maglione
f7fb9d596b Bug 1210583: Part 2 - [webext] Support callbacks in tabs.executeScript/tabs.insertCSS. r=billm 2016-01-25 20:25:11 -08:00
Kris Maglione
b0279e6f59 Bug 1210583: Part 1 - [webext] Add support for cross-process messaging with async responses. r=billm 2016-01-27 12:57:21 -08:00
Kris Maglione
284d8ac3d9 Bug 1233326: [webext] Fix default value handling for tabs.create, and add missing tests. r=billm 2016-01-05 19:06:44 -08:00
Kris Maglione
0ed3771d59 Bug 1214007: Follow-up: Fix ESLint errors. r=trivial 2016-01-05 15:10:39 -08:00
Andy McKay
540483a6ea Bug 1214007 - Implement chrome.tabs.move. r=billm 2015-12-23 17:04:23 -08:00
Kris Maglione
ef4d15a0eb Bug 1229874: Support defineLazyServiceGetter in components-import eslint helper. r=miker 2015-12-02 16:49:50 -08:00
Felipe Gomes
8ff5f8cd13 Bug 1231728 - Fixes some code to follow eslint rules. r=mak 2015-12-10 14:38:30 -05:00
Bill McCloskey
0553f0441b Bug 1208257 - [webext] tabs.json (r=kmag) 2015-12-06 08:50:24 -08:00
Kris Maglione
956fe582d0 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.
2015-12-02 16:58:53 -08:00
Kris Maglione
6150af18a3 Bug 1190688: Part 1 - [webext] Implement the activeTab permission. r=billm 2015-12-01 20:37:41 -08:00