-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=101428 Reviewed by Geoffrey Garen. Source/WebCore: JSNodeOwner has some smarts that wrappers of subclasses of Node need to call during garbage collection. This patch teaches subclasses of Node to have their JSMumbleOwner objects inherit from JSNodeOwner. The immediate benefit of this patch is that we correctly avoid collecting wrappers for HTMLAudioElements when they are reachable from the DOM. * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): (GenerateImplementation): LayoutTests: Add two calls to gc() to make an ASSERT trigger on every run. One call to gc() does not appear to be sufficient for reasons I don't fully understand. * media/media-continues-playing-after-replace-source.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
dec0b770