aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/utils.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-06-27 18:41:06 +0100
committerJosh Matthews <josh@joshmatthews.net>2013-07-03 15:18:05 -0400
commiteb95d82fe6054c12f8cd50fde90c9c3de794459e (patch)
treedcb10d58fe09223542a75f4307930d902a8daeed /src/components/script/dom/bindings/utils.rs
parent213d9a011a63842434df4e8ce3c359d08232aefa (diff)
downloadservo-eb95d82fe6054c12f8cd50fde90c9c3de794459e.tar.gz
servo-eb95d82fe6054c12f8cd50fde90c9c3de794459e.zip
Implement WebIDL method overloads. Fixes #540.
Diffstat (limited to 'src/components/script/dom/bindings/utils.rs')
-rw-r--r--src/components/script/dom/bindings/utils.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/script/dom/bindings/utils.rs b/src/components/script/dom/bindings/utils.rs
index 5a42e109268..f72aad15ed9 100644
--- a/src/components/script/dom/bindings/utils.rs
+++ b/src/components/script/dom/bindings/utils.rs
@@ -380,6 +380,7 @@ pub mod prototypes {
HTMLCollection,
Event,
EventTarget,
+ FormData,
_ID_Count
}
}
@@ -582,7 +583,7 @@ pub extern fn ThrowingConstructor(_cx: *JSContext, _argc: uint, _vp: *JSVal) ->
}
pub fn initialize_global(global: *JSObject) {
- let protoArray = @mut ([0 as *JSObject, ..6]); //XXXjdm prototypes::_ID_COUNT
+ let protoArray = @mut ([0 as *JSObject, ..7]); //XXXjdm prototypes::_ID_COUNT
unsafe {
//XXXjdm we should be storing the box pointer instead of the inner
let box = squirrel_away(protoArray);