| Index: Source/core/html/URLUtils.idl
|
| diff --git a/Source/core/events/ResourceProgressEvent.idl b/Source/core/html/URLUtils.idl
|
| similarity index 66%
|
| copy from Source/core/events/ResourceProgressEvent.idl
|
| copy to Source/core/html/URLUtils.idl
|
| index 660b8b16105c9c679c70ecd0752df034cacb7716..99f07f6a146eba014e8850cd7755cec4296b781a 100644
|
| --- a/Source/core/events/ResourceProgressEvent.idl
|
| +++ b/Source/core/html/URLUtils.idl
|
| @@ -23,16 +23,29 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// ResourceProgressEvent is a non-standard class that is simply a ProgressEvent
|
| -// with an additional read-only "url" property containing a string URL. This is
|
| -// used by the Chromium NaCl integration to indicate to which resource the
|
| -// event applies. This is useful because the NaCl integration will download
|
| -// (and translate in the case of PNaCl) multiple binary files. It is not
|
| -// constructable by web content at all, and so does not provide the usual
|
| -// EventInit pattern for Event construction.
|
| [
|
| NoInterfaceObject,
|
| -] interface ResourceProgressEvent : ProgressEvent {
|
| - readonly attribute DOMString url;
|
| + ImplementedAs=DOMURLUtils
|
| +] interface URLUtils {
|
| + // Special case null for backwards compat with HTMLAnchorElement href.
|
| + // https://code.google.com/p/chromium/issues/detail?id=304959
|
| + [TreatNullAs=NullString] attribute DOMString href;
|
| +
|
| + [NotEnumerable] DOMString toString();
|
| +
|
| + readonly attribute DOMString origin;
|
| + attribute DOMString protocol;
|
| + attribute DOMString username;
|
| + attribute DOMString password;
|
| + attribute DOMString host;
|
| + attribute DOMString hostname;
|
| + attribute DOMString port;
|
| + attribute DOMString pathname;
|
| + attribute DOMString search;
|
| +
|
| + // Not yet implemented.
|
| + // attribute URLQuery? query;
|
| +
|
| + attribute DOMString hash;
|
| };
|
|
|
|
|