Commit Graph

586 Commits

Author SHA1 Message Date
Jared Wein
cfe3213e30 Bug 1252224 - Remove synchronous layout flushes and style invalidations during the opening of multiview panels. r=mconley
MozReview-Commit-ID: 9T4gAPwFrXp
* * *
[mq]: temp

MozReview-Commit-ID: Bj91OhNd8ed
* * *
[mq]: temp

MozReview-Commit-ID: J8h8InaMRP4
2016-08-04 17:30:54 -04:00
Carsten "Tomcat" Book
ce02c3ed29 merge mozilla-inbound to mozilla-central a=merge 2016-08-10 15:54:26 +02: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
Andrew Swan
1206774e48 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8
2016-08-02 16:04:37 -07:00
Kris Maglione
aa06adc855 Bug 1290117: Call sendMessage response callback when there are no replies. r=robwu
MozReview-Commit-ID: 1BYD1CgZmvD
2016-08-06 14:21:10 -07:00
Kris Maglione
ddc33568c0 Bug 1289527: Hide browserAction and pageAction namespaces when relevant manifest entries are missing. r=aswan
MozReview-Commit-ID: 2gx0pLkHaVJ
2016-08-06 14:43:58 -07:00
Matthew Wein
39818dc31f Bug 1246034 - Part 2: [webext] Add support for _execute_browser_action. r=kmag
MozReview-Commit-ID: EIbPidn07qZ
2016-07-08 15:02:49 -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
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
05c8683123 Bug 1277181: Split up browser_ext_browserAction_page_icon test. r=trivial
MozReview-Commit-ID: 2A0TZzTrREu
2016-08-10 12:19:45 -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
Kris Maglione
20862876d8 Bug 1268184: Split browser_ext_runtime_openOptionsPage into two files. r=trivial
MozReview-Commit-ID: I9UbxGmOjMg
2016-08-04 13:27:31 -07:00
Matthew Wein
a9f2d6af1b Bug 1287159 - Grant activeTab permission to the current tab when onCommand fires. r=kmag
MozReview-Commit-ID: ETwqDOBHCRS
2016-07-25 14:42:23 -07:00
Carsten "Tomcat" Book
610b3d18a8 Merge mozilla-central to fx-team 2016-08-02 17:13:42 +02:00
Rob Wu
dcd241dee3 Bug 1275126 - Implement targetUrlPattern for link contexts. r=kmag
MozReview-Commit-ID: EzqX8YbeQqI
2016-07-27 18:23:24 -07:00
Robert Helmer
fc30f77754 Bug 1290617 - allow non-temp mock webextensions r=kmag
MozReview-Commit-ID: JeEeMkrQ4te
2016-07-29 16:14:19 -07:00
Matthew Wein
df4954ea26 Bug 1272198 - Add tests for accepted modifiers. r=kmag
MozReview-Commit-ID: KTLk7sMcsmt
2016-07-25 10:36:07 -07:00
Carsten "Tomcat" Book
ea8104a5ce merge mozilla-inbound to mozilla-central a=merge 2016-07-29 11:56:43 +02: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
8c3da6958e Bug 1274871: Return a more useful error message for executeScript without matching window. r=aswan
MozReview-Commit-ID: 3AhuxY6gQPL
2016-07-26 17:55:58 -07:00
Carsten "Tomcat" Book
186ae7c42a Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02: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
Sebastian Hengst
752bc77530 Backed out changeset 8da1ed0adf15 (bug 1288885) for failure and crashes in test_ext_background_window_properties.js on Android in xpcshell and sets tests. r=backout 2016-07-28 10:06:35 +02:00
Sebastian Hengst
d98d557e92 Backed out changeset 8c67ff2971ec (bug 1288885) 2016-07-28 10:06:34 +02:00
Sebastian Hengst
f05a305bf1 Backed out changeset eeb6bc8a42e6 (bug 1288885) 2016-07-28 10:06:33 +02:00
Kris Maglione
4f8a93a26d Bug 1288885: Migrate history mochitests to xpcshell. r=aswan
MozReview-Commit-ID: tzQdEJx6TN
2016-07-22 18:57:38 -07:00
Kris Maglione
a6c7005144 Bug 1288885: Migrate bookmarks mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 9PFJcqXXxhU
2016-07-22 17:29:52 -07:00
Kris Maglione
f964b84f2e Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.

MozReview-Commit-ID: 7Yy9jWkGsMM
2016-07-24 16:09:26 -07:00
Kris Maglione
fabb2c2ba8 Bug 1288885: Migrate history mochitests to xpcshell. r=aswan
MozReview-Commit-ID: tzQdEJx6TN
2016-07-22 18:57:38 -07:00
Kris Maglione
80e6bae2f8 Bug 1288885: Migrate bookmarks mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 9PFJcqXXxhU
2016-07-22 17:29:52 -07:00
Kris Maglione
a3391649ba Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.

MozReview-Commit-ID: 7Yy9jWkGsMM
2016-07-24 16:09:26 -07:00
Sebastian Hengst
e8f2d9dbf3 Bug 1275116 - Fix {document|target}UrlPatterns by passing in the correct arguments to SingleMatchPattern.match: add spaces to fix eslint errors. r=eslint-fix 2016-07-26 13:23:54 +02:00
Matthew Wein
b7a8a23d03 Bug 1275116 - Fix {document|target}UrlPatterns by passing in the correct arguments to SingleMatchPattern.match. r=kmag
MozReview-Commit-ID: LLNu7jNfUZq


G: changed browser/components/extensions/test/browser/head.js
2016-07-14 14:41:03 -07:00
Matthew Wein
e3d00b8074 Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: 2U8cTYeH8kg
2016-07-22 12:44:40 -07:00
Kris Maglione
946c03abd0 Bug 1285493: Add-on Manager should not be closed when an add-on with options_ui is disabled. r=billm
MozReview-Commit-ID: 8oRK8uPphDf
2016-07-24 15:05:39 -07:00
Kris Maglione
56e8cb638f Bug 1274775 - Make sure background pages are created with a PresShell. r=billm
MozReview-Commit-ID: GLWg5aK47g5
2016-07-24 15:09:07 -07:00
Carsten "Tomcat" Book
ba27247b23 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
Bob Silverberg
1350facded Bug 1280357 - Update browser.history.onVisited to not call PlacesUtils.promisePlaceInfo, r=kmag
MozReview-Commit-ID: 3j4JdWI6APu
2016-07-19 17:01:08 -04:00
Carsten "Tomcat" Book
cb7484e752 Backed out changeset 5f60270bf1bb (bug 1272198) for breaking mochitests 2016-07-20 11:32:24 +02:00
Rob Wu
c0e5bafb4e Bug 1234677 - Introduce _generated_background_page.html r=billm
- Fixes bugzil.la/1234677
- Fixes bugzil.la/1286057
- Fixes bug: the URL failed to load if a query string or reference
  fragment was present.

MozReview-Commit-ID: 4oMwI3IS7OX
2016-07-12 13:55:14 -07:00
Matthew Wein
fbc8395210 Bug 1272198 - Add tests for accepted modifiers. r=kmag
MozReview-Commit-ID: CPw25rNrvYn
2016-05-26 19:26:02 -07: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
Kris Maglione
8e28312be9 Bug 1284942: Don't fire message listeners for windows hidden in bfcache. r=aswan
MozReview-Commit-ID: KSqLt7Qqdkf
2016-07-06 17:14:02 -07:00
Matthew Wein
b8a695c20c Bug 1246044 - Part 4 - Add unit tests for context menu icons. r=kmag
MozReview-Commit-ID: 6mVKldnmB48
2016-07-05 17:16:03 -07:00
Matthew Wein
dd41741d12 Bug 1246044 - Part 3 - Add unit tests for uninstall bug. r=kmag
MozReview-Commit-ID: JA10PnhFObL
2016-07-05 16:56:52 -07:00