From 7356037856b14356c30f4f81ef57ab0831270d3a Mon Sep 17 00:00:00 2001 From: Goktug Gokdogan Date: Tue, 21 Jan 2025 11:34:34 -0800 Subject: [PATCH] Remove System.getProperty access to `goog.TRUSTED_SITE`. It is unlikely needed from any Java code and it is not available on open-source at the moment. PiperOrigin-RevId: 718003682 --- jre/java/java/lang/jre.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/jre/java/java/lang/jre.js b/jre/java/java/lang/jre.js index c5c5e680a7..38762536e2 100644 --- a/jre/java/java/lang/jre.js +++ b/jre/java/java/lang/jre.js @@ -61,8 +61,6 @@ jre.getSystemProperty = function(name, defaultValue = null) { jre.addSystemPropertyFromGoogDefine('COMPILED', String(COMPILED)); jre.addSystemPropertyFromGoogDefine('goog.DEBUG', String(goog.DEBUG)); jre.addSystemPropertyFromGoogDefine('goog.LOCALE', goog.LOCALE); -jre.addSystemPropertyFromGoogDefine( - 'goog.TRUSTED_SITE', String(goog.TRUSTED_SITE)); jre.addSystemPropertyFromGoogDefine( 'goog.FEATURESET_YEAR', String(goog.FEATURESET_YEAR));