aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl_extensions
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-07-06 11:14:44 -0700
committerManish Goregaokar <manishsmail@gmail.com>2018-07-06 13:10:56 -0700
commitcceaede96a18e67d93c087d6d499f27eda022025 (patch)
treeb996f245a09434a0bd4f69e3e13c2e531885a950 /components/script/dom/webgl_extensions
parentc90737e6c8b9436919706f9490ba6d05492b7121 (diff)
downloadservo-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