Hello there!

I am wondering if anyone (especially from the Qt team who ported the webkit to 
Qt4.6) has any pointers or idea about this issue I am seeing on QtLauncher.  
When a prompt is issued using Javascript and the user presses  OK without 
entering anything in the text input box (leaving the default unchanged), then 
the following test should pass, it fails with Qt4.6 + webkit trunk using 
QtLauncher, but passes on safari 4.x.

-------------------

<script type="text/ecmascript">

var RESULTS = "ERROR";
var msg = "Accept this message without changing the default value:";
var retVal = prompt(msg);
if((retVal=="undefined")||(retVal=="")) RESULTS="SUCCESS" ;

</script>
-------------------
It seems like the encoding of "undefined" string in the JSValue object is 
incorrect and the IsUndefinedOrNull() check is failing.

Any pointers are greatly appreciated.

Thanks
Manish

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to