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

url: add ToObject method to native URL class #12056

Closed
wants to merge 2 commits into from

Commits on Mar 27, 2017

  1. url: add ToObject method to native URL class

    Provides a factory method to convert a native URL class
    into a JS URL object.
    
    ```c++
    Environment* env = ...
    
    URL url("http://example.org/a/b/c?query#fragment");
    
    MaybeLocal<Value> val = url.ToObject(env);
    ```
    jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    f5ceefa View commit details
    Browse the repository at this point in the history
  2. Address feedback

    jasnell committed Mar 27, 2017
    Configuration menu
    Copy the full SHA
    81236ed View commit details
    Browse the repository at this point in the history