Why we need to test the website on different browsers ?
Every one know that we need to test the website on different browsers but in this blog post i will try to answer, why we the need to test the website on different browsers like Chrome,Firefox,Internet explorer (including Edge) ,Safari ,mobile browsers, etc.
All modern browsers are built based on browser engine and java script engine and these engines are different on each browser i.e the way CSS or content displayed on the website or the way java script is executed on the browser is different .Most of the browsers adhere to the standards but there may be a case where specific CSS is not supported or specific java script function is not supported on the specific browser so we need to verify the websites on all different browsers to make sure it works fine on all different browsers.Below charts explains the browser engines and java script engines used in the most popular browsers.
Below chart shows the JavaScript engine supported by different browsers.
All modern browsers are built based on browser engine and java script engine and these engines are different on each browser i.e the way CSS or content displayed on the website or the way java script is executed on the browser is different .Most of the browsers adhere to the standards but there may be a case where specific CSS is not supported or specific java script function is not supported on the specific browser so we need to verify the websites on all different browsers to make sure it works fine on all different browsers.Below charts explains the browser engines and java script engines used in the most popular browsers.
A web browser engine (sometimes called layout engine or rendering engine) is a software component that takes marked up content (such as HTML, XML, image files, etc.) and formatting information (such as CSS, XSL, etc.) and displays the formatted content on the screen.
Information about engines supported by browsers
Engine
|
Target application(s)
|
Blink
|
Google Chrome & Opera from 15.0
|
EdgeHTML
|
Edge
|
Gecko
|
Mozilla Firefox & Mozilla Thunderbird
|
WebKit
|
Apple Safari
|
Trident
|
Internet Explorer
|
JavaScriptCore performs a series of steps to interpret and optimize a script:
- It performs a lexical analysis, breaking down the source into a series of tokens, or strings with an identified meaning.
- The tokens are then analyzed by the parser for syntax and built into a syntax tree.
- Four JIT (just in time) processes then kick in, analyzing and executing the bytecode produced by the parser.
Below chart shows the JavaScript engine supported by different browsers.
Browser, Headless Browser, or Runtime
|
JavaScript Engine
|
Mozilla
|
Spidermonkey
|
Chrome
|
V8
|
Safari
|
JavaScriptCore/Nitro
|
IE and Edge
|
Chakra
|
PhantomJS
|
JavaScriptCore
|
HTMLUnit
|
Rhino
|
Node.js
|
V8
|
Ref: http://developer.telerik.com/featured/a-guide-to-javascript-engines-for-idiots/
https://en.wikipedia.org/wiki/Comparison_of_web_browser_engines
Comments
Post a Comment