in src/core/Node.hack [448:456]
final public function removeAttribute(string $attr): this {
if ($this->__isRendered) {
throw new UseAfterRenderException(
Str\format("Can't %s after render", __FUNCTION__),
);
}
unset($this->attributes[$attr]);
return $this;
}