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.

Recommended Videos

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.”

Please enable Javascript to view this content

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.

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…
Everything Apple announced at WWDC 2024: iOS 18, AI, and more
Apple logo for WWDC 2024.

It's that time of year once again! It's time for Apple's Worldwide Developer Conference -- also known as WWDC. WWDC is home to some of Apple's most important announcements of the year, typically revolving around new software updates for its devices.

WWDC 2024 is no different. This year's show is arguably one of the biggest and most important for Apple in years. With iOS, iPadOS, watchOS, and more updates, there's a lot to take in. Lucky for you, we're rounding up all the announcements here.

Read more
iOS 18 is official. Here’s how it’s going to change your iPhone forever
Screenshots of new features in iOS 18.

It’s been a long time coming, but it’s finally here: iOS 18 has just been announced at Apple’s Worldwide Developers Conference (WWDC) 2024 keynote. And, like the rumors have been saying, this is a very big, juicy update for your iPhone.

There's been a lot of anticipation for iOS 18. Rumors and leaks for the new update have been particularly intense this year, more so than iOS 17 rumors last year. So, was the hype worth it? Here's what's coming to your iPhone with iOS 18.
Home screen changes

Read more
Apple just announced iPadOS 18. Here are the most exciting features
Home Screen of the M4 iPad Pro.

Apple’s Worldwide Developer Conference (WWDC) started today. This annual event is one of the biggest for Apple of the entire year, giving us an early look at the company's next software updates for its biggest products.

One of the many announcements at WWDC 2024 was iPadOS 18 — the next major software update for the iPad. The upcoming iPadOS 18 has a lot in common with iOS 18, and when it arrives on your iPad later this year, it'll be chock-full of new features for you to check out. Here's what's new.
Home screen, apps, and control center updates

Read more