--- a/test-suite/idltest/index.html Fri Apr 05 15:31:21 2013 +0200
+++ b/test-suite/idltest/index.html Fri Apr 05 15:35:23 2013 +0200
@@ -26,12 +26,16 @@
</pre>
<pre id="idl">
+[Constructor]
interface JsonLdProcessor {
- void expand ((object or object[] or DOMString) input, optional JsonLdOptions? options, JsonLdCallback callback);
- void compact ((object or object[] or DOMString) input, (object or DOMString)? context, optional JsonLdOptions? options, JsonLdCallback callback);
- void flatten ((object or object[] or DOMString) input, (object or DOMString)? context, optional JsonLdOptions? options, JsonLdCallback callback);
+ void expand (JsonLdInput input, JsonLdCallback callback, optional JsonLdOptions? options);
+ void compact (JsonLdInput input, JsonLdContext? context, JsonLdCallback callback, optional JsonLdOptions? options);
+ void flatten (JsonLdInput input, JsonLdContext? context, JsonLdCallback callback, optional JsonLdOptions? options);
};
+typedef (object or object[] or DOMString) JsonLdInput;
+typedef (object or DOMString) JsonLdContext;
+
callback JsonLdCallback = void (JsonLdError error, (object or object[]) document);
callback LoadContextCallback = void (DOMString url, ContextLoadedCallback callback);