Carsten "Tomcat" Book
092e5dc5f1
merge mozilla-inbound to mozilla-central a=merge
2017-02-07 14:08:46 +01:00
Tomislav Jovanovic
739d46249f
Bug 1295072 - Focus urlbar after opening an empty new tab r=kmag
...
MozReview-Commit-ID: 3dzCzHTxQrh
--HG--
extra : rebase_source : 35fd5d1267c73bfc74fe31cf2c82ca71c8f22ada
2017-02-04 20:48:38 +01:00
Kris Maglione
395aa1f787
Bug 1336308: Part 5 - Add documentation for the Android-specific tab API helpers. r=aswan
...
MozReview-Commit-ID: UN78mhAArC
--HG--
extra : rebase_source : 6913804ebc3f1f464d900b84cf5d7cf9cc7c4952
2017-02-03 15:29:46 -08:00
Kris Maglione
28b57587cb
Bug 1336308: Part 4 - Rename tab variables that refer to native tabs to avoid confusion. r=aswan
...
MozReview-Commit-ID: 5An7K1crYRS
--HG--
extra : rebase_source : b052d46fe2883850c95b2116534ee098f0d4efa2
2017-02-03 12:57:43 -08:00
Kris Maglione
d76e319fe5
Bug 1336308: Part 3 - Add inline documentation for tabs API. r=aswan
...
MozReview-Commit-ID: 9ZwCkHcVv15
--HG--
extra : rebase_source : 565c1f7dce05b16eee62841dab558b902d4e0628
2017-02-02 19:30:56 -08:00
Kris Maglione
1eb1be7a98
Bug 1336308: Part 2 - Add a TabBase.sendMessage and TabBase.capture helper methods. r=aswan
...
MozReview-Commit-ID: EP8uxCkztvi
--HG--
extra : rebase_source : 03d6f3ce6e58172591ef82604b7090528964ebb6
2017-02-03 13:00:39 -08:00
Kris Maglione
df848343c9
Bug 1336308: Part 1 - Fix the capitalization of innerWindowID properties. r=aswan
...
MozReview-Commit-ID: 1qp49K9zc40
--HG--
extra : rebase_source : 79aa93fd6c82463200233e6a0bb415727bb8da6b
2017-02-06 11:55:53 -08:00
Kris Maglione
f9ec213ea7
Bug 1260548: Part 5 - Factor out <browser> data logic into shared modules. r=aswan
...
MozReview-Commit-ID: GHPympWA7U
--HG--
extra : rebase_source : 50cb851feb302b051431a77a9d66436757d73b0d
2017-01-30 20:11:14 -08:00
Kris Maglione
a5b26306c7
Bug 1260548: Part 4 - Factor out tab status listener logic into shared module. r=aswan
...
MozReview-Commit-ID: Ff9gLKdGQHX
--HG--
extra : rebase_source : 88bc49ef0e0f4b75d4cc1c76a157ec19df0c6491
2017-01-28 20:00:24 -08:00
Kris Maglione
3b4ac1de08
Bug 1260548: Part 3 - Factor out the extension popup code into its own module. r=aswan
...
MozReview-Commit-ID: HpaAkt5nBqf
--HG--
rename : browser/components/extensions/ext-utils.js => browser/components/extensions/ExtensionPopups.jsm
extra : rebase_source : b4b9c5ad6ce0b01f4171eb41f3d60b65d8a4bf6d
2017-01-28 15:00:15 -08:00
Kris Maglione
8fe4abee51
Bug 1260548: Part 2 - Factor out the excuteScript/insertCSS logic. r=aswan
...
MozReview-Commit-ID: 8FxlX7MKZsN
--HG--
extra : rebase_source : c9dcb23aa96820779bc74a69c83ff50d1491836f
2017-01-30 18:51:29 -08:00
Kris Maglione
3fe8cbd2c9
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
--HG--
extra : rebase_source : f81a28a979b6d1a76534343bed2029456cc6a2c7
2017-01-30 22:44:16 -08:00
Jared Wein
d4e78d7571
Bug 1335171 - Implement Chrome-parity support for a few theme properties. r=mattw,mikedeboer
...
MozReview-Commit-ID: C244c3Oh4bC
--HG--
extra : rebase_source : cc4b95d2c85bae68d3e527273112a89e12038a7e
2017-01-31 17:32:54 -05:00
Matthew Wein
8bcec996bf
Bug 1330341 - Add support for dynamic updates r=mikedeboer
...
MozReview-Commit-ID: 8wA7J1oX2t
--HG--
extra : rebase_source : 73a72834a84f722461fab83b225bea384e3791c1
2017-01-25 15:11:20 -08:00
Tomislav Jovanovic
f56c9857a4
Bug 1302742 - Add keyboard modifiers to contextMenus ClickInfo r=aswan
...
MozReview-Commit-ID: K4YnQdH5uOO
--HG--
extra : rebase_source : 68a01fef150987cf2d15a4f63e7693ee50707af7
2017-01-27 21:10:58 +01:00
Carsten "Tomcat" Book
29cd257175
merge mozilla-inbound to mozilla-central a=merge
2017-01-30 15:59:14 +01:00
Kris Maglione
22bea68112
Bug 1334893: Don't reset theme styling when non-theme extension shuts down. r=aswan
...
MozReview-Commit-ID: 19I0GDxvDcb
2017-01-29 12:23:50 -08:00
Wes Kocher
7cd28f7e5d
Merge inbound to central, a=merge
...
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Shane Caraveo
d6558d44dc
Bug 1190689 implement onAuthRequired for WebRequest, r=kmag
...
MozReview-Commit-ID: D6ydPIMNzDI
--HG--
extra : rebase_source : eb20ffb7d9169bcf523aab08d6382abf3ed93616
2017-01-26 13:40:36 -08:00
Andrew Swan
322ee1283f
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
--HG--
extra : rebase_source : 10526ee923dc1eed24bac3c9b9c80c54b8e174e9
2017-01-26 11:27:03 -08:00
Andrew Swan
30deceecf8
Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
...
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.
Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.
Also added a callOnClose for SingletonEventManager when the last listener
is removed.
MozReview-Commit-ID: ATHO97dWf3X
--HG--
extra : rebase_source : bf02d79e3fbab84892be8a7e52ea7a1caf2e003d
2017-01-26 20:00:33 -08:00
Phil Ringnalda
9447dfdbd4
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Carsten "Tomcat" Book
dca07ffc3a
merge mozilla-central to mozilla-inbound
2017-01-27 11:16:17 +01:00
Florian Quèze
b11907c7aa
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Luca Greco
2e3a1bb4de
Bug 1300584 - Implements devtools.inspectedWindow.reload. r=kmag
...
MozReview-Commit-ID: J4ttcS7efsO
--HG--
extra : rebase_source : d8268770b123f7e92cc4d4b2594bcc8b7565ed84
2017-01-28 06:26:53 +01:00
Andrew Swan
2dde6b8e9b
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
--HG--
extra : rebase_source : 3e034fba247132c3b7a92ce8f4656136c2313a20
2017-01-26 11:27:03 -08:00
Andrew Swan
f04f785725
Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
...
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.
Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.
Also added a callOnClose for SingletonEventManager when the last listener
is removed.
MozReview-Commit-ID: ATHO97dWf3X
--HG--
extra : rebase_source : 43988ee453e965e1c591b1c64603c22f5a103cff
2017-01-26 13:43:12 -08:00
Florian Quèze
0e0865f4fc
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Phil Ringnalda
bf98cd4315
Merge m-i to m-c, a=merge
2017-01-24 18:53:29 -08:00
Kris Maglione
c36ea7667c
Bug 1333201: Don't import gDevTools.jsm before necessary. r=rpl
...
MozReview-Commit-ID: 9bNA3ZEEYD3
--HG--
extra : rebase_source : aa36042c5a3171dcde98c253dd9adbeae11fec12
extra : amend_source : 15cce0526fc8274ee68176a86e958df208b3cf28
2017-01-23 13:22:10 -08:00
Jared Wein
2274b6ea69
Bug 1330340 - Implement support for lightweight theme properties (headerURL, accentcolor, textcolor) for Theming API. r=mikedeboer
...
MozReview-Commit-ID: GS1Gh4HVcOt
--HG--
extra : rebase_source : 5d95a0232afd57655d6d908998e0936a7444b604
2017-01-24 11:44:44 -05:00
Wes Kocher
12d87c0624
Backed out changeset 386d5a9d293f (bug 1333201) for b-c bustage a=backout CLOSED TREE
...
MozReview-Commit-ID: HIjhQCxDn0B
2017-01-24 11:59:27 -08:00
Kris Maglione
f288b648be
Bug 1333201: Don't import gDevTools.jsm before necessary. r=rpl
...
MozReview-Commit-ID: 9bNA3ZEEYD3
--HG--
extra : rebase_source : 5af3af219645e0bee47fd62eb3d35e9be400704b
2017-01-23 13:22:10 -08:00
Matthew Wein
1534b7a30a
Bug 1234150 - Support overriding "about:newtab" using chrome_url_overrides. r=aswan,mixedpuppy
...
MozReview-Commit-ID: 4psqXfT1w2p
--HG--
extra : rebase_source : 1fdf62f5130ab994112aa37730a95c8620c99138
2017-01-10 14:24:50 -05:00
Luca Greco
6d1e4fbc40
Bug 1300584 - Implements devtools.inspectedWindow.eval. r=kmag
...
MozReview-Commit-ID: 6Z76W8tKt9x
--HG--
extra : rebase_source : 39aefecdbdfd20e8cb93a259e9e199900144a81e
2016-12-02 15:46:49 -05:00
Phil Ringnalda
a17e96d752
Backed out changeset 70253d6678af (bug 1295072) for failures in browser_ext_tabs_create.js
2017-02-05 13:23:21 -08:00
Tomislav Jovanovic
82076a7ff1
Bug 1295072 - Focus urlbar after opening an empty new tab r=kmag
...
MozReview-Commit-ID: 3dzCzHTxQrh
--HG--
extra : rebase_source : 0098f06f83c77c03bb2f9eeb4031296f2b22cedb
2017-02-04 20:48:38 +01:00
Bob Silverberg
e47d2482c1
Bug 1321303 - Part 8: Implement browsingData serviceWorkers dataType, r=baku
...
MozReview-Commit-ID: 10zSlmaKjIj
--HG--
extra : rebase_source : 82ba465f0deb8c0cf3dc74e8b91307462b1af3a7
2016-12-23 16:27:46 -05:00
Bob Silverberg
434bba33c0
Bug 1321303 - Part 7: Implement browsingData.removePasswords, r=aswan,Dolske
...
MozReview-Commit-ID: E23EYrBs3Ze
--HG--
extra : rebase_source : 2f0bff44105858e3cd2f0f1b032d2a2e561a77fc
2016-12-20 16:32:47 -05:00
Bob Silverberg
4d0117d869
Bug 1321303 - Part 6: Implement browsingData.removePluginData, r=mak
...
MozReview-Commit-ID: EpHceeFKMf7
--HG--
rename : browser/base/content/test/plugins/browser_clearplugindata.html => browser/components/extensions/test/browser/file_clearplugindata.html
extra : rebase_source : ead8312d991983c67a9f096f57b583e574705ecd
2016-12-19 16:55:02 -05:00
Bob Silverberg
b01c7f1952
Bug 1321303 - Part 5: Implement browsingData.removeFormData, r=aswan
...
MozReview-Commit-ID: aK6m7vl3i1
--HG--
extra : rebase_source : c4508afb54be332628ca18eb2a4c96c7415d69f1
2016-12-14 14:29:57 -05:00
Bob Silverberg
93c77f2374
Bug 1321303 - Part 4: Implement browsingData.removeDownloads, r=aswan
...
MozReview-Commit-ID: 6D0bLoJBByy
--HG--
extra : rebase_source : 284c0d253221b27475dbe49b3b1b4b356a5891dd
2016-12-13 12:41:11 -05:00
Bob Silverberg
86607cb2ef
Bug 1321303 - Part 3: Implement browsingData.removeHistory, r=aswan
...
MozReview-Commit-ID: 5BkLOGUSqfZ
--HG--
extra : rebase_source : 1d9ff18f0af076110f1756bdfa3cd68b5d1b7e53
2016-12-12 16:44:59 -05:00
Bob Silverberg
80a9299082
Bug 1321303 - Part 2: Implement browsingData.removeCache, r=aswan
...
MozReview-Commit-ID: 3mBgpkoFaYJ
--HG--
rename : browser/components/extensions/test/xpcshell/test_ext_browsingData_cookies.js => browser/components/extensions/test/xpcshell/test_ext_browsingData_cookies_cache.js
extra : rebase_source : d095580269db6970d371bc8aba50b9a72223fd6c
extra : source : 8aa9018801ca462f8c0ebdbbd0a618003be64c15
2016-12-01 14:01:08 -05:00
Bob Silverberg
98ccceae37
Bug 1321303 - Part 1: Implement browsingData.remove and removeCookies, r=aswan,mak
...
MozReview-Commit-ID: DawjN9bGcmL
--HG--
extra : rebase_source : 8894c417c7b0aed07b7637699ec8236a3edcb065
extra : source : a6f47027566a5cf8e1ffb1a5993c357f46105794
2016-11-30 10:18:02 -05:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Luca Greco
ad2ebb3255
Bug 1291737 - implements devtools.inspectedWindow.tabId. r=kmag
...
MozReview-Commit-ID: L60Ivfl8dVG
--HG--
extra : rebase_source : ca1b52b791fd2cbf7302ed7c110998b7d9d6ad27
2016-11-18 19:05:27 +01:00
Luca Greco
e9119d4272
Bug 1291737 - Implements the devtools_page context. r=kmag
...
MozReview-Commit-ID: CxS5e101C3z
--HG--
extra : rebase_source : a8a3dbc184f096173caa842a6be3dcf710e16ec0
2017-01-18 15:55:21 +01:00
Carsten "Tomcat" Book
709bd29d0a
merge mozilla-inbound to mozilla-central a=merge
2017-01-19 16:05:22 +01:00
Kris Maglione
21c138c5cb
Bug 1331999: Fix race in setting initial popup background color. r=aswan
...
MozReview-Commit-ID: KgRTxRIFbVd
--HG--
extra : rebase_source : 161205779281749ed1c8fc49a8481c838c4775bb
2017-01-18 11:38:46 -08:00
Kris Maglione
94213ad506
Bug 1320395: Part 3 - Run WebExtensions in their own process type. r=billm,bobowen
...
MozReview-Commit-ID: FZ4f1Lda5vh
--HG--
extra : rebase_source : 013dfd2ab5e74097d81b0a2afebd3e02060f5e75
2017-01-12 14:11:47 -08:00
Tomislav Jovanovic
9723a29fc6
Bug 1330167 - CookieStore.tabIds should be an array of tab IDs r=aswan
...
MozReview-Commit-ID: 7KuVKEEOhlv
--HG--
extra : rebase_source : 5c9693ec8194da62805fc6b4fbc3ba2513e9f1c3
2017-01-13 11:58:32 +01:00
Matthew Wein
e3673f105f
Bug 1330337 - Add basic theme framework hidden behind pref r=mikedeboer
...
MozReview-Commit-ID: 1kje3tc7y9O
--HG--
extra : rebase_source : 62fa9ff12f20877deade86f4ad8a3c64d95bc448
2017-01-11 14:34:23 -05:00
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
Kris Maglione
b6d9dc9190
Bug 1317101 - Part 5: Simply remote view initialization code, and fix some inconsistent handling. r=billm
...
MozReview-Commit-ID: 65BE0oF3rpI
--HG--
extra : rebase_source : c65b403f2960edaf6e5e46ee94d76c39f8507dba
extra : source : 225ad2535585ff6ce38e1e9f8fe5371194a70658
2016-11-12 16:13:21 -08:00
Kris Maglione
a9b0112912
Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
...
This could still use a fair amount of additional cleanup.
MozReview-Commit-ID: BteBFMlZCsy
--HG--
extra : rebase_source : cc0dc4854167c49593a4f4046c3d6527afe1eddf
extra : source : b0521588011d866ee6b2019ee71654768b9e7677
2016-11-15 15:13:50 -08:00
Wes Kocher
4e5f6472fd
Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
...
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Kris Maglione
488b66af65
Bug 1317101: Follow-up: Fix race in popup tests.
...
MozReview-Commit-ID: af64Ic1qBg
--HG--
extra : rebase_source : 05345e09c4e324a4397dceb2c228821013efa0ae
2016-11-16 15:35:24 -08:00
Kris Maglione
f037fc507b
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 : a51af3186f10c2865b929ec1a32519aff72b6660
extra : histedit_source : 27001abd91b029f9bb48d955b46616651f2e5002
2016-11-16 13:14:37 -08:00
Kris Maglione
c8e74990ec
Bug 1317101 - Part 7c: Run extension popups in a remote browser. r=aswan
...
MozReview-Commit-ID: CATeESBwj1J
--HG--
extra : rebase_source : 646aa463a4f20a0b22c3b293c940904d761c6d1c
extra : histedit_source : 1825cc22cbf0d095e4eb5058d736bb7e0afcceb3%2C3826dd6bb5abbc55f9a461e7014390aaf933ad7f
2016-11-16 13:39:45 -08:00
Kris Maglione
3cb07fc3a1
Bug 1317101 - Part 5: Simply remote view initialization code, and fix some inconsistent handling. r=billm
...
MozReview-Commit-ID: 65BE0oF3rpI
--HG--
extra : rebase_source : 0c320b6c6c94576a0fc20d1117bf9d76c716c0f2
2016-11-12 16:13:21 -08:00
Kris Maglione
191000683d
Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
...
This could still use a fair amount of additional cleanup.
MozReview-Commit-ID: BteBFMlZCsy
--HG--
extra : rebase_source : 8b37748c25cc5c871ebac3eaab34ae6780175f37
2016-11-15 15:13:50 -08:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Shane Caraveo
d981ec07ec
Bug 1311576 fix webrequest filter for tabId and windowId, r=kmag
...
MozReview-Commit-ID: FzW53LXktWz
--HG--
extra : rebase_source : e19987aa7f2bfa711f07abebaf37b75464508177
2016-11-15 16:34:33 -08:00
Carsten "Tomcat" Book
8cfa5253e8
merge mozilla-inbound to mozilla-central a=merge
2016-11-15 12:26:41 +01:00
Tomislav Jovanovic
2c891cc35b
bug 1310331 - implement matchAboutBlank for tabs.executeScript r=kmag
...
MozReview-Commit-ID: ApuakyrctzD
--HG--
extra : rebase_source : 8155b4244f6f9652b7cb9ef79ee3d0e9dc6f1b8b
2016-11-03 11:41:21 +01:00
Michael Layzell
c82aff30be
No bug - Correct previously ignored argument to gBrowser.duplicateTab, a=bustage
...
MozReview-Commit-ID: Bs3rkMsLFbk
2016-11-15 13:50:29 -05:00
Kris Maglione
b865966d97
Bug 1308416: Un-request longer timeout for browser_ext_windows_create, since the last failure was before it was split up.
...
MozReview-Commit-ID: 7CMC31puAOP
--HG--
extra : rebase_source : e05cd93d3e8723b579c93c9b017e374f8c42f583
2016-11-15 09:45:05 -08:00
Kris Maglione
4e22a4cec8
Bug 1315769, 1308416: Request longer timeouts for tests that can't be split up.
...
MozReview-Commit-ID: IWRk3FYqKIE
--HG--
extra : rebase_source : d9026951238d71142700c042d235414c840fd8fa
2016-11-15 09:36:27 -08:00
Kris Maglione
a92ba39567
Bug 1312492: Fix intermittent. r=me
...
MozReview-Commit-ID: 2l8z5BLP4hs
--HG--
extra : rebase_source : d0518cd618d44d80e66062a945ec8d881fbbcceb
2016-11-15 08:51:37 -08:00
Kris Maglione
f40b4e1594
Bug 1312392: Fix a timing regression in popup sizing tests. r=trivial
...
MozReview-Commit-ID: EDkPfxCN8BE
--HG--
extra : rebase_source : 43f8d59b810416ae4792ff01fb4c91cc56b5cac7
2016-11-14 17:15:45 -08:00
Kris Maglione
37ec10c623
Bug 1316784: Kill PseudoChildAPIManager. r=aswan
...
MozReview-Commit-ID: CIRltzhWWAJ
--HG--
extra : source : 888815bca14ce217d0be88ec39a79018790ee969
extra : histedit_source : 9cc4470284864b5a3dc4cbcb3b971b49d0af2e52
2016-11-11 15:50:29 -08:00
Sebastian Hengst
a80dab2133
Backed out changeset 888815bca14c (bug 1316784)
2016-11-12 13:43:23 +01:00
Kris Maglione
2155aae978
Bug 1316784: Kill PseudoChildAPIManager. r=aswan
...
MozReview-Commit-ID: CIRltzhWWAJ
--HG--
extra : rebase_source : 6a7f2ada60ec66b15c08e09dfd23c267200fd707
extra : histedit_source : 9c10941f8acc58b0f9476147fa74bafd8c563c1e%2C79208555c30ca2b41c897e20737740522f356004
2016-11-11 15:50:29 -08:00
Kris Maglione
14b9ffa5bc
Bug 1316780: Part 2 - Remove ext-test.js. r=aswan
...
MozReview-Commit-ID: HGv8t0LZK4K
--HG--
extra : rebase_source : 04fa6526df53403156b89185d304e93a39b4cf48
2016-11-11 15:23:17 -08:00
Wes Kocher
cee41d5b80
Merge inbound to central, a=merge
2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book
cc5d30c616
Merge mozilla-central to mozilla-inbound
...
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Carsten "Tomcat" Book
bff71a740a
Backed out changeset 7ef35cccfd7b (bug 1267810)
2016-11-11 09:08:18 +01:00
Wes Kocher
93dca6f437
Backed out changeset 15886f6c3dd1 (bug 1311576) for test_ext_webrequest_filter.html failures a=backout
2016-11-10 23:36:07 -08:00
Matthew Wein
b3b4cd18df
Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
...
MozReview-Commit-ID: GYzueGSijyd
--HG--
extra : rebase_source : b55464fb90f63317822ba8acd47388ace84e4b96
2016-11-11 02:06:43 +00:00
Matthew Wein
3a3ce1cac9
Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
...
MozReview-Commit-ID: GYzueGSijyd
--HG--
extra : rebase_source : 0d35faa215e9a4f675d20a5a4d550a371382464f
2016-11-11 02:06:43 +00:00
djmdev
f08897dbcb
Bug 1274860 - Modify getContexts function so that page context is applied properly. r=kmag
...
--HG--
extra : rebase_source : 62f9766eafa3a8a1e3b0b1f3bc95c22904ec6047
2016-11-11 17:49:44 +05:30
Shane Caraveo
086959718c
Bug 1311576 fix webrequest filter for tabId and windowId, r=kmag
...
MozReview-Commit-ID: Gfg3Wv7JGI6
--HG--
extra : rebase_source : 08999bd99d095d1198a9cbaa3eb0c84b051f4473
2016-11-10 09:54:34 -08:00
Carsten "Tomcat" Book
846adaea6c
merge mozilla-inbound to mozilla-central a=merge
2016-11-09 16:38:04 +01:00
Kris Maglione
2be53ae148
Bug 1315872: Refactor browser_ext_tabs_cookieStoreId. r=aswan
...
MozReview-Commit-ID: J4diktOFIQR
--HG--
extra : rebase_source : 56de8d0b34022ec82f6550b9cfcb34bb870e38ab
extra : histedit_source : c0ae98a25ed447226e44bc3c18700850fe70865c
2016-11-07 22:08:24 -08:00
Kris Maglione
aa7573eedb
Bug 1315872: Refactor tests that check for promise rejection to use assertRejects. r=aswan
...
MozReview-Commit-ID: 1fBE7B2OdH7
--HG--
extra : rebase_source : bd9e12c0ef3f0735e7587fe5db19cc10cd5a47e5
extra : histedit_source : aa50834f1c2594e28eae83fded023df284d3d3c0
2016-11-07 22:04:49 -08:00
Tom Schuster
cdf4b653b0
Bug 1221764 - Implement simple chrome.bookmarks events, r=aswan,mak
...
MozReview-Commit-ID: LWbhYf8CpZD
--HG--
extra : rebase_source : 74e11b9787ef151640aa5ff13024e62c40ddc476
2016-08-17 10:22:10 -04:00
Bob Silverberg
1459d5aa54
Bug 1308060 - Implement sessions.restore WebExtensions API, r=aswan
...
MozReview-Commit-ID: Ci7WhKYJBN1
--HG--
extra : rebase_source : 723aec47a2bd00cef74413c6be4b05dac7d97117
2016-11-07 14:53:27 -05:00
Kris Maglione
5afec92baa
Bug 1315575: Part 3 - Convert ImageData objects at the binding layer, and remove unnecessary content bindings. r=aswan
...
MozReview-Commit-ID: CjqXRiFcMWp
--HG--
extra : rebase_source : 5e9a839c8193699083e304c27138b876675ea8a7
2016-11-06 17:35:07 -08:00
Wes Kocher
147936ec43
Merge inbound to central, a=merge
2016-11-07 14:00:52 -08:00
Kris Maglione
433c0df4cc
Bug 1306797: Dispatch key events to the correct windows. r=me
...
MozReview-Commit-ID: 2jxb5dnVREu
--HG--
extra : rebase_source : 95c8b75f832c76dad942c4d594ae3855250cd88b
2016-11-06 19:18:24 -08:00
Phil Ringnalda
7f06434292
Merge m-c to m-i
...
MozReview-Commit-ID: KCA8bY2DowI
2016-11-06 19:16:46 -08:00
Kris Maglione
8b796251b6
Bug 1266510: Try explicitly focusing new browser window before waiting for focus change event. r=me
...
MozReview-Commit-ID: B3mod2MtA8d
--HG--
extra : rebase_source : 9531fab468c30492efbcf686425918a36e1ed21e
2016-11-06 19:03:03 -08:00
Kris Maglione
ab2c61f94d
Bug 1308649: Split browser_ext_windows_create.js into three files. r=me
...
MozReview-Commit-ID: 5abJw8VEJCU
--HG--
rename : browser/components/extensions/test/browser/browser_ext_windows_create.js => browser/components/extensions/test/browser/browser_ext_windows_allowScriptsToClose.js
rename : browser/components/extensions/test/browser/browser_ext_windows_create.js => browser/components/extensions/test/browser/browser_ext_windows_create_params.js
extra : rebase_source : 6d5385560a1ca89f43b985504fa8f70710fe9eb1
2016-11-06 17:43:47 -08:00
Bob Silverberg
822f3154e2
Bug 1310019 - web extension API : chrome.tabs.query doesn’t get tabs title at first call, r=kmag
...
Add permission to the active tab on mousedown in ext-browserAction.js
MozReview-Commit-ID: H0oXQElppo7
--HG--
extra : rebase_source : 09ac61c479b57cb487bd81855dd9acae27537f39
extra : source : 935c49da3488b4270cf45447451d6bb0abe3f369
2016-10-31 17:30:16 -04:00
Sebastian Hengst
e9bafabd96
Backed out changeset 15760cbfa77a (bug 1308058) for almost permafailing browser_ext_sessions.js on Linux debug in e10s mode. r=backout a=backout
...
MozReview-Commit-ID: 6uhHHvTHguG
2016-11-05 11:12:19 +01:00
Bob Silverberg
799141376a
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
--HG--
extra : rebase_source : a8a6c35e329c699eea523f1dad794e1106681719
2016-10-25 16:09:28 -04:00
Bob Silverberg
7083cbf0d9
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
--HG--
extra : rebase_source : 075f74835aff7f9937d3f456714c64b9a31168db
2016-10-25 16:09:28 -04:00
Kris Maglione
9ec833d34e
Bug 1308421: Handle MessageChannel responses correctly after docshells have been swapped. r=aswan
...
MozReview-Commit-ID: HDTrBfdclXd
--HG--
extra : rebase_source : ec09a6772df798982fc2d52153186fd901a3984c
extra : amend_source : da03f0645ee6561497936f7c42d46f941ad2dd77
extra : histedit_source : 0937500d487c46a738c0a2783b04054ec238a940
2016-10-11 21:08:33 +01:00
Kris Maglione
e6b9c2b457
Bug 1307551: Don't attempt to pre-load popup for disabled browserAction. r=bsilverberg
...
MozReview-Commit-ID: 8imoqD1Xoja
--HG--
extra : rebase_source : 8f0fa63b813f77bc8cde28aa1878c880ac96a3df
extra : amend_source : dee66aef3c55b737fb8f946d9184fc82794f0ff5
2016-11-01 09:41:30 -07:00
Kris Maglione
e9c3a589bb
Bug 1312690: Lazily initialize extension APIs. r=aswan
...
MozReview-Commit-ID: 2ofzT6wPvus
--HG--
extra : rebase_source : 462e3eca2a9750fb07ad753322e86bc1494a8b4e
2016-11-02 19:21:04 -07:00
Shane Caraveo
cb4c301312
Bug 1273138 fix WebRequest for background pages, r=kmag
...
MozReview-Commit-ID: DEW9anMmKi2
--HG--
extra : rebase_source : 7d82d1000473b2530d6144987a28e35815c11999
2016-11-02 09:30:50 -07:00
Kris Maglione
9c000b319d
Bug 1313956: Async all the tests. r=aswan
...
MozReview-Commit-ID: CyNCfEsDD42
--HG--
extra : source : efc9b52a218f7ffd40ba346de74fd846a9059ceb
2016-11-07 21:03:14 -08:00
Ryan VanderMeulen
a41f7d1058
Merge autoland to m-c. a=merge
2016-10-29 09:12:45 -04:00
Andrea Marchesini
0467141ad5
Bug 1302697 - Containers and WebExtensions - part 3 - getAllCookieStores, r=kmag
2016-10-28 10:16:32 +02:00
Andrea Marchesini
c119e65ac0
Bug 1302697 - Containers and WebExtensions - part 1 - Tab API, r=kmag
2016-10-28 10:15:42 +02:00
Eric Rahm
52e9f58e98
Bug 1312901 - Part 2: Use nsIArray for URL argument when opening a window. r=Gijs
...
This updates the URL argument to use an nsIMutableArray instead of an nsIArray.
MozReview-Commit-ID: 45kvKCBYNK6
2016-10-27 14:22:14 -07:00
Rob Wu
ca2c1cf947
Bug 1299411 - Pass port parameter to port.onMessage r=kmag
...
This should have been a part of bug 1298810, but that only set the
argument for native messaging ports, which does not use Port from
ExtensionUtils. The port parameter must also be included in runtime's
Port.onMessage to avoid regressions when the port implementations are
unified and native messaging starts using runtime's Port.
Note that starting from this commit, multiple onMessage listeners
receive the same (cloned) message instead of a new clone per listener.
This is a side effect of using `fire.withoutClone` instead of `fire`:
`fire` clones all parameters, but ports are not cloneable so we have
to use `fire.withoutClone` instead. This change with regards to message
cloning is fully compatible with Chrome's messaging API (which also
passes the same message object to all `port.onMessage` calls).
MozReview-Commit-ID: AUDuUKHkXCM
--HG--
extra : rebase_source : b91d701bba21f376935961a6eeb1a8489ac5591b
2016-09-24 11:34:26 +02:00
Carsten "Tomcat" Book
c1f7613ca2
Backed out changeset 0fd006bf6f9d (bug 1308058) for timeouts in browser_ext_sessions.js
...
--HG--
extra : rebase_source : d06e03178e4940618d0c42de2e7da26e485f23c0
2016-10-28 15:45:29 +02:00
Rob Wu
e668502481
Bug 1287007 - Fix timing issue in browser_ext_windows_create_tabId.js r=billm
...
When tabs.onUpdated is called before the promise of windows.create
resolves, the test fails.
This test failure was observed on almost every try run with non-e10s,
and sometimes (rarely) with e10s.
MozReview-Commit-ID: 3znCP1uAUSB
--HG--
extra : rebase_source : ec150b83f85a50f75eda2a0e41f3a60611625046
2016-10-21 01:35:03 +02:00
Rob Wu
2c28b34d3b
Bug 1287007 - Fix timing issue in browser_ext_contextMenus.js r=billm
...
MozReview-Commit-ID: D7No2zFUWjf
--HG--
extra : rebase_source : 70dee95902fb580bdca2c1cf33675fd13346f22f
2016-10-12 01:10:33 +02:00
Rob Wu
9dfc705076
Bug 1287007 - Adjust state test in browser_ext_windows_update.js on Linux r=kmag
...
The test/browser/browser_ext_windows_update.js test fails on Linux.
The window ID is not expected to change, add assertion for it to
eliminate causes for test failures.
Ultimately, it turns out that the test failure is caused by a defect
in the implementation, not the test itself, see bugzil.la/1307759
MozReview-Commit-ID: Lo8IIvcfYQ2
--HG--
extra : rebase_source : 12ffc9c2d545723b012b6c5dcf216e7ef34e1790
2016-10-03 01:13:32 +02:00
Rob Wu
3a2af37b59
Bug 1287007 - Fix timing issue in browser_ext_tabs_onUpdated.js r=billm
...
Reload about:blank tab after opening it and registering the
`tabs.onUpdated` event. This is needed because about:blank loads very
fast, before the callback of `tabs.create` is invoked. This effect is
amplified by the fact that the APIs are now proxied.
MozReview-Commit-ID: DgPtIqHSUDx
--HG--
extra : rebase_source : afe6ec984bed06f47c24e39fee6fa7c757c3dde3
2016-10-01 01:07:22 +02:00
Rob Wu
3be3ab8f88
Bug 1287007 - Remove contextMenusInternal.onClicked r=billm
...
contextMenusInternal.onClicked is already inlined in context_menus.json.
It should be removed because otherwise the
`browser.contextMenusInternal.onClicked` API would be generated.
MozReview-Commit-ID: LAKd2IGM5GU
--HG--
extra : rebase_source : 60668c2ef75661eefe21ce3135a2b7d7d320cb7b
2016-10-01 00:46:19 +02:00
Rob Wu
3992652f2f
Bug 1287007 - Make browser_ext_tabs_executeScript.js reliable r=billm
...
The ProxyMessenger registers a listener whenever the first addon
starts. Although the map does not have any listeners any more at
the end of the test, the listener itself is not removed because
the message-manager-close notification is not sent for them.
So do not count these persistent message managers in the test.
The actual message managers of interest are those associated with
the (closed) tab.
Note: When the test is run in isolation, it may still fail due
to bugzil.la/1293583. See bug for work-around if you want to test.
MozReview-Commit-ID: IiDHhmvQPcv
--HG--
extra : rebase_source : 3a9332d69be31e34bc704de217c823e2a02dd514
2016-09-15 15:53:03 -07:00
Rob Wu
70ca4c8753
Bug 1287007 - Make window.close in extension pages async r=billm
...
Test coverage by tabs.onRemoved + window.close() in:
toolkit/components/extensions/test/mochitest/test_ext_tab_teardown.html
MozReview-Commit-ID: 7asg2XGrTaQ
--HG--
extra : rebase_source : 4498725a207e1863bb5a1f0ee58673e6976df1f8
2016-09-13 20:26:18 -07:00
Rob Wu
67b8230b49
Bug 1287007 - Remove .contentWindow from ProxyContext r=billm
...
MozReview-Commit-ID: ASNigrM07yz
--HG--
extra : rebase_source : e9169090ec8cb1d9822f235faa15516403576dde
2016-09-13 16:02:03 -07:00
Rob Wu
0c66504d77
Bug 1287007 - Fix "onclick" in contextMenus, to child. r=billm
...
Main thing: Making contextMenus implementation webext-oop compatible.
Preparation:
- Add getParentEvent to ChildAPIManager to allow use of remote events.
- Introduce `addon_parent_only` to "allowedContexts" to only generate a
schema API in the main process.
- Do not fill in `null` for missing keys if the schema declares a key as
`"optional": "omit-key-if-missing"`. This is needed for the second
point in the next list.
Drive-by fixes:
- Ensure that the "onclick" handler is erased when a context closes.
- Do not clear the "onclick" handler in `contextMenus.update` if the
onclick key has been omitted (parity with Chrome).
- Remove some unnecessary `Promise.resolve()`
- Add extensive set of tests that check the behavior of the contextMenus
APIs with regards to the onclick attribute in various scenarios.
MozReview-Commit-ID: A5f3AUQzU8T
--HG--
extra : rebase_source : 0464a1aa2387343a6f1d0fcd8fbabfdd1a68b1bb
2016-09-12 18:26:03 -07:00
Rob Wu
fcb710d311
Bug 1287007 - Move part of browserAction and pageAction to child r=billm
...
And remove redundant `Promise.resolve()` because it is the default
for async functions.
setIcon is not supported on Android, so there was no need to change
mobile/android/components/extensions/ext-pageAction.js.
MozReview-Commit-ID: 94ebaJFxLAi
--HG--
extra : rebase_source : 20466181501b264ba33fc8ab61fdf2bed20f9eef
2016-09-11 04:18:35 -07:00
Rob Wu
bd0fa6844a
Bug 1287007 - Only close extension tabs upon shutdown r=billm
...
In one of the previous patches, the viewType of popup changed from
"popup" to "tab". As a result it was closed by the `page-shutdown`
event handler in ext-tabs.js. This prevents that from happening.
Also added a test that checks whether the options page type is a tab, to
prevent future regressions.
MozReview-Commit-ID: 3Qcf08PgNqb
--HG--
extra : rebase_source : c4b89d122df52a7280ff5818903cb1d8737fb31c
2016-09-08 19:02:56 -07:00
Rob Wu
dce0635037
Bug 1287007 - Use IPC to share viewType, tabId and windowId r=billm
...
Accessing <browser> in ContentChild does not work when extensions run in
a separate process.
MozReview-Commit-ID: EK0aOYeGaZ5
--HG--
extra : rebase_source : 359cb1f9022b8097d27aa74a30e133c4a7e7c742
2016-09-06 15:25:10 -07:00
Rob Wu
9db4f57609
Bug 1287007 - Fix timing issue in browser_ext_tabs_getCurrent.js r=billm
...
browser.test.sendMessage does not have enough time to finish
before tabs.remove since test moved to ChildAPIManager for
extension pages, causing the test to time out.
MozReview-Commit-ID: 1mmGZOi9fzm
--HG--
extra : rebase_source : b0d1310f867040f1f7d14b94a95ba364e3902f88
2016-09-06 14:45:58 -07:00
Rob Wu
ff65d297cc
Bug 1287007 - Move extension context initialization to ExtensionContent r=billm
...
This is a simple move of ExtensionContext creation logic to
ExtensionChild.
Before the change, ExtensionContext was initialized as follows:
1. (ext-backgroundPage.js) Create background page
2. (Extension.jsm) document-element-inserted observed.
3. (Extension.jsm) new ExtensionContext + unload observer.
After this commit:
1. (ext-backgroundPage.js) Create background page
2. (ext-backgroundPage.js) emit extension-browser-inserted event
3. (Extension.jsm) Pass global to ExtensionContent + unload listener.
4. (ExtensionContent.jsm) document-element-inserted observed.
5. (ExtensionChild.jsm) new ExtensionContext
The next step is to use frame scripts and synchronize state.
MozReview-Commit-ID: K6mPdq7KQ2T
--HG--
extra : rebase_source : c742dfe89646d6717da134c7408aa5a066107c66
2016-09-05 23:50:11 -07:00
Rob Wu
6023c940a4
Bug 1287007 - Rename "context.type" to "context.viewType" r=billm
...
"viewType" is more easily searchable and not as ambiguous as "type".
MozReview-Commit-ID: 8sG4qagFCBu
--HG--
extra : rebase_source : 39d76379996e631b9fc33f0c77d565cf302b9df9
2016-09-05 22:26:56 -07:00
Rob Wu
4ec02709a6
Bug 1287007 - Mark all browserAction methods as async r=billm
...
E.g. browser.browserAction.enable(...).then(...) now works as expected.
Removed a Promise.resolve() because that is the default.
MozReview-Commit-ID: 4Shxtn0rjYH
--HG--
extra : rebase_source : 2f2516686c7d79094fac5ff1176c1c9310f1abe5
2016-09-02 14:22:09 -07:00
Rob Wu
8a87af36f9
Bug 1287007 - Require "async" in schemas to match name r=billm
...
In the pageAction and browserAction schemas, several methods are
declared with `"async": true` but without a specified callback in the
`"parameters"` object, so callbacks are not allowed. However, when a
callback is proxied, the `ParentAPIManager` will mirror the call by
passing in an extra callback to the proxied API - and break.
This patch fixes the issue by removing uses of async:true. Also for
consistency between the browserAction and pageAction methods, the
methods that were not declared as async have also been marked as async.
MozReview-Commit-ID: JQqzmTUAotB
--HG--
extra : rebase_source : 62d1cbc4843dd6c792318337158e4311f8df94a4
2016-09-02 03:37:55 -07:00
Rob Wu
ef043e450c
Bug 1287007 - Fix timing issue in browser/page action tests r=billm
...
MozReview-Commit-ID: 9L0ttaq42Ga
--HG--
extra : rebase_source : 0120e0bf68a5d60096454c6dd42b2496a73be3a5
2016-09-02 16:33:32 -07:00
Dave Townsend
5ae97524cb
Bug 1312055: Fix various eslint errors. r=standard8
...
MozReview-Commit-ID: 2XbldhBnofs
--HG--
extra : rebase_source : f0c91dfbe37159077b8d0506913dd719fe577f17
2016-10-21 10:03:51 -07:00
Andy McKay
e4fa3c53f8
bug 1240631 so that both invalid windows and tabs hit runtime.lastError r=kmag
...
MozReview-Commit-ID: EflXdTBWEEO
--HG--
extra : rebase_source : f3464383ec97250a3778ba627df10c210b3c5242
2016-10-21 14:45:18 -07:00
Kris Maglione
16e60b24ea
Bug 1312224: Fix race in browser_ext_browserAction_popup_resize.js. r=me
...
MozReview-Commit-ID: 6pSsJDfNJzO
--HG--
extra : rebase_source : 822a6e27c79fee454404b568dd7d9edffd4d8c96
2016-10-22 14:22:43 -07:00
Kris Maglione
8e0d5c9c7e
Bug 1287209: Make popup tests compatible with remote browsers. r=aswan
...
MozReview-Commit-ID: 79Xa3j5Kzov
--HG--
extra : source : 642ee7eb70bbe1d512a06cf6478910bd2d0db273
extra : intermediate-source : 50dcca551b63ee6e9b07207208d6cb1c239467af
extra : histedit_source : ac9867b9d5c0a1666f751b86199b4ba14e32d918%2C6261a9a05cd6386e2abfeddddf6f67a1d208d6f3
2016-10-20 19:02:14 -07:00
Kris Maglione
062bc47b74
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
--HG--
extra : source : 68806639c03110bfb67dd6c705a5441a917afcd6
extra : intermediate-source : cc7503f09572bc49cd2f86184d0d3abc810351c3
2016-10-20 15:27:51 -07:00
Tomislav Jovanovic
3743f656f6
bug 1290057 - fire onFocusChanged when Firefox loses/gains focus r=kmag
...
MozReview-Commit-ID: 7OdyglGjnFQ
--HG--
extra : rebase_source : 72fc9d46f004366419b0dd62c6e2ab201ab9fef1
2016-10-14 05:38:34 +02:00
Sebastian Hengst
0c23c32b56
Backed out changeset 68806639c031 (bug 1287209) for failing browser-chrome test browser_ext_popup_corners.js. r=backout
2016-10-20 09:17:03 +02:00
Sebastian Hengst
304f2d4ce5
Backed out changeset 642ee7eb70bb (bug 1287209)
2016-10-20 09:16:15 +02:00
Kris Maglione
0d4f94f79a
Bug 1287209: Make popup tests compatible with remote browsers. r=aswan
...
MozReview-Commit-ID: 79Xa3j5Kzov
--HG--
extra : rebase_source : 4746880f12993aab2055221d752be50105278a85
2016-10-19 15:13:25 -07:00
Kris Maglione
00de90e4be
Bug 1287209: Handle popup and options browser resizing using a frame script. r=aswan
...
MozReview-Commit-ID: DIfynklqrus
--HG--
extra : rebase_source : fe673f907b56f4d2bdc53be2e37271541c5332d6
2016-10-19 20:19:43 -07:00
Kris Maglione
919d2fdacb
Bug 1294442: Follow-up: Fix additional windows-only test failures. r=bustage
...
MozReview-Commit-ID: 2fz7eeC7WLm
--HG--
extra : rebase_source : 0885b5701013ed9e287f5d19e15ccbdcb1b02439
2016-10-19 18:52:15 -07:00
Eric Rahm
1b5670be81
Bug 1311223 - Stop using nsISupportsArray for window args. r=froydnj
...
WindowWatcher allows for either nsIArray or nsISupports array to be passed in
for the arguments param. This converts all internal usage to nsIArray.
MozReview-Commit-ID: DQjtIkobik0
2016-10-19 16:23:57 -07:00
Kris Maglione
e9d564b143
Bug 1294442: Follow-up: Fix test failures. r=bustage
...
MozReview-Commit-ID: F7qWPN1SsNT
--HG--
extra : rebase_source : 146d0c0a54df4b11345ff808c1fbf5829ead1dcc
2016-10-19 15:15:51 -07:00
Kris Maglione
a6b566a249
Bug 1294442: Part 2 - Fix layout issues when popup's preferred size is larger than maximum. r=aswan
...
MozReview-Commit-ID: E9gaAeQWtDb
--HG--
extra : rebase_source : d74f85a06a29ffcf40ffbb64d01625aaf3acd082
2016-10-19 13:47:59 -07:00
Mark Banner
56a7b3961a
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
--HG--
rename : .eslintrc => .eslintrc.js
rename : accessible/.eslintrc => accessible/.eslintrc.js
rename : accessible/tests/browser/.eslintrc => accessible/tests/browser/.eslintrc.js
rename : browser/.eslintrc => browser/.eslintrc.js
rename : browser/base/content/test/alerts/.eslintrc => browser/base/content/test/alerts/.eslintrc.js
rename : browser/base/content/test/chrome/.eslintrc => browser/base/content/test/chrome/.eslintrc.js
rename : browser/base/content/test/general/.eslintrc => browser/base/content/test/general/.eslintrc.js
rename : browser/base/content/test/newtab/.eslintrc => browser/base/content/test/newtab/.eslintrc.js
rename : browser/base/content/test/plugins/.eslintrc => browser/base/content/test/plugins/.eslintrc.js
rename : browser/base/content/test/popupNotifications/.eslintrc => browser/base/content/test/popupNotifications/.eslintrc.js
rename : browser/base/content/test/referrer/.eslintrc => browser/base/content/test/referrer/.eslintrc.js
rename : browser/base/content/test/social/.eslintrc => browser/base/content/test/social/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc => browser/components/contextualidentity/test/browser/.eslintrc.js
rename : browser/components/customizableui/test/.eslintrc => browser/components/customizableui/test/.eslintrc.js
rename : browser/components/dirprovider/tests/unit/.eslintrc => browser/components/dirprovider/tests/unit/.eslintrc.js
rename : browser/components/downloads/test/browser/.eslintrc => browser/components/downloads/test/browser/.eslintrc.js
rename : browser/components/downloads/test/unit/.eslintrc => browser/components/downloads/test/unit/.eslintrc.js
rename : browser/components/extensions/.eslintrc => browser/components/extensions/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc => browser/components/extensions/test/browser/.eslintrc.js
rename : browser/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc.js
rename : browser/components/feeds/test/.eslintrc => browser/components/feeds/test/.eslintrc.js
rename : browser/components/feeds/test/chrome/.eslintrc => browser/components/feeds/test/chrome/.eslintrc.js
rename : browser/components/feeds/test/unit/.eslintrc => browser/components/feeds/test/unit/.eslintrc.js
rename : browser/components/migration/tests/unit/.eslintrc => browser/components/migration/tests/unit/.eslintrc.js
rename : browser/components/newtab/tests/browser/.eslintrc => browser/components/newtab/tests/browser/.eslintrc.js
rename : browser/components/newtab/tests/xpcshell/.eslintrc => browser/components/newtab/tests/xpcshell/.eslintrc.js
rename : browser/components/originattributes/test/browser/.eslintrc => browser/components/originattributes/test/browser/.eslintrc.js
rename : browser/components/places/tests/browser/.eslintrc => browser/components/places/tests/browser/.eslintrc.js
rename : browser/components/places/tests/chrome/.eslintrc => browser/components/places/tests/chrome/.eslintrc.js
rename : browser/components/places/tests/unit/.eslintrc => browser/components/places/tests/unit/.eslintrc.js
rename : browser/components/preferences/in-content/tests/.eslintrc => browser/components/preferences/in-content/tests/.eslintrc.js
rename : browser/components/privatebrowsing/test/browser/.eslintrc => browser/components/privatebrowsing/test/browser/.eslintrc.js
rename : browser/components/safebrowsing/content/test/.eslintrc => browser/components/safebrowsing/content/test/.eslintrc.js
rename : browser/components/search/test/.eslintrc => browser/components/search/test/.eslintrc.js
rename : browser/components/selfsupport/test/.eslintrc => browser/components/selfsupport/test/.eslintrc.js
rename : browser/components/sessionstore/test/.eslintrc => browser/components/sessionstore/test/.eslintrc.js
rename : browser/components/sessionstore/test/unit/.eslintrc => browser/components/sessionstore/test/unit/.eslintrc.js
rename : browser/components/shell/test/.eslintrc => browser/components/shell/test/.eslintrc.js
rename : browser/components/shell/test/unit/.eslintrc => browser/components/shell/test/unit/.eslintrc.js
rename : browser/components/tests/browser/.eslintrc => browser/components/tests/browser/.eslintrc.js
rename : browser/components/translation/test/.eslintrc => browser/components/translation/test/.eslintrc.js
rename : browser/components/translation/test/unit/.eslintrc => browser/components/translation/test/unit/.eslintrc.js
rename : browser/components/uitour/test/.eslintrc => browser/components/uitour/test/.eslintrc.js
rename : browser/experiments/test/xpcshell/.eslintrc => browser/experiments/test/xpcshell/.eslintrc.js
rename : browser/extensions/formautofill/.eslintrc => browser/extensions/formautofill/.eslintrc.js
rename : browser/extensions/formautofill/test/browser/.eslintrc => browser/extensions/formautofill/test/browser/.eslintrc.js
rename : browser/extensions/pdfjs/test/.eslintrc => browser/extensions/pdfjs/test/.eslintrc.js
rename : browser/modules/test/.eslintrc => browser/modules/test/.eslintrc.js
rename : browser/modules/test/unit/social/.eslintrc => browser/modules/test/unit/social/.eslintrc.js
rename : browser/modules/test/xpcshell/.eslintrc => browser/modules/test/xpcshell/.eslintrc.js
rename : devtools/.eslintrc => devtools/.eslintrc.js
rename : devtools/.eslintrc.mochitests => devtools/.eslintrc.mochitests.js
rename : devtools/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell.js
rename : devtools/client/aboutdebugging/test/.eslintrc => devtools/client/aboutdebugging/test/.eslintrc.js
rename : devtools/client/animationinspector/test/.eslintrc => devtools/client/animationinspector/test/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/.eslintrc => devtools/client/animationinspector/test/unit/.eslintrc.js
rename : devtools/client/canvasdebugger/test/.eslintrc => devtools/client/canvasdebugger/test/.eslintrc.js
rename : devtools/client/commandline/test/.eslintrc => devtools/client/commandline/test/.eslintrc.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/new/test/mochitest/.eslintrc.js
rename : devtools/client/debugger/test/.eslintrc => devtools/client/debugger/test/.eslintrc.js
rename : devtools/client/dom/.eslintrc => devtools/client/dom/.eslintrc.js
rename : devtools/client/dom/test/.eslintrc => devtools/client/dom/test/.eslintrc.js
rename : devtools/client/framework/test/.eslintrc => devtools/client/framework/test/.eslintrc.js
rename : devtools/client/inspector/.eslintrc => devtools/client/inspector/.eslintrc.js
rename : devtools/client/inspector/components/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/computed/test/.eslintrc => devtools/client/inspector/computed/test/.eslintrc.js
rename : devtools/client/inspector/fonts/test/.eslintrc => devtools/client/inspector/fonts/test/.eslintrc.js
rename : devtools/client/inspector/markup/test/.eslintrc => devtools/client/inspector/markup/test/.eslintrc.js
rename : devtools/client/inspector/rules/test/.eslintrc => devtools/client/inspector/rules/test/.eslintrc.js
rename : devtools/client/inspector/shared/test/.eslintrc => devtools/client/inspector/shared/test/.eslintrc.js
rename : devtools/client/inspector/test/.eslintrc => devtools/client/inspector/test/.eslintrc.js
rename : devtools/client/jsonview/.eslintrc => devtools/client/jsonview/.eslintrc.js
rename : devtools/client/jsonview/test/.eslintrc => devtools/client/jsonview/test/.eslintrc.js
rename : devtools/client/memory/test/browser/.eslintrc => devtools/client/memory/test/browser/.eslintrc.js
rename : devtools/client/memory/test/unit/.eslintrc => devtools/client/memory/test/unit/.eslintrc.js
rename : devtools/client/netmonitor/.eslintrc => devtools/client/netmonitor/.eslintrc.js
rename : devtools/client/netmonitor/har/test/.eslintrc => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/test/.eslintrc => devtools/client/netmonitor/test/.eslintrc.js
rename : devtools/client/performance/test/.eslintrc => devtools/client/performance/test/.eslintrc.js
rename : devtools/client/performance/test/unit/.eslintrc => devtools/client/performance/test/unit/.eslintrc.js
rename : devtools/client/projecteditor/test/.eslintrc => devtools/client/projecteditor/test/.eslintrc.js
rename : devtools/client/promisedebugger/test/.eslintrc => devtools/client/promisedebugger/test/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/.eslintrc => devtools/client/responsive.html/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/.eslintrc => devtools/client/responsive.html/test/unit/.eslintrc.js
rename : devtools/client/responsivedesign/test/.eslintrc => devtools/client/responsivedesign/test/.eslintrc.js
rename : devtools/client/scratchpad/test/.eslintrc => devtools/client/scratchpad/test/.eslintrc.js
rename : devtools/client/shadereditor/test/.eslintrc => devtools/client/shadereditor/test/.eslintrc.js
rename : devtools/client/shared/components/.eslintrc => devtools/client/shared/components/.eslintrc.js
rename : devtools/client/shared/components/test/browser/.eslintrc => devtools/client/shared/components/test/browser/.eslintrc.js
rename : devtools/client/shared/components/test/mochitest/.eslintrc => devtools/client/shared/components/test/mochitest/.eslintrc.js
rename : devtools/client/shared/shim/test/.eslintrc => devtools/client/shared/shim/test/.eslintrc.js
rename : devtools/client/shared/test/.eslintrc => devtools/client/shared/test/.eslintrc.js
rename : devtools/client/shared/test/unit/.eslintrc => devtools/client/shared/test/unit/.eslintrc.js
rename : devtools/client/sourceeditor/.eslintrc => devtools/client/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/test/.eslintrc => devtools/client/sourceeditor/test/.eslintrc.js
rename : devtools/client/storage/test/.eslintrc => devtools/client/storage/test/.eslintrc.js
rename : devtools/client/styleeditor/test/.eslintrc => devtools/client/styleeditor/test/.eslintrc.js
rename : devtools/client/webaudioeditor/test/.eslintrc => devtools/client/webaudioeditor/test/.eslintrc.js
rename : devtools/client/webconsole/net/.eslintrc => devtools/client/webconsole/net/.eslintrc.js
rename : devtools/client/webconsole/net/test/mochitest/.eslintrc => devtools/client/webconsole/net/test/mochitest/.eslintrc.js
rename : devtools/client/webconsole/net/test/unit/.eslintrc => devtools/client/webconsole/net/test/unit/.eslintrc.js
rename : devtools/client/webconsole/new-console-output/test/.eslintrc => devtools/client/webconsole/new-console-output/test/.eslintrc.js
rename : devtools/client/webconsole/test/.eslintrc => devtools/client/webconsole/test/.eslintrc.js
rename : devtools/client/webide/test/.eslintrc => devtools/client/webide/test/.eslintrc.js
rename : devtools/server/tests/browser/.eslintrc => devtools/server/tests/browser/.eslintrc.js
rename : devtools/server/tests/mochitest/.eslintrc => devtools/server/tests/mochitest/.eslintrc.js
rename : devtools/server/tests/unit/.eslintrc => devtools/server/tests/unit/.eslintrc.js
rename : devtools/shared/heapsnapshot/tests/unit/.eslintrc => devtools/shared/heapsnapshot/tests/unit/.eslintrc.js
rename : devtools/shared/platform/content/.eslintrc => devtools/shared/platform/content/.eslintrc.js
rename : devtools/shared/platform/content/test/.eslintrc => devtools/shared/platform/content/test/.eslintrc.js
rename : devtools/shared/security/tests/unit/.eslintrc => devtools/shared/security/tests/unit/.eslintrc.js
rename : devtools/shared/tests/browser/.eslintrc => devtools/shared/tests/browser/.eslintrc.js
rename : devtools/shared/tests/unit/.eslintrc => devtools/shared/tests/unit/.eslintrc.js
rename : devtools/shared/transport/tests/unit/.eslintrc => devtools/shared/transport/tests/unit/.eslintrc.js
rename : devtools/shared/webconsole/test/unit/.eslintrc => devtools/shared/webconsole/test/unit/.eslintrc.js
rename : devtools/shared/worker/tests/browser/.eslintrc => devtools/shared/worker/tests/browser/.eslintrc.js
rename : mobile/android/components/extensions/.eslintrc => mobile/android/components/extensions/.eslintrc.js
rename : mobile/android/components/extensions/test/mochitest/.eslintrc => mobile/android/components/extensions/test/mochitest/.eslintrc.js
rename : security/manager/.eslintrc.json => security/manager/.eslintrc.js
rename : security/manager/ssl/tests/.eslintrc.json => security/manager/ssl/tests/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/browser/.eslintrc.json => security/manager/ssl/tests/mochitest/browser/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.json => security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.json => security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.js
rename : security/manager/ssl/tests/unit/.eslintrc.json => security/manager/ssl/tests/unit/.eslintrc.js
rename : security/manager/tools/.eslintrc.json => security/manager/tools/.eslintrc.js
rename : storage/.eslintrc => storage/.eslintrc.js
rename : testing/mochitest/browser.eslintrc => testing/mochitest/browser.eslintrc.js
rename : testing/mochitest/chrome.eslintrc => testing/mochitest/chrome.eslintrc.js
rename : testing/mochitest/mochitest.eslintrc => testing/mochitest/mochitest.eslintrc.js
rename : testing/xpcshell/xpcshell.eslintrc => testing/xpcshell/xpcshell.eslintrc.js
rename : toolkit/.eslintrc => toolkit/.eslintrc.js
rename : toolkit/components/aboutmemory/tests/.eslintrc => toolkit/components/aboutmemory/tests/.eslintrc.js
rename : toolkit/components/aboutperformance/tests/browser/.eslintrc => toolkit/components/aboutperformance/tests/browser/.eslintrc.js
rename : toolkit/components/addoncompat/tests/browser/.eslintrc => toolkit/components/addoncompat/tests/browser/.eslintrc.js
rename : toolkit/components/alerts/test/.eslintrc => toolkit/components/alerts/test/.eslintrc.js
rename : toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc => toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc.js
rename : toolkit/components/autocomplete/tests/unit/.eslintrc => toolkit/components/autocomplete/tests/unit/.eslintrc.js
rename : toolkit/components/captivedetect/test/unit/.eslintrc => toolkit/components/captivedetect/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit/.eslintrc => toolkit/components/commandlines/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_unix/.eslintrc => toolkit/components/commandlines/test/unit_unix/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_win/.eslintrc => toolkit/components/commandlines/test/unit_win/.eslintrc.js
rename : toolkit/components/contentprefs/tests/mochitest/.eslintrc => toolkit/components/contentprefs/tests/mochitest/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit/.eslintrc => toolkit/components/contentprefs/tests/unit/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit_cps2/.eslintrc => toolkit/components/contentprefs/tests/unit_cps2/.eslintrc.js
rename : toolkit/components/crashes/tests/xpcshell/.eslintrc => toolkit/components/crashes/tests/xpcshell/.eslintrc.js
rename : toolkit/components/crashmonitor/test/unit/.eslintrc => toolkit/components/crashmonitor/test/unit/.eslintrc.js
rename : toolkit/components/ctypes/tests/chrome/.eslintrc => toolkit/components/ctypes/tests/chrome/.eslintrc.js
rename : toolkit/components/ctypes/tests/unit/.eslintrc => toolkit/components/ctypes/tests/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/.eslintrc => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/extensions/.eslintrc => toolkit/components/extensions/.eslintrc.js
rename : toolkit/components/extensions/test/mochitest/.eslintrc => toolkit/components/extensions/test/mochitest/.eslintrc.js
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => toolkit/components/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/components/feeds/test/.eslintrc => toolkit/components/feeds/test/.eslintrc.js
rename : toolkit/components/filepicker/test/unit/.eslintrc => toolkit/components/filepicker/test/unit/.eslintrc.js
rename : toolkit/components/filewatcher/tests/xpcshell/.eslintrc => toolkit/components/filewatcher/tests/xpcshell/.eslintrc.js
rename : toolkit/components/formautofill/test/browser/.eslintrc => toolkit/components/formautofill/test/browser/.eslintrc.js
rename : toolkit/components/formautofill/test/chrome/.eslintrc => toolkit/components/formautofill/test/chrome/.eslintrc.js
rename : toolkit/components/formautofill/test/xpcshell/.eslintrc => toolkit/components/formautofill/test/xpcshell/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/.eslintrc => toolkit/components/jsdownloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/.eslintrc => toolkit/components/jsdownloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/.eslintrc => toolkit/components/jsdownloads/test/unit/.eslintrc.js
rename : toolkit/components/lz4/tests/xpcshell/.eslintrc => toolkit/components/lz4/tests/xpcshell/.eslintrc.js
rename : toolkit/components/mediasniffer/test/unit/.eslintrc => toolkit/components/mediasniffer/test/unit/.eslintrc.js
rename : toolkit/components/narrate/.eslintrc => toolkit/components/narrate/.eslintrc.js
rename : toolkit/components/narrate/test/.eslintrc => toolkit/components/narrate/test/.eslintrc.js
rename : toolkit/components/osfile/tests/mochi/.eslintrc => toolkit/components/osfile/tests/mochi/.eslintrc.js
rename : toolkit/components/osfile/tests/xpcshell/.eslintrc => toolkit/components/osfile/tests/xpcshell/.eslintrc.js
rename : toolkit/components/passwordmgr/.eslintrc => toolkit/components/passwordmgr/.eslintrc.js
rename : toolkit/components/passwordmgr/test/.eslintrc => toolkit/components/passwordmgr/test/.eslintrc.js
rename : toolkit/components/passwordmgr/test/browser/.eslintrc => toolkit/components/passwordmgr/test/browser/.eslintrc.js
rename : toolkit/components/passwordmgr/test/unit/.eslintrc => toolkit/components/passwordmgr/test/unit/.eslintrc.js
rename : toolkit/components/perf/.eslintrc => toolkit/components/perf/.eslintrc.js
rename : toolkit/components/perfmonitoring/tests/browser/.eslintrc => toolkit/components/perfmonitoring/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/.eslintrc => toolkit/components/places/tests/.eslintrc.js
rename : toolkit/components/places/tests/bookmarks/.eslintrc => toolkit/components/places/tests/bookmarks/.eslintrc.js
rename : toolkit/components/places/tests/browser/.eslintrc => toolkit/components/places/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/chrome/.eslintrc => toolkit/components/places/tests/chrome/.eslintrc.js
rename : toolkit/components/places/tests/expiration/.eslintrc => toolkit/components/places/tests/expiration/.eslintrc.js
rename : toolkit/components/places/tests/favicons/.eslintrc => toolkit/components/places/tests/favicons/.eslintrc.js
rename : toolkit/components/places/tests/history/.eslintrc => toolkit/components/places/tests/history/.eslintrc.js
rename : toolkit/components/places/tests/migration/.eslintrc => toolkit/components/places/tests/migration/.eslintrc.js
rename : toolkit/components/places/tests/network/.eslintrc => toolkit/components/places/tests/network/.eslintrc.js
rename : toolkit/components/places/tests/queries/.eslintrc => toolkit/components/places/tests/queries/.eslintrc.js
rename : toolkit/components/places/tests/unifiedcomplete/.eslintrc => toolkit/components/places/tests/unifiedcomplete/.eslintrc.js
rename : toolkit/components/places/tests/unit/.eslintrc => toolkit/components/places/tests/unit/.eslintrc.js
rename : toolkit/components/promiseworker/tests/xpcshell/.eslintrc => toolkit/components/promiseworker/tests/xpcshell/.eslintrc.js
rename : toolkit/components/prompts/test/.eslintrc => toolkit/components/prompts/test/.eslintrc.js
rename : toolkit/components/remotebrowserutils/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc.js
rename : toolkit/components/satchel/test/.eslintrc => toolkit/components/satchel/test/.eslintrc.js
rename : toolkit/components/satchel/test/browser/.eslintrc => toolkit/components/satchel/test/browser/.eslintrc.js
rename : toolkit/components/satchel/test/unit/.eslintrc => toolkit/components/satchel/test/unit/.eslintrc.js
rename : toolkit/components/search/tests/xpcshell/.eslintrc => toolkit/components/search/tests/xpcshell/.eslintrc.js
rename : toolkit/components/social/test/xpcshell/.eslintrc => toolkit/components/social/test/xpcshell/.eslintrc.js
rename : toolkit/components/sqlite/tests/xpcshell/.eslintrc => toolkit/components/sqlite/tests/xpcshell/.eslintrc.js
rename : toolkit/components/startup/tests/browser/.eslintrc => toolkit/components/startup/tests/browser/.eslintrc.js
rename : toolkit/components/startup/tests/unit/.eslintrc => toolkit/components/startup/tests/unit/.eslintrc.js
rename : toolkit/components/telemetry/tests/unit/.eslintrc => toolkit/components/telemetry/tests/unit/.eslintrc.js
rename : toolkit/components/terminator/tests/xpcshell/.eslintrc => toolkit/components/terminator/tests/xpcshell/.eslintrc.js
rename : toolkit/components/thumbnails/test/.eslintrc => toolkit/components/thumbnails/test/.eslintrc.js
rename : toolkit/components/timermanager/tests/unit/.eslintrc => toolkit/components/timermanager/tests/unit/.eslintrc.js
rename : toolkit/components/url-classifier/tests/mochitest/.eslintrc => toolkit/components/url-classifier/tests/mochitest/.eslintrc.js
rename : toolkit/components/url-classifier/tests/unit/.eslintrc => toolkit/components/url-classifier/tests/unit/.eslintrc.js
rename : toolkit/components/urlformatter/tests/unit/.eslintrc => toolkit/components/urlformatter/tests/unit/.eslintrc.js
rename : toolkit/components/viewsource/test/.eslintrc => toolkit/components/viewsource/test/.eslintrc.js
rename : toolkit/components/viewsource/test/browser/.eslintrc => toolkit/components/viewsource/test/browser/.eslintrc.js
rename : toolkit/components/workerloader/tests/.eslintrc => toolkit/components/workerloader/tests/.eslintrc.js
rename : toolkit/components/xulstore/tests/chrome/.eslintrc => toolkit/components/xulstore/tests/chrome/.eslintrc.js
rename : toolkit/components/xulstore/tests/xpcshell/.eslintrc => toolkit/components/xulstore/tests/xpcshell/.eslintrc.js
rename : toolkit/content/tests/browser/.eslintrc => toolkit/content/tests/browser/.eslintrc.js
rename : toolkit/content/tests/chrome/.eslintrc => toolkit/content/tests/chrome/.eslintrc.js
rename : toolkit/content/tests/unit/.eslintrc => toolkit/content/tests/unit/.eslintrc.js
rename : toolkit/content/tests/widgets/.eslintrc => toolkit/content/tests/widgets/.eslintrc.js
rename : toolkit/crashreporter/test/browser/.eslintrc => toolkit/crashreporter/test/browser/.eslintrc.js
rename : toolkit/crashreporter/test/unit/.eslintrc => toolkit/crashreporter/test/unit/.eslintrc.js
rename : toolkit/crashreporter/test/unit_ipc/.eslintrc => toolkit/crashreporter/test/unit_ipc/.eslintrc.js
rename : toolkit/forgetaboutsite/test/browser/.eslintrc => toolkit/forgetaboutsite/test/browser/.eslintrc.js
rename : toolkit/forgetaboutsite/test/unit/.eslintrc => toolkit/forgetaboutsite/test/unit/.eslintrc.js
rename : toolkit/identity/tests/chrome/.eslintrc => toolkit/identity/tests/chrome/.eslintrc.js
rename : toolkit/identity/tests/unit/.eslintrc => toolkit/identity/tests/unit/.eslintrc.js
rename : toolkit/modules/addons/.eslintrc => toolkit/modules/addons/.eslintrc.js
rename : toolkit/modules/subprocess/.eslintrc => toolkit/modules/subprocess/.eslintrc.js
rename : toolkit/modules/subprocess/test/xpcshell/.eslintrc => toolkit/modules/subprocess/test/xpcshell/.eslintrc.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/modules/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/chrome/.eslintrc => toolkit/modules/tests/chrome/.eslintrc.js
rename : toolkit/modules/tests/mochitest/.eslintrc => toolkit/modules/tests/mochitest/.eslintrc.js
rename : toolkit/modules/tests/xpcshell/.eslintrc => toolkit/modules/tests/xpcshell/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/chrome/.eslintrc => toolkit/mozapps/downloads/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/unit/.eslintrc => toolkit/mozapps/downloads/tests/unit/.eslintrc.js
rename : toolkit/mozapps/extensions/.eslintrc => toolkit/mozapps/extensions/.eslintrc.js
rename : toolkit/mozapps/extensions/test/browser/.eslintrc => toolkit/mozapps/extensions/test/browser/.eslintrc.js
rename : toolkit/mozapps/extensions/test/mochitest/.eslintrc => toolkit/mozapps/extensions/test/mochitest/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpcshell/.eslintrc => toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpinstall/.eslintrc => toolkit/mozapps/extensions/test/xpinstall/.eslintrc.js
rename : toolkit/mozapps/update/tests/chrome/.eslintrc => toolkit/mozapps/update/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_aus_update/.eslintrc => toolkit/mozapps/update/tests/unit_aus_update/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_base_updater/.eslintrc => toolkit/mozapps/update/tests/unit_base_updater/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_service_updater/.eslintrc => toolkit/mozapps/update/tests/unit_service_updater/.eslintrc.js
rename : toolkit/profile/test/.eslintrc => toolkit/profile/test/.eslintrc.js
rename : toolkit/themes/osx/mochitests/.eslintrc => toolkit/themes/osx/mochitests/.eslintrc.js
rename : toolkit/xre/test/.eslintrc => toolkit/xre/test/.eslintrc.js
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js
extra : rebase_source : 60affc4b9bf436bba7e0e21a8da3a85d16c9fc06
2016-10-18 08:38:10 +01:00
Tomislav Jovanovic
224b21b060
bug 1281354 - test current window correct after moving tab, r=aswan
...
MozReview-Commit-ID: 14dgxq0FkNB
--HG--
extra : rebase_source : 9e673fcd0f8fd4b4905907ce013e53af919d0c90
2016-10-12 23:46:21 +02:00
Tomislav Jovanovic
e06eb7dfd0
bug 1273146 - populate tabs in windows.create() return value r=kmag
...
MozReview-Commit-ID: 5dnnSdXrsaJ
--HG--
extra : rebase_source : 5cc49e83ed070b9c96dc7855ff3f612045a44647
2016-10-09 02:11:25 +02:00
Bob Silverberg
24591f86d2
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
--HG--
extra : rebase_source : f86d57529e26435e30ad552332e176d0c700fcf7
2016-10-25 16:09:28 -04:00
Matthew Wein
98ce8031a3
Bug 1246034: Part 2 - [webext] Add support for _execute_browser_action. r=kmag
...
MozReview-Commit-ID: EIbPidn07qZ
--HG--
extra : rebase_source : 30ebf49ce314899877734e482bbd6ddf0971d037
2016-07-08 15:02:49 -07:00
Kris Maglione
5fa61868b6
Bug 1246034: Part 1 - [webext] Add a helper function to trigger a browserAction. r=jaws
...
MozReview-Commit-ID: JUW6oUpWiN4
--HG--
extra : rebase_source : 324a7ece3b7bc550478326b5bd2795599a5ec6bb
2016-09-07 11:05:11 +01:00
Ryan VanderMeulen
e980397fb4
Merge m-c to autoland. a=merge
2016-10-07 23:22:46 -04:00
Kris Maglione
a4e557a57b
Bug 1289273: Resolve URLs passed to windows.create relative to the caller. r=aswan a=al
...
MozReview-Commit-ID: 3TUIK6EvO3q
--HG--
extra : rebase_source : cccf23ce3edc1543f15223c677645c42be0ff7a6
extra : histedit_source : 42bdc39ad4c4bdc01e3d094f8d62eae11f3532ba
2016-10-05 20:27:06 +01:00
Tomislav Jovanovic
fcec1aca37
bug 1278685 - test contextMenus.removeAll with two extensions, r=aswan
...
MozReview-Commit-ID: AoEw1Jo7m4R
--HG--
extra : rebase_source : db61749f7108602899866710de6168e1d3a503ce
2016-10-07 02:11:05 +02:00
Tomislav Jovanovic
0c231aa27e
bug 1301227 - add allowScriptsToClose option to windows.create(), r=kmag
...
MozReview-Commit-ID: 4p8A1y2FALX
--HG--
extra : rebase_source : 5be607adae5c5eb8de8061a76461d1c056786161
2016-09-23 23:40:24 +02:00
Kris Maglione
fcb32d398e
Bug 1299891: Make pageAction panels tab-specific. r=jaws
...
MozReview-Commit-ID: D0ZIJzWnUF6
--HG--
extra : rebase_source : c577f58115cf737c005a030c00b5f6131db6b212
2016-09-29 23:56:58 +01:00
Jesper Kristensen
6401f74ad3
Bug 1254221 - Support private browsing cookies in WebExtensions r=kmag
...
MozReview-Commit-ID: 29ci8wbnMra
--HG--
extra : rebase_source : e124aa6526cbe9f8f51736aaa0258442b125b588
2016-09-29 19:18:14 +02:00
Carsten "Tomcat" Book
6636b09ddd
merge mozilla-inbound to mozilla-central a=merge
2016-09-30 12:02:16 +02:00
Rob Wu
743d610ca6
Bug 1301862 - Call tabs.create sooner r=kmag
...
Call tabs.create immediately after the tab is created without delay to
reduce the chance of losing tabs.onUpdated events.
If needed, the tab waiting is done by `executeScript`, etc.
MozReview-Commit-ID: 7A1zH99zafK
--HG--
extra : rebase_source : 56fb363f45040e76a120e6a3de8feaad1575c337
2016-09-11 01:32:24 -07:00
Phil Ringnalda
6f3a9050ba
Backed out changeset 9b6a4552a5c2 (bug 1254221) for test_ext_cookies.html timeouts and lint failures
...
CLOSED TREE
2016-09-27 18:21:01 -07:00
Kris Maglione
7fe3c9e28a
Bug 1306037: Support options_ui in embedded WebExtensions. r=aswan
...
MozReview-Commit-ID: KZVPz52qrTS
--HG--
extra : rebase_source : 302bdead12c6bf36e30ed3782c6cb4526f1ef1c7
2016-09-28 23:11:35 +01:00
Jesper Kristensen
f4c17f8383
Bug 1254221 - Support private browsing cookies in WebExtensions r=kmag
...
MozReview-Commit-ID: 29ci8wbnMra
--HG--
extra : rebase_source : 8ab40a6dfa39c2988d52212630305bc10542b9ad
2016-05-15 12:18:13 +02:00
Rob Wu
467b53928a
Bug 1296900 - Hide commands API if manifest key is missing r=kmag
...
MozReview-Commit-ID: 7vld6MgSlqG
--HG--
extra : rebase_source : 8569bb3f878adf1c25216ad5a0ddae90b0d50dda
2016-08-20 23:01:43 -07:00
Rob Wu
cbe00aff2e
Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
...
MozReview-Commit-ID: LIr5Nsv51I3
--HG--
extra : rebase_source : 54e4b9169c545cb6359c7a0273dfaa54369da231
2016-08-20 22:21:45 -07:00
Wes Kocher
b77ba3eb2a
Backed out 2 changesets (bug 1296900) for mochitest failures in test_ext_all_apis.html a=backout
...
Backed out changeset c37cf3cfd39c (bug 1296900)
Backed out changeset 998ed8336288 (bug 1296900)
2016-09-23 16:15:05 -07:00
Rob Wu
2487486fb5
Bug 1296900 - Hide commands API if manifest key is missing r=kmag
...
MozReview-Commit-ID: 7vld6MgSlqG
--HG--
extra : rebase_source : c86bdd4fefa357655c5fb95e2934b79320fd2fa8
2016-08-20 23:01:43 -07:00
Rob Wu
e31aa32c80
Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
...
MozReview-Commit-ID: LIr5Nsv51I3
--HG--
extra : rebase_source : 00f17e5b9b38b4a658b4b2a011ff6061a3f520b0
2016-08-20 22:21:45 -07:00
Tomislav Jovanovic
4e44ccab20
bug 1269421 - enable HTML tooltips in extension popups, r=aswan
...
MozReview-Commit-ID: 6pyJKgKGW5F
--HG--
extra : rebase_source : ccb839e4a8bed8fff2f384d095893ec0ada26f6b
2016-09-22 03:22:15 +02:00
Tomislav Jovanovic
6c44e70416
bug 1274809 - Add missing properties to OnClicked data, r=aswan
...
MozReview-Commit-ID: 4BodpIuKCz2
--HG--
extra : rebase_source : 981fe298e821c872898f503707ccd59fcb85b869
2016-09-21 02:12:11 +02:00
Phil Ringnalda
43631e2cd1
Backed out 2 changesets (bug 1296900) for est_ext_all_apis.html | failures
...
Backed out changeset fa509c880990 (bug 1296900)
Backed out changeset 06ee8b3640af (bug 1296900)
2016-09-21 18:59:22 -07:00
Rob Wu
fbdafd9474
Bug 1296900 - Hide commands API if manifest key is missing r=kmag
...
MozReview-Commit-ID: 7vld6MgSlqG
--HG--
extra : rebase_source : 6563d74c854ad4b9640557b15d31073d6fd2168a
2016-08-20 23:01:43 -07:00
Rob Wu
e081e458f4
Bug 1296900 - Add test for availability of default WebExtension APIs r=kmag
...
MozReview-Commit-ID: LIr5Nsv51I3
--HG--
extra : rebase_source : 75791499515f797267c397ac2b9e9b0c81339a02
2016-08-20 22:21:45 -07:00
Jared Wein
4b027e3645
Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
...
MozReview-Commit-ID: 1mhCWplknyN
--HG--
extra : rebase_source : ab47e6e1bc2ba94fa26179ec18053fa798d9b778
2016-11-07 22:34:25 -05:00
Iris Hsiao
0cc78823fe
Backed out changeset f6f28be8d8f2 (bug 1315781) for XPCShell test timed out
...
--HG--
extra : rebase_source : 0122a5372b6ac2174d4c37e7cc0169bf9c437178
2016-11-10 14:53:46 +08:00
Jared Wein
8ebd29ee02
Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
...
MozReview-Commit-ID: DnpVQRrG9Ec
--HG--
extra : rebase_source : 3641e46c32b0e6700ee86fc71dcd35924ce1ed3a
2016-11-07 22:34:25 -05:00
Kris Maglione
c38ae6f59c
Bug 1322869: Part 2 - Memoize some relatively expensive-to-compute tab attributes. r=bsilverberg
...
MozReview-Commit-ID: EpjsLhlNzvG
--HG--
extra : rebase_source : 2b0abdf1baaa631938eab2d1c2b1d03f1917a880
2016-12-19 12:34:50 -08:00
Kris Maglione
51f0eeae2f
Bug 1322869: Part 1 - Apply window filters per-window rather than per-tab. r=bsilverberg
...
MozReview-Commit-ID: AAlyBJowMOm
--HG--
extra : rebase_source : 1dd37f5d13f9128dd4310397f928b3ddad6aab2b
2016-12-19 12:34:09 -08:00
Kanika Narang
fcdff1b513
Bug 1302950 - Rename --panel-arrowcontent* CSS variables to --arrowpanel*. r=dao
2016-09-20 09:27:49 +02:00
Sebastian Hengst
05c340d60c
Backed out changeset 752f33561e8f (bug 1302950) for failing browser-chrome test browser_ext_popup_background.js. r=backout
2016-09-17 14:49:50 +02:00
Kanika Narang
89af03b5df
Bug 1302950 - Rename --panel-arrowcontent* CSS variables to --arrowpanel*. r=dao
...
--HG--
extra : rebase_source : d8dccc1fb8131ba27b2f2e22a5439d1a841ebdc4
2016-09-17 12:17:04 +02:00
Greg Tatum
1e5a5a50e2
Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
...
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.
MozReview-Commit-ID: 9JRVsC2NMK8
--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : 51d8d92db0ae91a7368b109aae9a509ba8012b3f
extra : histedit_source : ee3409615461cba0c656b32fee7f80d4b72a09d1
2016-09-14 10:00:27 -05:00
Matthew Wein
70cc92591a
Bug 1245346 - Add test for onUpdated while lacking tab permissions. r=kmag
...
MozReview-Commit-ID: EZysUdjnSJK
--HG--
extra : transplant_source : 2%E4%1A%F4%5BY%DA%25%18%12%FF%F5%DA%9EG%87V%CBtk
2016-04-19 20:13:08 -04:00
Tomislav Jovanovic
285ceaf1ee
bug 1288263 - tabs.detectLanguage() returns "und" for undetermined, r=kmag
...
MozReview-Commit-ID: 72ltWdufHiu
--HG--
extra : rebase_source : b5b9e78424aea9584615f70904eb9810e4843d5a
2016-09-10 23:05:02 +02:00
Rob Wu
9b30640835
Bug 1241719 - Fix intermittent browser_ext_tabs_onUpdated.js r=kmag
...
MozReview-Commit-ID: LhHS6F0YFUJ
--HG--
extra : rebase_source : b174f162c4a51868748420e39e1a7c85d789a96a
2016-09-10 03:16:39 -07:00
Rob Wu
7530f86ecf
Bug 1298979 - move tabs.sendMessage/connect to child process r=billm
...
- Use the frame's message manager to direct messages via the
ProxyMessenger to the right tab instead of directly to the tab.
- Put the implementation in a separate file that is only loaded in
child processes (in the future).
- Explicitly list all addon-process specific files in a new category
instead of reusing the content one.
MozReview-Commit-ID: 8oIMx9ol7Tl
--HG--
extra : rebase_source : f93805ecdf44d4607dffc20ffe1cf0cbeb8c86be
2016-08-28 20:07:46 -07:00
Rob Wu
dc0a47c098
Bug 1298979 - Fix LegacyExtensionContext r=aswan
...
LegacyExtensionContext should inherit from BaseContext instead of
ExtensionContext, because the latter is moving to a separate process.
Remove the optional `url` parameter because the context is not a frame.
`url` is assigned to `sender.url`, which should only be set for frames.
The sender is only used in extension messaging when `runtime.connect` or
`runtime.sendMessage` are used (where `sender.url` is visible at the
receiver). Since legacy extensions don't send messages, there is no
point at all in setting the `url` value.
MozReview-Commit-ID: FJboNC2SZh0
--HG--
extra : rebase_source : bbfd6670355a3b9985b03b5a203f3b0a19cdfde4
2016-09-06 01:48:58 -07:00
Rob Wu
3df8d2e80e
Bug 1298979 - Add ProxyMessenger, change message managers and getSender r=billm
...
- Introduce a proxy for IPC messages to allow the following APIs
to be run out-of-process (ProxyMessenger):
* runtime.connect
* runtime.sendMessage
* tabs.connect
* tabs.sendMessage
* runtime.onConnect
* runtime.onMessage
- Update getSender in ext-tabs, make it independent of the context
(in particular do not throw an error when a message is received while
the tab is gone), and move it from MessageChannel to ProxyMessenger to
make sure that it works in webext-oop. MessageChannel lives in a child
process, whereas the TabManager (used by getSender) requires data from
the main process.
- Set the third parameter of `addMessageListener` to true in some places
to make sure that messages get delivered even after unloading the
context. This is needed for the next two points.
- Put the `messageManager` property in BaseContext, and let it be set by
`setContentWindow` - runtime.sendMessage/connect and tabs.sendMessage/
connect depends on this property, and using the frame message manager
makes sense.
- Unconditionally use the frame message manager in
runtime.sendMessage/connect instead of sometimes the cpmm.
MozReview-Commit-ID: 4QkPnlMOkjS
--HG--
extra : rebase_source : f2c753a9d396e4b5c40e46cd926024e664372002
2016-08-25 17:08:08 -07:00
Rob Wu
36a4f48491
Bug 1300883 - Use changeInfo.status instead of tab.status in browser_ext_tabs_events.js r=kmag
...
the tabs.onUpdated event can fire for many reasons.
I observed a test failure because a faviconUrl change triggered the
onUpdated event, which caused on-updated-dims to be sent too early.
MozReview-Commit-ID: 8YT8hSXnIoo
--HG--
extra : rebase_source : d2ce09a061c7e54f1c9bde78307831dd879dc7af
2016-09-06 13:22:11 -07:00
Bob Silverberg
a61ae5ffdb
Bug 1272676 - Remove HistoryTime and use Date type instead, r=aswan
...
MozReview-Commit-ID: IqH2eLJwn5d
--HG--
extra : rebase_source : db17fffbe617e873277d708707c17250fd85c237
2016-09-06 12:56:56 -04:00
Luca Greco
9226a7b2f4
Bug 1252215 - [webext] LegacyExtensionsUtils JSM module and LegacyExtensionContext helper. r=aswan,kmag
...
- this new module contains helpers to be able to receive connections
originated from a webextension context from a legacy extension context
(implemented by the `LegacyExtensionContext` class exported from
this new jsm module)
- two new test files (an xpcshell-test and a mochitest-browser) ensures that the LegacyExtensionContext can receive a Port
object and exchange messages with a background page and a content script (the content script test
is in a different test file because it doesn't currently work on android, because it needs
the browser.tabs API and the TabManager internal helper)
MozReview-Commit-ID: DS1NTXk0fB6
--HG--
extra : rebase_source : 462d6a461167e317297d204e72c2f6773bc5c770
2016-08-24 18:31:36 +02:00
Kris Maglione
60459f8fe7
Bug 1265371: Refactor schema parsing to reduce cyclomatic complexity. r=bsilverberg
...
MozReview-Commit-ID: HzVrf4yG7hZ
--HG--
extra : rebase_source : 3e7892f8e9b6ce9d5362fd4b0ea877a5cfa235f9
2016-08-30 12:24:32 -07:00
Wes Kocher
309fb2cc5f
Merge m-c to inbound, a=merge
2016-08-25 17:14:17 -07:00
Kris Maglione
eedfd4420e
Bug 1293287: Close extension popups on extension shutdown. r=aswan
...
MozReview-Commit-ID: 5lpIk6XrdOM
--HG--
extra : rebase_source : ec403c06c2044fc3d65cc1e830e34670ea4e500d
2016-08-24 16:26:35 -07:00
Rob Wu
bef0b5a7ac
Bug 1287010 - Use sandbox instead of JSM for global separation r=billm
...
MozReview-Commit-ID: GSqmh0xC2hW
--HG--
extra : rebase_source : 9b23172c205a1e4ef49f018eb2fbd5d9bd207adc
2016-08-23 16:19:33 -07:00
Rob Wu
be3652cd57
Bug 1287010 - Make environment of Context explicit. r=billm
...
- Add `envType` to BaseContext.
- Pass an explicit envType to all `registerSchemaAPI` invocations.
- The factories passed to `registerSchemaAPI` will be split up later, so
that content scripts (`content_child`) and addon pages can share
common implementations.
- The factories that implement the addon API will also be split up,
to separate code running in the main process (`addon_parent`) from
code running in a child process (`addon_child`).
- Remove the use of a hardcoded list of `namespaces` from ProxyContext.
Now `envType` is used to specify whether an API should be activated.
MozReview-Commit-ID: Jiff8HIwG92
--HG--
extra : rebase_source : 946a3c0009a4e3223c2d10044b3099a94c845394
2016-08-16 15:51:50 -07:00
Rob Wu
459ac122eb
Bug 1287010 - Use minimal global scope for ext-*.js scripts r=billm
...
Currently there is a tight coupling between registered APIs because they
share the same global scope, and the dependencies between the modules
that use these globals are not explicit. Consequently, it would be
possible for APIs to break when the registered APIs run in separate
processes, because then there are separate global scopes.
To mitigate this issue, this patch isolates the global namespaces of
API registrations in different environments, starting with the "chrome"
process. Content and addon processes will follow later.
A new JSM is introduced to avoid hidden dependencies between ext-*.js
and the script loader. ExtensionUtils.jsm would be a natural choice for
this shared utility method, but cannot be used because its local
`EventEmitter` implementation conflicts with the `EventEmitter` import
in ext-tabs.js.
So, this patch provides isolation of global variables declared through
`globals.XXX = ...`, but does not provide isolation for `Cu.import`-ed
logic. Ideally `Cu.import` should always use its second argument to
prevent inadvertent namespace pollution.
MozReview-Commit-ID: 1DTZaKOaeSE
--HG--
extra : rebase_source : 1376a1325fd9bf186e09e1dbe83467f3ad94516f
2016-08-17 20:28:19 -07:00
Kris Maglione
b8397e058b
Bug 1293548: Split browser_ext_pageAction_context into two files. r=me
...
MozReview-Commit-ID: 1Zj36K0xkX4
--HG--
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
extra : rebase_source : 8fc9e53ed34169838635abe5c00c7f9562c4b06c
2016-08-23 18:18:27 -07:00
Kris Maglione
580f9d04d0
Bug 1271374: Cache-bust page URL. r=me
...
MozReview-Commit-ID: FAdxwoxRLMA
--HG--
extra : rebase_source : f876d4ad6bc7c6e17f8b2f377fdd2a421bed6c64
2016-08-23 18:00:58 -07:00
Shane Caraveo
ff811bd1a9
Bug 1289549 bump slop in jpg color test, r=maglione
...
MozReview-Commit-ID: GGNze65Lpkl
2016-08-23 15:24:07 -07:00
Hector Zhao
ff7bc87130
Bug 1295894 - Show localized strings for browserAction/pageAction title. r=kmag
...
MozReview-Commit-ID: 1SMd3cnUOH4
--HG--
extra : rebase_source : 4c746fe866222e9d05177ba9b1d9210e15e1eac2
2016-08-17 14:39:33 +08:00
Ryan VanderMeulen
833833b8c5
Merge inbound to m-c. a=merge
2016-08-22 09:40:41 -04:00
Rob Wu
53ae1a1256
Bug 1286712 - Validate runtime.sendMessage parameters r=billm
...
The main motive for this patch is to remove the use of the GlobalManager
global (which was used to see if an extension ID is valid, which was
specifically added in order to create thebrowser_ext_lastError.js test).
To preserve test coverage I implemented a full validation of the
runtime.sendMessage method.
Now the error for a non-existent extension is identical in both the
content script and background pages. Note that this also fixes a
minor privacy leak: Previously extensions could see whether another
extension is installed by sending a message to the specified extension
and using the different responses to see whether another extension is
installed.
MozReview-Commit-ID: 82R97Ei25Xr
--HG--
extra : rebase_source : 900a65e695afd6db83d5102f515dc29d46d001f1
2016-08-16 21:36:42 -07:00
Rob Wu
bacc209644
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
--HG--
extra : rebase_source : 7aa9fb7a53e057e8d3d8c477bd6821f8344c571a
2016-08-15 01:04:58 -07:00
Kris Maglione
2c634c4cb0
Bug 1296888: Add "webextensions" tag to WebExtension tests. r=aswan
...
MozReview-Commit-ID: 3QYXtpdznrP
--HG--
extra : rebase_source : 4aacd77cd2569b9ffc3916a5db3f41dd26bc7b70
2016-08-20 15:41:31 -07:00
Kris Maglione
dbc9f1910b
Bug 1259093: Follow-up: Fix another test race. r=me
...
MozReview-Commit-ID: 3DsTcQli8Ga
--HG--
extra : rebase_source : e32b68893d6684211cd752b88967f7cc74600faa
2016-08-20 14:00:37 -07:00