"cfx test" doesn't work after configuring Firefox add-on
I am trying to add Firefox.
Following Mozilla's instructions here , I installed and activated their SDK.
Then I created a new directory, cd
'd, and executed cd init
to initialize it. Output:
- Catalog created
- lib
- data directory created
- test directory created
- automatically generated jID: jid1-lobtqQKBC2PgyA
- package.json is written
- test / test-main.js is written
- lib / main.js is written
Your trial add-in is now complete.
Do "cfx ββtest" to test it and "cfx ββrun" to try. Enjoy!
This has been so good so far (although the result was not the same as their example). Then I try to run: cfx test
and I get this:
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
Running tests on Firefox 34.0/Gecko 34.0 ({ec8030f7-c20a-464f-9b0e-13a3a9e97384}) under winnt/x86.
.console.error: x:
fail:
There was an uncaught Promise rejection: JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Prom
ise-backend.js :: PendingErrors.register :: line 159
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.comple
tePromise :: line 672
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: Handler.prototype.process
:: line 868
JS frame :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.walker
Loop :: line 744
native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
console.trace: x:
_ecated/unit-test.js 96 fail
_ecated/unit-test.js 61 TestRunner.prototype._uncaughtErrorObserver
_/Promise-backend.js 197 PendingErrors.report
_/Promise-backend.js 209 PendingErrors.flush
_/Promise-backend.js 611 Promise.Debugging.flushUncaughtErrors
_ecated/unit-test.js 306 done
_ecated/unit-test.js 529 start
_ecated/unit-test.js 491 runNextTest
_ecated/unit-test.js 496 startMany
_ecated/unit-test.js 26 findAndRunTests/<
_/Promise-backend.js 865 Handler.prototype.process
_/Promise-backend.js 744 this.PromiseWalker.walkerLoop
0
.
2 of 3 tests passed.
LdrLoadDll: Blocking load of 'hook.dll' -- see http://www.mozilla.com/en-US/blocklist/
Total time: 1.816000 seconds
Program terminated unsuccessfully.
I'm not entirely sure what the hook.dll file is, why it doesn't work or what the relationship is to Mozilla's block list (couldn't be found on this page).
Any help or insight to fix this error would be appreciated. I am using Windows 7 Pro 64 bit OS if that helps.
source to share
No one has answered this question yet
Check out similar questions: