webidl: Remove support for Uint8ClampedArray

Our bindings currently translate this to `&[u8]` which is actually `Uint8Array`.
We'll need to fix #421 before supporting this.
This commit is contained in:
Alex Crichton
2018-08-29 18:50:17 -07:00
parent df19b63c60
commit e25feccc11
2 changed files with 1 additions and 2 deletions

View File

@ -459,7 +459,7 @@ impl<'a> IdlType<'a> {
IdlType::DataView => None,
IdlType::Int8Array => Some(array("i8", pos)),
IdlType::Uint8Array => Some(array("u8", pos)),
IdlType::Uint8ClampedArray => Some(array("u8", pos)),
IdlType::Uint8ClampedArray => None, // FIXME(#421)
IdlType::Int16Array => Some(array("i16", pos)),
IdlType::Uint16Array => Some(array("u16", pos)),
IdlType::Int32Array => Some(array("i32", pos)),