Commit Graph

588 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
088f1dc213 Merge mozilla-central to autoland 2017-01-12 10:39:04 +01:00
Carsten "Tomcat" Book
3ad97e202a merge mozilla-inbound to mozilla-central a=merge 2017-01-12 10:14:43 +01:00
Bob Silverberg
48702a014c Bug 1329971 - tab objects returned by sessions.getRecentlyClosed are missing some data, r=kmag
MozReview-Commit-ID: GB3Xaxg8HRf

--HG--
extra : rebase_source : 47d1d976b51ee53a4bfb64523dac41603380ed6e
2017-01-11 09:14:58 -05:00
Rob Wu
1fc7ef5070 Bug 1325830 - initialize tabListener if needed r=kmag
To verify, run the test in isolation:
mach mochitest browser/components/extensions/test/browser/browser_ext_tabs_executeScript_no_create.js

Without the fix, the test fails in e10s; with the fix, the test passes.

MozReview-Commit-ID: Imf0Ue7ORHd

--HG--
extra : rebase_source : a34ba67cf05f56dc360d46a6e30f0b0083a5a8a4
2016-12-26 12:30:50 +01:00
Kris Maglione
cc6af1c474 Clean up onChanged event handler cruft. r=aswan (no bug)
MozReview-Commit-ID: 7uyjRQ9tyWS

--HG--
extra : rebase_source : f47e744073bdf9d7365e761926550d0cc9abe61f
2017-01-11 11:27:03 -08:00
Luca Greco
60d15646a3 Bug 1324429 - Context menu items without contexts should inherit it from their parent. r=kmag
MozReview-Commit-ID: 9BKDdFZ6Hdd

--HG--
extra : rebase_source : 79d6fdc46caa0599160e2f797e103c0bf179c3e1
2016-12-21 16:44:30 -05:00
Mark Banner
582fcb8090 Bug 1329614 - [eslint] Catch more cases of importing globals from 'var foo = Cu.import('...');'. r=jaws
MozReview-Commit-ID: 5NKHHb70YA6

--HG--
extra : rebase_source : 4551e56f56065349fb9ddc8d90e67f9dc84c1701
2017-01-09 10:12:26 +00:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
b33bfba51a Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: 2MhpvzUDgtK

--HG--
extra : rebase_source : 1df2b81badfe556928f6424c8990e4b3fde7056f
2017-01-06 12:09:28 -05:00
Jared Wein
43cacee3a5 Bug 1328995 - Remove unnecessary Promise.resolve() wrapper on return from async function. r=kmag
MozReview-Commit-ID: Jp40DyphLDj

--HG--
extra : rebase_source : 072fe57dd78e2f227703ba194b11156fcfe070b4
2017-01-05 15:55:30 -05:00
Tomislav Jovanovic
19ab5e2771 Bug 1320412 - Emit tabs.onUpdated event for title changes r=kmag
MozReview-Commit-ID: I0d5GJ8Rsev

--HG--
extra : rebase_source : b5cbe37fdddd048cb93504e4be3a272e5cbf1f53
2017-01-05 00:19:38 +01:00
Tom Schuster
3c8c39df45 Bug 1310026 - webext: Add cssOrigin option to insertCSS/removeCSS. r=kmag 2017-01-06 16:07:59 +01:00
Laurent
e7c67bac3c Bug 1322033 - "Patch to support Function Keys in WebExtensions". r=kmag 2016-12-31 08:34:00 +01:00
Jared Wein
560afd3f8e Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn

--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -05:00
Wes Kocher
31ced84f43 Merge m-c to autoland, a=merge 2016-12-22 18:45:10 -08:00
JerryShih
fa00bf1ff1 Bug 1310681 - do not use devtools colorUtils in browser. r=kmag,tromey
MozReview-Commit-ID: 3qbsBGC7Lt6

--HG--
extra : rebase_source : 3af07b87a2c07fb0283a46c144a8104445da918b
2016-10-21 10:03:58 -04:00
Wes Kocher
f015ecd4bf Backed out changeset 781d1e9b8586 (bug 1322033) for webextension xpcshell bustage a=backout
--HG--
extra : rebase_source : 46591fb028e7a25db4e24c476896526b420a1280
2016-12-19 14:27:15 -08:00
Laurent
f861aecae8 Bug 1322033 - Support Function Keys in WebExtensions. r=kmag
--HG--
extra : rebase_source : 4aae66a0868bd711b92e3ce29a1cdc3ecdb7f13d
2016-12-04 02:19:00 -05:00
Tomislav Jovanovic
689c8eff70 Bug 1316020 - Add separator before extension items in context menus r=kmag
MozReview-Commit-ID: LNQTZtNQgLN

--HG--
extra : rebase_source : 324262ce73f33206de5b15af9087a8e10c7ffe66
2016-12-06 01:29:09 +01:00
Tomislav Jovanovic
6db67b4e57 Bug 1316020 - Implement tab context for browser.contextMenus r=kmag
MozReview-Commit-ID: LNQTZtNQgLN

--HG--
rename : browser/components/extensions/test/browser/browser_ext_contextMenus_actionMenus.js => browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js
extra : rebase_source : 09094a700a5a7a1cc2d95ebea4fd6ddadf7928f2
2016-11-21 23:29:42 +01:00
Shane Caraveo
75b4321f38 Bug 1321615 fix tests for header modification in toplevel loads, r=kmag
MozReview-Commit-ID: DN6LgekAsRm

--HG--
extra : rebase_source : d94aaab49c2df55ea7e5628ad4561bf0743011b1
2016-12-17 10:14:26 -10:00
Andy McKay
390a9ca00f bug 1307012 raise an error on invalid id r=kmag
MozReview-Commit-ID: FDdPzmtN2mq

--HG--
extra : rebase_source : db614a4427288bb41d8ead675c07309f8c5e20e9
2016-12-08 08:09:08 -10:00
Bob Silverberg
e404e347f1 Bug 1320986 - Implement browsingData.settings WebExtensions API method, r=aswan
MozReview-Commit-ID: JqUm77vFod2

--HG--
extra : rebase_source : a2de57a7c5d635c142752720fa04caa85288643f
2016-11-28 09:17:04 -05:00
Phil Ringnalda
3ca40609e1 Backed out changeset 4c343bdb6e2a (bug 1321615) for browser_ext_webRequest.js timeouts
CLOSED TREE
2016-12-01 18:38:11 -08:00
Shane Caraveo
9e10dbda93 Bug 1321615 fix tests for header modification in toplevel loads, r=kmag
MozReview-Commit-ID: 3GfDbeumwzj

--HG--
extra : rebase_source : 6416dd3e5920913682bd0d09e6cfaa08fc6aac63
2016-12-01 11:46:36 -08:00
Ryan VanderMeulen
7af8f38714 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-11-30 13:27:46 -05:00
Shane Caraveo
b1aaa3af6b Bug 1318800 fix systemPrincipal checks so top level tab loads work with webrequests, r=kmag
MozReview-Commit-ID: D5b8Qs839bP

--HG--
extra : rebase_source : 977527904c6988fce680a49cfb05e95ce6b88570
2016-11-29 16:00:06 -08:00
Matthew Wein
e4927a1aaf Bug 1320782 - Disable eslint no-cpows-in-tests check for browser_ext_omnibox.js r=aswan
MozReview-Commit-ID: 3BNSejB1lwF

--HG--
extra : rebase_source : 0425db76281416e621a557891849fd0d77b2bb8a
2016-11-29 15:34:41 -05:00
Kris Maglione
e74ac1d08e Bug 1318583: Part 5 - Re-enable OOP tests that were disabled due to focus issues. r=aswan
MozReview-Commit-ID: 2OLmadKQFqC

--HG--
extra : rebase_source : 4f4a68839a41471a38cab1fc315de46d7f46ea3e
extra : absorb_source : 57898cebc8c140e6fdc16b5e04a48e79a32be422
extra : histedit_source : 351845c4a1d0523754f848be730180e7f7da3715
2016-11-27 12:41:23 -08:00
Kris Maglione
53db5cbf30 Bug 1318583: Part 4 - Ensure the correct browser window is focused for tests that require it. r=aswan
MozReview-Commit-ID: ETAY8gLOrsU

--HG--
extra : rebase_source : 068402752268604ddb0e22b7f3e72ccb74611db0
extra : absorb_source : 041e7eb3a3627640c0ebd379c1744f97b2dcdc39
extra : histedit_source : e985cab762001901ce6d1cc027c125a8dc0a75bb
2016-11-29 16:58:16 -08:00
Kris Maglione
37d84033d3 Bug 1318583: Part 3 - Set minWidth and minHeight on non-fixed-width panel browsers. r=aswan
MozReview-Commit-ID: FvqsaubkFUy

--HG--
extra : rebase_source : a68dc6f821751edc797884eb988b156d5006f5a0
extra : histedit_source : c79640339f9d05357383bef3a667bcdcc7429334
2016-11-26 17:17:16 -08:00
Kris Maglione
0680a87ada Bug 1318583: Part 2 - Avoid races due to remote browser resizing round-trips. r=aswan
MozReview-Commit-ID: KPFKNhlLsCP

--HG--
extra : rebase_source : b2b8c9760978c33831979f51804366bcbacf6525
extra : histedit_source : dd7096e7d8dd4067f74216b2f97a49f1d64d123f
2016-11-29 16:09:32 -08:00
Kris Maglione
515eeba2cb Bug 1318583: Part 1 - Ignore fixed-width panel browser resizes that happened prior to reparenting. r=aswan
MozReview-Commit-ID: 1oFbtM6Khw7

--HG--
extra : rebase_source : a8ba0d1b8d2c512a78f81846139d42cd3b66bd30
extra : histedit_source : 031338de4c4d92270be6827551e495843e2fa3bd
2016-11-29 16:50:44 -08:00
Bob Silverberg
069390233f Bug 1320306 - Implement sessions.onChanged WebExtensions API, r=aswan
MozReview-Commit-ID: 14si74CKswB

--HG--
extra : rebase_source : 1090330364fa8c1bad79f2127dd15b6b5ec6cfaf
2016-11-16 14:30:20 -05:00
Tomislav Jovanovic
a668cce095 bug 1320439 - Fix submenus in page_action, browser_action contextMenus, r=kmag
MozReview-Commit-ID: AGhu1tbofrB

--HG--
extra : rebase_source : 1bee9519a2456e5cc328db4f879cce2d1a071963
2016-11-28 03:15:02 +01:00
Tomislav Jovanovic
92b6927b24 bug 1253418 - implement contextMenu page_action and browser_action contexts r=kmag
MozReview-Commit-ID: Ftp77zmxo4B

--HG--
extra : rebase_source : ed46fe948f0898e13dcc551721d56c5151a4bc4c
2016-11-09 21:03:33 +01:00
Carsten "Tomcat" Book
ad928dbca5 Merge mozilla-central to autoland 2016-11-23 16:45:11 +01:00
Kris Maglione
0b84ed8150 Bug 1319452: Part 2 - Don't expose extension views that the caller cannot access. r=billm
MozReview-Commit-ID: IS7mpOnQ8y0

--HG--
rename : browser/components/extensions/test/browser/browser_ext_incognito_popup.js => browser/components/extensions/test/browser/browser_ext_incognito_views.js
extra : rebase_source : 0be6b790687ce8afd60c8838267c760712ef243b
2016-11-22 12:31:37 -08:00
srivatsav
fdf44d1e9c Bug 1312466: Added a password context to contextMenus API. r=kmag
MozReview-Commit-ID: DzLX4JQTfRS

--HG--
extra : amend_source : 40ad422e18e3a8bb465dbf5d2143c712f1b15801
2016-11-22 16:57:43 +05:30
Phil Ringnalda
89e92b0c3b Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Shane Caraveo
8083d89861 Bug 1319567 fix window id so it is never zero, r=kmag
MozReview-Commit-ID: 30u1o1BOAvv

--HG--
extra : rebase_source : 45da674668a97b863cfe82eac5f7ee9160d311d4
2016-11-22 17:35:37 -08:00
Wes Kocher
5b778fe03b Backed out changeset 15ab89563679 (bug 1319567) for browser-chrome failures a=backout 2016-11-22 16:57:39 -08:00
Shane Caraveo
c1b4dc9ae6 Bug 1319567 fix window id so it is never zero, r=kmag
MozReview-Commit-ID: 30u1o1BOAvv

--HG--
extra : rebase_source : cff385765b5c5e68fff557d1cbcc8648af59ce91
2016-11-22 15:12:14 -08:00
Kris Maglione
c60e149356 Bug 1266510: Also explicitly focus the second browser window after creation. r=me
MozReview-Commit-ID: 5G81rXCXnyg
2016-11-20 10:37:02 -08:00
Kris Maglione
c70bd10f2d Bug 1317154: Correctly support multiple concurrent listeners for the same event. r=aswan
MozReview-Commit-ID: 4OgukI6Sc6v

--HG--
extra : rebase_source : 5e6935b90198ec50221f75fa1649598220dc3917
2016-11-18 12:20:22 -08:00
Kris Maglione
3378821378 Bug 1318690: Fix a minor test race. r=trivial
MozReview-Commit-ID: 1GjJnUK1i7Z

--HG--
extra : rebase_source : b09a53eb54d331d9c485600d65f8f08b217dcea3
2016-11-18 12:36:13 -08:00
Kris Maglione
ce68ebb5f1 Bug 1318604: Don't add task for OOP preference initialization. r=mixedpuppy
Adding mochitest tasks from head scripts turns out to cause unpredictable
timing issues, where the initial add_task() call sometimes causes tests to
begin running before the main test script has loaded, and had a chance to add
its tasks. While I'd still prefer to do this initialization in a task, it's
not worth the intermittent failures it causes.

MozReview-Commit-ID: 3CDL82NyrzC

--HG--
extra : rebase_source : 0b2a5630a09f656f9d9f90cbd3d0e33e5d069703
2016-11-18 09:27:06 -08:00
Kris Maglione
a3c8b4f27c Bug 1317101: Follow-up: Split browserAction preloading tests into a separate unit.
MozReview-Commit-ID: 2fWXQIwCF9w

--HG--
rename : browser/components/extensions/test/browser/browser_ext_browserAction_popup.js => browser/components/extensions/test/browser/browser_ext_browserAction_popup_preload.js
extra : rebase_source : 491d703d2dc7256743b60b3cda83a1eb71f2e885
2016-11-17 11:08:21 -08:00
Kris Maglione
97d62aa407 Bug 1317101 - Part 8b: Run browser mochitests in both parent-process and remote configurations. r=billm
MozReview-Commit-ID: 6IGGnpgZLce

--HG--
rename : browser/components/extensions/test/browser/browser.ini => browser/components/extensions/test/browser/browser-common.ini
rename : browser/components/extensions/test/browser/browser.ini => browser/components/extensions/test/browser/browser-remote.ini
extra : rebase_source : 3a4cf9d7d77f3d906f8d34b537b4d05cb28718c4
extra : source : a8cdc81cdcce558592d01d3cc6d0ee66269f1077
2016-11-17 14:00:32 -08:00
Kris Maglione
73f6cab403 Bug 1317101 - Part 7c: Run extension popups in a remote browser. r=aswan
MozReview-Commit-ID: CATeESBwj1J

--HG--
extra : rebase_source : c83dbcabbafbe2884746d282de78d23f5e0edff6
extra : source : b7892d3fb0ca5268a252377ecbb44dfb1d289500
2016-11-17 11:28:40 -08:00