This should be a default method if you have a new enough Rust, although I'm not sure if Servo is up to it.