W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

API updated to use Futures - request for review

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Sun, 5 May 2013 19:16:13 +0200
To: <public-script-coord@w3.org>
Cc: <public-rdf-comments@w3.org>
Message-ID: <009c01ce49b4$400d2fb0$c0278f10$@lanthaler@gmx.net>
Hi all,

Based on previous feedback, we decided to update the JSON-LD API to use
Futures instead of callbacks. I would like to kindly ask you to review the
"new" API. You can find the latest version at

   http://json-ld.org/spec/latest/json-ld-api/


I also have a question for the JavaScript experts. We use idlharness.js to
test the conformance of implementations. We have a JavaScript implementation
that we test at:

   http://json-ld.org/test-suite/idltest/

As you'll see, it passes all tests except the one testing the prototype
object:

    Fail JsonLdProcessor interface: existence and properties of
         Interface prototype object

    assert_equals: String(JsonLdProcessor.prototype) expected 
    "[object JsonLdProcessorPrototype]" but got "[object JsonLdProcessor]"

Is there any way to pass this test with a JavaScript implementation?


Thank you very much,
Markus



--
Markus Lanthaler
@markuslanthaler
Received on Sunday, 5 May 2013 17:16:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC