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

Issue 1902683003: Rename URLUtils interface as HTMLHyperlinkElementUtils and update. (Closed)

Created:
4 years, 8 months ago by sof
Modified:
4 years, 8 months ago
Reviewers:
philipj_slow, Mike West
CC:
chromium-reviews, blink-reviews-html_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename URLUtils interface as HTMLHyperlinkElementUtils and update. Follow the HTML spec for HTMLAnchorElement + HTMLAreaElement, and have them implement the [NoInterfaceObject] HTMLHyperlinkElementUtils interface, rather than the previous URLUtils which has now been retired / divided up. The other implementation of URLUtils, URL, now define the attributes directly (with the addition of a searchParams getter.) Update its IDL also. R= BUG=604644 Committed: https://crrev.com/40ebec288b976477aaa318b26899dc08f5b15426 Cr-Commit-Position: refs/heads/master@{#388209}

Patch Set 1 #

Patch Set 2 : sort IDLs #

Patch Set 3 : re-add toString() non-enumerable; needed #

Total comments: 3

Patch Set 4 : keep toString()s as non-enumerable for now #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -51 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/URL.idl View 1 2 3 1 chunk +22 lines, -1 line 3 comments Download
D third_party/WebKit/Source/core/dom/URLUtils.idl View 1 chunk +0 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAnchorElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAreaElement.idl View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
sof
please take a look. No web-facing changes here (at least that's the intent/expectation), but move ...
4 years, 8 months ago (2016-04-19 09:59:18 UTC) #2
sof
https://codereview.chromium.org/1902683003/diff/40001/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl File third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl (right): https://codereview.chromium.org/1902683003/diff/40001/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl#newcode11 third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl:11: [NotEnumerable, ImplementedAs=href] USVString toString(); I can't say I understand ...
4 years, 8 months ago (2016-04-19 10:01:31 UTC) #3
sof
https://codereview.chromium.org/1902683003/diff/40001/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl File third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl (right): https://codereview.chromium.org/1902683003/diff/40001/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl#newcode11 third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl:11: [NotEnumerable, ImplementedAs=href] USVString toString(); On 2016/04/19 10:01:31, sof wrote: ...
4 years, 8 months ago (2016-04-19 11:05:15 UTC) #5
sof
https://codereview.chromium.org/1902683003/diff/40001/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl File third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl (right): https://codereview.chromium.org/1902683003/diff/40001/third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl#newcode11 third_party/WebKit/Source/core/html/HTMLHyperlinkElementUtils.idl:11: [NotEnumerable, ImplementedAs=href] USVString toString(); On 2016/04/19 11:05:15, sof wrote: ...
4 years, 8 months ago (2016-04-19 11:52:00 UTC) #7
philipj_slow
lgtm https://codereview.chromium.org/1902683003/diff/60001/third_party/WebKit/Source/core/dom/URL.idl File third_party/WebKit/Source/core/dom/URL.idl (right): https://codereview.chromium.org/1902683003/diff/60001/third_party/WebKit/Source/core/dom/URL.idl#newcode47 third_party/WebKit/Source/core/dom/URL.idl:47: // TODO(sof): 'stringifier' entails an enumerable toString(), There ...
4 years, 8 months ago (2016-04-19 12:40:00 UTC) #8
sof
https://codereview.chromium.org/1902683003/diff/60001/third_party/WebKit/Source/core/dom/URL.idl File third_party/WebKit/Source/core/dom/URL.idl (right): https://codereview.chromium.org/1902683003/diff/60001/third_party/WebKit/Source/core/dom/URL.idl#newcode47 third_party/WebKit/Source/core/dom/URL.idl:47: // TODO(sof): 'stringifier' entails an enumerable toString(), On 2016/04/19 ...
4 years, 8 months ago (2016-04-19 12:46:03 UTC) #9
philipj_slow
https://codereview.chromium.org/1902683003/diff/60001/third_party/WebKit/Source/core/dom/URL.idl File third_party/WebKit/Source/core/dom/URL.idl (right): https://codereview.chromium.org/1902683003/diff/60001/third_party/WebKit/Source/core/dom/URL.idl#newcode47 third_party/WebKit/Source/core/dom/URL.idl:47: // TODO(sof): 'stringifier' entails an enumerable toString(), On 2016/04/19 ...
4 years, 8 months ago (2016-04-19 12:52:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902683003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902683003/60001
4 years, 8 months ago (2016-04-19 13:33:09 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-19 15:20:32 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:12:20 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/40ebec288b976477aaa318b26899dc08f5b15426
Cr-Commit-Position: refs/heads/master@{#388209}

Powered by Google App Engine
This is Rietveld 408576698