Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.html |
index 2ed5424da06aab9897b1d65e5d9fe88a31ca9e53..47e17da3477077b0bc960e273c0f7268a3bdf90f 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.html |
@@ -6,9 +6,9 @@ |
<script src="../../../resources/bluetooth/web-bluetooth-test.js"></script> |
<script> |
promise_test(() => { |
- let valid_unicode_name = generate_string( |
- 9, '\u2764'); // \u2764's UTF-8 representation is 3 bytes long. |
- // 9 chars * 3 bytes/char = 27 bytes |
+ // \u2764's UTF-8 representation is 3 bytes long. |
+ // 9 chars * 3 bytes/char = 27 bytes |
+ let valid_unicode_name = '\u2764'.repeat(9); |
return setUpPreconnectedDevice({name: valid_unicode_name}) |
.then(() => requestDeviceWithKeyDown({ |
filters: [{name: valid_unicode_name}]})) |