Changeset 246182 in webkit
- Timestamp:
- Jun 6, 2019, 5:23:12 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dom/Document.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r246177 r246182 1 2019-06-06 Brent Fulgham <bfulgham@apple.com> 2 3 Avoid generating new XSLT-based document when already changing the document. 4 https://bugs.webkit.org/show_bug.cgi?id=198525 5 <rdar://problem/51393787> 6 7 Reviewed by Ryosuke Niwa. 8 9 We should not allow a pending XSLT transform to change the current document when 10 that current document is int he process of being replaced. 11 12 * dom/Document.cpp: 13 (WebCore::Document::applyPendingXSLTransformsTimerFired): 14 1 15 2019-06-06 Devin Rousso <drousso@apple.com> 2 16 -
trunk/Source/WebCore/dom/Document.cpp
r246129 r246182 5483 5483 return; 5484 5484 5485 // If the Document has already been detached from the frame, or the frame is currently in the process of 5486 // changing to a new document, don't attempt to create a new Document from the XSLT. 5487 if (!frame() || frame()->documentIsBeingReplaced()) 5488 return; 5489 5485 5490 auto processor = XSLTProcessor::create(); 5486 5491 processor->setXSLStyleSheet(downcast<XSLStyleSheet>(processingInstruction->sheet()));
Note:
See TracChangeset
for help on using the changeset viewer.