Kris Maglione
6470e45452
Bug 1296888: Add "webextensions" tag to WebExtension tests. r=aswan
...
MozReview-Commit-ID: 3QYXtpdznrP
2016-08-20 15:41:31 -07:00
Kris Maglione
007774bc99
Bug 1259093: Follow-up: Fix another test race. r=me
...
MozReview-Commit-ID: 3DsTcQli8Ga
2016-08-20 14:00:37 -07:00
Kris Maglione
b5af7f0b99
Bug 1259093: Follow-up: Fix some test races. r=me
...
MozReview-Commit-ID: riVGF5q3xV
2016-08-19 17:20:22 -07:00
Kris Maglione
bfd63ddac8
Bug 1259093: Part 3 - Preload browserAction popups to prevent flicker during opening. r=Gijs r=jaws r=bwinton f=mattw
...
MozReview-Commit-ID: EpAKLV8VPTn
2016-08-19 12:29:11 -07:00
Rob Wu
6efdd88867
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
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
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
Wes Kocher
bb9e0744e6
Merge inbound to central, a=merge
...
a=release to get around the webidl hook for a comment-only change
2016-08-16 17:05:30 -07:00
Rob Wu
c7fc69c140
Bug 1294920 - Fix test expectation on high-density screens in browser_ext_browserAction_pageAction_icon_permissions r=billm
...
MozReview-Commit-ID: 8iQXNEmsMJ5
2016-08-12 19:15:28 -07:00
Rob Wu
8472b153c7
Bug 1290157 - Always pass an array to tabs.executeScript on success r=kmag
...
MozReview-Commit-ID: Ctw8RUtfEZC
2016-08-09 00:28:47 -07:00
Phil Ringnalda
6bc09b7861
Backed out 3 changesets (bug 1246034) for Win e10s timeouts in browser_ext_commands_execute_browser_action.js
...
Backed out changeset f1f24546c26c (bug 1246034)
Backed out changeset 2c396099a21d (bug 1246034)
Backed out changeset 8cce25ece209 (bug 1246034)
2016-08-15 21:36:34 -07:00
Wes Kocher
aec3bff611
Bug 1246034 - ESLint followup a=me CLOSED TREE
2016-08-15 15:20:40 -07:00
Wes Kocher
5b870e1886
Merge m-c to inbound, a=merge
2016-08-15 14:53:49 -07:00
Wes Kocher
924bec4dbe
Merge inbound to central, a=merge
2016-08-15 14:20:38 -07:00
Kris Maglione
b3640156d8
Bug 1225215: Follow-up: ESLint fix. r=me
...
MozReview-Commit-ID: WP5idmrVE6
2016-08-14 20:05:07 -07:00
Sebastian Hengst
82a124132f
merge mozilla-central to autoland. r=merge a=merge
2016-08-13 13:54:41 +02:00
Sebastian Hengst
10c1305bca
Backed out changeset 0c4f81bc2b52 (bug 1252224) for permafailing in browser_ext_browserAction_popup_resize.js on Linux after merge to mozilla-central. r=backout a=backout
...
MozReview-Commit-ID: KUARkl7QxB7
2016-08-13 13:27:15 +02:00
Wes Kocher
9247be04ab
Merge fx-team to central, a=merge CLOSED TREE
2016-08-12 14:37:49 -07:00
Wes Kocher
aecd5f5f0e
Merge m-c to autoland, a=merge
2016-08-12 16:30:03 -07:00
Rob Wu
30a88dff65
Bug 1293583 - add test that checks whether the main frame has frame ID 0 r=billm
...
Tests cannot be run in a new process, so when this test is run along
with other tests, the faulty behavior is not caught.
You can manually check whether the bug is still present by running the
test in isolation:
mach mochitest browser/components/extensions/test/browser/browser_ext_webNavigation_frameId0.js
MozReview-Commit-ID: LwumSU7zh8R
2016-08-09 00:12:09 -07:00
Jared Wein
cfe3213e30
Bug 1252224 - Remove synchronous layout flushes and style invalidations during the opening of multiview panels. r=mconley
...
MozReview-Commit-ID: 9T4gAPwFrXp
* * *
[mq]: temp
MozReview-Commit-ID: Bj91OhNd8ed
* * *
[mq]: temp
MozReview-Commit-ID: J8h8InaMRP4
2016-08-04 17:30:54 -04:00
Carsten "Tomcat" Book
ce02c3ed29
merge mozilla-inbound to mozilla-central a=merge
2016-08-10 15:54:26 +02:00
Kris Maglione
3670cead92
Bug 1280128: [webext] Use transparent backgrounds and correct border radii for popup browsers. r=bwinton ui-r=maritz
...
MozReview-Commit-ID: 9jmuxdSLmBM
2016-08-09 12:08:04 -07:00
Wes Kocher
e1591981bb
Backed out changeset 9999b6b8022b (bug 1280128) for ESLint failures
2016-08-09 11:28:12 -07:00
Kris Maglione
c42feb4686
Bug 1280128: [webext] Use transparent backgrounds and correct border radii for popup browsers. r=bwinton ui-r=maritz
...
MozReview-Commit-ID: 9jmuxdSLmBM
2016-08-09 10:54:53 -07:00
Andrew Swan
1206774e48
Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
...
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging. This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).
With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...
MozReview-Commit-ID: G6xk1mBJJL8
2016-08-02 16:04:37 -07:00
Kris Maglione
aa06adc855
Bug 1290117: Call sendMessage response callback when there are no replies. r=robwu
...
MozReview-Commit-ID: 1BYD1CgZmvD
2016-08-06 14:21:10 -07:00
Kris Maglione
557d31ba7e
Bug 1293036: Prevent BasePopup._resizeBrowser from being called recursive from MozScrolledAreaChanged events. r=robwu
...
This doesn't include tests for this behavior, because I'm not sure there's a
good way to test it reliably.
MozReview-Commit-ID: CM5rj1f9YiG
2016-08-07 12:44:15 -07: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
Matthew Wein
39818dc31f
Bug 1246034 - Part 2: [webext] Add support for _execute_browser_action. r=kmag
...
MozReview-Commit-ID: EIbPidn07qZ
2016-07-08 15:02:49 -07:00
Kris Maglione
548f0ffcdd
Bug 1246034 - Part 1: [webext] Add a helper function to trigger a browserAction. r=jaws
...
MozReview-Commit-ID: JUW6oUpWiN4
2016-08-05 18:35:39 -07:00
fiveNinePlusR
2ebc691028
Bug 1289213 - Part 2: Fall back to the tab.label when there is no browser.contentTitle available. r=kmag
...
When a tab is unloaded, the session browser.contentTitle is unavailable so this patch allows the title to be exposed when the tab is unloaded.
2016-08-11 19:44:00 -04:00
fiveNinePlusR
0513b456b2
Bug 1291830 - Do not return tabs that are in the process of closing from a chrome.tabs.query call. r=kmag
2016-08-09 16:43:33 -07:00
Kris Maglione
4533efc450
Bug 1293099: Fill panel arrow and arrow content with browser body's background color. r=bwinton ui-r=maritz
...
MozReview-Commit-ID: 3xf31UgUy2A
2016-08-08 14:06:19 -07:00
Kris Maglione
05c8683123
Bug 1277181: Split up browser_ext_browserAction_page_icon test. r=trivial
...
MozReview-Commit-ID: 2A0TZzTrREu
2016-08-10 12:19:45 -07:00
Kris Maglione
3531e0dc55
Bug 1225215: [webext] Raise the expected errors when given invalid tab IDs. r=aswan
...
MozReview-Commit-ID: E5G0GmVhzLh
2016-02-26 17:56:30 -08:00
Kris Maglione
29f830b0ea
Bug 1288085: Remove spurious "windows" permission. r=me
...
MozReview-Commit-ID: Cce7PLJJGPY
2016-08-08 11:12:59 -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
Carsten "Tomcat" Book
93f24e51f4
merge mozilla-inboudn to mozilla-central a=merge
2016-08-05 12:01:14 +02:00
Kris Maglione
8c8a33c571
Bug 1288979: Always convert badge background color to a ColorTuple. r=aswan
...
MozReview-Commit-ID: CWmaa9wwQLD
2016-08-04 14:50:52 -07:00
Kris Maglione
20862876d8
Bug 1268184: Split browser_ext_runtime_openOptionsPage into two files. r=trivial
...
MozReview-Commit-ID: I9UbxGmOjMg
2016-08-04 13:27:31 -07:00
Andrew Swan
e076d622a8
Bug 1292093 Import PlacesUtils.jsm in ext-history r=kmag
...
MozReview-Commit-ID: ICxJbWfVYdb
2016-08-04 11:26:55 -07:00
Carsten "Tomcat" Book
47b71c600c
merge fx-team to mozilla-central a=merge
2016-08-04 15:54:27 +02: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
a9f2d6af1b
Bug 1287159 - Grant activeTab permission to the current tab when onCommand fires. r=kmag
...
MozReview-Commit-ID: ETwqDOBHCRS
2016-07-25 14:42:23 -07:00
Carsten "Tomcat" Book
610b3d18a8
Merge mozilla-central to fx-team
2016-08-02 17:13:42 +02:00
Rob Wu
dcd241dee3
Bug 1275126 - Implement targetUrlPattern for link contexts. r=kmag
...
MozReview-Commit-ID: EzqX8YbeQqI
2016-07-27 18:23:24 -07:00
Robert Helmer
fc30f77754
Bug 1290617 - allow non-temp mock webextensions r=kmag
...
MozReview-Commit-ID: JeEeMkrQ4te
2016-07-29 16:14:19 -07:00