--- a/test-suite/idltest/index.html Thu Apr 04 14:44:28 2013 -0400
+++ b/test-suite/idltest/index.html Thu Apr 04 21:11:15 2013 +0200
@@ -22,9 +22,7 @@
<p>This test validates the WebIDL included in the JSON-LD 1.0 Processing Algorithms and API specification.</p>
<pre id="untested_idl" style="display:none">
-interface Window {
- JsonLdProcessor jsonld;
-};
+
</pre>
<pre id="idl">
@@ -95,11 +93,13 @@
(function() {
window.JsonLdProcessor = window.jsonld.JsonLdProcessor;
- window.jsonldProcessor = new JsonLdProcessor();
+ window.processor = new JsonLdProcessor();
var idl_array = new IdlArray();
+
//idl_array.add_untested_idls(document.getElementById("untested_idl").textContent);
idl_array.add_idls(document.getElementById('idl').textContent);
- idl_array.add_objects({JsonLdProcessor: ['window.jsonldProcessor']});
+ idl_array.add_objects( { JsonLdProcessor: [ 'window.processor' ]});
+
idl_array.test();
})();