Kris Maglione
7f9e2854f0
Bug 1217129: Part 6 - [webext] Test browserAction popups in both the toolbar and in the menu panel. r=gijs r=billm
2016-01-10 19:58:09 -08:00
Kris Maglione
e43981a412
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
Kris Maglione
7c56c53583
Bug 1217129: Part 4b - [webext] Use the extension name as the default title value for browserAction/pageAction popups. r=billm
...
This brings our behavior closer in line with Chrome's.
2016-01-10 21:00:09 -08:00
Kris Maglione
09011cdc1c
Bug 1239884: Part 2 - [webext] Force a GC after certain tests in debug mode to deal with timeout issues. r=billm
2016-01-13 22:34:16 -08:00
Kris Maglione
a7301bf206
Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm
2016-01-09 16:53:24 -08:00
Olivier Yiptong
4585eae9bb
Bug 1218996 - Fuse aboutNewTabService and RemoteNewTabLocation and return resource URLS r=marcosc
2016-01-11 20:30:13 -05:00
Kris Maglione
284d8ac3d9
Bug 1233326: [webext] Fix default value handling for tabs.create, and add missing tests. r=billm
2016-01-05 19:06:44 -08:00
Kris Maglione
805fdcb445
Bug 1237122 - Use base test suite eslintrc files for WebExtension tests. r=trivial
2016-01-05 16:10:33 -08:00
Kris Maglione
376ac1c0fc
Bug 1229248, 1224087, 1230439: Follow-up: Fix ESLint failures. r=trivial
2016-01-05 15:53:12 -08:00
Kris Maglione
274180ad2c
Bug 1211366: Follow-up: Fix ESLint errors. r=trivial
2016-01-05 14:10:58 -08:00
Kris Maglione
0ed3771d59
Bug 1214007: Follow-up: Fix ESLint errors. r=trivial
2016-01-05 15:10:39 -08:00
Andy McKay
540483a6ea
Bug 1214007 - Implement chrome.tabs.move. r=billm
2015-12-23 17:04:23 -08:00
Gabor Krizsanits
14bd34a891
Bug 1235376 - Handling %s in contextMenus. r=kmaglione
2016-01-04 16:54:59 +01:00
Gabor Krizsanits
ee0c99137d
Bug 1211366 - parentId validation in contextMenus. r=kmaglione
2016-01-04 16:54:59 +01:00
Gabor Krizsanits
460abf9c9d
Bug 1211366 - contextMEnus refactoring. r=kmaglione
2016-01-04 16:54:59 +01:00
Ehsan Akhgari
68dbc8791e
Bug 1229248 - Increase the timeout of browser_ext_tabs_query.js
2015-12-30 22:27:40 -05:00
Ehsan Akhgari
83553e0521
Bug 1230439 - Increase the timeout of browser_ext_tabs_executeScript_good.js
2015-12-30 22:27:40 -05:00
Ehsan Akhgari
9ced9825a8
Bug 1224087 - Increase the timeout of browser_ext_tabs_onUpdated.js
2015-12-30 22:27:40 -05:00
Bill McCloskey
8beda44f2f
Bug 1208257 - [webext] browser_action.json (r=kmag)
2015-12-23 08:57:13 -08:00
Kris Maglione
161563856e
Bug 1230776: Fix ESLint failures in HTML test files. r=trivial
2015-12-22 22:26:36 -05:00
Steve Fink
293080d49c
Bug 1231879 - Fix tests: getElementById returns null on failure, not undefined, r=mrbkap
2015-12-10 21:49:18 -08:00
Bill McCloskey
7961c6b051
Bug 1208257 - [webext] Fix failing test
2015-12-06 11:01:20 -08:00
Bill McCloskey
0553f0441b
Bug 1208257 - [webext] tabs.json (r=kmag)
2015-12-06 08:50:24 -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
Kris Maglione
fd3a0f256b
Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm
2015-12-02 15:07:02 -08:00
Kris Maglione
342e9bd17c
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
2015-12-01 20:32:18 -08:00
Wes Kocher
4e87701a29
Backed out 2 changesets (bug 1193837) because the web extension tests are failing CLOSED TREE
...
Backed out changeset ebe2433705a5 (bug 1193837)
Backed out changeset c3307a5ac126 (bug 1193837)
2015-12-02 13:23:18 -08:00
Wes Kocher
599a235cc8
Backed out 2 changesets (bug 1190688) for browser_ext_tabs_executeScript.js permatimeouts
...
Backed out changeset 1d5e9f3d094d (bug 1190688)
Backed out changeset 4a10c564dfca (bug 1190688)
2015-12-02 11:22:31 -08:00
Kris Maglione
1b04c912a2
Bug 1190688: Part 2 - [webext] Add tests for executeScript permission checks. r=billm
2015-12-01 20:47:08 -08:00
Kris Maglione
b2dfad4ce8
Bug 1193837: Part 2 - [webext] Enforce host matching and load URI restrictions on tabs.executeScript and insertCSS. r=billm
2015-12-01 20:32:18 -08:00
Kris Maglione
e478bde6cf
Bug 1212890: [webext] Implement browser.tabs.getCurrent. r=gabor
2015-11-24 19:04:00 -08:00
Johann Hofmann
b377f73bb9
Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend
2015-11-24 18:20:26 +01:00
Kris Maglione
d07aba89a3
Bug 1226423: [wbext] Add tests for panel popup API injection. r=billm
2015-11-20 15:16:31 -08:00
Kris Maglione
ad208e75ad
Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm
2015-11-15 19:34:09 -08:00
Phil Ringnalda
bba6e7ee2d
Back out 6fa3b2df62cc (bug 1218443) for browser_ext_pageAction_context.js leaks
...
CLOSED TREE
2015-11-17 22:38:20 -08:00
Kris Maglione
790da7e8ce
Bug 1218443: [webext] Fix some instances of window listeners not being added correctly. r=billm
2015-11-15 19:34:09 -08:00
Kris Maglione
702ff845d6
Bug 1190321: [webext] Complete test coverage for the browserAction API. r=gabor
2015-11-15 02:01:44 -08:00
Kris Maglione
8da8fb891a
Bug 1213433: [webext] Add enable and disable methods to browserAction API. r=gabor
2015-10-28 02:27:29 -07:00
Edgar Chen
af73cfe4a9
Bug 1205221 - Fix chrome.tabs.onUpdate event doesn't be fired correctly when tab's attribute is changed. r=billm
2015-09-15 14:06:51 +08:00
Luca Greco
cf2e124412
Bug 1213975 - add WebExtension tabs.onUpdated test case. r=billm
2015-10-26 04:54:00 +01:00
Johann Hofmann
e2e3cfb3ca
Bug 1198405 - Use MatchPattern to match URLs in tabs.query. r=billm
2015-10-19 12:29:29 +02:00
Kris Maglione
77e7b3517a
Bug 1197422 - Part 3: [webext] Update browserAction API to use the same context tracking code as pageAction. r=billm
2015-10-15 15:14:49 -07:00
Kris Maglione
118cdecae1
Bug 1197422 - Part 2: [webext] Implement the pageAction API. r=billm ui-r=bwinton
2015-10-15 15:15:04 -07:00
Luca Greco
60ae996521
Bug 1214040 - WebExtension tabs.sendMessage should not raise an exception on unexistent tabId. r=billm
2015-10-16 03:31:00 -04:00
Bill McCloskey
a672b4fba3
Bug 1202897 - Switch all WebExtension tests to use generated zip files rather than files (r=gabor)
2015-10-12 16:19:50 -07:00
Jed Davis
d19e615ca4
Bug 1201935 - Allow reading from TmpD in OS X content processes. r=smichaud
2015-10-07 13:41:00 +02:00
Carsten "Tomcat" Book
036e6d2fa3
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902 )
Backed out changeset d70c7fe532c6 (bug 1202902 )
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
12369728f5
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902 )
2015-10-07 12:13:45 +02:00
Shu-yu Guo
474f49adb7
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Wes Kocher
1f5b59bcd7
Merge m-c to inbound, a=merge CLOSED TREE
2015-10-05 13:11:26 -07:00