Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make (dictionary)::empty() safe #21131

Merged
merged 1 commit into from Jul 6, 2018
Merged

Make (dictionary)::empty() safe #21131

merged 1 commit into from Jul 6, 2018

Commits on Jul 6, 2018

  1. 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.
    Manishearth committed Jul 6, 2018
You can’t perform that action at this time.