Commit Graph

860 Commits

Author SHA1 Message Date
Wes Kocher
16896018ab Backed out changeset cf766413a25e (bug 1247493) for failures in browser_ext_tabs_update.js 2016-02-17 14:30:53 -08:00
Kris Maglione
aab3c1ded2 Bug 1247493: [webext] Implement the tabId property of windows.create. r=billm
MozReview-Commit-ID: Jw4KvvUqkBh
2016-02-17 11:46:19 -08:00
Kris Maglione
6ff4ef3207 Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
MozReview-Commit-ID: F2GoU1fzj4s
2016-02-11 14:32:58 -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
Andy McKay
102661d869 Bug 1238312 - implement tabs.duplicate. r=kmag
MozReview-Commit-ID: Fzd6BuAEgSl
2016-02-12 15:38:55 -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
627359e9d1 Bug 1234020: Part 2h.1 - [webext] Convert async API errors to rejected promises. r=billm 2016-02-10 17:01:38 -08:00
Andrew Swan
e58d313f2b Bug 1156826 - Implement browser.runtime.setUninstallURL(). r=kmag 2016-02-08 16:00:25 -08:00
Luca Greco
44112d71d0 Bug 1190685 - [webext] Add webNavigation.getFrame/getAllFrames test cases. r=kmag 2016-02-08 18:29:44 +01:00
Kris Maglione
1cd215bc66 Bug 1234020: Part 2a - [webext] Return promises from the background page APIs. r=rpl 2016-02-02 19:14:34 -08:00
Kris Maglione
5b7fc951d6 Bug 1234020: Part 2j - [webext] Return promises from the tabs API. r=rpl 2016-02-05 18:50:58 -08:00
Kris Maglione
c26ff242ae Bug 1234020: Part 2h - [webext] Return promises from the pageAction API. r=rpl 2016-02-01 18:16: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
d70aaf9205 Bug 1231819: [webext] Implement the captureVisibleTab API. r=billm 2016-01-25 17:48:54 -08:00
Matthew Wein
9db303e40d Bug 1234308 - Fix tabs.onCreated callback to receive bare tabs object (bug 1234308); r=kmag 2016-01-27 16:33:32 -08:00
Kris Maglione
4dc37c02d0 Bug 1244488: Fix intermittent failure caused by overly strict console listener. r=me 2016-01-30 23:08:03 -08:00
Kris Maglione
aaa7c2d387 Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.
2016-01-30 10:27:02 -08:00
Kris Maglione
cb2bf096f9 Bug 1190680: Part 2 - [webext] Add initial support for lastError callbacks. r=billm 2016-01-29 18:38:08 -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
Carsten "Tomcat" Book
808c59c646 merge mozilla-inbound to mozilla-central a=merge 2016-01-28 12:13:37 +01:00
Kris Maglione
f7fb9d596b Bug 1210583: Part 2 - [webext] Support callbacks in tabs.executeScript/tabs.insertCSS. r=billm 2016-01-25 20:25:11 -08:00
Olivier Yiptong
3981bd73b9 Bug 1240169 - aboutNewTabService relies on AboutRedirector for default URL resolution r=mconley 2016-01-27 13:50:18 -05:00
Kris Maglione
e7180194c8 Bug 1217129: [webext] Follow-up: Fix race in pageAction tests. 2016-01-19 21:57:34 -08:00
Kris Maglione
ea8f678de6 Bug 1217129: Back out a changed test for intermittent bc4-e10s failures. a=philor for a CLOSED TREE 2016-01-19 19:17:43 -08:00
Kris Maglione
52f73e463f 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
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
Kris Maglione
46afafe21a 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-15 21:43:26 -08:00
Carsten "Tomcat" Book
d392a8cd54 Backed out 8 changesets (bug 1217129) for test failures in browser_ext_pageAction_context.js
Backed out changeset dc5742de0823 (bug 1217129)
Backed out changeset 106365a3847c (bug 1217129)
Backed out changeset 628af985c7eb (bug 1217129)
Backed out changeset 7ad8b56958c5 (bug 1217129)
Backed out changeset 71f46fe62f59 (bug 1217129)
Backed out changeset 7d8dee4c335b (bug 1217129)
Backed out changeset 3b5fb2845c3b (bug 1217129)
Backed out changeset 93266f211716 (bug 1217129)
2016-01-18 09:08:35 +01:00
Kris Maglione
7c26e2eb9c Bug 1217129: Follow-up: Fix test broken by rebase. 2016-01-15 21:43:26 -08:00
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