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

Issue 539353004: DevTools: [Documentation] Update parser for WikiText (Closed)

Created:
6 years, 3 months ago by iliia
Modified:
6 years, 3 months ago
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

DevTools: [Documentation] Update parser for WikiText BUG=391593 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181901

Patch Set 1 #

Patch Set 2 : add method secondToken() #

Total comments: 52

Patch Set 3 : comments addressed #

Total comments: 20

Patch Set 4 : comments addressed #

Total comments: 35

Patch Set 5 : comments addressed #

Patch Set 6 : add annotation to WikiParser._parse() #

Total comments: 54

Patch Set 7 : comments addressed #

Total comments: 12

Patch Set 8 : comments addressed #

Total comments: 25

Patch Set 9 : comments addressed #

Patch Set 10 : comments addressed #

Patch Set 11 : fix cases #

Patch Set 12 : comments addressed #

Total comments: 1

Patch Set 13 : move unescapeHTML() #

Patch Set 14 : add test for unescape symbols #

Unified diffs Side-by-side diffs Delta from patch set Stats (+894 lines, -364 lines) Patch
M LayoutTests/inspector/documentation/document-parser.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +18 lines, -8 lines 0 comments Download
M LayoutTests/inspector/documentation/document-parser-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 13 chunks +431 lines, -28 lines 0 comments Download
M Source/devtools/front_end/common/utilities.js View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
M Source/devtools/front_end/documentation/DocumentationView.js View 1 2 3 4 5 6 7 8 5 chunks +17 lines, -8 lines 0 comments Download
M Source/devtools/front_end/documentation/JSArticle.js View 1 2 3 4 5 6 7 8 4 chunks +38 lines, -45 lines 0 comments Download
M Source/devtools/front_end/documentation/WikiParser.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 19 chunks +376 lines, -275 lines 0 comments Download

Messages

Total messages: 26 (4 generated)
iliia
Update WikiParser with tokenizer.
6 years, 3 months ago (2014-09-08 08:41:48 UTC) #2
lushnikov
https://codereview.chromium.org/539353004/diff/20001/LayoutTests/inspector/documentation/document-parser.html File LayoutTests/inspector/documentation/document-parser.html (right): https://codereview.chromium.org/539353004/diff/20001/LayoutTests/inspector/documentation/document-parser.html#newcode114 LayoutTests/inspector/documentation/document-parser.html:114: debugger; remove https://codereview.chromium.org/539353004/diff/20001/LayoutTests/inspector/documentation/document-parser.html#newcode135 LayoutTests/inspector/documentation/document-parser.html:135: InspectorTest.addResult(error); prepend with "Expected error: ...
6 years, 3 months ago (2014-09-08 14:08:31 UTC) #3
iliia
comments addressed https://codereview.chromium.org/539353004/diff/20001/LayoutTests/inspector/documentation/document-parser.html File LayoutTests/inspector/documentation/document-parser.html (right): https://codereview.chromium.org/539353004/diff/20001/LayoutTests/inspector/documentation/document-parser.html#newcode114 LayoutTests/inspector/documentation/document-parser.html:114: debugger; On 2014/09/08 14:08:29, lushnikov wrote: > ...
6 years, 3 months ago (2014-09-08 15:20:51 UTC) #4
loislo
https://codereview.chromium.org/539353004/diff/40001/Source/devtools/front_end/documentation/DocumentationView.js File Source/devtools/front_end/documentation/DocumentationView.js (right): https://codereview.chromium.org/539353004/diff/40001/Source/devtools/front_end/documentation/DocumentationView.js#newcode87 Source/devtools/front_end/documentation/DocumentationView.js:87: _createPageForError: function(message) I don't see where you are using ...
6 years, 3 months ago (2014-09-09 08:05:05 UTC) #5
loislo
https://codereview.chromium.org/539353004/diff/40001/LayoutTests/inspector/documentation/document-parser.html File LayoutTests/inspector/documentation/document-parser.html (right): https://codereview.chromium.org/539353004/diff/40001/LayoutTests/inspector/documentation/document-parser.html#newcode14 LayoutTests/inspector/documentation/document-parser.html:14: "{{A|Code= var nod{{=}}document.createElement(\"li\");\ndocument.getElementById(\"oUL1\").insertBefore(nod, document.getElementById(\"oLIYellow\"));\nnod.textContet{{=}}\"Orange\"}}", please reduce the size of ...
6 years, 3 months ago (2014-09-09 08:06:58 UTC) #6
iliia
comments addressed https://codereview.chromium.org/539353004/diff/40001/LayoutTests/inspector/documentation/document-parser.html File LayoutTests/inspector/documentation/document-parser.html (right): https://codereview.chromium.org/539353004/diff/40001/LayoutTests/inspector/documentation/document-parser.html#newcode14 LayoutTests/inspector/documentation/document-parser.html:14: "{{A|Code= var nod{{=}}document.createElement(\"li\");\ndocument.getElementById(\"oUL1\").insertBefore(nod, document.getElementById(\"oLIYellow\"));\nnod.textContet{{=}}\"Orange\"}}", There is the ...
6 years, 3 months ago (2014-09-09 08:19:29 UTC) #7
lushnikov
https://codereview.chromium.org/539353004/diff/60001/LayoutTests/inspector/documentation/document-parser-expected.txt File LayoutTests/inspector/documentation/document-parser-expected.txt (right): https://codereview.chromium.org/539353004/diff/60001/LayoutTests/inspector/documentation/document-parser-expected.txt#newcode248 LayoutTests/inspector/documentation/document-parser-expected.txt:248: _text : "[http://msdn.microsoft.com/en-us/library/ie/ms536365(v=vs.85).aspx cloneNode Method]" and this is not ...
6 years, 3 months ago (2014-09-09 12:40:47 UTC) #8
iliia
comments addressed https://codereview.chromium.org/539353004/diff/60001/LayoutTests/inspector/documentation/document-parser-expected.txt File LayoutTests/inspector/documentation/document-parser-expected.txt (right): https://codereview.chromium.org/539353004/diff/60001/LayoutTests/inspector/documentation/document-parser-expected.txt#newcode248 LayoutTests/inspector/documentation/document-parser-expected.txt:248: _text : "[http://msdn.microsoft.com/en-us/library/ie/ms536365(v=vs.85).aspx cloneNode Method]" Yes, because ...
6 years, 3 months ago (2014-09-09 14:29:18 UTC) #9
iliia
Add annotation
6 years, 3 months ago (2014-09-10 11:44:00 UTC) #11
apavlov
https://codereview.chromium.org/539353004/diff/120001/LayoutTests/inspector/documentation/document-parser-expected.txt File LayoutTests/inspector/documentation/document-parser-expected.txt (right): https://codereview.chromium.org/539353004/diff/120001/LayoutTests/inspector/documentation/document-parser-expected.txt#newcode395 LayoutTests/inspector/documentation/document-parser-expected.txt:395: _url : " , replacer" This corresponds to an ...
6 years, 3 months ago (2014-09-10 14:09:24 UTC) #13
iliia
comments addressed https://codereview.chromium.org/539353004/diff/120001/LayoutTests/inspector/documentation/document-parser-expected.txt File LayoutTests/inspector/documentation/document-parser-expected.txt (right): https://codereview.chromium.org/539353004/diff/120001/LayoutTests/inspector/documentation/document-parser-expected.txt#newcode395 LayoutTests/inspector/documentation/document-parser-expected.txt:395: _url : " , replacer" Yes, but ...
6 years, 3 months ago (2014-09-11 09:26:31 UTC) #14
apavlov
https://codereview.chromium.org/539353004/diff/120001/Source/devtools/front_end/documentation/DocumentationView.js File Source/devtools/front_end/documentation/DocumentationView.js (right): https://codereview.chromium.org/539353004/diff/120001/Source/devtools/front_end/documentation/DocumentationView.js#newcode71 Source/devtools/front_end/documentation/DocumentationView.js:71: console.error(error); On 2014/09/11 09:26:30, iliia wrote: > On 2014/09/10 ...
6 years, 3 months ago (2014-09-11 10:40:27 UTC) #15
iliia
comments addressed https://codereview.chromium.org/539353004/diff/120001/Source/devtools/front_end/documentation/DocumentationView.js File Source/devtools/front_end/documentation/DocumentationView.js (right): https://codereview.chromium.org/539353004/diff/120001/Source/devtools/front_end/documentation/DocumentationView.js#newcode71 Source/devtools/front_end/documentation/DocumentationView.js:71: console.error(error); On 2014/09/11 10:40:26, apavlov (OOO until ...
6 years, 3 months ago (2014-09-11 13:26:29 UTC) #16
apavlov
https://codereview.chromium.org/539353004/diff/120001/Source/devtools/front_end/documentation/WikiParser.js File Source/devtools/front_end/documentation/WikiParser.js (right): https://codereview.chromium.org/539353004/diff/120001/Source/devtools/front_end/documentation/WikiParser.js#newcode595 Source/devtools/front_end/documentation/WikiParser.js:595: return new WebInspector.WikiParser.Inline(WebInspector.WikiParser.ArticleElement.Type.Inline, children); On 2014/09/11 13:26:28, iliia wrote: ...
6 years, 3 months ago (2014-09-11 19:55:22 UTC) #17
lushnikov
https://codereview.chromium.org/539353004/diff/160001/LayoutTests/inspector/documentation/document-parser-expected.txt File LayoutTests/inspector/documentation/document-parser-expected.txt (right): https://codereview.chromium.org/539353004/diff/160001/LayoutTests/inspector/documentation/document-parser-expected.txt#newcode192 LayoutTests/inspector/documentation/document-parser-expected.txt:192: |Description= [[css/color|CSS color value]]}} why added space? https://codereview.chromium.org/539353004/diff/160001/Source/devtools/front_end/common/utilities.js File ...
6 years, 3 months ago (2014-09-12 06:39:29 UTC) #18
iliia
comments addressed https://codereview.chromium.org/539353004/diff/160001/LayoutTests/inspector/documentation/document-parser-expected.txt File LayoutTests/inspector/documentation/document-parser-expected.txt (right): https://codereview.chromium.org/539353004/diff/160001/LayoutTests/inspector/documentation/document-parser-expected.txt#newcode192 LayoutTests/inspector/documentation/document-parser-expected.txt:192: |Description= [[css/color|CSS color value]]}} We assume that ...
6 years, 3 months ago (2014-09-12 08:46:42 UTC) #19
lushnikov
https://codereview.chromium.org/539353004/diff/240001/Source/devtools/front_end/documentation/WikiParser.js File Source/devtools/front_end/documentation/WikiParser.js (right): https://codereview.chromium.org/539353004/diff/240001/Source/devtools/front_end/documentation/WikiParser.js#newcode11 Source/devtools/front_end/documentation/WikiParser.js:11: var text = wikiMarkupText.unescapeHTML(); we shouldn't unescape prior to ...
6 years, 3 months ago (2014-09-12 11:03:31 UTC) #20
iliia
6 years, 3 months ago (2014-09-12 12:13:02 UTC) #21
lushnikov
LGTM
6 years, 3 months ago (2014-09-12 12:46:39 UTC) #22
loislo
lgtm
6 years, 3 months ago (2014-09-12 12:51:51 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/539353004/280001
6 years, 3 months ago (2014-09-12 12:53:10 UTC) #25
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 13:57:49 UTC) #26
Message was sent while issue was closed.
Committed patchset #14 (id:280001) as 181901

Powered by Google App Engine
This is Rietveld 408576698