Changeset 140628 in webkit
- Timestamp:
- Jan 23, 2013 6:17:24 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r140626 r140628 1 2013-01-23 Tony Gentilcore <tonyg@chromium.org> 2 3 Teach threaded HTML parser to update InspectorInstrumentation when writing HTML 4 https://bugs.webkit.org/show_bug.cgi?id=107755 5 6 Reviewed by Eric Seidel. 7 8 The current length is unused, so it doesn't cause any noticeable behavior difference to not pass it here. 9 10 No new tests because covered by existing tests. 11 12 * html/parser/HTMLDocumentParser.cpp: 13 (WebCore::HTMLDocumentParser::processTokensFromBackgroundParser): 14 1 15 2013-01-23 Kentaro Hara <haraken@chromium.org> 2 16 -
trunk/Source/WebCore/html/parser/HTMLDocumentParser.cpp
r140609 r140628 291 291 RefPtr<HTMLDocumentParser> protect(this); 292 292 293 // FIXME: Add support for InspectorInstrumentation. 293 // FIXME: Pass in current input length. 294 InspectorInstrumentationCookie cookie = InspectorInstrumentation::willWriteHTML(document(), 0, lineNumber().zeroBasedInt()); 294 295 295 296 for (Vector<CompactHTMLToken>::const_iterator it = tokens->begin(); it != tokens->end(); ++it) { … … 301 302 302 303 if (isStopped()) 303 return;304 break; 304 305 305 306 // FIXME: We'll probably need to check document()->frame()->navigationScheduler()->locationChangePending()) … … 309 310 ASSERT(it + 1 == tokens->end()); // The </script> is assumed to be the last token of this bunch. 310 311 runScriptsForPausedTreeBuilder(); 311 return;312 break; 312 313 } 313 314 … … 315 316 ASSERT(it + 1 == tokens->end()); // The EOF is assumed to be the last token of this bunch. 316 317 prepareToStopParsing(); 317 return;318 break; 318 319 } 319 320 } 321 322 InspectorInstrumentation::didWriteHTML(cookie, lineNumber().zeroBasedInt()); 320 323 } 321 324
Note: See TracChangeset
for help on using the changeset viewer.