mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision 68a256f49be380ca4add535ce8ece9de28820e6b
This commit is contained in:
parent
e54935c25a
commit
cd5bf022bd
178 changed files with 6082 additions and 795 deletions
|
@ -20,12 +20,12 @@ let internal = {
|
|||
};
|
||||
|
||||
// Converts an ECMAScript String object to an instance of
|
||||
// mojo.common.mojom.String16.
|
||||
// mojo_base.mojom.String16.
|
||||
function mojoString16ToString(string16) {
|
||||
return String.fromCharCode.apply(null, string16.data);
|
||||
}
|
||||
|
||||
// Converts an instance of mojo.common.mojom.String16 to an ECMAScript String.
|
||||
// Converts an instance of mojo_base.mojom.String16 to an ECMAScript String.
|
||||
function stringToMojoString16(string) {
|
||||
let array = new Array(string.length);
|
||||
for (var i = 0; i < string.length; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue