Changeset 246381 in webkit
- Timestamp:
- Jun 12, 2019, 3:20:58 PM (7 years ago)
- Location:
- branches/safari-607-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dom/Document.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-607-branch/Source/WebCore/ChangeLog
r246047 r246381 1 2019-06-12 Null <null@apple.com> 2 3 Cherry-pick r246182. rdar://problem/51656840 4 5 Avoid generating new XSLT-based document when already changing the document. 6 https://bugs.webkit.org/show_bug.cgi?id=198525 7 <rdar://problem/51393787> 8 9 Reviewed by Ryosuke Niwa. 10 11 We should not allow a pending XSLT transform to change the current document when 12 that current document is int he process of being replaced. 13 14 * dom/Document.cpp: 15 (WebCore::Document::applyPendingXSLTransformsTimerFired): 16 17 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@246182 268f45cc-cd09-0410-ab3c-d52691b4dbfc 18 19 2019-06-06 Brent Fulgham <bfulgham@apple.com> 20 21 Avoid generating new XSLT-based document when already changing the document. 22 https://bugs.webkit.org/show_bug.cgi?id=198525 23 <rdar://problem/51393787> 24 25 Reviewed by Ryosuke Niwa. 26 27 We should not allow a pending XSLT transform to change the current document when 28 that current document is int he process of being replaced. 29 30 * dom/Document.cpp: 31 (WebCore::Document::applyPendingXSLTransformsTimerFired): 32 1 33 2019-06-03 Alan Coon <alancoon@apple.com> 2 34 -
branches/safari-607-branch/Source/WebCore/dom/Document.cpp
r245357 r246381 5517 5517 return; 5518 5518 5519 // If the Document has already been detached from the frame, or the frame is currently in the process of 5520 // changing to a new document, don't attempt to create a new Document from the XSLT. 5521 if (!frame() || frame()->documentIsBeingReplaced()) 5522 return; 5523 5519 5524 auto processor = XSLTProcessor::create(); 5520 5525 processor->setXSLStyleSheet(downcast<XSLStyleSheet>(processingInstruction->sheet()));
Note:
See TracChangeset
for help on using the changeset viewer.