Kris Maglione
bbe2608ca7
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Carsten "Tomcat" Book
f4f95b21aa
merge mozilla-central to mozilla-inbound
2017-01-27 11:16:17 +01:00
Florian Quèze
c8cf49999e
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Andrew Swan
d23b45b581
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Phil Ringnalda
5781d2a09e
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
99c8d3a692
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
JerryShih
b518b2acc4
Bug 1310681 - do not use devtools colorUtils in browser. r=kmag,tromey
...
MozReview-Commit-ID: 3qbsBGC7Lt6
2016-10-21 10:03:58 -04:00
Tomislav Jovanovic
15e02ac8ad
bug 1320439 - Fix submenus in page_action, browser_action contextMenus, r=kmag
...
MozReview-Commit-ID: AGhu1tbofrB
2016-11-28 03:15:02 +01:00
Tomislav Jovanovic
07dc88615d
bug 1253418 - implement contextMenu page_action and browser_action contexts r=kmag
...
MozReview-Commit-ID: Ftp77zmxo4B
2016-11-09 21:03:33 +01: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
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
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
Rob Wu
cc38019772
Bug 1287007 - Move part of browserAction and pageAction to child r=billm
...
And remove redundant `Promise.resolve()` because it is the default
for async functions.
setIcon is not supported on Android, so there was no need to change
mobile/android/components/extensions/ext-pageAction.js.
MozReview-Commit-ID: 94ebaJFxLAi
2016-09-11 04:18:35 -07:00
Rob Wu
a87111ce7c
Bug 1287007 - Mark all browserAction methods as async r=billm
...
E.g. browser.browserAction.enable(...).then(...) now works as expected.
Removed a Promise.resolve() because that is the default.
MozReview-Commit-ID: 4Shxtn0rjYH
2016-09-02 14:22:09 -07:00
Kris Maglione
d4f9daf879
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-20 15:27:51 -07:00
Phil Ringnalda
12b5bd3b6d
Backed out 2 changesets (bug 1287209) for failures in browser_ext_pageAction_popup_resize.js
...
Backed out changeset 50dcca551b63 (bug 1287209)
Backed out changeset cc7503f09572 (bug 1287209)
MozReview-Commit-ID: A5q4SnWzgOa
2016-10-20 19:23:33 -07:00
Kris Maglione
967a70173c
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-20 15:27:51 -07:00
Wes Kocher
8bf7d8ac8b
Backed out 2 changesets (bug 1287209) for browser_ext_commands_execute_browser_action.js leaks a=backout
...
Backed out changeset a6787db4d131 (bug 1287209)
Backed out changeset 7ea8213113d7 (bug 1287209)
2016-10-20 14:37:12 -07:00
Kris Maglione
ddb12899fc
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-20 09:57:13 -07:00
Sebastian Hengst
b8a5819c2d
Backed out changeset 68806639c031 (bug 1287209) for failing browser-chrome test browser_ext_popup_corners.js. r=backout
2016-10-20 09:17:03 +02:00
Kris Maglione
c0448e9939
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
2016-10-19 20:19:43 -07:00
Kris Maglione
c2be3319a7
Bug 1246034: Part 1 - [webext] Add a helper function to trigger a browserAction. r=jaws
...
MozReview-Commit-ID: JUW6oUpWiN4
2016-09-07 11:05:11 +01:00
Greg Tatum
0fc28c2ff3
Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
...
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8
2016-09-14 10:00:27 -05:00
Sebastian Hengst
93c9c62451
Backed out changeset 1bca17123507 (bug 1290988) for xpcshell failures (test_rewriteDeclarations.js) and devtools failures (browser_styleeditor_syncAddProperty.js). r=backout
2016-09-13 17:43:44 +02:00
Greg Tatum
36e0a1b1fa
Bug 1290988 - Collect devtools/shared/css-* files into a folder; r=tromey
...
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8
2016-08-29 11:02:34 -05:00
Rob Wu
812e170fe8
Bug 1287010 - Make environment of Context explicit. r=billm
...
- Add `envType` to BaseContext.
- Pass an explicit envType to all `registerSchemaAPI` invocations.
- The factories passed to `registerSchemaAPI` will be split up later, so
that content scripts (`content_child`) and addon pages can share
common implementations.
- The factories that implement the addon API will also be split up,
to separate code running in the main process (`addon_parent`) from
code running in a child process (`addon_child`).
- Remove the use of a hardcoded list of `namespaces` from ProxyContext.
Now `envType` is used to specify whether an API should be activated.
MozReview-Commit-ID: Jiff8HIwG92
2016-08-16 15:51:50 -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
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
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
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
Pushpankar
77a14e357c
Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
2016-07-16 10:20:04 +02:00
Kris Maglione
e30a4f143e
Bug 1272222: Use larger icons for browser actions in the menu panel. r=Gijs
...
MozReview-Commit-ID: 26lmlcrngPk
2016-07-13 15:16:00 -07: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
Kris Maglione
09b7784574
Bug 1272219: Use 16px icons for BrowserAction buttons, support 18px as a legacy fallback. r=bwinton ui-r=bwinton
...
MozReview-Commit-ID: 2c0UWR6hITQ
2016-06-05 21:05:36 -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
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
Matthew Wein
1fe6f775a1
Bug 1246035 - Add support for _execute_page_action r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Sebastian Hengst
d225c22e6f
Backed out changeset 4a92742ac20d and ddf8219182fb (bug 1246035) for failing modified ddf8219182fb on OS X 10.6 opt M(bc2). r=backout
2016-03-25 23:14:25 +01:00
Matthew Wein
29f350524e
Bug 1246035 - Add support for _execute_page_action. r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Carsten "Tomcat" Book
748b0fee3c
Backed out changeset 70960616621c (bug 1246035) for eslint failures
2016-03-18 10:04:15 +01:00
Matthew Wein
f205ed8a72
Bug 1246035 - Add support for _execute_page_action. r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Kris Maglione
2d83ab587e
Bug 1214955: [webext] Automatically localize all localizable manifest properties. r=billm
...
MozReview-Commit-ID: 2kvYT44NIE8
2016-02-29 19:34:49 -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
230e562b01
Bug 1234020: Part 2g - [webext] Return promises from the browserAction API. r=rpl
2016-02-01 18:14:05 -08:00
Kris Maglione
9c47f8c68d
Bug 1217129: Part 5 - [webext] Use CustomizableUI views for BrowserAction popups. r=gijs ui-r=bwinton
...
This version addresses some popup sizing bugs, and also a few other issues I
ran into when debugging Blake's problems:
* The standalone popup needs a max width of 800px for Chrome compatibility,
which is wider than our default max width.
* I added a flex attribute to our browser so that it fills the entire space
of the slide-in panel. This is only necessary for browsers with content
that is shorter than the height of the panel when it gets its desired
width, but becomes longer when it doesn't, so it didn't show up in my
initial tests.
* I also added an extra pixel to the width calculations, since I noticed that
a lot of single lines of text were unexpectedly wrapping without it. I'll
look into this more in a follow-up bug.
I also added some comments, and renamed a couple of variables, where things
seemed unclear.
The test changes are mostly just updates to older browser action tests to use
newer helpers, rather than ad-hoc events, to open/close/click the widgets. A
few tests also needed updates to explicitly close the panel when they were
done with it.
2016-01-15 15:14:25 -08:00