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

Issue 14759017: callTheAdoptionAgency should work asynchronously (Closed)

Created:
7 years, 7 months ago by abarth-chromium
Modified:
7 years, 7 months ago
Reviewers:
eseidel
CC:
blink-reviews, eseidel1, tonyg, inferno
Visibility:
Public.

Description

callTheAdoptionAgency should work asynchronously Rather than manipulating the DOM tree directly, HTMLTreeBuilder::callTheAdoptionAgency should indirect its modifications through the HTMLConstructionSite, which can use its task queue to make sure the operations occur in a consistent order and on a clean runtime stack. This CL is a followup to https://src.chromium.org/viewvc/blink?view=revision&revision=149823 that makes the rest of the operations in callTheAdoptionAgency asynchronous. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149849

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address reviewer comments #

Total comments: 1

Patch Set 3 : Use stronger code #

Patch Set 4 : Fixenate tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -29 lines) Patch
A LayoutTests/fast/parser/adoption-agency-crash-01.html View 1 chunk +6 lines, -0 lines 0 comments Download
A + LayoutTests/fast/parser/adoption-agency-crash-01-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A LayoutTests/fast/parser/adoption-agency-crash-02.html View 1 chunk +6 lines, -0 lines 0 comments Download
A + LayoutTests/fast/parser/adoption-agency-crash-02-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A LayoutTests/fast/parser/adoption-agency-crash-03.html View 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/parser/adoption-agency-crash-03-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/parser/HTMLConstructionSite.h View 1 2 3 chunks +16 lines, -0 lines 0 comments Download
M Source/core/html/parser/HTMLConstructionSite.cpp View 1 2 3 4 chunks +74 lines, -5 lines 0 comments Download
M Source/core/html/parser/HTMLTreeBuilder.cpp View 1 1 chunk +3 lines, -26 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
abarth-chromium
7 years, 7 months ago (2013-05-07 00:04:11 UTC) #1
eseidel
https://codereview.chromium.org/14759017/diff/1/Source/core/html/parser/HTMLConstructionSite.cpp File Source/core/html/parser/HTMLConstructionSite.cpp (right): https://codereview.chromium.org/14759017/diff/1/Source/core/html/parser/HTMLConstructionSite.cpp#newcode145 Source/core/html/parser/HTMLConstructionSite.cpp:145: ContainerNode* oldParent = static_cast<ContainerNode*>(task.child.get()); The only thing I would ...
7 years, 7 months ago (2013-05-07 00:11:37 UTC) #2
abarth-chromium
PTAL
7 years, 7 months ago (2013-05-07 00:47:58 UTC) #3
eseidel
lgtm https://codereview.chromium.org/14759017/diff/5001/Source/core/html/parser/HTMLConstructionSite.h File Source/core/html/parser/HTMLConstructionSite.h (right): https://codereview.chromium.org/14759017/diff/5001/Source/core/html/parser/HTMLConstructionSite.h#newcode61 Source/core/html/parser/HTMLConstructionSite.h:61: return static_cast<ContainerNode*>(child.get()); I believe there is a toContainerNode() ...
7 years, 7 months ago (2013-05-07 00:49:40 UTC) #4
eseidel
7 years, 7 months ago (2013-05-07 00:49:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/14759017/11001
7 years, 7 months ago (2013-05-07 00:53:47 UTC) #6
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=6957
7 years, 7 months ago (2013-05-07 01:54:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/14759017/20001
7 years, 7 months ago (2013-05-07 04:33:41 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 05:08:55 UTC) #9
Message was sent while issue was closed.
Change committed as 149849

Powered by Google App Engine
This is Rietveld 408576698