URL.idl 578 B

1234567891011121314151617181920
  1. #import <URL/URLSearchParams.idl>
  2. interface URL {
  3. constructor(USVString url, optional USVString base);
  4. stringifier attribute USVString href;
  5. readonly attribute USVString origin;
  6. attribute USVString protocol;
  7. attribute USVString username;
  8. attribute USVString password;
  9. attribute USVString host;
  10. attribute USVString hostname;
  11. attribute USVString port;
  12. attribute USVString pathname;
  13. attribute USVString search;
  14. [SameObject] readonly attribute URLSearchParams searchParams;
  15. attribute USVString hash;
  16. USVString toJSON();
  17. };