Lines Matching defs:audio
56 return throwError("Audio constructor associated frame is unavailable", V8Proxy::ReferenceError);
60 return throwError("Audio constructor associated document is unavailable", V8Proxy::ReferenceError);
66 RefPtr<HTMLAudioElement> audio = new HTMLAudioElement(HTMLNames::audioTag, document);
67 audio->setAutobuffer(true);
69 audio->setSrc(toWebCoreString(args[0]));
70 audio->scheduleLoad();
73 V8DOMWrapper::setDOMWrapper(args.Holder(), V8ClassIndex::ToInt(V8ClassIndex::AUDIO), audio.get());
74 audio->ref();
75 V8DOMWrapper::setJSWrapperForDOMNode(audio.get(), v8::Persistent<v8::Object>::New(args.Holder()));