[webkit-help] HTMLAudioElement not deleted on leaving page

Yanov, Andrey AYanov at luxoft.com
Mon Mar 5 10:37:46 PST 2012


Hi dev team and everyone else.

I'm having an issue I'm trying to figure out.
I've got an HTMLAudioElement created by JS on page cuttherope.ie.
The element is created and even receives a url to load.
However, the element is not given a parent, or a sibling, thus is not added to any container element.
As a result, when navigating away from the page, it doesn't get destroyed (since not a part of a DOM tree).
I have very little idea how JS engine is working, could you please direct me where to look next ?

I would appreciate any help.
Here is the stack:
38 HTMLAudioElement() D:\Prj\wk2\Source\WebCore\html\HTMLAudioElement.cpp:42 0xba1a00ef
37 WebCore::HTMLAudioElement::create() D:\Prj\wk2\Source\WebCore\html\HTMLAudioElement.cpp:62 0xba1a0610
36 audioConstructor() \home\ayanov\Source\_products\NBT-Debug\DerivedSources\WebCore\HTMLElementFactory.cpp:159 0xb9ef37fc
35 WebCore::HTMLElementFactory::createHTMLElement() \home\ayanov\Source\_products\NBT-Debug\DerivedSources\WebCore\HTMLElementFactory.cpp:649 0xb9ef59c5
34 WebCore::HTMLDocument::createElement() D:\Prj\wk2\Source\WebCore\html\HTMLDocument.cpp:313 0xb97b3115
33 WebCore::jsDocumentPrototypeFunctionCreateElement() \home\ayanov\Source\_products\NBT-Debug\DerivedSources\WebCore\JSDocument.cpp:1911 0xb9d4d383
32 JSC::Interpreter::privateExecute() D:\Prj\wk2\Source\JavaScriptCore\interpreter\Interpreter.cpp:4004 0xba3ee357
31 JSC::Interpreter::execute() D:\Prj\wk2\Source\JavaScriptCore\interpreter\Interpreter.cpp:831 0xba3e0733
30 JSC::evaluate() D:\Prj\wk2\Source\JavaScriptCore\runtime\Completion.cpp:64 0xba408bbc
29 WebCore::JSMainThreadExecState::evaluate() D:\Prj\wk2\Source\WebCore\bindings\js\JSMainThreadExecState.h:54 0xb9cf7bc7
28 WebCore::ScriptController::evaluateInWorld() D:\Prj\wk2\Source\WebCore\bindings\js\ScriptController.cpp:141 0xb9d0bc8e
27 WebCore::ScriptController::evaluate() D:\Prj\wk2\Source\WebCore\bindings\js\ScriptController.cpp:164 0xb9d0be16
26 WebCore::ScriptElement::executeScript() D:\Prj\wk2\Source\WebCore\dom\ScriptElement.cpp:285 0xba007bb3
25 WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent() D:\Prj\wk2\Source\WebCore\html\parser\HTMLScriptRunner.cpp:139 0xb9818b6c
24 WebCore::HTMLScriptRunner::executeParsingBlockingScript() D:\Prj\wk2\Source\WebCore\html\parser\HTMLScriptRunner.cpp:118 0xb98189ff
23 WebCore::HTMLScriptRunner::executeParsingBlockingScripts() D:\Prj\wk2\Source\WebCore\html\parser\HTMLScriptRunner.cpp:195 0xb9818eba
22 WebCore::HTMLScriptRunner::execute() D:\Prj\wk2\Source\WebCore\html\parser\HTMLScriptRunner.cpp:178 0xb9818e33
21 WebCore::HTMLDocumentParser::runScriptsForPausedTreeBuilder() D:\Prj\wk2\Source\WebCore\html\parser\HTMLDocumentParser.cpp:205 0xb9811900
20 WebCore::HTMLDocumentParser::canTakeNextToken() D:\Prj\wk2\Source\WebCore\html\parser\HTMLDocumentParser.cpp:223 0xb98119b5
19 WebCore::HTMLDocumentParser::pumpTokenizer() D:\Prj\wk2\Source\WebCore\html\parser\HTMLDocumentParser.cpp:261 0xb9811d26
18 WebCore::HTMLDocumentParser::resumeParsingAfterYield() D:\Prj\wk2\Source\WebCore\html\parser\HTMLDocumentParser.cpp:192 0xb98117dd
17 WebCore::HTMLParserScheduler::continueNextChunkTimerFired() D:\Prj\wk2\Source\WebCore\html\parser\HTMLParserScheduler.cpp:87 0xb98173fb


Thank you and have a nice day!
Andrey Yanov

________________________________
This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120305/43ed1664/attachment.html>


More information about the webkit-help mailing list