[Webkit-unassigned] [Bug 27612] handling scripts can block UI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 12:10:07 PDT 2009


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





--- Comment #7 from Yong Li <yong.li at torchmobile.com>  2009-08-18 12:10:06 PDT ---
(In reply to comment #6)
> Am i worried about functional correctness of this patch as it is deliberately
> allowing incorrect behaviour -- if i have 
> <script>
> ..do stuff..
> </script>
> <script>
> ...do more stuff...
> </script>
> 
> It should not be possible for the dom to change in any way between these two
> script tags, but what you are doing allows the state to change

Thanks for commenting. But could you please make it clear what state changes?

The order won't change. HTMLTokenizer::notifyFinished() always handles the
first one in the pending script list.

Even without this patch, the scripts can be pending, too.

Inline scripts won't be affected. It's only for this case:

<script src =... ></script>

-- 
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