Facebook Has Announced Its First API Contribution To Google Chrome Browser
Dhir Acharya - Apr 25, 2019
The world leading social network Facebook has announced that it’s using API to help Google Chrome users browse faster and more smoothly
- What Is Google Chrome Helper And How To Disable It
- Instagram Launches A Lite Version For Users In Rural And Remote Areas
- Australia Passed New Law That Requires Facebook And Google To Pay For News Content
The world-leading social network Facebook has announced that it’s using API to help Google Chrome users browse faster and more smoothly by reducing the time between a keystroke or a click and the response of the browser.
In computer programming, API (Application Programming Interface) is a set of procedures and functions supporting application creation. API then access data or features which are part of an app, operating system, or other services.
Chrome 74 will be the first to trial this new system. Particularly, the JavaScript engine of a browser deals with the way code is executed and the time it stops for a moment to detect any pending input events that it needs to react to. However, modern JavaScript engines are single-threaded which means they can do only one thing at a time.
As per the team explanation, to fix this problem, they break the JavaScript into smaller blocks. When the page is loading, they run JavaScript for a bit, then yield and give back the control to the browser. Then, the browser can check the queue of input events for anything it has to inform the page. The browser then goes back to running the blocks.
This process takes a lot of time, causing the page to load slower, but checking for inputs at slower intervals degrades user experience as makes the browser respond slower. So Facebook engineers made the isInputPending API to get rid of this trade-off.
According to Facebook software engineers Andrew Comminos and Nate Schloss in a Monday blog post:
By contributing its own API to help improve the Chrome browser, Facebook has marked the new method to develop web standards at the firm. As in the post, now, the “isInputPending” API is part of Facebook’s larger effort in building scheduling primitives into the network.
The social giant would put its new API into trials on Chrome to test among developers who want to get rid of queuing delays as well as strengthen loading and interaction performance. Comminos and Schloss said that they hope to keep driving new APIs as well as to further contribute to open source web browsers.
Featured Stories

ICT News - Apr 09, 2025
Experts Say Trump's Call for US-Made iPhones Could Triple Prices

ICT News - Apr 08, 2025
How Would US Tariff Affect Tech Prices in India?

ICT News - Feb 26, 2025
Elon Musk's Federal Workforce Overhaul: AI Takes the Helm

ICT News - Feb 26, 2025
Will AI Kill Coding Jobs? The Truth Might Surprise You

ICT News - Feb 25, 2025
Not Radiation: What Is Causing the Strange Genetic Evolution of Chernobyl’s Dogs?

ICT News - Feb 25, 2025
Google to Phase Out SMS-Based Authentication Codes

ICT News - May 17, 2022
3 Reasons your privacy gets compromised online

ICT News - May 11, 2022
Apple Devices For Sale

ICT News - Apr 12, 2022
Pin-Up Review India 2022

ICT News - Mar 29, 2022
Comments
Sort by Newest | Popular