| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // crbug.com/493908 | 36 // crbug.com/493908 |
| 37 // static USVString domainToASCII(USVString domain); | 37 // static USVString domainToASCII(USVString domain); |
| 38 // static USVString domainToUnicode(USVString domain); | 38 // static USVString domainToUnicode(USVString domain); |
| 39 | 39 |
| 40 // TODO(philipj): This should be in a partial interface definition: | 40 // TODO(philipj): This should be in a partial interface definition: |
| 41 // File API | 41 // File API |
| 42 // https://w3c.github.io/FileAPI/#creating-revoking | 42 // https://w3c.github.io/FileAPI/#creating-revoking |
| 43 // TODO(philipj): The return type should not be nullable. | 43 // TODO(philipj): The return type should not be nullable. |
| 44 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU
RL(Blob blob); | 44 [RaisesException, CallWith=ExecutionContext] static DOMString? createObjectU
RL(Blob blob); |
| 45 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); | 45 [CallWith=ExecutionContext] static void revokeObjectURL(DOMString url); |
| 46 |
| 47 stringifier attribute USVString href; |
| 48 readonly attribute USVString origin; |
| 49 |
| 50 attribute USVString protocol; |
| 51 attribute USVString username; |
| 52 attribute USVString password; |
| 53 attribute USVString host; |
| 54 attribute USVString hostname; |
| 55 attribute USVString port; |
| 56 attribute USVString pathname; |
| 57 attribute USVString search; |
| 46 readonly attribute URLSearchParams searchParams; | 58 readonly attribute URLSearchParams searchParams; |
| 59 attribute USVString hash; |
| 47 }; | 60 }; |
| 48 | |
| 49 URL implements URLUtils; | |
| OLD | NEW |