[Webkit-unassigned] [Bug 15224] New: Javascript loaded via Prototype.js didn't eval'ed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 05:21:39 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15224

           Summary: Javascript loaded via Prototype.js didn't eval'ed
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Blocker
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nilcolor at gmail.com


Loading data using prototype.js

<script>
  new Ajax.Updater('section_data', 'veil.html', {method:'get', evalScripts:
true});
</script>

--- veil.html (works fine) -------------
<p>This alert shows up just fine</p>
<script type="text/javascript" charset="utf-8">
  alert('Hello!');
</script>

--- veil.html (didn't work) -------------
<p>This alert didn't fire up. And all script block didn't executed/eval'd</p>
<script type="text/javascript" charset="utf-8">
  alert('Привет!'); //<- any utf-8 (russian in my case) text
</script>

--- veil.html (didn't work too!) -------------
<p>This alert didn't fire up. And all script block didn't executed/eval'd</p>
<script type="text/javascript" charset="utf-8">
  alert('Hello!');
  //коментарий <- any utf-8 (russian in my case) comment
</script>

-------------------------------------
Code above works in FireFox 2.0.0.6 (Mac), Opera 9.21 (Mac)
Didn't works in Safari 2.0.4 (419.3), WebKit (25552, 25585)

P.S.
Eval something like code in the next few line works fine. Mean eval code with
russian without loading it via AJAX/Prototype.js requests
<script>
  eval('alert("привет!")');
</script>


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



More information about the webkit-unassigned mailing list