Commit Graph

27 Commits

Author SHA1 Message Date
Sebastian Hengst
c7a498ffbd Backed out changeset 0ce1cc39aa3d (bug 1295082) for timing out in test_ext_schemas_api_injection.js. r=backout 2016-08-18 16:47:09 +02:00
Rob Wu
6189daa99f Bug 1295082 - Put Extension in BaseContext r=kmag
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.

And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.

MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Andrew Swan
a2332fe11b Bug 1292605 Import PlacesUtils.jsm in ext-bookmarks r=kmag
MozReview-Commit-ID: 7h3SR5r9TWN
2016-08-04 13:47:36 -07:00
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Matthew Wein
e3d00b8074 Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: 2U8cTYeH8kg
2016-07-22 12:44:40 -07: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
Ryan VanderMeulen
75cbf81886 Merge inbound to m-c. a=merge 2016-03-12 15:23:38 -05:00
Kris Maglione
eba5c71ba8 Bug 1250784: Follow-up: Fix merge conflict in bookmarks API. r=me
MozReview-Commit-ID: 83I9WhoUZGj
2016-03-11 11:07:22 -08:00
Carsten "Tomcat" Book
5968960e97 Merge mozilla-central to fx-team 2016-03-11 16:58:46 +01:00
Kris Maglione
e1b59246c8 Bug 1250784: Part 2 - [webext] Fix some issues that cause noisy tests. r=Mossop
MozReview-Commit-ID: 93NMinJpWRo
2016-03-09 17:26:27 -08:00
bsilverberg
e065590115 Bug 1236121 - Complete test coverage for the WebExtension bookmarks API. r=kmag
Add coverage for getChildren() when the promise is rejected
Add coverage for create() specifying index
Add coverage for update() specifying a URL
Add coverage for update() when the promise is rejected

MozReview-Commit-ID: 7ANRDWRublL
2016-03-09 10:02:40 -05:00
bsilverberg
f42418db88 Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
MozReview-Commit-ID: HyjJrEjcsZu
2016-03-03 08:00:42 -05:00
Kit Cambridge
235c9a22f1 Back out changeset a67f0b208af6 (bug 1252250) for merge conflicts.
MozReview-Commit-ID: IQzGkqThQzG
2016-03-04 14:46:15 -08:00
bsilverberg
f29825215a Bug 1252250 - Implement browser.bookmarks.removeTree(), r=kmag r=mak
MozReview-Commit-ID: HyjJrEjcsZu
2016-03-04 11:02:28 -08:00
bsilverberg
39c7e3b3f2 Bug 1251269 - Implement browser.bookmarks.getRecent(), r=kmag r=mak
MozReview-Commit-ID: 7nYCplcQZuk
2016-03-03 08:07:16 -05:00
bsilverberg
e9d9dc6ce0 Bug 1253652 - Fix browser.bookmarks.move() and add tests for it. r=kmag, r=mak
Update Bookmarks.update to not require a parentGuid when updating just the index.

MozReview-Commit-ID: JJO2IDyI5oN
2016-03-09 09:30:43 -05: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
Johann Hofmann
5e98a1f54b Bug 1225743 - Implement chrome.bookmarks.search. r=mak 2015-11-24 17:40:08 +01:00
Carsten "Tomcat" Book
34453ebd37 Backed out changeset 9802a7367d48 (bug 1225743) for ES failures 2016-02-12 12:16:19 +01:00
Johann Hofmann
839767f308 Bug 1225743 - Implement chrome.bookmarks.search 2015-11-24 17:40:08 +01:00
Kris Maglione
3b9ea820cd Bug 1234020: Part 2f - [webext] Return promises from the bookmarks API. r=evilpie 2016-02-01 18:12:45 -08:00
Bill McCloskey
cc4c432b00 Bug 1208257 - [webext] bookmarks.json (r=kmag) 2015-12-23 08:57:13 -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
Bill McCloskey
948f074381 Bug 1223585 - [webext] Annotate ignoreEvent (r=kmag) 2015-11-12 08:19:45 -08:00
Fabrice Desré
0c7dd07bd3 Bug 1214021 - Move ext-bookmarks to browser/ r=billm 2015-10-14 16:31:08 -07:00