Code Monkey home page Code Monkey logo

npapi-file-io's People

npapi-file-io's Issues

saveBinaryFile too slow ?

What steps will reproduce the problem?
1. I tried to save a large file (8 Mg) and this function takes 50 seconds.
2.
3.

What is the expected output? What do you see instead?
The time to obtain from the server the file is 60ms. I thing the copy maked 
with *byteArrayFromNpVariant is very slowly. 

What version of the product are you using? On what operating system?
Windows

Please provide any additional information below.

Regards

Isidro

Original issue reported on code.google.com by [email protected] on 18 Dec 2012 at 3:07

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

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 [email protected] on 10 Feb 2012 at 1:09

Mac support

npapi-file-io doesn’t seem to work on Mac. Would be nice to support Mac 
platform same way it supports Windows and Linux.

Original issue reported on code.google.com by [email protected] on 15 Feb 2012 at 4:21

Usage example

I haven’t found any docs at all.

I came here from 
http://groups.google.com/a/chromium.org/group/chromium-extensions/browse_frm/thr
ead/0372dfd06d94f55a/63a422b834ccb36a#63a422b834ccb36a. I wonder, does it 
provide JS API such as the following or not?

<embed type="application/x-my-extension" id="fs"> 
<script> 
  var fs = document.getElementById("fs"); 
  fs.writeFile("/Users/nv/dummy.txt", "bla-blah", function(err) { 
    if (!err) console.log("Hooray!"); 
  }); 
</script>

Original issue reported on code.google.com by [email protected] on 10 Feb 2012 at 12:51

Headers should come from npapi-sdk project

The headers in this project appear to be a snapshot of Chromium's NPAPI 
headers. Instead, it should use the authoritative source, which is:
http://code.google.com/p/npapi-sdk/
Using a specific browser's copy means picking up various local modifications 
that are generally only there for legacy reason, and add confusion.

Original issue reported on code.google.com by stuart.morgan on 22 Feb 2012 at 3:52

symlinks do not work

When trying to listFiles on a directory containing symlinks, the plugin 
crashes. (linux)

Original issue reported on code.google.com by capt.n3m0 on 8 May 2012 at 2:05

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.