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

Issue 248013002: Elaborate error handling on ScriptLoader::finishLoading() (Closed)

Created:
6 years, 8 months ago by Hajime Morrita
Modified:
6 years, 7 months ago
Reviewers:
gmorrita, esprehn, eseidel
CC:
blink-reviews, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, ojan, rwlbuis
Visibility:
Public.

Description

Elaborate error handling on ScriptLoader::finishLoading() This is a follow up for r170702, which considered only about dynamically added <script>. This change covers parser-added <script>. TEST=adopt-node-crash.html BUG=365229, 364770 R=esprehn@chromium.org, eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172804

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -17 lines) Patch
A + LayoutTests/fast/dom/HTMLScriptElement/adopt-node-crash.html View 1 chunk +4 lines, -3 lines 0 comments Download
A LayoutTests/fast/dom/HTMLScriptElement/adopt-node-crash-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.svg View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLScriptElement/resources/do-nothing.js View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/ScriptLoader.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/dom/ScriptLoader.cpp View 1 2 chunks +17 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Hajime Morrita
PTAL? This is a fix against fuzzer-found bug and also tries to fix real world ...
6 years, 8 months ago (2014-04-22 19:39:34 UTC) #1
Hajime Morrita
On 2014/04/22 19:39:34, morrita1 wrote: > PTAL? This is a fix against fuzzer-found bug and ...
6 years, 8 months ago (2014-04-22 22:09:27 UTC) #2
Hajime Morrita
Hey Elliott, could you take a look? Bots turned into (almost) green so it's ready ...
6 years, 7 months ago (2014-04-28 17:56:42 UTC) #3
esprehn
lgtm https://codereview.chromium.org/248013002/diff/20001/LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html File LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html (right): https://codereview.chromium.org/248013002/diff/20001/LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html#newcode2 LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html:2: <script src=no-nothing.html></script> do-nothing.js? You have that file, but ...
6 years, 7 months ago (2014-04-28 18:18:44 UTC) #4
Hajime Morrita
Thanks for the review! Landing. https://codereview.chromium.org/248013002/diff/20001/LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html File LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html (right): https://codereview.chromium.org/248013002/diff/20001/LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html#newcode2 LayoutTests/fast/dom/HTMLScriptElement/resources/adopt-node-frame.html:2: <script src=no-nothing.html></script> On 2014/04/28 ...
6 years, 7 months ago (2014-04-28 18:52:52 UTC) #5
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 7 months ago (2014-04-28 18:53:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/248013002/40001
6 years, 7 months ago (2014-04-28 18:54:28 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 19:36:55 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 7 months ago (2014-04-28 19:36:55 UTC) #9
gmorrita
The CQ bit was checked by morrita@google.com
6 years, 7 months ago (2014-04-28 19:57:14 UTC) #10
gmorrita
The CQ bit was unchecked by morrita@google.com
6 years, 7 months ago (2014-04-28 19:57:23 UTC) #11
Hajime Morrita
The CQ bit was checked by morrita@chromium.org
6 years, 7 months ago (2014-04-28 19:58:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/morrita@chromium.org/248013002/40001
6 years, 7 months ago (2014-04-28 20:00:41 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 20:55:13 UTC) #14
Message was sent while issue was closed.
Change committed as 172804

Powered by Google App Engine
This is Rietveld 408576698