1 Reply Latest reply on Jan 8, 2009 1:20 AM by Newsgroup_User

    BUG!!! Dreamweaver CS4

    prolights
      This is a BAD BUG, but hopefully you save ALL of your work prior to testing in Live View. Because if you have a JavaScript, that you messed up and there is an endless loop, you have to FORCE QUIT Dreamweaver CS4 ( ) and lose the unsaved data since there is NO WAY to end LIVE VIEW .

      Below is a sample of code to create the bug for yourself.

      Note: You can see I threw the comment code in front of every line so the message board wouldn't see it as a valid code. And then launch the faulty code, causing anyone reading this message to FORCE QUIT their browser.

      //<script type = "text/javascript">
      // //[CDATA[
      // //Warning: this program has a deliberate
      // // error! You will have to stop the browser
      // // to end the loop.
      //
      // i = 0;
      // j = 0;
      //
      // while (i < 10) {
      // j++;
      // alert(j);
      // } // end while
      // //]]>
      // </script>
        • 1. Re: BUG!!! Dreamweaver CS4
          Level 7
          prolights wrote:
          > This is a BAD BUG, but hopefully you save ALL of your work prior to testing in
          > Live View. Because if you have a JavaScript, that you messed up and there is an
          > endless loop, you have to FORCE QUIT Dreamweaver CS4 ( ) and lose the
          > unsaved data since there is NO WAY to end LIVE VIEW .
          >
          > Below is a sample of code to create the bug for yourself.
          >
          > Note: You can see I threw the comment code in front of every line so the
          > message board wouldn't see it as a valid code. And then launch the faulty code,
          > causing anyone reading this message to FORCE QUIT their browser.
          >
          > //<script type = "text/javascript">
          > // //[CDATA[
          > // //Warning: this program has a deliberate
          > // // error! You will have to stop the browser
          > // // to end the loop.
          > //
          > // i = 0;
          > // j = 0;
          > //
          > // while (i < 10) {
          > // j++;
          > // alert(j);
          > // } // end while
          > // //]]>
          > // </script>

          If browsers barf on it, how is Dreamweaver going to be able to handle it
          any differently?

          Submit your bug report here:
          http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

          I just found this: http://bugs.adobe.com/ its a shame Dreamweaver isn't
          in this system.

          Dooza