Microsoft’s new browser, Edge, has a new rendering engine, EdgeHTML. Like Edge, the new rendering engine is only available in Windows 10, but it does more than just power the company’s new browser: It’s also readily available to developers. To show off what EdgeHTML can do, Microsoft has built a browser using predominantly JavaScript, HTML, and CSS. Next, the company released the app on the Windows Store and the sample code on GitHub.
In short, any developer can create a Universal Windows Platform (UWP) app that leverages EdgeHTML via the WebView control. Microsoft built this one in Visual Studio 2015, specifically taking advantage of the new ECMAScript 2015 (ES2015) support in Chakra, the JavaScript engine behind Microsoft Edge and the WebView control.
Here’s the boringly named JavaScript Browser in action:
AI Weekly
The must-read newsletter for AI and Big Data industry written by Khari Johnson, Kyle Wiggers, and Seth Colaner.
Included with VentureBeat Insider and VentureBeat VIP memberships.
The browser includes forward and back buttons, refresh and stop buttons, favorites and settings menus, a favicon and address bar, keyboard shortcuts, full-screen mode, favorites management, and responsive design. It’s quite impressive, though the team also mentioned key missing features: support for right-click, inking, theming, and even tabs.
Microsoft explained how it packed so many features in:
The crux of the functionality stems around the powerful WebView control. Offering a comprehensive set of APIs, it overcomes several of the limitations which encumber iframes, such as framebusting sites and document loading events. Additionally, the x-ms-webview, how one declares a WebView in HTML, provides new functionality that is not possible with an iframe, such as better access to local content and the ability to take screenshots. When you use the WebView control, you get the same web platform that powers Microsoft Edge.
Unfortunately, Microsoft didn’t say how long, or how many developers, it took to build this proof-of-concept browser. That said, the team is asking anyone who might be interested in the project to report issues and contribute code.
VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn More