Johann Hofmann
03def5b207
Bug 1277524 - Add a WebExtension test that moz-extension is considered a trustworthy origin. r=kmag
...
MozReview-Commit-ID: 1LLNWwIU90
--HG--
extra : rebase_source : 759718dea882e10ce1307fca1b9d415c8f10c067
extra : histedit_source : 1f8fd6a084d0314e5a264b73164bcf2d35127c6b
2016-06-03 12:26:28 +02:00
Kris Maglione
fba8996a05
Bug 1274775 - Make sure background pages are created with a PresShell. r=billm
...
MozReview-Commit-ID: GLWg5aK47g5
--HG--
extra : rebase_source : 472365762aca534e826173989c48f5058960a987
2016-07-24 15:09:07 -07:00
Rob Wu
f8554fe4b9
Bug 1234677 - Introduce _generated_background_page.html r=billm
...
- Fixes bugzil.la/1234677
- Fixes bugzil.la/1286057
- Fixes bug: the URL failed to load if a query string or reference
fragment was present.
MozReview-Commit-ID: 4oMwI3IS7OX
--HG--
extra : rebase_source : 621878e4f62febdc34899192e254f8ec315b789e
2016-07-12 13:55:14 -07:00
Rob Wu
40ef620db2
Bug 1287245 - Ensure globally unique internal port IDs r=billm
...
MozReview-Commit-ID: FXNP5MadlMx
--HG--
extra : rebase_source : b96ddf1898adcedce9bea40f5b1283f8f27485ef
2016-07-15 21:44:03 -07:00
Iris Hsiao
d677544a02
Backed out changeset 4dd2466573ec (bug 1234677) for Mochitest test_chrome_ext_background_page.html failure
2016-07-20 12:54:00 +08:00
Iris Hsiao
23202d54b2
Backed out changeset 7c026e26932d (bug 1287245) for Mochitest test_ext_background_runtime_connect_params.html failure
2016-07-20 11:04:45 +08:00
Rob Wu
feb2e74708
Bug 1234677 - Introduce _generated_background_page.html r=billm
...
- Fixes bugzil.la/1234677
- Fixes bugzil.la/1286057
- Fixes bug: the URL failed to load if a query string or reference
fragment was present.
MozReview-Commit-ID: 4oMwI3IS7OX
--HG--
extra : rebase_source : 60096dd421d18c0991f807a6f07eb72be10109dd
2016-07-12 13:55:14 -07:00
Rob Wu
fcbcffffd6
Bug 1287229 - port.disconnect should not throw r=billm
...
MozReview-Commit-ID: 7d8Zmb4OAd0
--HG--
extra : rebase_source : 6766832c0081679eadf1bdbc1576f8b554c68e3c
2016-07-15 22:46:42 -07:00
Rob Wu
28a234ae47
Bug 1287245 - Ensure globally unique internal port IDs r=billm
...
MozReview-Commit-ID: FXNP5MadlMx
--HG--
extra : rebase_source : fc9bf0f2dff872536430c1da3bacbc29dff7b14a
2016-07-15 21:44:03 -07:00
Rob Wu
b82e0653f4
Bug 1286746 - Invoke sendMessage callback even if there are no listeners. r=kmag
...
MozReview-Commit-ID: HLIC3ZRcwRm
--HG--
extra : transplant_source : %BCJ%CC%00%E7N%92%B1%10%81%EDLd%85V%85%9E%0C%03%06
extra : histedit_source : 8689d6860cd7acca6ada8271d7297c0ec4a3a863
2016-07-14 20:34:40 -07:00
Rob Wu
7b06f057c9
Bug 1286746 - Invoke port.onDisconnect if there are no onConnect listeners. r=kmag
...
MozReview-Commit-ID: DPs36oFm25J
--HG--
extra : transplant_source : y%D0%5CF9%8C%FB%C9%D72%A2g%CF%AD-d%89%2B%FC%14
extra : histedit_source : 34050222a86d7e6c25f94e21dfe498e1cda98e8a
2016-07-15 17:46:00 -07:00
Andrew Swan
8d4abb78c5
Bug 1285059 Do not use signal.pause r=kmag
...
MozReview-Commit-ID: JKTbFMktx8Y
--HG--
extra : rebase_source : badde67b6c7a685e31bbedba82b193d3c01554a5
2016-07-06 16:49:36 -07:00
Kris Maglione
5421efdfa0
Bug 1284020: Treat window.fetch/window.XMLHttpRequest the same as the global variants in content scripts. r=aswan
...
MozReview-Commit-ID: Cuz6CiNZdrd
--HG--
extra : source : 56d636b5d961f3accab65064e7f81be1f78ad81e
extra : amend_source : cdf3359ed7c3e77ba21c942d2fc0280c8146648a
2016-07-12 15:45:07 -07:00
Andrew Swan
889286caba
Bug 1285448 Apply windows test hack to all windows versions r=kmag
...
MozReview-Commit-ID: K6DqaxsN9fn
--HG--
extra : rebase_source : 738b1ca57df0aee86376dc5dd7ebef5ee9e9fa8c
2016-07-07 20:41:16 -07:00
Andrew Swan
d1a5ac7b3f
Bug 1283010 Fix windows registry paths for native messaging r=kmag
...
MozReview-Commit-ID: GdaDycckptp
--HG--
extra : rebase_source : 2d752e8e6106e393c10127da11f605744d5fc5f3
2016-06-29 21:47:06 -07:00
Andrew Swan
5b775d5271
Bug 1272522 Handle stderr of native app r=kmag
...
MozReview-Commit-ID: 5qGw83uTYTu
--HG--
extra : rebase_source : 8cefe9f2661782b45000ff704db2ea7aaa46ac68
2016-07-06 14:57:56 -07:00
Phil Ringnalda
17eab3dd64
Backed out changeset 6a8acb16142d (bug 1283010) for Windows failures in test_native_messaging.js
2016-07-06 19:18:31 -07:00
Andrew Swan
e5645e5c78
Bug 1283010 Fix windows registry paths for native messaging r=kmag
...
MozReview-Commit-ID: GdaDycckptp
--HG--
extra : rebase_source : f5d6b445108feeb233a10122f53eac7e4fb1521d
2016-06-29 21:47:06 -07:00
Andrew Swan
dbbcc4f12d
Bug 1281995 Support relative paths in host manifest on windows r=kmag
...
MozReview-Commit-ID: DaqYdPGQC3A
--HG--
extra : rebase_source : 4afc5dc11b145283c92aa58e0670dfd38c881489
2016-06-27 14:52:57 -07:00
Carsten "Tomcat" Book
60fc89ed14
Backed out changeset d4379d1513fd (bug 1272522) for failures in test_ext_alarms.html
2016-07-04 06:25:51 +02:00
Andrew Swan
55e7a44550
Bug 1272522 Handle stderr of native app r=kmag
...
MozReview-Commit-ID: 5qGw83uTYTu
--HG--
extra : rebase_source : 748b4d02defbdb412cb81709e2ded27347b1d797
2016-06-17 07:27:07 -07:00
Andrew Swan
1eac929388
Bug 1270360 Implement runtime.sendNativeMessage() r=kmag
...
MozReview-Commit-ID: 93FaGaYto5w
--HG--
extra : rebase_source : 520ff9d6bb6c8d9262c87103090236fcf1923b49
2016-06-08 14:52:35 -07:00
Carsten "Tomcat" Book
4a4a88314c
Merge mozilla-central to mozilla-inbound
2016-06-17 01:03:05 +01:00
Martin Giger
6ef9c40b41
Bug 1267221 - Add 'error' field to WebNavigation onErrorOccurred details. r=rpl,aswan
...
MozReview-Commit-ID: HC8Lro9J4XF
2016-06-16 11:23:10 +02:00
Andrew Swan
cedc1d8eaf
Bug 1274708 Use Context.jsonStringify() in connectNative r=kmag
...
MozReview-Commit-ID: J7q49nLg4F3
--HG--
extra : rebase_source : 9bdddffa43811fdff10fa75ea77bc0641012c9a3
2016-06-16 10:10:54 -07:00
Andrew Swan
8bf4c1d66e
Bug 1274708 Add BaseContext.jsonStringify() r=kmag
...
MozReview-Commit-ID: E4F1e8hDA5a
--HG--
extra : rebase_source : e34a87e387248051633281000fa6d9b49f6cd533
2016-06-16 08:30:58 -07:00
Carsten "Tomcat" Book
1466c64ef7
Merge mozilla-central to fx-team
2016-06-15 06:25:33 +01:00
Carsten "Tomcat" Book
58167fd092
merge mozilla-inbound to mozilla-central a=merge
2016-06-15 06:24:33 +01:00
Bob Silverberg
f662a3a3de
Bug 1277686 - Issue a warning for manifests with any "incognito" property other than "spanning", r=kmag
...
MozReview-Commit-ID: BNxyv30TGDZ
2016-06-09 08:16:18 -04:00
Andrew Swan
4024904cc7
Bug 1270359 Implement connectNative on windows r=kmag
...
MozReview-Commit-ID: IHJuGt2Us8e
--HG--
extra : rebase_source : ca7374a13ad3c7c46ea8e0e4c73acaab0fa0a336
2016-06-09 15:10:54 -07:00
Kris Maglione
a1dac7caad
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
--HG--
extra : source : a00cf073f5c00380d4e42b13bc0cd3146b708845
extra : amend_source : d74ef90e88acbe62e33af3b5b9cf870d5c0a9d3e
2016-06-09 17:44:47 -07:00
Sebastian Hengst
f8035f62a8
Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout
2016-06-14 13:37:52 +02:00
Kris Maglione
b465305345
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
--HG--
extra : rebase_source : cba877c0ef400917b0b7e5913895e64ebefb34b9
extra : amend_source : 6e943015e3e00854c431cbd653994a6734e66ce4
2016-06-09 17:44:47 -07:00
Luca Greco
98b645e50a
Bug 1242522 - [webext] Test UrlFilter on WebNavigation event listeners. r=kmag
...
MozReview-Commit-ID: FxAYXCHjlUD
--HG--
extra : rebase_source : 242b58c3a706aeca2bdea1e5732be2e93045108b
2016-06-09 16:12:20 +02:00
Carsten "Tomcat" Book
4ee1ed2b8f
merge mozilla-inbound to central a=merge
...
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Kris Maglione
6439777db0
Bug 1271785: [webext] Better error messages for "choices" schema types. r=aswan
...
The generated messages are still a bit rough in some instances, but they're at
least much better than what we have now.
MozReview-Commit-ID: gTS0RvDnwk
--HG--
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc
rename : toolkit/components/extensions/test/xpcshell/head.js => browser/components/extensions/test/xpcshell/head.js
rename : toolkit/components/extensions/test/xpcshell/test_ext_manifest_content_security_policy.js => browser/components/extensions/test/xpcshell/test_ext_manifest_commands.js
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell.ini
extra : rebase_source : 058603a2ab0efa90d3626b82be6d5e2cf1436fc3
extra : amend_source : 3a7924ef237cb392dd2f4c1f696b8858daad43ab
2016-06-04 23:31:35 -07:00
Kris Maglione
5d03979f6b
Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
...
MozReview-Commit-ID: EZpOyvoi2h0
--HG--
extra : rebase_source : b03b211a1fe3aad3c760bd0f9235bbaaca171a9a
2016-06-07 18:36:19 -07:00
Andrew Swan
80434719cd
Bug 1270357 Implement runtime.connectNative() r=kmag
...
MozReview-Commit-ID: Fo4BxEo3xus
--HG--
extra : rebase_source : 7fb28ebb89474c2f65bf844b3337fd2906cd0ad3
2016-06-08 20:23:40 -07:00
Carsten "Tomcat" Book
c6d661cfe2
merge mozilla-inbound to mozilla-central a=merge
2016-06-07 15:23:03 +02:00
Andrew Swan
74021d63c0
Bug 1270356 Part 2: Implement parsing and validation of native host manifests r=kmag
...
MozReview-Commit-ID: 3aXlBAgV4ti
--HG--
extra : rebase_source : ca0bb5ec8e93ef806d2c3a662f4863400595c0fa
2016-05-17 15:17:52 -07:00
Andrew Swan
1b1d9f5e45
Bug 1270356 Part 1: Add native messaging paths to XRE directory provider r=kmag
...
MozReview-Commit-ID: 2tjR3r9YySy
--HG--
extra : rebase_source : 1c8da185fd653e91f40cebc5e27ae560a787ef8e
extra : source : 77a30c81f8e830676a23da91b87ab78cda93a4d0
2016-05-12 11:39:27 -07:00
Kris Maglione
54c22ba9e3
Bug 1269141: Remove content script CSS when disabling an extension. r=aswan
...
MozReview-Commit-ID: Jhg4XzddIkA
--HG--
extra : rebase_source : 76376b369739cbba218cb7741b09ae040dafb6b4
extra : amend_source : 036a99c79100e4c3dca9076f28b93a42e0d15ac9
2016-06-04 21:42:55 -07:00
Kris Maglione
e5c33247eb
Bug 1256607: Support cross-origin fetch() access in WebExtension content scripts. r=aswan
...
MozReview-Commit-ID: Aw1LSMY3BAW
--HG--
extra : rebase_source : 46b8e7cab96f248204801d2b96e64d8cdd1779ed
2016-06-04 20:31:13 -07:00
Kris Maglione
580b798d56
Bug 1267328: Re-enable the background script alert tests. r=trivial
...
MozReview-Commit-ID: 4YScHAmRaMf
2016-06-04 21:21:09 -07:00
Carsten "Tomcat" Book
71eb3110f9
merge mozilla-inbound to mozilla-central a=merge
2016-06-03 12:00:06 +02:00
Bob Silverberg
1a2e1cbc77
Bug 1276338 - chrome.runtime.id is undefined in content scripts, r=kmag
...
MozReview-Commit-ID: BXqB1rW9DzB
--HG--
extra : transplant_source : %A1%94%B0%E9%19%B6%BC%04%84dd%EA%E9%9B%80%CD%FD%83%D5%B3
2016-05-31 11:55:30 -04:00
Bob Silverberg
de50cc2773
Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext, r=kmag
...
MozReview-Commit-ID: HQ9cmZMhn1o
--HG--
extra : transplant_source : 2%08%86Ul%01%83%C40%15%E3%7E%9E%B1%28%DC%A4%40%7Bp
2016-04-08 10:19:19 -04:00
Andrew Swan
a011b10df7
Bug 1272425 Fix downloads misc tests r=kmag
...
See the bug for extended discussion, trying to fix this with re-used
URLs doesn't seem practical so just use unique URLs for partial downloads.
MozReview-Commit-ID: FdS4XroVUqj
--HG--
extra : rebase_source : 4f635850018c455074b7ffe15c37dedbaa2ede4d
2016-05-26 20:31:05 -07:00
Bob Silverberg
ee573539c4
Bug 1274559 - Type error for parameter options (Unexpected property "buttons") for notifications.create. r=kmag
...
MozReview-Commit-ID: FqjXfG2te5J
--HG--
extra : transplant_source : %DD%91%0Ed.%7B%B2%10%1F%C0%CC%1C%3D%C4%25_m%EC%88%DB
2016-05-30 14:32:40 -04:00
Andrew Swan
2187d37278
Bug 1271345 Fix brower.download.download() on blob: urls r=kmag
...
Calling download() on a blob URL was failing in schema validation
since we weren't propagating the extension principal all the way
to the call to scriptSecurityManager.checkLoadURI...
MozReview-Commit-ID: JgEnQ6yxO4P
--HG--
extra : rebase_source : d84933237e301c13ba34221c092b1e895acc20db
2016-05-31 11:42:41 -07:00
Tim Huang
8ec727cd19
Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
...
--HG--
extra : rebase_source : 288c9cab8340c5cc06861d4f2c7ee43ae4de608e
2016-05-25 11:54:21 +08:00
Christopher Grebs
38131d1b9e
Bug 1270306 - [webext] extension.isAllowedFileSchemeAccess should return null. r=kmag
2016-05-24 21:03:46 +02:00
Andy McKay
142be954b1
Bug 1273704 - cope with empty files in localisation r=kmag
...
MozReview-Commit-ID: 9HiwteAs48b
--HG--
extra : transplant_source : %01v%8E%2B%E2%D3%08%DB%1F%1B%29%86%3C%0A%90%B3E%EA%8E%60
2016-05-18 18:52:22 -07:00
Luca Greco
1c6bc4291a
Bug 1273609 - [webext] Support manual_subframe transitionType in webNavigation events details. r=krizsa
...
MozReview-Commit-ID: F5Z3XppNDYm
--HG--
extra : transplant_source : bF%3A%1A%D3A%13%05p%D9s%B8%AE%ED%F8%9F%0F%E0%0F%CE
2016-05-17 19:08:10 +02:00
Wes Kocher
2596f34110
Backed out 3 changesets (bug 1267910) for reports of it breaking session restore a=backout
...
Backed out changeset 5962f8e6d030 (bug 1267910)
Backed out changeset f8afc5cf9e0e (bug 1267910)
Backed out changeset cc202e0ac0dd (bug 1267910)
2016-05-20 21:15:17 -07:00
Tim Huang
ad550d017f
Bug 1267910 - Part 2: Update all existing functions of add() and getCookiesFromHost() to make them origin attributes aware. r=jdm, r=mratcliffe
...
--HG--
extra : rebase_source : 3d8b306dfa83363c01c4db5d018c55fddf6d1595
2016-05-18 20:42:00 -04:00
Bob Silverberg
d1b3610302
Bug 1260743 - Searching by the url doesn't work. r=aswan, mak
...
MozReview-Commit-ID: DcqZlwbxsxg
2016-05-11 08:19:22 -04:00
Andrew Swan
e32d7653b2
Bug 1272425: disable partial download tests pending bug fix r=me
...
MozReview-Commit-ID: gMhxn3hFlX
--HG--
extra : rebase_source : 213b3e8612f8519d700f2e62d4b969c23db7d8a3
2016-05-12 10:45:57 -07:00
Kris Maglione
27f8b02721
Bug 1271008: Run all WebExtension tests in e10s mode. r=me
...
MozReview-Commit-ID: 1fLxHuuFKDV
--HG--
extra : rebase_source : 68f4b94f98dff76286b45bad72e0570d0bf9d91d
2016-05-06 16:33:50 -07:00
Luca Greco
8c37306332
Bug 1258347 - [webext] ExtensionContext sub-frames should have the same privileges of the parent window. r=kmag
...
MozReview-Commit-ID: OfOwD68PEK
--HG--
extra : transplant_source : %D6%F1%86ntp%CC%09k%8D%264b%A1D%EC%3F%E2%BAo
2016-05-02 14:13:17 +02:00
Kris Maglione
cbbcfb6099
Bug 1269871: Wait until background script is ready before starting test. r=me
...
MozReview-Commit-ID: FqjgaETfF2C
--HG--
extra : rebase_source : ded89a9d1ca25b3fa0d35c552a8fc30cdfc85951
2016-05-03 22:09:33 -07:00
Jared Wein
a9e6a477eb
Bug 1268159 - followup, update some tests that got missed in the conversion from straight quotes to curly quotes and revert the Sync client name change until a follow-up bug can track down the deeper regression. r=me on a CLOSED TREE.
...
MozReview-Commit-ID: 13k7s3n7jz7
2016-04-29 12:10:34 -04:00
Jork K
376fdaf3e6
Bug 1267612 - Skipping certain web extension related tests for Thunderbird. r=kmag
2016-04-26 14:31:00 +02:00
Bob Silverberg
f2fe40405a
Bug 1266824 - Intermittent test_ext_alarms.html | alarm fired within expected time, r=aswan
...
test_alarm_fires_with_when is failing intermittently and it looks like the function inside the setTimeout (which is designed to detect that the alarm did not fire as expected) is firing, even though the test is passing and the alarm did fire. I added a condition around it so it will only mark the test as failed if the alarm did not in fact fire.
I also did some clean up of the existing tests, including adding this type of logic to all tests that expect an alarm or alarms to have fired.
MozReview-Commit-ID: JlJQVMNn6wV
--HG--
extra : amend_source : f0a37030b717390a7ae8b87ef3aef68cc747c14d
2016-04-25 17:28:42 -04:00
Sebastian Hengst
b73944a73e
Bug 1203394 - alias alert() to console.log() in background scripts: disable new test which will get fixed in follow-up. r=me
2016-04-25 19:35:04 +02:00
tofumatt
0511a60fd8
Bug 1203394: Skip Android tests for alert() patch. r=Aryx
2016-04-25 17:36:30 +01:00
tofumatt
b5aa4919a7
Bug 1203394 - Fix eslint errors in alert() patch. r=Aryx
...
MozReview-Commit-ID: KRUJflBrkxa
2016-04-25 15:16:32 +01:00
tofumatt
efbcce4925
bug 1203394: alias alert() to console.log() in background scripts r=kmag
...
MozReview-Commit-ID: 65m3yVGQhlQ
***
Add test and fix nitpicks to alert() patch
--HG--
extra : rebase_source : 4b5ec2a09bce49bca6c419b2ece59160c282da94
2016-03-22 12:35:31 +00:00
Kris Maglione
42537fed43
Bug 1254194: [webext] Test that content security policies are applied to WebExtension documents. r=aswan
...
MozReview-Commit-ID: J9EPSdyrlsk
--HG--
extra : rebase_source : 6daa9c32391285cbc89a4582709271a3afafd831
extra : amend_source : a24e6009d1cafebfb519cb0b3316f91d400e91d6
extra : histedit_source : 4c3c9da92b3503a3821959a65365971e7d64bd39
2016-04-14 16:51:23 -07:00
Kris Maglione
623a4f8665
Bug 1254194: [webext] Allow extensions to register custom content security policies. r=billm f=aswan
...
MozReview-Commit-ID: 8L6ZsyDjIpf
--HG--
extra : rebase_source : b6ccbcf849b0e7db835d14a0ba9de588c0188869
extra : histedit_source : 7f966c1d821641fc3551dc4c508f5ce8f990d5a3%2Cafa5697b301620119147292745a2007961907fa8
2016-04-23 21:29:15 -07:00
Kris Maglione
c7733098d7
Bug 1254194: [webext] Add 'onError' schema option to make manifest errors non-fatal. r=aswan
...
MozReview-Commit-ID: ByGsO4WFcOU
--HG--
extra : rebase_source : 913b5617dcf7f66b51b28f8d8dd12722c29e5fa8
2016-04-14 16:39:09 -07:00
Kris Maglione
cc1c10dbae
Bug 1254194: Add a validator for custom add-on content security policies. r=billm f=aswan
...
MozReview-Commit-ID: LtBbXBCFc32
--HG--
extra : rebase_source : 1da81c92a1ffb75df071d1b32ff04b7d1a9b905a
2016-04-23 20:41:14 -07:00
Kris Maglione
6af7aa725e
Bug 1254194: [webext] Fix tests that violate the default CSP. r=aswan
...
MozReview-Commit-ID: GAon89LFr6C
--HG--
extra : rebase_source : 64d00126b0cad8e3a90e5f4a5f5894275c8be1ee
2016-04-14 16:36:47 -07:00
Bill McCloskey
261372f2cb
Bug 1197346 - Allow browser.storage to be used from content scripts (r=kmag)
2016-04-23 20:04:30 -07:00
Bill McCloskey
9dc52ee77a
Bug 1197346 - Add callFunctionNoReturn (r=kmag)
2016-04-23 20:04:29 -07:00
Sebastian Hengst
4fe4fab457
Backed out changeset 2c6f68832171 (bug 1263167) for e10s mochitest failure test_ext_runtime_connect.html | TypeError: win is null. r=backout
2016-04-21 19:59:16 +02:00
Bob Silverberg
a07f9156ee
Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext. r=kmag
...
MozReview-Commit-ID: HQ9cmZMhn1o
--HG--
extra : amend_source : e522a3168512738a0fa0873ac1b25e41b8e8b527
extra : transplant_source : %0D%A7E%1F%C8%A8%24%85%96%8D%D4%11%96%0B%FCUz%C3%1C%C5
2016-04-08 10:19:19 -04:00
Luca Greco
7eb008c009
Bug 1261857 - [webext] Support WebExtensions ContentScripts in the Tab DevTools Debugger. r=kmag
...
MozReview-Commit-ID: BtGqvAkRJZx
--HG--
extra : transplant_source : %FF%82%A5%3B%AE%9Ck%0C%07%B6%224%93%B9%F1%995%DF%A1.
2016-04-15 17:09:57 +02:00
bsilverberg
3f4dee674c
Bug 1260528 - Tests for notifications that pass an iconUrl are causing leaks, r=kmag
...
MozReview-Commit-ID: KHdxEfc3OAG
--HG--
extra : transplant_source : %DC%20%92%D4%8B%13%BC%95%03t%A0%DA%A2%60%8Bh%C0%AA%DA%9D
2016-03-31 12:27:52 -04:00
Mark Striemer
e34df7b9a1
bug 1245606 - Implement chrome.downloads.getFileInfo r=kmag
...
MozReview-Commit-ID: 6dfpctduYtp
--HG--
extra : transplant_source : %F4%B1%1AD%92%A7%B0.%26%83%AB%D8%D5%11%A0%A4%24%A7%82T
2016-04-15 16:08:16 -05:00
Bob Silverberg
12f6f37ec3
Bug 1207394 - Make sure web_accessible_resources work with CSP/mixed content blocking, r=kmag
...
MozReview-Commit-ID: 7UJ1IHwMosh
--HG--
extra : transplant_source : R%A0F%AAOcn%92%2C%10%B3%09%A2%99J%EF%FE%EFy%8C
2016-04-11 18:08:54 -04:00
Bob Silverberg
171756faf0
Bug 1264623 - Allow for a leading slash in the path to web_accessible_resources, r=kmag
...
MozReview-Commit-ID: IWbzhs9dpX2
--HG--
extra : transplant_source : j%F5%0E%AAW%F87ijJ%14%26%08%F9%03%96%5Dw%EC%23
2016-04-14 09:12:21 -04:00
Luca Greco
fcdfd59cc8
Bug 1256652 - [webext] Add more tests on sub-frames WebNavigation transitions properties. r=krizsa
...
MozReview-Commit-ID: 8hjFmyfpXkR
--HG--
extra : transplant_source : zn%89S%9C%F9%A3%EA%3EZ%D3%AD%25%CCG%29%60%99%1F1
2016-04-15 14:53:16 +02:00
Luca Greco
32c8c2f2b7
Bug 1256652 - [webext] Add webNavigation client_redirect transitions implementation and test case. r=krizsa
...
MozReview-Commit-ID: DoDzXCuk4FQ
--HG--
extra : transplant_source : 9gb%BC9I%B7%B2%2C%3E%17%22%D6%84%04%13%22%1C%15P
2016-04-14 20:27:16 +02:00
Luca Greco
dc5fd2506d
Bug 1256652 - [webext] Add webNavigation form_submit transitions implementation and test case. r=krizsa
...
MozReview-Commit-ID: GiMnQpCpHHm
--HG--
extra : transplant_source : %E5%02vk%3B%95%FC%D8%FF%8AC%E4%A6%A5e_%B4.%EA%DA
2016-04-15 14:50:27 +02:00
Luca Greco
94d2a46537
Bug 1256652 - [webext] Initial support of webNavigation transition types and qualifiers. r=krizsa
...
- transition types: reload, link, auto_subframe
- transition qualifiers: forward_back, server_redirect
MozReview-Commit-ID: Bx3oG2fuWuv
--HG--
extra : transplant_source : 0%B6%F4DE%80%B6%CA%9B%09%81%1C%16%96%F6%C0%1FC%B0%F9
2016-04-15 14:49:13 +02:00
Kris Maglione
402c072ef3
Bug 1196283: [webext] Support comments in JSON files. r=aswan
...
MozReview-Commit-ID: Ex4ewLH8xQc
--HG--
extra : rebase_source : 5171c92d8e9806c343a2c8b74038e70c072a546e
2016-04-19 13:18:22 -07:00
Wes Kocher
3d63ab4573
Backed out changeset 0e7e5f7ecc07 (bug 1263167) for test_ext_extension.html failures
...
MozReview-Commit-ID: KSNKXcXwtyC
2016-04-19 14:27:39 -07:00
Bob Silverberg
38f77c7856
Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext, r=kmag
...
MozReview-Commit-ID: KI2IbQ2KR2i
--HG--
extra : transplant_source : 5Q%A7%15%A2%C4%87%AF%F8%DD%1B%9D%CB%08t%C7%AE%3E%D8%AA
2016-04-08 10:19:19 -04:00
Luca Greco
0f06eace5d
Bug 1246125 - [webext] webNavigation events should not resolve local special schemes into file/jar URLs. r=krizsa
...
- chrome, resource, about and moz-extension URLs should not be reported with their resolved
file or jar URLs
MozReview-Commit-ID: H03rjxGpgOZ
--HG--
extra : transplant_source : %FA%B3%14%05%0A%CB%F8%CFG%D4%8Br%D2PH%F1%F1%87%CE%B9
2016-04-07 00:04:23 +02:00
Kris Maglione
5ddfedd1cc
Bug 1248846: [webext] Test that event callbacks and promises do not fire later than expected. r=aswan
...
MozReview-Commit-ID: 4fpHc22txy
--HG--
extra : rebase_source : 24ddf22e1f273f753adcd7962f9262919e30b69c
2016-04-05 08:59:47 -07:00
Luca Greco
540c822fb6
Bug 1262794 - [webext] webNavigation refactoring and fix missing onCommitted event on iframes loading. r=krizsa
...
MozReview-Commit-ID: JSZFCWr2WNk
--HG--
extra : transplant_source : 9%95%7E%B9Yzo%ED%29%DAX%C5%9F%8B%91%13%B5%A4B%AE
2016-04-07 03:00:26 +02:00
Carsten "Tomcat" Book
481de63480
Backed out changeset 7b9fbf34a1d6 (bug 1263167) for test failures in test_ext_extension.html
2016-04-15 09:19:39 +02:00
Bob Silverberg
7b817e43c0
Bug 1263167 - Complete test coverage for browser.extension.inIncognitoContext, r=kmag
...
MozReview-Commit-ID: AQYqJFB1WR3
--HG--
extra : transplant_source : A%12%86%D2%BAZ%E8%F5P8%FD%29%D3%16%20%8Dp8%D4x
2016-04-08 10:19:19 -04:00
Johann Hofmann
1c76cac853
Bug 1005193 - Allow addons to specify a custom global debug context. r=mossop
2016-04-11 08:26:20 +02:00
Dão Gottwald
abb28319dc
Bug 1248617 - Stop adding the "Recently bookmarked" smart folder in new profiles. r=mak
2016-04-14 11:58:28 +02:00
Carsten "Tomcat" Book
e46b14d4df
Backed out changeset 387bd412040f (bug 1005193) for test failures in Android 4.3 API15+ debug Mochitest Chrome
2016-04-14 11:31:17 +02:00
Sebastian Hengst
5574624f3f
Bug 1253646 - Implement browser.extension.isAllowedFileSchemeAccess. Follow-up: Add missing semicolon about which eslint complained. r=eslint-fix
2016-04-14 09:29:20 +02:00
Christopher Grebs
0cb9971fb4
Bug 1253646 - Implement browser.extension.isAllowedFileSchemeAccess. r=kmag
...
MozReview-Commit-ID: 85UL3ATGrfB
--HG--
extra : transplant_source : %C9%C3%EE%B9/%7C%8F%7DMO%AE5%7C%02%25%22%9E%D8%08%09
2016-04-12 16:16:17 +02:00
Johann Hofmann
eb48aa54c0
Bug 1005193 - Allow addons to specify a custom global debug context. r=mossop
2016-04-11 08:26:20 +02:00
Sebastian Hengst
69edebf58b
Backed out changeset c6d163cfa08f (bug 1248617) for XPCshell failure in test_browserGlue_smartBookmarks.js. r=backout
2016-04-12 17:45:21 +02:00
Dão Gottwald
38bb67e338
Bug 1248617 - Stop adding the "Recently bookmarked" smart folder in new profiles. r=mak
...
--HG--
extra : rebase_source : 44a5834a80bde4e8cc654a723035e6494ae288b8
2016-04-12 15:31:58 +02:00
Matthew Wein
d2641ebaa8
Bug 1260888 - Enable the extension xpcshell tests on Android. r=nalexander
...
MozReview-Commit-ID: ICYyrLBnSbt
--HG--
extra : transplant_source : O%E5%0DW7%E4%08%E6-%ED%DE%FF%D1%D6%82TVN%A8h
2016-04-07 14:09:32 -07:00
Giorgio Maone
710f32856a
Bug 1263481 - Fix webRequest multiple listeners support. r=kmag
...
MozReview-Commit-ID: EYWojttOhk6
--HG--
extra : transplant_source : %CF0%8C-X2%80e%95%E8B%2A%E4%E7%D6%CFQ%C2%D4k
2016-04-11 00:25:47 +02:00
Ryan VanderMeulen
9e896c0e6a
Merge inbound to m-c. a=merge
2016-04-10 16:20:04 -04:00
Andrea Marchesini
83a08cd72e
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-10 05:46:07 +01:00
Luca Greco
ae1fa8fc84
Bug 1256282 - [webext] Fix addonId checks in getAPILevelForWindow and add an xpcshell test unit. r=kmag
...
MozReview-Commit-ID: HVoUAMOKqTZ
--HG--
extra : transplant_source : h%E3%A3E%23%1A%BCf%EF%AD%8DC%85%1ED%87%23%06%B0%CB
2016-04-04 13:46:17 +02:00
Ryan VanderMeulen
1c7872d0af
Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures.
2016-04-09 15:36:07 -04:00
Andrea Marchesini
d09d8959fe
Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm
2016-04-09 19:09:49 +01:00
Dave Townsend
b6c94f538f
Bug 1257246: Update webextension APIs for eslint 2. r=kmag
...
ESLint 2 now flags anonymous generator functions that don't match the
generator-star-spacing rule so this mostly is fixing that.
MozReview-Commit-ID: 5sLaF26sd0E
--HG--
extra : rebase_source : 6008f48c94e4a8e5bd2ed2f8a95e764e4aa39cdb
extra : histedit_source : 6f0151c184ee2e4288f3ec9c5a85a65e975d46e1
2016-04-05 11:30:51 -07:00
bsilverberg
9f8f48580a
Bug 1262542 - WebExtension notifications seem to fail on Nightly. r=kmag
...
MozReview-Commit-ID: 4NaB9xHKFqq
--HG--
extra : transplant_source : Q0%03D%A2%C42%3D%C9%F5%1A%9D%E4%D5%88M%CE%9Cv%D0
2016-04-06 15:00:36 -04:00
Andrew Swan
4887be777d
Bug 1217944 - Part 2 - Support wildcards in web_accessible_resources r=kmag
...
MozReview-Commit-ID: Ln6JJ5lxc3w
--HG--
extra : transplant_source : T%08%A4%E32%01%A9%91%25X%95%14dU%1B%BDd%D97%85
2016-04-06 13:20:23 -07:00
Giorgio Maone
3e975e83a2
Bug 1242871 - add an originUrl property to every webRequest event details object + tests (extended & fixed + nits). r=kmag
...
MozReview-Commit-ID: 6PeCwTeCuFs
--HG--
extra : transplant_source : %22%BD_%D3%9FO%D2%9FZ%A9%12%98%F1%A10%17%CE0%B7%11
2016-04-01 00:48:57 +02:00
Kris Maglione
bb87bbc539
Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
...
MozReview-Commit-ID: KEQYq4nZbfk
--HG--
extra : source : c67309c62021bf173fc981634de54bc8e9c992ee
extra : histedit_source : d0449a21df83e392455466b7e7dac4e0521b5d50%2C3aec582f8a1389ae8b90efa76259d6df5269fd0d
2016-04-04 13:54:27 -07:00
Wes Kocher
912fe2afbf
Backed out changeset c67309c62021 (bug 1258199) for xpcshell failures
...
MozReview-Commit-ID: FySkZPotDGU
2016-04-04 13:51:12 -07:00
Kris Maglione
11af2dd528
Bug 1258199: [webext] Return an empty string for missing keys in getMessage. r=aswan
...
MozReview-Commit-ID: KEQYq4nZbfk
--HG--
extra : rebase_source : d881f8a78b0c8081ed80e18477cc000017ab73b6
2016-03-28 17:21:06 +02:00
Wes Kocher
56b7127be0
Merge fx-team to central, a=merge
...
MozReview-Commit-ID: 8rupfWq5Wa6
2016-04-01 15:43:36 -07:00
bsilverberg
b6936b19d9
Bug 1255569 - Add coverage for cookie eviction events for expired cookies. r=kmag
...
Fix bug in ext-cookies.js that was reporting expired cookies as evicted
Only run test in non-e10s
MozReview-Commit-ID: H2o5GnVtTzi
--HG--
extra : transplant_source : h%91%D8%40%D6%ED7wCL%F1%19%18.%24Oxz%81%C6
2016-04-01 10:21:47 -04:00
Carsten "Tomcat" Book
37b5fbfa7b
Backed out changeset 0228e00caf59 (bug 1255569) for m8 perma failures
...
--HG--
extra : rebase_source : e0cb73d79890a5dd432af0e832449bbd2ddeb420
2016-04-01 13:34:01 +02:00
bsilverberg
c044c81b07
Bug 1256635 - Implement browser.notifications.onClicked, r=kmag
...
Note that we cannot add a real test for onClicked without mocking out the AlertService. I did test it manually and it seems to work fine.
MozReview-Commit-ID: 68nooxoUJat
--HG--
extra : transplant_source : %BF%F8%D2%C1%17%C8%3D%7B%A0%CA%B7%02%B0%F4%A7%E5%A4%3A%27j
2016-03-16 16:49:10 +01:00
bsilverberg
c8faee2e69
Bug 1255569 - Add coverage for cookie eviction events for expired cookies, r=kmag
...
Fix bug in ext-cookies.js that was reporting expired cookies as evicted
MozReview-Commit-ID: 2it2YwbQAzh
--HG--
extra : transplant_source : %C3%03%5B%B0.eNJ%E6%B8%8B%815%7B%E6%93%BE%A3%D0D
2016-03-29 17:20:58 -04:00
bsilverberg
4072b45037
Bug 1254359 - notifications.getAll() result is not Chrome-compatible, r=kmag
...
MozReview-Commit-ID: EIeIZquJaIN
--HG--
extra : transplant_source : %5C%3Bl%8C%C6%0CV1%B2n%94%0A%98%7F%09%10%EC%02%26E
2016-03-30 09:31:37 -04:00
bsilverberg
1997bb82e9
Bug 1190324 - Test coverage for notifications extension API, r=kmag
...
Add coverage:
* Notification observers being fired with the "alertfinished" topic.
* The |create| API method without a notification ID.
* The |clear| API method.
* The |onClosed| event.
MozReview-Commit-ID: WlWwXCCCAm
--HG--
extra : transplant_source : %7C%E9x2%E08%15%C3%F5%DB%E7%FE%FC%B3%01%04%9Bg%AA%F8
2016-03-29 15:44:26 -04:00
bsilverberg
060b2ce02f
Bug 1254291 - Add schema for the notifications API, r=kmag
...
Also update ext-notifications.js to use a Map instead of a Set
MozReview-Commit-ID: JBKM9fZXpah
--HG--
extra : transplant_source : W%F8%8C%ECoc%8B%FE%F1%DBL/%E1%02Z%CAJMel
2016-03-29 15:22:18 -04:00
Katie Broida
0170b7f16b
Bug 1257599 - Rename 'Unsorted Bookmarks' into 'Other Bookmarks'. r=jaws a=kwierso
...
MozReview-Commit-ID: 7iMM0vg9rUo
2016-03-31 16:17:30 -07:00
Andrew Swan
0e2f753ef1
Bug 1257581 - Fix and re-enable downloads misc tests. r=kmag
...
The original problem was that the erase() test did not wait for downloads
to complete which caused a race with cleanup code trying to remove the
download directory while downloads were still writing to it. This was
fixed in https://hg.mozilla.org/mozilla-central/rev/d6d9e7411319
But meanwhile, the removeFile() test bit-rotted slightly, fixed it here
and re-enabled the misc test.
MozReview-Commit-ID: 6BgDKKkUK55
--HG--
extra : rebase_source : 29eef70201ff776c637bc0bb98a98b48e26907ca
2016-03-25 14:34:56 -07:00
Andrew Swan
3dea37e5f0
Bug 1257137 - Handle bad args in downloads.{pause,resume,cancel}. r=kmag
...
MozReview-Commit-ID: HKYqlKUMp91
--HG--
extra : rebase_source : 9d996bd4eeaedf4062e215702729b2a75d7c45da
2016-03-26 14:49:51 -07:00
Kris Maglione
87247e9d25
Bug 1258139: Part 2 - [webext] Fix dead wrapper issues in storage API. r=gabor
...
MozReview-Commit-ID: 7F0oBpjl7Qt
--HG--
extra : rebase_source : e4eee969b527078fefd999282371365e8fa39556
2016-03-25 01:14:39 +01:00
Kris Maglione
e6cd1c5fce
Bug 1258139: Part 1 - [webext] Refactor storage API code. r=rpl
...
MozReview-Commit-ID: L6cO7mVnN5E
--HG--
extra : rebase_source : f6fe51fd9b90b2a1bc4928775a07d2c7bd522663
2016-03-25 01:03:30 +01:00
Matthew Wein
2f6a139e35
Bug 1251042: Enable mochitests for extensions to run on Android. r=nalexander
...
MozReview-Commit-ID: FeI5bexmPg4
2016-03-25 19:52:19 -07:00
Andrew Swan
13d8705247
Bug 1245651 - Implement chrome.downloads.onErased. r=kmag
...
MozReview-Commit-ID: AIskV6fBOiS
--HG--
extra : transplant_source : /Se%FF%A6%E7c%FA%9Do%BE%21%C6%A6%C6%B2%D10%F1%7F
2016-03-22 18:20:11 -07:00
Andrew Swan
5015ea55c0
Bug 1245651 - Rework chrome.downloads misc tests. r=kmag
...
MozReview-Commit-ID: LybeGLQq1SW
--HG--
extra : transplant_source : %F2%0F%3D%FAU%0C%C9%C6%2B%9DR%7D%86%CEV%F2e%28%01%9D
2016-03-22 17:00:19 -07:00
Giorgio Maone
0f419b63e5
Bug 1252596 - Implement webRequest.onErrorOccurred. r=kmag
...
MozReview-Commit-ID: GFeFjKlsMAD
--HG--
extra : transplant_source : G%ED%267%A3%23%BE%D2%17%9DV%D3.%3D%D9%13M%E8%7B%2A
2016-03-07 09:35:24 +01:00
Kris Maglione
cd7094d843
No bug - [webext] Fix the ESLint curly brace rule to prevent single-line control statements. r=me
...
MozReview-Commit-ID: LJvu068qsZy
--HG--
extra : rebase_source : a24d244c0850bde30cb91fc1ce422ad623f0df82
2016-03-19 14:29:18 +01:00
Carsten "Tomcat" Book
3f159e9570
Merge mozilla-central to mozilla-inbound
2016-03-21 15:47:53 +01:00
Stuart Colville
8e668102a1
Bug 1245644 - Add chrome.downloads.removeFile. r=kmag
...
MozReview-Commit-ID: 4picapXsv2x
--HG--
extra : rebase_source : 3cedf458793ae2b682260e556224a2c88d700052
2016-03-14 16:22:24 +01:00
bsilverberg
796bd23e28
Bug 1257380 - Fix intermittent test_ext_bookmarks.html. r=kmag
...
I don't think we can rely on the bookmarks being created in a specific order, although that mostly seems to happen,
so rather than check for an exact list of bookmarks returned from getRecent(), we can just check that the bookmarks
we get back are in reverse chronological order and that the 4 most recently created bookmarks are returned.
MozReview-Commit-ID: DhT7raJRe7N
--HG--
extra : transplant_source : 8%24%A6%3F%87%CD%17M%EC%B0%C4%3A%F3iP%EB%BA%DE%B5%F4
2016-03-17 11:17:16 +01:00
Mark Striemer
ced19f8207
Bug 1245636 - Implement chrome.downloads.open. r=kmag
...
MozReview-Commit-ID: KYBgXTaUSkc
--HG--
extra : amend_source : a887c9e5c90c29d2b26eb9427c33bfd5a946ef20
extra : transplant_source : %AB%06%82%9F%09%D4%A3%D8%5B%E3%E2D%07%17A%FFu%9CJ%5D
2016-03-14 11:46:43 +01:00
Kris Maglione
a6310afd36
Bug 1257581: Disable test_chrome_ext_downloads_misc.html until intermittents are fixed. r=me
...
MozReview-Commit-ID: BXwW3noIbp3
2016-03-19 07:50:09 +01:00
Carsten "Tomcat" Book
0e533b219a
merge mozilla-inbound to mozilla-central a=merge
2016-03-18 15:51:43 +01:00
Carsten "Tomcat" Book
1077d1202b
Backed out changeset 74176e6545b1 (bug 1245644) for m-oth test failures
2016-03-18 08:08:01 +01:00
Ryan VanderMeulen
b026de6f01
Bug 1207911 - Re-enable the webext tests on ASAN.
...
--HG--
extra : rebase_source : a74abef64cd02ed07e005dfbe36262848896756e
2016-03-17 14:48:22 -04:00
Stuart Colville
bcf6886f7c
Bug 1245644 - Add chrome.downloads.removeFile. r=kmag
...
MozReview-Commit-ID: 4picapXsv2x
--HG--
extra : transplant_source : %F7%B9S%A4%0E%EFn%FA%0630MR%04n4L%24%D7%13
2016-03-14 16:22:24 +01:00
Andreas Wagner
f976c62952
Bug 1256264 - Make requestId a string. r=kmag
...
MozReview-Commit-ID: G9qh3jurdfZ
--HG--
extra : transplant_source : %A0%0FZ%C2%99%27%07%22d%05M%EAP%C2%CE6F%E2%BFl
2016-03-14 14:05:57 +01:00
Kris Maglione
0c6d94769a
Bug 1253645: Follow-up: Fix ESLint errors. r=me
...
MozReview-Commit-ID: GUk9MuOoe5g
--HG--
extra : rebase_source : 074f8a6ea4c36da8da4d3e9891ac4ac46cde5926
2016-03-17 12:05:21 +01:00
Carsten "Tomcat" Book
f298917442
merge mozilla-inbound to mozilla-central a=merge
2016-03-17 11:00:17 +01:00
Wes Kocher
ba63672fae
Merge m-c to fx-team, a=merge
...
MozReview-Commit-ID: 9mRXopJLh1e
2016-03-16 16:52:30 -07:00
Wes Kocher
1ddc9841d6
Backed out changeset e5c63c3fb088 (bug 1254291) for apparently causing leaks in OSX m(5)
...
MozReview-Commit-ID: DGymVB5Vtw5
2016-03-16 16:20:23 -07:00
Tom Schuster
3f7b262a15
Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
...
--HG--
extra : rebase_source : e6a951c77581b08fa8613852f54665506e9fb0ba
2016-03-16 15:11:57 +01:00
Andrew Swan
be7e1c3832
Bug 1245602 - Implement chrome.downloads.pause(), .resume(), .cancel() r=kmag
...
MozReview-Commit-ID: Cu2TNJRTZ07
--HG--
extra : rebase_source : b5a5ce3f454fec7bfb30c2e807553cca0eb6594f
extra : amend_source : 42bd9671c2970c79d8604d535ede5475b3507828
2016-03-15 05:51:27 -07:00