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

Issue 2151783002: Fix crash when encountered unmatched script end-tag token in TextMode (Closed)

Created:
4 years, 5 months ago by kouhei (in TOK)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash when encountered unmatched script end-tag token in TextMode Before this CL, we assumed that <script> start-tag was seen when we encounter <script> end-tag token when the parser insertion mode is in 'text' mode. However, the <script> end-tag may also appear w/o script tag in "the stack of open elements", like in attached test. BUG=411226 Committed: https://crrev.com/78c93fef96d79c393aedcd7e05b3f6d29c6835b3 Cr-Commit-Position: refs/heads/master@{#406770}

Patch Set 1 #

Patch Set 2 : better tagname on tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/parser/non-script-endtag-in-textmode.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/parser/non-script-endtag-in-textmode-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
kouhei (in TOK)
4 years, 5 months ago (2016-07-14 07:44:28 UTC) #2
dominicc (has gone to gerrit)
Can you tell me a bit more about this change? Does this work for script ...
4 years, 5 months ago (2016-07-15 02:24:52 UTC) #7
dominicc (has gone to gerrit)
*script mode => text mode On Fri, Jul 15, 2016 at 11:24 AM, <dominicc@chromium.org> wrote: ...
4 years, 5 months ago (2016-07-15 02:30:57 UTC) #8
dominicc (has gone to gerrit)
*script mode => text mode On Fri, Jul 15, 2016 at 11:24 AM, <dominicc@chromium.org> wrote: ...
4 years, 5 months ago (2016-07-15 02:30:57 UTC) #9
kouhei (in TOK)
On 2016/07/15 02:30:57, dominicc wrote: > *script mode => text mode > > On Fri, ...
4 years, 5 months ago (2016-07-15 07:20:14 UTC) #10
dominicc (has gone to gerrit)
On 2016/07/15 at 07:20:14, kouhei wrote: > On 2016/07/15 02:30:57, dominicc wrote: > > *script ...
4 years, 5 months ago (2016-07-15 07:40:20 UTC) #11
kouhei (in TOK)
On 2016/07/15 07:40:20, dominicc wrote: > On 2016/07/15 at 07:20:14, kouhei wrote: > > On ...
4 years, 5 months ago (2016-07-20 22:40:35 UTC) #12
dominicc (has gone to gerrit)
On 2016/07/20 at 22:40:35, kouhei wrote: > On 2016/07/15 07:40:20, dominicc wrote: > > On ...
4 years, 5 months ago (2016-07-21 02:02:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151783002/20001
4 years, 5 months ago (2016-07-21 02:11:43 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/107781)
4 years, 5 months ago (2016-07-21 02:54:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2151783002/20001
4 years, 5 months ago (2016-07-21 04:35:01 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-21 05:13:18 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 05:15:23 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/78c93fef96d79c393aedcd7e05b3f6d29c6835b3
Cr-Commit-Position: refs/heads/master@{#406770}

Powered by Google App Engine
This is Rietveld 408576698