diff options
author | Connor Brewster <connor.brewster@eagles.oc.edu> | 2017-06-08 23:37:56 -0600 |
---|---|---|
committer | Connor Brewster <connor.brewster@eagles.oc.edu> | 2017-08-08 08:46:35 -0600 |
commit | d8510baa29ebff55040ac684c357c65ba0748d64 (patch) | |
tree | aaa7e6fcebbbe1b0b6f3903d5a94e9ebf2e6e6fe /components/script/dom/htmlmetaelement.rs | |
parent | 82de4c49f378aed7c9497ba6995020fa79dbf942 (diff) | |
download | servo-d8510baa29ebff55040ac684c357c65ba0748d64.tar.gz servo-d8510baa29ebff55040ac684c357c65ba0748d64.zip |
Unwrap function before calling IsConstructor
IsConstructor returns true for all wrappers that are callable. Wrapped
arrow functions are callable and thus IsConstructor will return true
if given one; however, if we unwrap the arrow function, IsConstructor
will return false. The latter is the correct behavior here.
Diffstat (limited to 'components/script/dom/htmlmetaelement.rs')
0 files changed, 0 insertions, 0 deletions