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

Issue 725593004: Prevent the load event from firing inside DOMContentLoaded (Closed)

Created:
6 years, 1 month ago by Nate Chapin
Modified:
6 years, 1 month ago
Reviewers:
sof, esprehn, dglazkov
CC:
blink-reviews, tyoshino+watch_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, rwlbuis
Project:
blink
Visibility:
Public.

Description

Prevent the load event from firing inside DOMContentLoaded BUG=406422 TEST=Updated results to fast/loader/create-frame-in-DOMContentLoaded.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185397

Patch Set 1 #

Total comments: 12

Patch Set 2 : Done->FinishedParsing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -20 lines) Patch
M LayoutTests/fast/loader/create-frame-in-DOMContentLoaded-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 chunks +9 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 5 chunks +10 lines, -9 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Nate Chapin
Dimitri, is this something you're comfortable reviewing? https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt File LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt (left): https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt#oldcode1 LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt:1: CONSOLE ERROR: ...
6 years, 1 month ago (2014-11-14 00:32:35 UTC) #2
dglazkov
I must admit, this is a little outside of my comfort zone.
6 years, 1 month ago (2014-11-14 20:48:12 UTC) #3
esprehn
Document::Done seems sort of generally named, but otherwise this seems okay. Instead of having isParsing() ...
6 years, 1 month ago (2014-11-14 21:33:12 UTC) #5
sof
https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt File LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt (left): https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt#oldcode1 LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt:1: CONSOLE ERROR: line 34: Uncaught InvalidStateError: Failed to execute ...
6 years, 1 month ago (2014-11-14 21:34:03 UTC) #7
Nate Chapin
On 2014/11/14 21:33:12, esprehn wrote: > btw what fires the load event after DOMContentLoaded when ...
6 years, 1 month ago (2014-11-14 21:37:29 UTC) #8
Nate Chapin
https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt File LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt (left): https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt#oldcode1 LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt:1: CONSOLE ERROR: line 34: Uncaught InvalidStateError: Failed to execute ...
6 years, 1 month ago (2014-11-14 22:05:25 UTC) #9
sof
not that it is needed, but lgtm from here also. https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt File LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt (left): https://codereview.chromium.org/725593004/diff/1/LayoutTests/http/tests/xmlhttprequest/reentrant-cancel-expected.txt#oldcode1 ...
6 years, 1 month ago (2014-11-14 22:16:07 UTC) #10
Nate Chapin
On 2014/11/14 22:16:07, sof wrote: > not that it is needed, but lgtm from here ...
6 years, 1 month ago (2014-11-14 22:30:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/725593004/20001
6 years, 1 month ago (2014-11-14 22:31:38 UTC) #13
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 23:56:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185397

Powered by Google App Engine
This is Rietveld 408576698