aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmetaelement.rs
diff options
context:
space:
mode:
authorConnor Brewster <connor.brewster@eagles.oc.edu>2017-06-08 23:37:56 -0600
committerConnor Brewster <connor.brewster@eagles.oc.edu>2017-08-08 08:46:35 -0600
commitd8510baa29ebff55040ac684c357c65ba0748d64 (patch)
treeaaa7e6fcebbbe1b0b6f3903d5a94e9ebf2e6e6fe /components/script/dom/htmlmetaelement.rs
parent82de4c49f378aed7c9497ba6995020fa79dbf942 (diff)
downloadservo-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