Stop passing DOMStrings via borrowed pointer. (#1201)