Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-supports.html |
| diff --git a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-supports.html b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-supports.html |
| index 025c9ffb8525bbefdc2451fc4e72e9a159a1762d..2a0437ae7ad4004e0e216aac589172390d96fb79 100644 |
| --- a/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-supports.html |
| +++ b/third_party/WebKit/LayoutTests/virtual/threaded/fast/compositorworker/compositor-proxy-supports.html |
| @@ -38,5 +38,10 @@ test(function() { |
| assert_false(proxy.supports('scrollTopa')); |
| assert_false(proxy.supports('あ')); |
| + |
| + // This is a hack to get a 16-bit string for a supported property. |
|
esprehn
2015/12/30 18:31:30
Our strings should select the latin1 storage for a
|
| + var transform16 = new TextDecoder('utf-16').decode(new TextEncoder('utf-16').encode('transform')); |
| + assert_true(transform16 === 'transform'); |
| + assert_true(proxy.supports(transform16)); |
| }, "This test ensures that supports correctly handles queries with strings that a prefix of a property or vice versa."); |
| </script> |