Minor changes to idlharness
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 04 Apr 2013 21:11:15 +0200
changeset 1542 b155bf25a603
parent 1541 cc3d830653b7
child 1543 da07676d1954
Minor changes to idlharness
test-suite/idltest/index.html
--- 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();
 })();