Commit graph

533 commits

Author SHA1 Message Date
Kris Maglione
ce003f10da Bug 1288885: Migrate localStorage mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 1sjpnsKYEv5

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_localStorage.html => toolkit/components/extensions/test/xpcshell/test_ext_localStorage.js
extra : rebase_source : c33f89ad30aa7785a4a12efe48cb498a1471cc72
extra : histedit_source : de6f946ab5b820efad5d75aef85055b3e8bbd50b
2016-07-27 21:47:53 -07:00
Kris Maglione
ec4a2f7021 Bug 1288885: Migrate simple extension mochitests to xpcshell. r=aswan
MozReview-Commit-ID: BiaTf6u43XP

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_background_runtime_connect_params.html => toolkit/components/extensions/test/xpcshell/test_ext_background_runtime_connect_params.js
rename : toolkit/components/extensions/test/mochitest/test_ext_extension.html => toolkit/components/extensions/test/xpcshell/test_ext_extension.js
rename : toolkit/components/extensions/test/mochitest/test_ext_idle.html => toolkit/components/extensions/test/xpcshell/test_ext_idle.js
rename : toolkit/components/extensions/test/mochitest/test_ext_onmessage_removelistener.html => toolkit/components/extensions/test/xpcshell/test_ext_onmessage_removelistener.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_connect_no_receiver.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_connect_no_receiver.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_getPlatformInfo.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_getPlatformInfo.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_sendMessage.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_sendMessage.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_sendMessage_no_receiver.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_sendMessage_no_receiver.js
rename : toolkit/components/extensions/test/mochitest/test_ext_simple.html => toolkit/components/extensions/test/xpcshell/test_ext_simple.js
extra : rebase_source : 3de076c2130a02437313dc3b59573af3a9202273
extra : histedit_source : 989ba78b7408bbc73f7caefc2147b0911e1eed7c
2016-07-22 16:57:58 -07:00
Kris Maglione
c791f6dd21 Bug 1288885: Migrate alarms tests to xpcshell. r=aswan
MozReview-Commit-ID: 6NPOqsAfWSb

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_alarms.html => toolkit/components/extensions/test/xpcshell/test_ext_alarms.js
extra : rebase_source : 8d3fa5e2a00c3a0114d25190e8658c1bad7b69c1
extra : histedit_source : 88eaa95b5fe8b6b7f3ac2770beef7b0f7fc33d57
2016-07-22 16:21:42 -07:00
Kris Maglione
ff96d80145 Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.

MozReview-Commit-ID: 7Yy9jWkGsMM

--HG--
extra : rebase_source : 92cc01e1cde97fa79250d51bad5a56181fbe715c
2016-07-24 16:09:26 -07:00
Rob Wu
93136b1f19 Bug 1286746 - Invoke port.onDisconnect if there are no onConnect listeners. r=kmag
MozReview-Commit-ID: DPs36oFm25J

--HG--
extra : rebase_source : 2c104d98c7d51744d1970a941677a1d4de31852b
2016-07-15 17:46:00 -07:00
Rob Wu
d85823bea4 Bug 1286746 - Invoke sendMessage callback even if there are no listeners. r=kmag
MozReview-Commit-ID: HLIC3ZRcwRm

--HG--
extra : rebase_source : ec459a0618df6717158caf38a7596c962d89ac96
2016-07-14 20:34:40 -07:00
Luca Greco
d7252a1c8d Bug 1286526 - [webext] Fix shutdown issues on empty addon with a valid manifest. r=aswan
MozReview-Commit-ID: 30MryAPYBv0

--HG--
extra : rebase_source : 3cce09a704263c13eda837a7b4a0063deaa55268
2016-07-13 13:12:59 +02:00
Matthew Wein
9db4b394c8 Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: 2U8cTYeH8kg

--HG--
extra : rebase_source : 32ffedca29caeb1154d9d1712795f18fc74dbe2a
2016-07-22 12:44:40 -07:00
Luca Greco
eab2b0ad2c Bug 1268773 - Notify Addon Listeners when the preferred addon debug global is changed. r=aswan
MozReview-Commit-ID: Hn7jb8Kni2J

--HG--
extra : rebase_source : db4a2545950e3b8d32808475ea4b16bd88c43272
2016-07-07 16:29:36 +02:00
Rob Wu
5d91567c97 Bug 1280482 - Add export helpers to content scripts. r=kmag
MozReview-Commit-ID: I4o3NXVphJX

--HG--
extra : transplant_source : P%B0k%A3%E6%ADz%ACE%BF%2B%5C%B0%9C%E8k%A3%DF%D6%C8
2016-07-15 23:33:47 -07:00
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
Carsten "Tomcat" Book
42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Kris Maglione
8d58c7c636 Bug 1285493: Add-on Manager should not be closed when an add-on with options_ui is disabled. r=billm
MozReview-Commit-ID: 8oRK8uPphDf

--HG--
extra : rebase_source : c6dcc7da1823711e3223ba39d038e1ccc949f6fd
2016-07-24 15:05:39 -07: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
Mike Conley
028ae1c7d9 Bug 1261842 - Make sure ExtensionContent.jsm has been loaded in the parent process if Extension.jsm is initialized. r=kmag
MozReview-Commit-ID: BNrSegqzqeJ

--HG--
extra : rebase_source : a3aa41d14fde66cf69f30e07d86ca948cc6fc328
extra : source : 855931929739ab4f44ff92f7549b4d80348b580b
2016-06-08 16:46:35 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

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

... on the affected files.

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

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02: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
0211115bf6 Bug 1234677 - Overwrite alert at window init instead of onload r=billm
A nice extra effect of this is that it will also work after reloading
the background page (location.reload()) and it should also work for
child frames in background pages.

MozReview-Commit-ID: ErvpzD8d3ow

--HG--
extra : rebase_source : 2057ecc805c8d8c8e724743a11c01362fa0cf5bc
2016-07-20 01:00:29 -07:00
Till Schneidereit
f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02: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
Andrew Swan
5238b6aa15 Bug 1282680 Always use 64-bit registry for native messaging r=kmag
MozReview-Commit-ID: 99JSqHP17v8

--HG--
extra : rebase_source : e40f16680f578ca803522a5194d3be415d37256f
2016-07-18 13:34:19 -07:00
Carsten "Tomcat" Book
779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book
a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Carsten "Tomcat" Book
a61e84c9f3 merge fx-team to mozilla-central a=merge 2016-07-17 09:16:38 +02:00
Kris Maglione
63c5aef93a Bug 1272222: Use larger icons for browser actions in the menu panel. r=Gijs
MozReview-Commit-ID: 26lmlcrngPk

--HG--
extra : rebase_source : b9d6bfb7669d3cb826ccaa6728e153ad3e3b2b8b
2016-07-13 15:16:00 -07:00
Till Schneidereit
3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02: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
Wes Kocher
bacab7c0f8 Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -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
Luca Greco
a898928047 Bug 1285314 - Fix extension id overridden with undefined when missing from the manifest. r=aswan
MozReview-Commit-ID: J4Iwl4tYlJX

--HG--
extra : transplant_source : %08%85%E2%D3%00%5Dd%28%F7%F1%BB%06%A2%A6%EC2%3D%DCv%2C
2016-07-07 20:25:28 +02:00
Kris Maglione
005248648e Bug 1284942: Don't fire message listeners for windows hidden in bfcache. r=aswan
MozReview-Commit-ID: KSqLt7Qqdkf

--HG--
extra : rebase_source : 0b1322a7a4b6db5992bbe1cfc73975e2ed64035e
2016-07-06 17:14:02 -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
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
Matthew Wein
569e667c08 Bug 1270742 - Add support for default_icon in chrome.pageAction r=kmag
MozReview-Commit-ID: D9uR0JUXJwx

--HG--
extra : transplant_source : %FC%FBu%0Cboh%DFv%BB%8D%AC%20%ED%A5%E1%3E%DE%126
2016-05-23 15:59:33 -07:00
Sebastian Hengst
2e51abafdb Backed out changeset 1008f5b88e6b (bug 1270742) for failing browser_ext_browserAction_context.js. r=backout 2016-06-24 13:00:31 +02:00
Matthew Wein
48b0f752e6 Bug 1270742 - Add support for default_icon in chrome.pageAction. r=kmag
MozReview-Commit-ID: D9uR0JUXJwx

--HG--
extra : transplant_source : %D2%EEUA%D1%C7Yp%88E%851%200n%90%D7%8F%0C%F4
2016-05-23 15:59:33 -07:00
Martin Giger
8ef39ac0b8 Bug 1265317 - Handle missing storage error as success. r=kmag
--HG--
extra : rebase_source : bd4a7c99a2fdeba789ec95c3f461ef0c0f090b0e
2016-06-15 07:13:00 -04:00
Martin Giger
1478f20494 Bug 1279562 - Accept negative 'left' and 'top' values in chrome.windows.update. r=kmag
--HG--
extra : rebase_source : 25a49cfc156fafcb490dcd997d26f20c550fa4ec
2016-06-17 02:22:00 -04:00