Strip out more characters when creating permalinks
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jun 2018 17:40:42 +0000 (17:40 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jun 2018 17:40:42 +0000 (17:40 +0000)
commit755e66bd4988ab4a79c152e0aa9265f8892839f5
tree0565b19b52c77523d574fb027566a288d0c597f5
parentb6221b23cffc8f9c245a671e46f4cfe8cad33bde
Strip out more characters when creating permalinks
https://bugs.webkit.org/show_bug.cgi?id=186259

Reviewed by Said Abou-Hallawa.

Tests and suites may have names that make permalinks to the tests less readable when
shared. Expand the set of characters that are stripped out of the names.

* MotionMark/resources/debug-runner/motionmark.js: Refactor to call
stripUnwantedCharactersForURL. For existing links, decode the suite and test names.
* MotionMark/resources/extensions.js:
(Utilities.stripUnwantedCharactersForURL): Rename from stripNonASCIICharacters.
Remove any non-alphanumeric character.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/MotionMark/resources/debug-runner/motionmark.js
PerformanceTests/MotionMark/resources/extensions.js