| Index: third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js b/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js
|
| index 54920a14e6774c8c7ed389b5dc6ccfbecae64200..4bcd6cab3459f8df49ff32a35cfd1e9bd93e5a81 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js
|
| @@ -204,3 +204,10 @@ function assert_properties_equal(properties, expected_properties) {
|
| assert_equals(properties[key], expected_properties[key]);
|
| }
|
| }
|
| +
|
| +// Generates a string of size |size|.
|
| +function generate_string(size, char) {
|
| + // When passing an array of n undefined's to String the resulting string
|
| + // has size n - 1.
|
| + return char.repeat(size);
|
| +}
|
|
|