Commit Graph

328 Commits

Author SHA1 Message Date
Luca Greco
89c3a38409 Bug 1249144 - [webext] Test explicitly the frameId/parentFrameId associated to the toplevel frame. r=billm
MozReview-Commit-ID: 9E7LmdyHcnG
2016-02-18 01:56:09 +01:00
Kris Maglione
d7334ea44a Bug 1248499: [webext] Implement tabs.detectLanguage. r=billm
MozReview-Commit-ID: F4GpSesj2ho
2016-02-26 13:20:28 -08:00
Kris Maglione
c32e4a7dad Bug 1251890: Fix RemoveTopWindowID listener. r=billm
MozReview-Commit-ID: 4nQdPszQOy
2016-02-27 14:11:25 -08:00
Kris Maglione
7a1a4278dd Bug 1248497 – Add promise support to the sendMessage APIs. r=billm
MozReview-Commit-ID: AZH9LUq8kGr
2016-02-15 17:37:19 -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
Andy McKay
66ac63cf1a Bug 1248460 - pin during SSTabRestoring. r=kmag
MozReview-Commit-ID: A88UnreihK7
2016-02-29 13:45:36 -08:00
Matthew Wein
641e87d5e0 Bug 1246029 Implement chrome.commands.onCommand. r=kmag 2016-02-29 19:04:03 -08:00
Carsten "Tomcat" Book
4247b82679 merge mozilla-inbound to mozilla-central a=merge 2016-03-01 12:01:58 +01:00
Andrew Swan
a0d3b4ca2e Bug 1252181 - switch browser_ext_runtime_setUninstallURL.js to temporary add-on install r=mossop
MozReview-Commit-ID: JjjR76gkI3M
2016-02-29 11:11:45 -08:00
Kris Maglione
55354c26e2 Bug 1213993: [webext] Support frameId/allFrames/runAt in browser.tabs.executeScript and insertCSS. r=billm
MozReview-Commit-ID: FgV9vyHVjj8
2016-02-08 17:40:02 -08:00
Luca Greco
8595162018 Bug 1227462 - Test tabs.create/update on allowed and disallowed URLs. r=kmag
MozReview-Commit-ID: 2cZST9GwTaw
2016-02-25 18:14:51 +01:00
Matthew Wein
52d1cd6bcd Bug 1220124 - Add support for chrome.tabs.onhighlight. r=kmag
MozReview-Commit-ID: BB6vJl8qV4l
2016-02-07 18:35:22 -08:00
Matthew Wein
4eea0108f3 Bug 1246028 Implement chrome.commands.getAll. r=kmag 2016-02-24 17:29:04 -08:00
Phil Ringnalda
b1abd201f0 Back out 6d8c09f110ee (bug 1246028) for landing before it got its nits picked 2016-02-24 18:40:42 -08:00
Luca Greco
61a6f715ee Bug 1249144 - [webext] fix sorting collected frame details in webNavigation tests. r=kmag
MozReview-Commit-ID: ay5fGRGSpW
2016-02-19 04:09:16 +01:00
Matthew Wein
9ac7e85ce9 Bug 1246028 - Implement chrome.commands.getAll. r=kmag 2016-02-23 16:13:16 -08:00
Kris Maglione
9a6052d7ca 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
8a6a9a1582 Bug 1238313: Part 1 - Implement tabs.onMoved event. r=billm
MozReview-Commit-ID: F2GoU1fzj4s
2016-02-11 14:32:58 -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
Wes Kocher
a19d946aed Backed out changeset c893cd374dcd (bug 1238313) 2016-02-17 14:30:56 -08:00
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