|
Hi Hena,
The differences are..
Settings
Firstly, Firefox has an advanced window for JavaScript Settings through which the permissions for JavaScript can be configured. Mozilla Firefox has more security locks as compared to IE (supported by JavaScript).
Features
The latest IE version in use (IE 8 ) boasts of better comprehensive developer tools that are built-in like HTML, CSS and tools for JavaScript editing and JavaScript profiling. But for other browsers such as Firefox, these tools need to be downloaded separately.
While Internet Explorer supports only the common standards used by websites; Firefox supports emerging standards like HTML5 and CSS3 as well.
Date Function
According to the ECMAScript specification followed by JavaScript, the method of getFullYear() (earlier getYear) is not compliant with Y2K. In Internet Explorer, this was changed to getFullYear() while Firefox retained the older method.
Debugging
Since Firefox came after IE, so it had solutions for many problems that plagued the former IE versions. One of these is the debugging option with Firefox browser, which solves many problems related to IE applications by an advanced console that even lets you evaluate the JavaScript. The coding for this is easily available on the internet.
Generating HTML
JavaScript can easily generate HTML from a string using the document.write function. Now if the document is in the SR mode (strict rendering), then parsing of the </script> tag takes place within the string and the Firefox’s parser will keep parsing till the closing tag is found for the <script> tag. This happens as the parser in the strict mode is not familiar with JavaScript but in quirks mod, the parser is aware of this. In Internet Explorer, none of this happens because it stays in quirks mode at all times due to its non-supporting feature for true XHTML.
Feature Differences in Current Versions
IE version 8.0 has remarkable improvements and support for JavaScript but it still scores only 20 out of 100 on the Acid3 test. Accelerators and WebSlices are supported for navigation and subscription features. Some other notable features include InPrivate privacy and filter for SmartScreen phishing.
removed
Last edited by chrishirst; 09-17-2010 at 07:44 PM..
|