Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 4 of 4

This is a discussion on Javascript not interpreted within the Bugs and Vulnerabilities section, part of the Google Chrome category: Hi, I have some problems with Chrome v4.0.223.16 : some times, the javascript in my popup windows are displayed instead ...


  1. #1
    mleneveut is offline Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Default Javascript not interpreted

    Hi,

    I have some problems with Chrome v4.0.223.16 : some times, the javascript in my popup windows are displayed instead of being executed. I have attached a screenshot.

    My code :
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html> 
    <head> 
    	<script language="JavaScript" type="text/javascript"> 
    	    // Dojo configuration
    	   djConfig = {
    			isDebug: false,
    	        bindEncoding: "ISO-8859-1"
    	          ,baseRelativePath: "js/dojo"
    	          ,baseScriptUri: "js/dojo"
    	          ,debugAtAllCosts: false
    	    };
    	</script> 
    <script type="text/javascript" src="[cut]"></script> 
    		<title>title</title>
    <link rel="stylesheet" href="[cut]" type="text/css"/> 
    </head> 
    <body> 
    <!-- tinyMCE --> 
    <script language="javascript" type="text/javascript" src="js/tiny_mce/tiny_mce.js"></script> 
    <script language="javascript" type="text/javascript"> 
    	//[cut]
    </script> 
    <!-- /tinyMCE --> 
     
    <script type="text/javascript"> 
     
     
    	function editRichText(idDivObject)
    		{	
    			document.getElementById('observationToUpdate').value=idDivObject;
    			tinyMCE.activeEditor.setContent(document.getElementById(idDivObject).innerHTML);
    			
    		}
    ...
    </script>
    The beginning of the not executed JS :
    Code:
    function modifyObservation(){
        	var multiSocieteAtrya = 'true';
    	    var idObservation =	document.getElementById('observationToUpdate').value;
        	var observationVide = 'Vous ne pouvez pas enregistrer une observation vide !';
        	if(idObservation>0){
        		var defered = service.modifyObservation(idObservation, tinyMCE.activeEditor.getContent(),'125');
        		defered.addCallback(refreshObservation);
        	}else{
    			if(tinyMCE.activeEditor.getContent()!=""){
    	    		if (multiSocieteAtrya) {
    	    			var select = document.getElementById('selectEntites');
    ...
    Did anyone already have this problem ?

    Thanks for your help.
    Attached Thumbnails Attached Thumbnails bugpopup.jpg  

  2. #2
    mg2's Avatar
    mg2
    mg2 is offline Senior Member
    Join Date
    Jun 2009
    Location
    Karlsruhe, Germany, Europe
    Posts
    328

    Default

    Have you tried updating your browser? Current dev version is 4.0.249.11.

  3. #3
    mleneveut is offline Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Default

    No I didn't, because I can't ask my custmers to work with a dev version.

  4. #4
    Michael3185 is offline Senior Member
    Join Date
    Apr 2009
    Location
    Lincoln, UK
    Posts
    377

    Default

    @mleneveut; Just a thought regarding the Dev version. I know that people are edgy about development versions, and think that they're not fully functioning, or will fail at some crucial point when being used. However, Chrome doesn't seem that way any more (at least not to me and others I know who use Chrome Dev).

    It's become very stable for a development version, by which I mean that what's in it now (at 4.0.249.11) works as it should. Some things will change, and new stuff will be added, but I'm very confident in this version. So much so that I've made a complete backup just in case something comes apart in a future upgrade, so I have a good fall-back. In fact my thought is that I could just keep this version permanently, as I might for example with Opera (Opera seems to update less than Firefox, for example). of course I won't, because I'll want the new features as they're added.

    Any browser which is called 'stable' is actually not guaranteed perfectly stable; it's only stable in that no major bugs have been found since its last testing process and release. But somewhere down the line there's always some little bug found and fixed, with yet another release. Looked at in that way, there is no stable software, ever.

    You can get the full download from FileHippo, and then disable the auto-updater using CCleaner's startup tools. That way you have the best 'stable' version, even though it's called Dev by Google (and Beta by FileHippo for some reason - though I've checked and it is Chrome Dev).

    I'm not trying to talk you into using it and asking your customers to, but just saying that in the case of Chrome, 'Dev' doesn't seem to mean what it once did any more. I would imagine that Google are going to hire only the best software developers, and while I've had other gripes about the company, they seem to be redefining the definitions of Stable, Beta, and Dev, and producing an amazingly fast and rock solid browser given how complicated it is internally.
    Last edited by Michael3185; 11-26-2009 at 09:04 AM.
    Veesteronnalaptop, and Chrome extension mods at http://gochrome.letsdoo.org

Similar Threads

  1. Javascript BUG in popup windows
    By bongobongo in forum Bugs and Vulnerabilities
    Replies: 5
    Last Post: 09-06-2010, 07:01 PM
  2. problems with javascript
    By p.fil in forum Chrome Troubleshooting
    Replies: 1
    Last Post: 10-04-2009, 03:19 AM
  3. Chrome and Javascript
    By stwallace in forum Chrome Troubleshooting
    Replies: 3
    Last Post: 09-30-2009, 12:47 AM
  4. Beginner Javascript Problem
    By Peve in forum Plugins Development
    Replies: 6
    Last Post: 09-19-2009, 09:51 PM
  5. 3D + Javascript + Your web browser
    By Kyrax in forum General Chat
    Replies: 4
    Last Post: 04-23-2009, 02:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •