Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 24408 by baliwesti: Uncaught TypeError: const 'top' has already  
been declared for
http://code.google.com/p/chromium/issues/detail?id=24408

Chrome Version       : Google Chrome    4.0.211.7 (Official Build 26751)
WebKit  532.0
V8      1.3.11
User Agent      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.7 Safari/532.0

URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x:
          IE 7:
          IE 8:

What steps will reproduce the problem?
1. Create HTML/JSP file containing the following <script> code:

<script>var $gwt_version = "1.5.3";var $wnd = parent;var $doc =
$wnd.document;var $moduleName, $moduleBase;var $stats =
$wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} :
null;$stats && $stats
({moduleName:'Main',subSystem:'startup',evtGroup:'moduleStartup',millis:
(new Date()).getTime(),type:'moduleEvalStart'});</script>

<script type="text/javascript"><!--
    function top(){}
--></script>


2. When viewed in Google Chrome Frame, the error is encountered.

What is the expected result?
No error should happen.



What happens instead?

An Uncaught Error is encountered:
Uncaught :longfilenameandlocationofgeneratedjs.cache.html: 2
TypeError: const 'top' has already been declared

Please provide any additional information below. Attach a screenshot if
possible.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to