Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: third_party/WebKit/Source/core/dom/URL.idl

Issue 1902683003: Rename URLUtils interface as HTMLHyperlinkElementUtils and update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep toString()s as non-enumerable for now Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 // TODO(sof): 'stringifier' entails an enumerable toString(),
philipj_slow 2016/04/19 12:40:00 There are a few cases of "[NotEnumerable] stringif
sof 2016/04/19 12:46:03 That alternative doesn't work I'm afraid with http
philipj_slow 2016/04/19 12:52:25 Acknowledged.
48 // http://heycam.github.io/webidl/#es-stringifier
49 // something URL currently doesn't provide. Switch it over to being
50 // enumerable (http://crbug.com/306606).
51 //
52 // Until that time, do not use 'stringifier'.
53 // stringifier attribute USVString href;
54 attribute USVString href;
55 [NotEnumerable, ImplementedAs=href] USVString toString();
56
57 readonly attribute USVString origin;
58
59 attribute USVString protocol;
60 attribute USVString username;
61 attribute USVString password;
62 attribute USVString host;
63 attribute USVString hostname;
64 attribute USVString port;
65 attribute USVString pathname;
66 attribute USVString search;
46 readonly attribute URLSearchParams searchParams; 67 readonly attribute URLSearchParams searchParams;
68 attribute USVString hash;
47 }; 69 };
48 70
49 URL implements URLUtils;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/URLUtils.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698