void JSHTMLIFrameElement::setSrc(ExecState* exec, JSValue* value) { HTMLIFrameElement* imp = static_cast<HTMLIFrameElement*>(impl()); String srcValue = valueToStringWithNullCheck(exec, value); if (protocolIs(parseURL(srcValue), "javascript")) { if (!checkNodeSecurity(exec, imp->contentDocument())) return; } imp->setSrc(srcValue); }