mirror of
https://github.com/servo/servo.git
synced 2025-08-01 11:40:30 +01:00
Treat 'undefined' passed to optional JS arguments as missing @frewsxcv please don't hurt me for this. I've added an AND condition to check whether the value being passed is undefined while checking whether the argument exists at all. Essentially, this is now treating undefined arguments the same as missing arguments. Fixes #8813. Fixes #6558. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8854) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
codegen | ||
callback.rs | ||
cell.rs | ||
conversions.rs | ||
error.rs | ||
global.rs | ||
inheritance.rs | ||
js.rs | ||
mod.rs | ||
num.rs | ||
proxyhandler.rs | ||
refcounted.rs | ||
reflector.rs | ||
str.rs | ||
structuredclone.rs | ||
trace.rs | ||
utils.rs | ||
weakref.rs | ||
xmlname.rs |