Skip to content

Commit

Permalink
Tests, Encode: btoa doesn't throw DOMException in IE for multibyte st…
Browse files Browse the repository at this point in the history
…rings.
  • Loading branch information
Davit Barbakadze committed Aug 26, 2017
1 parent 38faa14 commit 3b3cee4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/auto/Utils/Encode.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@

// #111
test("unicode in btoa()", function(assert) {

try {
o.btoa('你好,世界');
assert.ok(false, "DOMException is thrown when running btoa on multi-byte string.");
} catch (ex) {
assert.ok(true, "DOMException is thrown when running btoa on multi-byte string.");
}

assert.equal(o.btoa('你好,世界', true), "5L2g5aW977yM5LiW55WM",
"Multi-byte string properly encoded with second argument set to true.");
});
Expand Down

0 comments on commit 3b3cee4

Please sign in to comment.