[Webkit-unassigned] [Bug 10815] Exception Handling - Exceptions does not go into the catch block
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Sep 12 14:22:15 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10815
kem at apak.info changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at nypop.com
------- Comment #2 from kem at apak.info 2006-09-12 14:22 PDT -------
Hi Alexey,
Thanks for checking the bug. Unfortunately I tested the bug in the latest
version of the WebKit and it did not work. I am attaching my complete HTML
prototype code. I am expection to get an exception. The code never goes into
the catch block. Here is the code. Please let me know if I am missing
something.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Exception Handling Bug Demo in WebKit</title>
<script type="text/javascript" language="javascript">
/**
* This method is used to load 3rd party scripts.
*
* @author Kem Apak
* @param uri The URI of the script file.
*/
function loadThirdPartyScript(uri) {
var scriptElement = document.createElement('script');
scriptElement.type = 'text/javascript';
scriptElement.language = 'javascript';
try {
scriptElement.src = uri;
document.getElementById('thirdPartyScriptContainer').appendChild(scriptElement);
} catch(exception) {
alert(exception);
}
}
</script>
</head>
<body>
<div id="thirdPartyScriptContainer"></div>
<script type="text/javascript" language="javascript">
loadThirdPartyScript('nonexistantScript.js');
</script>
</body>
</html>
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list