zhenqiang-sun / npapi-file-io

Automatically exported from code.google.com/p/npapi-file-io
0 stars 0 forks source link

"Error calling method on NPObject" when running tests/passing/save-text-file.html #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Windows 7, Chrome 17.0.963.46.

Assumes getBinaryFile, getTextFile work

NPAPI File IO test [FAILED]
/C:/Users/Nikita/Desktop/npapi-file-io/test/tests/passing/save-text-file.html
7 of 7 tests run in 66ms.
0 passed, 7 failed.
9 ms/test. 8 files loaded.
.
17:05:25.842  Start
17:05:25.844  
testSaveTextSavesNewLinesWithCarriageReturnsOnWindowsAndWithoutOnLinux : FAILED 
(run individually)
17:05:25.844  ERROR in 
testSaveTextSavesNewLinesWithCarriageReturnsOnWindowsAndWithoutOnLinux
Error calling method on NPObject.
> (unknown)
> testSaveTextSavesNewLinesWithCarriageReturnsOnWindowsAndWithoutOnLinux at 
file:///C:/Users/Nikita/Desktop/npapi-file-io/test/tests/passing/save-text-file.
html:47:12
17:05:25.860  testSavesBasicText : FAILED (run individually)
17:05:25.860  ERROR in testSavesBasicText
Error calling method on NPObject.
...

Original issue reported on code.google.com by alter.EL...@gmail.com on 10 Feb 2012 at 1:09

GoogleCodeExporter commented 9 years ago
I forgot to change hardcoded paths in test/tests/common.js. It works well now.

Original comment by alter.EL...@gmail.com on 11 Feb 2012 at 1:54