Skip to content

Commit cfbd330

Browse files
committed
Remove non-inclusive language from JetStream 2.0
https://bugs.webkit.org/show_bug.cgi?id=220109 Reviewed by Anders Carlsson. * JetStream2/code-load/inspector-payload.js: (WebInspector.DOMNode.WebInspector.Resource.WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.styleFormatter): (WebInspector.DOMNode.WebInspector.Resource.WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.isAllowlistedProperty): (WebInspector.DOMNode.WebInspector.Resource.WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.isWhitelistedProperty): Deleted. * JetStream2/web-tooling-benchmark/cli.js: Canonical link: https://commits.webkit.org/232723@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 8a105e2 commit cfbd330

4 files changed

Lines changed: 57 additions & 44 deletions

File tree

PerformanceTests/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2021-01-03 Beth Dakin <bdakin@apple.com>
2+
3+
Remove non-inclusive language from JetStream 2.0
4+
https://bugs.webkit.org/show_bug.cgi?id=220109
5+
6+
Reviewed by Anders Carlsson.
7+
8+
* JetStream2/code-load/inspector-payload.js:
9+
(WebInspector.DOMNode.WebInspector.Resource.WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.styleFormatter):
10+
(WebInspector.DOMNode.WebInspector.Resource.WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.isAllowlistedProperty):
11+
(WebInspector.DOMNode.WebInspector.Resource.WebInspector.ConsoleMessageView.prototype._formatWithSubstitutionString.isWhitelistedProperty): Deleted.
12+
* JetStream2/web-tooling-benchmark/cli.js:
13+
114
2020-12-17 Said Abou-Hallawa <said@apple.com>
215

316
[MotionMark] Increase the warm-up time for each sub-test from 100ms to 1000ms

PerformanceTests/JetStream2/code-load/inspector-payload.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5809,9 +5809,9 @@ function floatFormatter(obj,token)
58095809
function integerFormatter(obj)
58105810
{let value=typeof obj.value==="number"?obj.value:obj.description;return String.standardFormatters.d(value);}
58115811
var currentStyle=null;function styleFormatter(obj)
5812-
{currentStyle={};var buffer=document.createElement("span");buffer.setAttribute("style",obj.description);for(var i=0;i<buffer.style.length;i++){var property=buffer.style[i];if(isWhitelistedProperty(property))
5812+
{currentStyle={};var buffer=document.createElement("span");buffer.setAttribute("style",obj.description);for(var i=0;i<buffer.style.length;i++){var property=buffer.style[i];if(isAllowlistedProperty(property))
58135813
currentStyle[property]=buffer.style[property];}}
5814-
function isWhitelistedProperty(property)
5814+
function isAllowlistedProperty(property)
58155815
{for(var prefix of["background","border","color","font","line","margin","padding","text"]){if(property.startsWith(prefix)||property.startsWith("-webkit-"+prefix))
58165816
return true;}
58175817
return false;}

PerformanceTests/JetStream2/web-tooling-benchmark/browser.js

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

PerformanceTests/JetStream2/web-tooling-benchmark/cli.js

Lines changed: 19 additions & 19 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)