Commit Graph

1461 Commits

Author SHA1 Message Date
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
Wes Kocher
ef8b093de7 Backed out changeset 99b213f494e1 (bug 1276025) for xpcshell bustage CLOSED TREE 2016-06-07 16:59:20 -07:00
Kris Maglione
3b83db606e Bug 1276025: Stop using injectInDocShell to tag docShells with types. r=billm
MozReview-Commit-ID: 7h5PI2birY4
2016-06-02 20:53:41 -07:00
Bob Silverberg
c652cccab6 Bug 1240326 - Part 2: Utilize lazyWidth and lazyHeight properties from frame loaders for tab width and height. r=kmag
MozReview-Commit-ID: FI41LGDrFFK
2016-04-26 10:25:20 -04:00
Bob Silverberg
72de6fba77 Bug 1265847 - Implement browser.history.onVisitRemoved. r=aswan
MozReview-Commit-ID: KzEdwzxzrKn
2016-05-17 10:01:18 -04:00
Matthew Wein
ee2f6cb8a4 Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT
2016-05-25 16:58:43 -07:00
Kris Maglione
ed18f55d09 Bug 1254003: Don't call tabs.create callback before the tab is ready. r=gabor
MozReview-Commit-ID: 3qK6GpTmIFQ
2016-04-03 19:31:47 -07:00
Carsten "Tomcat" Book
e135d40825 Merge mozilla-central to fx-team 2016-06-03 12:40:11 +02:00
Kris Maglione
f51a1e770f Bug 1266510: Add better logging to browser_ext_windows_events test. r=me
MozReview-Commit-ID: 6aKeZvH7jwk
2016-06-02 13:36:57 -07:00
Kris Maglione
90c72077cc Bug 1272800: Wait for zoom event after switching tab if current value is not as expected. r=me
MozReview-Commit-ID: 4GtQMLOLZNP
2016-05-31 13:43:28 -07:00
Kris Maglione
01b640a272 Bug 1271374: Add Cache-Control: no-cache to the delayed load SJS page. r=me
MozReview-Commit-ID: K6FN8jsT12Y
2016-05-31 13:30:51 -07:00
Carsten "Tomcat" Book
8a7b7acb0f Backed out changeset ea4940dd52cc (bug 1271777) for test failures in browser_ext_commands_onCommand.js 2016-05-31 08:35:48 +02:00
Matthew Wein
190be9eed5 Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT
2016-05-25 16:58:43 -07:00
Carsten "Tomcat" Book
df34c5dbbf Backed out changeset cbeef9c81af6 (bug 1271777) for test failures in browser_ext_commands_onCommand.js 2016-05-30 14:50:53 +02:00
Matthew Wein
20206a6ac1 Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT
2016-05-25 16:58:43 -07:00
Ryan VanderMeulen
0910f7ced5 Backed out changesets 1cf7e08007f9 and 981fc919965e (bug 1271777) for browser_ext_commands_onCommand.js failures. 2016-05-26 23:54:39 -04:00
Ryan VanderMeulen
643f34dc5e Bug 1271777 - Fix ESLint error on a CLOSED TREE. 2016-05-26 22:47:07 -04:00
Matthew Wein
589add0c2d Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT
2016-05-25 16:58:43 -07:00
Claas Augner
1737833daa Bug 1247455 - Add a .removeCSS method to complement .insertCSS. r=kmag 2016-04-15 00:39:09 +02:00
Sebastian Hengst
0c2eb0a8e0 Backed out changeset df90fcacc68c (bug 1265836) for crashing test_ext_webrequest.html. r=backout 2016-05-26 10:32:47 +02:00
Sebastian Hengst
b169ca896f Backed out changeset 800df6b80dc0 (bug 1265836) 2016-05-26 10:32:41 +02:00
Sebastian Hengst
80a9eb2a29 Backed out changeset 1151e3a09e77 (bug 1265836) 2016-05-26 10:32:26 +02:00
Bob Silverberg
8f1e858810 Bug 1265836 - Part 4: Implement browser.history.addUrl. r=aswan
MozReview-Commit-ID: CBcKLvRLj3w
2016-05-19 21:55:37 -04:00
Bob Silverberg
e903af75a7 Bug 1265836 - Part 2: Change normalizeTime to return a date rather than a number. r=aswan
Also update browser.history.deleteRange to use normalizeTime

MozReview-Commit-ID: EQ3NLSIRTe8
2016-05-24 09:00:17 -04:00
Bob Silverberg
e2434b86c7 Bug 1265836 - Part 1: Replace PlacesUtils.toTime with PlacesUtils.toDate. r=mak, r=aswan
MozReview-Commit-ID: FZTfDJpjEt1
2016-05-24 08:56:10 -04:00
Bob Silverberg
d3720eefea Bug 1274134 - Intermittent browser_ext_history.js | no results returned for late start time - Expected: 0, Actual: 2. r=aswan
The test assumes that Date.now() will provide a date that is far enough in the future to return 0 results,
because the history should have been added before that code is run, but evidently sometimes it is not.
Changing the date used as a late start date to one day in the future, which should address this issue.

MozReview-Commit-ID: KUSyfvtE2B0
2016-05-19 08:32:10 -04:00
Bob Silverberg
405a7c2eab Bug 1265834 - Part 2: Implement browser.history.search. r=aswan, r=mak
Requesting review from mak for the changes to PlacesUtils.jsm.
Note that one of these changes (toPRTime) is also present in the patch for bug 1265836, but I anticipate that this patch may land before that bug.

MozReview-Commit-ID: Kg1XX40A4FW
2016-05-13 10:32:48 -04:00