[Webkit-unassigned] [Bug 55017] SVGImage causes MainResourceLoader leaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 04:54:30 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55017


Xianzhu Wang <wangxianzhu at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83459|0                           |1
        is obsolete|                            |
  Attachment #83459|review?                     |
               Flag|                            |
  Attachment #83472|                            |review?
               Flag|                            |




--- Comment #4 from Xianzhu Wang <wangxianzhu at google.com>  2011-02-23 04:54:30 PST ---
Created an attachment (id=83472)
 --> (https://bugs.webkit.org/attachment.cgi?id=83472&action=review)
updated patch

I've tried data URL, but it didn't work:
scriptFrame.src = "data:text/html,<script src=x.js><" + "</script>"
won't load x.js at all (may be a security restriction?)
So I still use an external html for the frame.

Adopted Johnny's another suggestion, removed blank.js and use XXXXX.js in load-script.html.
The issue can be triggered no matter the resource exists or not.

This updated patch also fixed a problem in the test case: "totalFrames = 10" was wrong because I forgot to revert a temporary change.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list