Bug 108786 - [wince port]javascript crushed when run test contains window object
Summary: [wince port]javascript crushed when run test contains window object
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 19:46 PST by zhangdw
Modified: 2013-09-22 13:09 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zhangdw 2013-02-03 19:46:07 PST
when i run test whice contains window object,such as:
    var width = window.window.innerWidth;
or
    if(window.localStorage)
    {
       document.write("ok");
    }
    else
    {
       document.write("ng");
    }

the js engine got some errors,and abort.
According to some running log,i found there were error occured during complie the js course to bytecode(function String Parser<LexerType>::parseInner()).
Is there anybody have ever got this problem or know the reason?
please tell me,thank you!
Comment 1 zhangdw 2013-02-03 19:52:39 PST
The webkit version is r132548.
Comment 2 Patrick R. Gansterer 2013-04-06 08:21:14 PDT
I tried with the current trunk, but was not able to reproduce this problem. Can you recheck?
Comment 3 Patrick R. Gansterer 2013-09-22 13:09:30 PDT
Please feel free to reopen the bug if you still see the problem.