Commit Graph

434 Commits

Author SHA1 Message Date
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
45f6930e3f Bug 1272133 - Fix runtime error thrown when no shortcut is found for the target platform. r=kmag
MozReview-Commit-ID: CzR64GL5mxn
2016-07-25 11:18:12 -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
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06: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
Iris Hsiao
5799ddcc16 Backed out changeset d950882eb6ce (bug 1285063) 2016-07-20 17:01:05 +08:00
Matthew Wein
98097ceac6 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: AviHoenUfwY
2016-07-18 15:05:52 -07: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
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02: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
Matthew Wein
96bca68b5d Bug 1246044 - Part 2 - Fix issue where context menu items show up after extension is uninstalled. r=kmag
MozReview-Commit-ID: 9eGwSkY8PWo
2016-07-05 17:11:21 -07:00
Matthew Wein
4c9e9e4340 Bug 1246044 - Part 1 - Split out the testing for radio groups and checkboxes into separate files. r=kmag
MozReview-Commit-ID: KIwj3tZzyuz
2016-07-05 17:02:24 -07:00
Matthew Wein
9b94f8859e Bug 1284265 - Fix regression caused by bug 1270742 which moved IconDetails into ExtensionUtils.jsm r=kmag
Postmortem: The context menu script, ext-contextMenus.js, uses IconDetails to show the extension icon next to the top level menu item. Originally, IconDetails lived in ext-utils.js because it was only used by Desktop.  However, in order to make it usable by Fennec for the PageActions API, it was moved into the shared ExtensionUtils.jsm.  Since none of the unit tests for ext-contextMenus.js covered the use of IconDetails, when it was moved it broke this part of the code. Switching it to use the version in ExtensionUtils.jsm fixes the issue. Lesson learned: Don't leave anything untested.

MozReview-Commit-ID: I6bFQnKvoMh
2016-07-05 16:17:52 -07: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
Martin Giger
fccc9c078a Bug 1279562 - Accept negative 'left' and 'top' values in chrome.windows.update. r=kmag 2016-06-17 02:22:00 -04:00
Carsten "Tomcat" Book
961b5571f2 merge mozilla-inbound to mozilla-central a=merge 2016-06-16 08:06:50 +01:00
Bob Silverberg
9a0f6e9271 Bug 1265845 - Implement browser.history.onVisited, r=aswan
MozReview-Commit-ID: 6jXEUA1Cll9
2016-06-08 12:42:13 -04:00
Kris Maglione
843973aa31 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03 Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout 2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1 Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07: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
5afd289aae Backed out changeset 8ea9433ab777 (bug 1265845) for test failures in browser_ext_history.js 2016-06-15 06:18:48 +01: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
Bob Silverberg
ce6887998f Bug 1265845 - Implement browser.history.onVisited, r=aswan
MozReview-Commit-ID: 6jXEUA1Cll9
2016-06-08 12:42:13 -04:00
Kris Maglione
975a0065a1 Bug 1271785: [webext] Better error messages for "choices" schema types. r=aswan
The generated messages are still a bit rough in some instances, but they're at
least much better than what we have now.

MozReview-Commit-ID: gTS0RvDnwk
2016-06-04 23:31:35 -07:00
Bob Silverberg
818662a21d Bug 1278538 - Migrate tests for browser.history to use History.insertMany rather than PlacesTestUtils.addVisits, r=aswan
MozReview-Commit-ID: IfPJ2vbBiLt
2016-06-07 09:43:57 -04:00
Bob Silverberg
651c78c44e Bug 1271675 - Add tests for browser.history.search that use specific date ranges. r=aswan
MozReview-Commit-ID: GqG39ytrDpa
2016-06-06 15:21:20 -04:00
Kris Maglione
4a1342c9e6 Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
MozReview-Commit-ID: EZpOyvoi2h0
2016-06-07 18:36:19 -07:00
Bob Silverberg
6646a2292b Bug 1274877 - contextMenus API starts logging errors after removing an item, r=kmag
MozReview-Commit-ID: 86bxjxEQaQX
2016-06-07 15:26:08 -04:00
Bob Silverberg
804e16c3b3 Bug 1265835 - Implement browser.history.getVisits, r=aswan
MozReview-Commit-ID: lhFdMTHYUl
2016-06-08 08:50:08 -04: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