OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 (function() { | 5 (function() { |
6 | 6 |
7 'use strict'; | 7 'use strict'; |
8 | 8 |
9 module('base'); | 9 module('base'); |
10 | 10 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 /* Ѓ */ 0xD0, 0x83, | 318 /* Ѓ */ 0xD0, 0x83, |
319 /* ф */ 0xD1, 0x84]).buffer), | 319 /* ф */ 0xD1, 0x84]).buffer), |
320 "挂Ѓф"); | 320 "挂Ѓф"); |
321 | 321 |
322 // Unicode surrogate pair for U+1F603. | 322 // Unicode surrogate pair for U+1F603. |
323 QUnit.equal(base.decodeUtf8(new Uint8Array([0xF0, 0x9F, 0x98, 0x83]).buffer), | 323 QUnit.equal(base.decodeUtf8(new Uint8Array([0xF0, 0x9F, 0x98, 0x83]).buffer), |
324 "😃"); | 324 "😃"); |
325 }); | 325 }); |
326 | 326 |
327 })(); | 327 })(); |
OLD | NEW |