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

Issue 19672018: [mdv] getTeminatorAt recurses infinitely if template is its own terminator (Closed)

Created:
7 years, 5 months ago by Jennifer Messerly
Modified:
7 years, 5 months ago
Reviewers:
justinfagnani
CC:
reviews_dartlang.org
Visibility:
Public.

Description

[mdv] getTeminatorAt recurses infinitely if template is its own terminator port of https://github.com/Polymer/mdv/commit/5846863ba6895eaeffee5c4f4618a2f6570c3f99 note that the indicies in that commit are off by 1, it's fixed in a later MDV change and in this port: https://github.com/Polymer/mdv/commit/83eafb5f2861092fcda56cf28a2570193803fde1, which I have also patched in. Our version was already working but I tweaked the code to more closely resemble the MDV code. R=justinfagnani@google.com Committed: https://code.google.com/p/dart/source/detail?r=25363

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M pkg/mdv/lib/src/template_iterator.dart View 1 3 chunks +5 lines, -3 lines 2 comments Download
M pkg/mdv/test/template_element_test.dart View 1 2 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Jennifer Messerly
7 years, 5 months ago (2013-07-19 22:12:41 UTC) #1
Jennifer Messerly
Ping :)
7 years, 5 months ago (2013-07-23 03:13:52 UTC) #2
justinfagnani
lgtm https://chromiumcodereview.appspot.com/19672018/diff/5001/pkg/mdv/lib/src/template_iterator.dart File pkg/mdv/lib/src/template_iterator.dart (right): https://chromiumcodereview.appspot.com/19672018/diff/5001/pkg/mdv/lib/src/template_iterator.dart#newcode235 pkg/mdv/lib/src/template_iterator.dart:235: Node getTerminatorAt(int index) { for my own education, ...
7 years, 5 months ago (2013-07-23 19:59:40 UTC) #3
Jennifer Messerly
https://chromiumcodereview.appspot.com/19672018/diff/5001/pkg/mdv/lib/src/template_iterator.dart File pkg/mdv/lib/src/template_iterator.dart (right): https://chromiumcodereview.appspot.com/19672018/diff/5001/pkg/mdv/lib/src/template_iterator.dart#newcode235 pkg/mdv/lib/src/template_iterator.dart:235: Node getTerminatorAt(int index) { On 2013/07/23 19:59:40, justinfagnani wrote: ...
7 years, 5 months ago (2013-07-23 20:13:00 UTC) #4
Jennifer Messerly
7 years, 5 months ago (2013-07-23 20:21:01 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r25363 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698