Skip to main content

Google makes Chrome for iOS open source

chrome on ios reading list browser mobile ipad search
pixinoo/123rf
Google’s Chrome browser on desktop has been open source almost since its inception — in 2008, the Mountain View, California-based company released a large portion of Chrome’s underlying code as an open-source project called Chromium, which it permitted third-party developers to study and use as they saw fit.

But that wasn’t the case for Chrome for iOS, which Google kept separate from the rest of the Chromium project due to “the additional complexity required for the platform.” On Tuesday, though, Google announced that the Chrome for iOS’s underlying code will be rejoining Chromium and will move into the open-source repository.

The challenge, apparently, involved working around the limitations of Apple’s iOS operating system. “Due to constraints of the iOS platform, all browsers must be built on top of the WebKit rendering engine,” Google’s Rohit Rao wrote. “For Chromium, this means supporting both WebKit as well as Blink, Chrome’s rendering engine for other platforms. That created some extra complexities which we wanted to avoid placing in the Chromium code base.”

Rao didn’t elaborate, but part of the problem likely stemmed from Apple’s restrictive policy regarding third-party browsers. The first iterations of Chrome for iOS were required to use the iOS WebKit framework and WebKit JavaScript — Safari’s rendering engine — instead of the Google’s desktop rendering engine. And they were forced to use a slow JavaScript engine while only Safari could use a faster JavaScript engine — Apple’s new Nitro JavaScript engine.

That policy changed mid-2014, though, when Apple began allowing browsers like Chrome to tap the Nitro JavaScript engine. Google quickly took advantage, adding the ability for iOS users to link directly to other iOS app when search queries yield a specific app as a result.

And earlier this year, it introduced a new version of Chrome for iOS with an improved rendering engine that crashes 70 percent less than the previous version and handles JavaScript code just as fast as Safari.

The open-source move is also the result of multi-year changes Google has made to the Chrome development process. “[Developers] can compile the iOS version of Chromium like they can for other versions of Chromium,” Rao wrote. “Development speed is also faster now that all of the tests for Chrome for iOS are available to the entire Chromium community and automatically run any time that code is checked in.”

The open-source code is available on Google Source, an open-source repository.

Editors' Recommendations

Kyle Wiggers
Former Digital Trends Contributor
Kyle Wiggers is a writer, Web designer, and podcaster with an acute interest in all things tech. When not reviewing gadgets…
Here are the 7 new emoji coming to your iPhone with iOS 18
2024 emoji.

It's that time of year again! The Unicode Consortium has released a preview of new emoji that will likely be included in a version of iOS 18 later this year or early next year. It will be up to Apple to officially add them to the next iOS, iPadOS, watchOS, macOS, and visionOS versions.

The new emoji announced today include ones for a sleepy face, fingerprint, leafless tree, vegetable root, harp, shovel, and splatter. The emoji examples provided by Unicode serve as starting points for Apple designers to create finished designs and are not the final images Apple will use. Google and other platform users will also work with these emoji as a starting point.

Read more
Google may finally merge Android and ChromeOS after all
FerroChrome preview on a Android phone

Chromebooks and Android devices have always remained two distinct platforms, but a new report suggests that Google might be interested in a closer integration in the future.

Android Authority reports that Google played around with running ChromeOS on a Pixel 8, perhaps as an additional feature for Android devices.

Read more
Everything announced at Google I/O 2024
Rose Yao on Google I/O 2024 stage.

Android, Wear OS, and Pixel may be Google's household names, but it was Google Gemini, its emerging AI technology, that stole the limelight at Google I/O 2024. The company's annual software celebration sets the stage for everything the company has planned for the coming year, and this year, CEO Sundar Pichai unambiguously declared that Google is in its "Gemini era." From AI searches in your Google Photos to virtual AI assistants that will work alongside you, Google is baking Gemini into absolutely everything, and the implications are enormous. Here's an overview of everything Google announced this year.
Gemini takeover

Users upload more than 6 billion photos to Google Photos every day, so it's little wonder that we could use a hand sifting through them all. Gemini will be added to Google Photos this summer, adding extra search abilities through the Ask Photos function. For instance, ask it "what's my license plate again" and it'll search through your photos to find the most likely answer, saving you from needing to manually look through your photos to find it yourself.

Read more