Commit Graph

76 Commits

Author SHA1 Message Date
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
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
b3640156d8 Bug 1225215: Follow-up: ESLint fix. r=me
MozReview-Commit-ID: WP5idmrVE6
2016-08-14 20:05:07 -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
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
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
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
730c3b3741 Bug 1287649: Don't hide pageAction when only hash fragment changes. r=aswan
MozReview-Commit-ID: EvufryoPgcs
2016-07-26 17:28:29 -07:00
Kris Maglione
74d738d0ae Bug 1282189: Improve resizing behavior for browser action views in menu panel. r=Gijs
MozReview-Commit-ID: 3SPQ1IimAY8
2016-07-27 12:46:43 -07:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02: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
Martin Giger
728d99143f Bug 1282171 - Use setTimeout from parent window to throttle resizes. r=kmag
MozReview-Commit-ID: FsEjqfJKOUC
2016-06-25 00:06:56 +00: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
Martin Giger
475182ca8b Bug 1215025 - Resize popup when content size changes. r=kmag 2016-06-22 02:55:00 -04: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
Carsten "Tomcat" Book
342c5bdb1b Backed out changeset 5e6356e7a99e (bug 1270742) for eslint test failures 2016-06-15 01:29:04 +01:00
Matthew Wein
78226ba910 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
403332897f Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Wes Kocher
ef8b093de7 Backed out changeset 99b213f494e1 (bug 1276025) for xpcshell bustage CLOSED TREE 2016-06-07 16:59:20 -07:00
Kris Maglione
3b83db606e Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Bob Silverberg
c652cccab6 Bug 1240326 - Part 2: Utilize lazyWidth and lazyHeight properties from frame loaders for tab width and height. r=kmag
MozReview-Commit-ID: FI41LGDrFFK
2016-04-26 10:25:20 -04:00
Kris Maglione
f51a1e770f Bug 1266510: Add better logging to browser_ext_windows_events test. r=me
MozReview-Commit-ID: 6aKeZvH7jwk
2016-06-02 13:36:57 -07:00
Wes Kocher
13ec7e0347 Backed out 2 changesets (bug 1240326) for failures in browser_ext_tabs_query.js
Backed out changeset c057ea186ced (bug 1240326)
Backed out changeset 4399e8609c74 (bug 1240326)
2016-05-05 13:06:36 -07:00
Bob Silverberg
291b321b4d Bug 1240326 - Part 2: Utilize lazyWidth and lazyHeight properties from frame loaders for tab width and height. r=kmag
MozReview-Commit-ID: FI41LGDrFFK
2016-04-26 10:25:20 -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
Bill McCloskey
21d9408694 Bug 1197346 - Rename ExtensionPage to ExtensionContext (r=kmag) 2016-04-23 20:04:29 -07:00
Bob Silverberg
8727da3b55 Bug 1262976 - browser.windows.onFocusChanged sometimes fires twice, even after the event listener is removed, r=kmag
MozReview-Commit-ID: 4wfFjPBn7zJ
2016-04-08 09:46:45 -04:00
Kris Maglione
7f54275c94 Bug 1248846: [webext] Don't call callbacks after a context is destroyed. r=aswan
MozReview-Commit-ID: 5O2YKGONODH
2016-04-04 14:14:35 -07: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
Blake Winton
5d8a3dbf24 Bug 1225633 - Add better default styles to WebExtension panels. ui-r=shorlander, r=kmag
MozReview-Commit-ID: 8D7BipQtQYz
2016-02-22 15:21:34 -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
Matthew Wein
b1e1284881 Bug 1215375 - Add support for checkboxes, radio groups, and icons. r=kmag 2016-03-02 15:10:01 -08:00
Kris Maglione
a50aae8dd4 Bug 1190663: [webext] Add tests for window.close() in browserAction and pageAction popups. r=rpl
MozReview-Commit-ID: 8r08YRw7IGr
2016-02-27 15:29:42 -08:00
Kris Maglione
6680eada28 Backed out changeset 09d8e3caf51d (bug 1190663) for intermittent mochitest failures on Windows
MozReview-Commit-ID: BsHw1BxNF2t
2016-03-02 19:50:22 -08:00
Kris Maglione
193e4fd086 Bug 1190663: [webext] Add tests for window.close() in browserAction and pageAction popups. r=rpl
MozReview-Commit-ID: 8r08YRw7IGr
2016-02-27 15:29:42 -08: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
Andrew Swan
f410c0275d Bug 1228247 - use document.getFocus() for window.focused. r=enndeakin 2016-02-18 16:36:51 -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
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
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
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
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