Show
Ignore:
Timestamp:
09/13/07 07:50:22 (14 months ago)
Author:
antti
Message:

JavaScriptCore:

Reviewed by Maciej.


Small addition to previous path to cover
http://bugs.webkit.org/show_bug.cgi?id=11399
window.eval runs in the global scope of the calling window


Switch variable scope as well.

  • kjs/function.cpp: (KJS::GlobalFuncImp::callAsFunction):

LayoutTests:

Reviewed by Maciej.


Change test case to cover
http://bugs.webkit.org/show_bug.cgi?id=11399
too.

  • fast/js/window-eval-context-expected.txt:
  • fast/js/window-eval-context.html:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r25534 r25535  
     12007-09-13  Antti Koivisto  <antti@apple.com> 
     2 
     3        Reviewed by Maciej. 
     4         
     5        Change test case to cover 
     6        http://bugs.webkit.org/show_bug.cgi?id=11399 
     7        too. 
     8 
     9        * fast/js/window-eval-context-expected.txt: 
     10        * fast/js/window-eval-context.html: 
     11 
    1122007-09-12  Antti Koivisto  <antti@apple.com> 
    213