Commit Graph

79 Commits

Author SHA1 Message Date
Rob Wu
ce9c6d652e Bug 1296900 - Hide commands API if manifest key is missing r=kmag
MozReview-Commit-ID: 7vld6MgSlqG
2016-08-20 23:01:43 -07:00
Wes Kocher
8174fa8630 Backed out 2 changesets (bug 1296900) for mochitest failures in test_ext_all_apis.html a=backout
Backed out changeset c37cf3cfd39c (bug 1296900)
Backed out changeset 998ed8336288 (bug 1296900)
2016-09-23 16:15:05 -07:00
Rob Wu
08e4735360 Bug 1296900 - Hide commands API if manifest key is missing r=kmag
MozReview-Commit-ID: 7vld6MgSlqG
2016-08-20 23:01:43 -07:00
Phil Ringnalda
ca89254357 Backed out 2 changesets (bug 1296900) for est_ext_all_apis.html | failures
Backed out changeset fa509c880990 (bug 1296900)
Backed out changeset 06ee8b3640af (bug 1296900)
2016-09-21 18:59:22 -07:00
Rob Wu
36055ef9cc Bug 1296900 - Hide commands API if manifest key is missing r=kmag
MozReview-Commit-ID: 7vld6MgSlqG
2016-08-20 23:01:43 -07:00
Bob Silverberg
5311746971 Bug 1272676 - Remove HistoryTime and use Date type instead, r=aswan
MozReview-Commit-ID: IqH2eLJwn5d
2016-09-06 12:56:56 -04:00
Kris Maglione
386a89d124 Bug 1265371: Refactor schema parsing to reduce cyclomatic complexity. r=bsilverberg
MozReview-Commit-ID: HzVrf4yG7hZ
2016-08-30 12:24:32 -07:00
Rob Wu
5d41ba7ac3 Bug 1295473 - Fix return type of {tabs,runtime}.sendMessage r=billm
The tabs.sendMessage and runtime.sendMessage implementations behave like
an async function: They take a callback parameter and return a promise.
So they should be handled by |callAsyncFunction|, not
|callFunctionNoReturn|.

This fixes the issue for background pages, but not for content scripts
because sendMessage is not implemented as a schema at the moment. This
will also be fixed once content script APIs are generated via Schemas.

MozReview-Commit-ID: 9p1hvOP0KSm
2016-08-15 23:53:24 -07:00
Bob Silverberg
7a854b5bd7 Bug 1295301 - history.onVisitRemoved argument is wrong after a call to history.deleteAll, r=aswan
MozReview-Commit-ID: 9b9PKAwcNDA
2016-08-16 09:35:37 -04:00
Kris Maglione
ddc33568c0 Bug 1289527: Hide browserAction and pageAction namespaces when relevant manifest entries are missing. r=aswan
MozReview-Commit-ID: 2gx0pLkHaVJ
2016-08-06 14:43:58 -07:00
Kris Maglione
29f830b0ea Bug 1288085: Remove spurious "windows" permission. r=me
MozReview-Commit-ID: Cce7PLJJGPY
2016-08-08 11:12:59 -07:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06: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
Sebastian Hengst
1be0f90cda Backed out changeset 1008f5b88e6b (bug 1270742) for failing browser_ext_browserAction_context.js. r=backout 2016-06-24 13:00:31 +02:00
Matthew Wein
0ead67a3c6 Bug 1270742 - Add support for default_icon in chrome.pageAction. r=kmag
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Bob Silverberg
9a0f6e9271 Bug 1265845 - Implement browser.history.onVisited, r=aswan
MozReview-Commit-ID: 6jXEUA1Cll9
2016-06-08 12:42:13 -04:00
Kris Maglione
843973aa31 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03 Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout 2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Bob Silverberg
804e16c3b3 Bug 1265835 - Implement browser.history.getVisits, r=aswan
MozReview-Commit-ID: lhFdMTHYUl
2016-06-08 08:50:08 -04:00
Bob Silverberg
72de6fba77 Bug 1265847 - Implement browser.history.onVisitRemoved. r=aswan
MozReview-Commit-ID: KzEdwzxzrKn
2016-05-17 10:01:18 -04:00
Matthew Wein
ee2f6cb8a4 Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT
2016-05-25 16:58:43 -07:00
Bob Silverberg
4cbd4af167 Bug 1265836 - Part 4: Implement browser.history.addUrl. r=aswan
MozReview-Commit-ID: CBcKLvRLj3w
2016-05-19 21:55:37 -04:00
Bob Silverberg
1a7d79421b Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8
2016-05-24 09:00:17 -04:00
Ryan VanderMeulen
0910f7ced5 Backed out changesets 1cf7e08007f9 and 981fc919965e (bug 1271777) for browser_ext_commands_onCommand.js failures. 2016-05-26 23:54:39 -04:00
Matthew Wein
589add0c2d Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT
2016-05-25 16:58:43 -07:00
Claas Augner
1737833daa Bug 1247455 - Add a .removeCSS method to complement .insertCSS. r=kmag 2016-04-15 00:39:09 +02:00
Sebastian Hengst
b169ca896f Backed out changeset 800df6b80dc0 (bug 1265836) 2016-05-26 10:32:41 +02:00
Sebastian Hengst
80a9eb2a29 Backed out changeset 1151e3a09e77 (bug 1265836) 2016-05-26 10:32:26 +02:00
Bob Silverberg
8f1e858810 Bug 1265836 - Part 4: Implement browser.history.addUrl. r=aswan
MozReview-Commit-ID: CBcKLvRLj3w
2016-05-19 21:55:37 -04:00
Bob Silverberg
e903af75a7 Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8
2016-05-24 09:00:17 -04:00
Bob Silverberg
405a7c2eab Bug 1265834 - Part 2: Implement browser.history.search. r=aswan, r=mak
Requesting review from mak for the changes to PlacesUtils.jsm.
Note that one of these changes (toPRTime) is also present in the patch for bug 1265836, but I anticipate that this patch may land before that bug.

MozReview-Commit-ID: Kg1XX40A4FW
2016-05-13 10:32:48 -04:00
Blake Winton
7236f29e11 Bug 1269081 - Only apply Firefox's default styles if the add-on author sets "browser_style" to true in the manifest. r=kmag.
MozReview-Commit-ID: JjH0sCkh1U7
2016-05-02 10:59:36 -04:00
Bob Silverberg
9d843c9928 Bug 1265842 - Implement browser.history.deleteAll and deleteRange. r=aswan
MozReview-Commit-ID: 6rcQfPajmfw
2016-04-27 16:51:11 -04:00
Bob Silverberg
a21c8ee6da Bug 1265837 - Implement browser.history.deleteUrl, r=aswan
MozReview-Commit-ID: AzVWzviLkGQ
2016-04-28 08:37:04 -04:00
bsilverberg
23e35b8be1 Bug 1262923 - Create schema for the history API. r=aswan
MozReview-Commit-ID: 1hZRJtemPMb
2016-04-07 14:56:02 -04:00
Matthew Wein
dec1342478 Bug 1263560 - Accept whitespace in command API key names. r=kmag
MozReview-Commit-ID: IGQDs1RuE7w
2016-04-14 22:39:50 -04: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
Kris Maglione
5f2e76443b Bug 1253133: [webext] Support changing window geometry via windows.update. r=aswan
MozReview-Commit-ID: LQGXyB9WuiI
2016-03-22 23:13:11 +01:00
Kris Maglione
e5c54b2086 Bug 1253130: [webext] Support the alwaysOnTop in the browser.windows API. r=gabor
MozReview-Commit-ID: FNBCsDt0UT8
2016-03-22 23:11:35 +01:00
Tom Schuster
45bf54777a Bug 1253134 - Support drawAttention in browser.windows.update. r=kmag 2016-03-17 12:59:11 +01:00
Luca Greco
ed96a2dc71 Bug 1253565 - [webext] add "UnrecognizedProperty" to commands manifest properties. r=kmag
MozReview-Commit-ID: 9r2MaceQ4Kk
2016-03-14 12:03:46 +01:00
Luca Greco
7b5b532584 Bug 1253565 - [webext] use 'UnrecognizedProperty' on browser and page actions. r=kmag
MozReview-Commit-ID: 8RfrogKRoP8
2016-03-14 12:26:45 +01:00
Wes Kocher
459c1c3b12 Backed out 5 changesets (bug 1253565) for test_ext_contentscript.html failures
Backed out changeset d50f024f55d8 (bug 1253565)
Backed out changeset 8a78c738b882 (bug 1253565)
Backed out changeset 1e47cefe3b9b (bug 1253565)
Backed out changeset c02c1dc34180 (bug 1253565)
Backed out changeset 398160abc223 (bug 1253565)

MozReview-Commit-ID: 4RN69nKhyYr
2016-03-14 11:16:28 -07:00
Luca Greco
e8217a900f Bug 1253565 - [webext] Add "UnrecognizedProperty" to commands manifest properties. r=kmag
MozReview-Commit-ID: 9r2MaceQ4Kk
2016-03-14 12:03:46 +01:00
Luca Greco
9ae3bca3df Bug 1253565 - [webext] Use 'UnrecognizedProperty' on browser and page actions. r=kmag
MozReview-Commit-ID: 8RfrogKRoP8
2016-03-14 12:26:45 +01:00
Ryan VanderMeulen
9d870ccf58 Merge m-c to inbound. a=merge 2016-03-05 19:30:51 -05:00
Ryan VanderMeulen
a3661f3652 Merge fx-team to m-c. a=merge 2016-03-05 19:22:45 -05:00
Kris Maglione
be45cc1d06 Bug 1253128: [webext] Support type=popup in the browser.windows API. r=billm
MozReview-Commit-ID: ALgprY2w7w9
2016-03-03 18:44:18 -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