[Webkit-unassigned] [Bug 247911] New: Progress HTMLDocumentParser state on non-interrupted cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 14 11:50:44 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=247911

            Bug ID: 247911
           Summary: Progress HTMLDocumentParser state on non-interrupted
                    cases
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: beidson at apple.com

Hi Team,

While going through Blink commit, I came across following:

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=181346

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/e7be2359033b5a89111f70b799953e17421eeede/Source/WebCore/html/parser/HTMLDocumentParser.cpp#L446

Need to add:

DocumentParser::stopParsing();

___

It is still present to this date in Blink code:

https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/parser/html_document_parser.cc;l=992?q=Informs%20the%20rest%20of%20WebCore%20that%20parsing%20is%20really%20finished

Just want to raise it as potential merge due to commit message indicating that it changes "StoppingState" to "StoppedState" when parsing finished with any interruption.

___

Will tag few to comments and since it does not have any test case, I cannot confirm whether it regress any behavior or not

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221114/8d8e3285/attachment-0001.htm>


More information about the webkit-unassigned mailing list