diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2018-07-06 11:14:44 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-07-06 13:10:56 -0700 |
commit | cceaede96a18e67d93c087d6d499f27eda022025 (patch) | |
tree | b996f245a09434a0bd4f69e3e13c2e531885a950 /components/script/dom/webgl_extensions | |
parent | c90737e6c8b9436919706f9490ba6d05492b7121 (diff) | |
download | servo-cceaede96a18e67d93c087d6d499f27eda022025.tar.gz servo-cceaede96a18e67d93c087d6d499f27eda022025.zip |
Make (dictionary)::empty() safe
It currently works by constructing from null (which will throw a runtime
error if there are non-defaultable members).
This changes it so that we no longer need a JSContext to construct this,
so it can be safely constructed. In the case of non-defaultable members,
this method simply does not exist.
Diffstat (limited to 'components/script/dom/webgl_extensions')
0 files changed, 0 insertions, 0 deletions