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

Issue 228783007: rAc: make requestAutocomplete() return a promise. (Closed)

Created:
6 years, 8 months ago by Dan Beam
Modified:
4 years, 4 months ago
Reviewers:
tkent, esprehn, yhirano
CC:
blink-reviews, watchdog-blink-watchlist_google.com, dglazkov+blink, arv+blink, adamk+blink_chromium.org, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

rAc: make requestAutocomplete() return a promise. See whatwg@ thread for more details: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2014-April/254142.html R=esprehn@chromium.org,tkent@chromium.org BUG=343630

Patch Set 1 : merge #

Total comments: 6

Patch Set 2 : +WithContext & test refactor #

Total comments: 5

Patch Set 3 : merged with yhirano@'s patch #

Total comments: 2

Patch Set 4 : shuffle shuffle #

Patch Set 5 : merge upstream #

Total comments: 5

Patch Set 6 : copyright #

Patch Set 7 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -53 lines) Patch
M LayoutTests/fast/forms/form-request-autocomplete.html View 1 3 chunks +98 lines, -25 lines 0 comments Download
M LayoutTests/fast/forms/form-request-autocomplete-expected.txt View 1 1 chunk +12 lines, -2 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
A Source/core/dom/AutocompleteError.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
A Source/core/dom/AutocompleteError.cpp View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A Source/core/dom/AutocompleteError.idl View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M Source/core/dom/DOMException.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFormElement.h View 1 4 chunks +7 lines, -2 lines 0 comments Download
M Source/core/html/HTMLFormElement.cpp View 1 2 3 3 chunks +80 lines, -21 lines 0 comments Download
M Source/core/html/HTMLFormElement.idl View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
Dan Beam
6 years, 8 months ago (2014-04-17 02:14:32 UTC) #1
tkent
yhirano, can you review Promise-releated code?
6 years, 8 months ago (2014-04-17 02:48:16 UTC) #2
tkent
https://chromiumcodereview.appspot.com/228783007/diff/170001/Source/core/html/HTMLFormElement.h File Source/core/html/HTMLFormElement.h (right): https://chromiumcodereview.appspot.com/228783007/diff/170001/Source/core/html/HTMLFormElement.h#newcode187 Source/core/html/HTMLFormElement.h:187: WillBePersistentHeapVector<OwnPtrWillBeMember<AutocompleteRequest> > m_finishedAutocompleteRequests; This should be |Vector<OwnPtr<AutocompleteRequest>>| because AutomcompleteRequest ...
6 years, 8 months ago (2014-04-17 02:51:40 UTC) #3
yhirano
https://codereview.chromium.org/228783007/diff/170001/LayoutTests/fast/forms/form-request-autocomplete.html File LayoutTests/fast/forms/form-request-autocomplete.html (right): https://codereview.chromium.org/228783007/diff/170001/LayoutTests/fast/forms/form-request-autocomplete.html#newcode24 LayoutTests/fast/forms/form-request-autocomplete.html:24: checkPromiseRejects(); Can you serialize the tests using Promises? Otherwise, ...
6 years, 8 months ago (2014-04-17 10:57:48 UTC) #4
Dan Beam
https://codereview.chromium.org/228783007/diff/170001/LayoutTests/fast/forms/form-request-autocomplete.html File LayoutTests/fast/forms/form-request-autocomplete.html (right): https://codereview.chromium.org/228783007/diff/170001/LayoutTests/fast/forms/form-request-autocomplete.html#newcode24 LayoutTests/fast/forms/form-request-autocomplete.html:24: checkPromiseRejects(); On 2014/04/17 10:57:48, yhirano wrote: > Can you ...
6 years, 8 months ago (2014-04-17 23:02:03 UTC) #5
yhirano
https://codereview.chromium.org/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp File Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp#newcode127 Source/core/html/HTMLFormElement.cpp:127: NewScriptState::Scope scope(m_resolver->scriptState()); On 2014/04/17 23:02:04, Dan Beam wrote: > ...
6 years, 8 months ago (2014-04-18 07:32:33 UTC) #6
Dan Beam
https://codereview.chromium.org/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp File Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp#newcode127 Source/core/html/HTMLFormElement.cpp:127: NewScriptState::Scope scope(m_resolver->scriptState()); On 2014/04/18 07:32:33, yhirano wrote: > On ...
6 years, 8 months ago (2014-04-18 21:33:07 UTC) #7
yhirano
https://codereview.chromium.org/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp File Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp#newcode127 Source/core/html/HTMLFormElement.cpp:127: NewScriptState::Scope scope(m_resolver->scriptState()); On 2014/04/18 21:33:07, Dan Beam wrote: > ...
6 years, 8 months ago (2014-04-21 09:31:31 UTC) #8
Dan Beam
https://chromiumcodereview.appspot.com/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp File Source/core/html/HTMLFormElement.cpp (right): https://chromiumcodereview.appspot.com/228783007/diff/220001/Source/core/html/HTMLFormElement.cpp#newcode127 Source/core/html/HTMLFormElement.cpp:127: NewScriptState::Scope scope(m_resolver->scriptState()); On 2014/04/21 09:31:32, yhirano wrote: > On ...
6 years, 8 months ago (2014-04-22 00:43:53 UTC) #9
yhirano
https://codereview.chromium.org/228783007/diff/270001/Source/core/html/HTMLFormElement.cpp File Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/228783007/diff/270001/Source/core/html/HTMLFormElement.cpp#newcode133 Source/core/html/HTMLFormElement.cpp:133: m_resolver->reject(ScriptValue(error, isolate)); Please call resolve or reject out of ...
6 years, 8 months ago (2014-04-22 02:03:36 UTC) #10
Dan Beam
https://codereview.chromium.org/228783007/diff/270001/Source/core/html/HTMLFormElement.cpp File Source/core/html/HTMLFormElement.cpp (right): https://codereview.chromium.org/228783007/diff/270001/Source/core/html/HTMLFormElement.cpp#newcode133 Source/core/html/HTMLFormElement.cpp:133: m_resolver->reject(ScriptValue(error, isolate)); On 2014/04/22 02:03:37, yhirano wrote: > Please ...
6 years, 8 months ago (2014-04-23 01:21:03 UTC) #11
yhirano
On 2014/04/23 01:21:03, Dan Beam wrote: > https://codereview.chromium.org/228783007/diff/270001/Source/core/html/HTMLFormElement.cpp > File Source/core/html/HTMLFormElement.cpp (right): > > https://codereview.chromium.org/228783007/diff/270001/Source/core/html/HTMLFormElement.cpp#newcode133 ...
6 years, 8 months ago (2014-04-23 05:13:16 UTC) #12
tkent
https://codereview.chromium.org/228783007/diff/330001/Source/core/dom/AutocompleteError.cpp File Source/core/dom/AutocompleteError.cpp (right): https://codereview.chromium.org/228783007/diff/330001/Source/core/dom/AutocompleteError.cpp#newcode1 Source/core/dom/AutocompleteError.cpp:1: /* Ditto. https://codereview.chromium.org/228783007/diff/330001/Source/core/dom/AutocompleteError.cpp#newcode37 Source/core/dom/AutocompleteError.cpp:37: : DOMException(0, "AutocompleteError") Is it ...
6 years, 8 months ago (2014-04-23 06:36:57 UTC) #13
tkent
https://codereview.chromium.org/228783007/diff/330001/Source/core/dom/AutocompleteError.cpp File Source/core/dom/AutocompleteError.cpp (right): https://codereview.chromium.org/228783007/diff/330001/Source/core/dom/AutocompleteError.cpp#newcode1 Source/core/dom/AutocompleteError.cpp:1: /* On 2014/04/23 06:36:57, tkent wrote: > Ditto. I ...
6 years, 8 months ago (2014-04-23 06:38:40 UTC) #14
Dan Beam
FYI: this is stalled as we figure out a behavior that works for everybody (whatwg@ ...
6 years, 7 months ago (2014-05-07 03:22:58 UTC) #15
yhirano
6 years, 4 months ago (2014-08-19 03:58:46 UTC) #16
Remove myself as a reviewer. Feel free to readd me if/when this comes alive
again.

Powered by Google App Engine
This is Rietveld 408576698