--- a/test-suite/idltest/index.html Wed Apr 24 17:33:47 2013 -0400
+++ b/test-suite/idltest/index.html Thu Apr 25 09:40:53 2013 +0200
@@ -30,19 +30,12 @@
interface JsonLdProcessor {
Future compact (JsonLdInput input, JsonLdContext context, optional JsonLdOptions options);
Future expand (JsonLdInput input, optional JsonLdOptions options);
- Future flatten (JsonLdInput input, JsonLdContext? context, optional JsonLdOptions options);
+ Future flatten (JsonLdInput input, optional JsonLdContext? context, optional JsonLdOptions options);
};
typedef (object or object[] or DOMString) JsonLdInput;
typedef (object or DOMString) JsonLdContext;
-callback LoadContextCallback = Future (DOMString url);
-
-dictionary RemoteContext {
- DOMString url;
- DOMString context;
-};
-
dictionary JsonLdOptions {
DOMString base;
boolean compactArrays = true;
@@ -51,6 +44,13 @@
DOMString processingMode = "json-ld-1.0";
};
+callback LoadContextCallback = Future (DOMString url);
+
+dictionary RemoteContext {
+ DOMString url;
+ DOMString context;
+};
+
dictionary JsonLdError {
JsonLdErrorCode code;
DOMString? message = null;