aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/page.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2015-11-11 18:07:51 +0100
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2015-11-11 18:30:34 +0100
commite33330db4eb9d9187c98139aad732ff86ab9d828 (patch)
treeee8d659dc43438a7ade93342ea3ea43410f9397c /components/script/page.rs
parent75ecb67e62f2f6db5e71405f16813208e8d6274a (diff)
downloadservo-e33330db4eb9d9187c98139aad732ff86ab9d828.tar.gz
servo-e33330db4eb9d9187c98139aad732ff86ab9d828.zip
Implement WebIDL sequence return value using `JS_NewArrayObject1`
This commits changes the creation of the array to use the length, and sets the elements later. Reference implementation: https://github.com/mozilla/gecko-dev/blob/07ed19e582faf40f5f72567169db62452f6c6dc9/js/xpconnect/public/nsTArrayHelpers.h#L16
Diffstat (limited to 'components/script/page.rs')
0 files changed, 0 insertions, 0 deletions