Bug 273665 - WebCore::XMLDocumentParserScope does not restore xmlStructuredErrorContext properly
Summary: WebCore::XMLDocumentParserScope does not restore xmlStructuredErrorContext pr...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-02 18:46 PDT by David Kilzer (:ddkilzer)
Modified: 2024-05-02 18:57 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2024-05-02 18:46:08 PDT
WebCore::XMLDocumentParserScope does not restore xmlStructuredErrorContext properly when it goes out of scope.

Currently it does not store the original value of xmlStructuredErrorContext, and it uses the value of xmlGenericErrorContext to "restore" xmlStructuredErrorContext.
Comment 1 Radar WebKit Bug Importer 2024-05-02 18:46:23 PDT
<rdar://problem/127468626>
Comment 2 David Kilzer (:ddkilzer) 2024-05-02 18:57:45 PDT
Pull request: https://github.com/WebKit/WebKit/pull/28078