Google Chrome team to use racially neutral code

Google Chrome team will move away from words like “blacklist” and “whitelist”

Amid nationwide protests calling for action surrounding the prevalence of systemic racism in the US, the Google Chrome team will eliminate subtle forms of racism found within its code by moving away from using terms like “blacklist” and “whitelist."

Google Chrome, specifically the Chromium open-source project, included guidance within its official code style guide on how developers can go about writing racially neutral code.

The guide calls for Chrome and Chromium developers to avoid the words “blacklist” and “whitelist.” Instead, the guide encourages developers to begin using neutral terms like “blocklist” and “allowlist.”

“Each of us has the right to enjoy our experience and participate without fear of harassment, discrimination, or condescension, whether blatant or subtle,” the guide explains. 

One Chromium developer has already taken it upon themselves to submit a code change that would safely replace every possible instance of “blacklist” without negatively impacting any part of Google Chrome. The change would ultimately replace “blacklist” with the term “components/blocklist.” Should the code be accepted by the Google Chrome team, it would replace over 2,000 references to the word.

Google first started swapping out the term “blacklist” in favor of the term “blocklist” in May 2018. To do so, Google removed all user-facing instances of the term in Chrome. Chrome’s internal code, however, still has many references to blacklists, with an entire section of code currently called “components/blacklist.”

While terms such as “blacklist” and “whitelist” may not seem racially charged, particularly as they relate to code, they inadvertently reinforce the idea that black is bad and white is good. “That Word Black” a short story written by Langston Hughes illustrates this problem in a pointed way simply by asking, "What is wrong with black?"

Featured Resources

How to choose an AI vendor

Five key things to look for in an AI vendor

Download now

The UK 2020 Databerg report

Cloud adoption trends in the UK and recommendations for cloud migration

Download now

2021 state of email security report: Ransomware on the rise

Securing the enterprise in the COVID world

Download now

The impact of AWS in the UK

How AWS is powering Britain's fastest-growing companies

Download now

Recommended

How to take a screenshot in Chrome
web browser

How to take a screenshot in Chrome

14 Jun 2021
Futurex‌ ‌and Google enable‌ ‌client-side‌ ‌Google‌ ‌Workspace encryption‌
Google Docs

Futurex‌ ‌and Google enable‌ ‌client-side‌ ‌Google‌ ‌Workspace encryption‌

14 Jun 2021
How to share your Google Calendar
email providers

How to share your Google Calendar

11 Jun 2021
Google to run Firmina subsea cable between US and Argentina
Network & Internet

Google to run Firmina subsea cable between US and Argentina

10 Jun 2021

Most Popular

GitHub to prohibit code that’s used in active attacks
cyber security

GitHub to prohibit code that’s used in active attacks

7 Jun 2021
WWDC 2021: Apple unveils iOS 15, macOS Monterey and more
iOS

WWDC 2021: Apple unveils iOS 15, macOS Monterey and more

8 Jun 2021
OnePlus 9 Pro review: An instant cult classic
Hardware

OnePlus 9 Pro review: An instant cult classic

7 Jun 2021