Changeset 272640 in webkit
- Timestamp:
- Feb 10, 2021, 1:13:41 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r272639 r272640 1 2021-02-10 Rob Buis <rbuis@igalia.com> 2 3 Do not schedule update on embed creation 4 https://bugs.webkit.org/show_bug.cgi?id=221375 5 6 Reviewed by Ryosuke Niwa. 7 8 Add test for this. 9 10 * plugins/embed-creation-crash-expected.txt: Added. 11 * plugins/embed-creation-crash.html: Added. 12 1 13 2021-02-10 Lauro Moura <lmoura@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r272633 r272640 1 2021-02-10 Rob Buis <rbuis@igalia.com> 2 3 Do not schedule update on embed creation 4 https://bugs.webkit.org/show_bug.cgi?id=221375 5 6 Reviewed by Ryosuke Niwa. 7 8 Do not schedule update on embed creation. 9 10 Test: plugins/embed-creation-crash.html 11 12 * html/HTMLEmbedElement.cpp: 13 (WebCore::HTMLEmbedElement::create): 14 * html/HTMLObjectElement.cpp: 15 (WebCore::HTMLObjectElement::create): 16 * html/HTMLPlugInImageElement.cpp: 17 (WebCore::HTMLPlugInImageElement::finishCreating): Deleted. 18 * html/HTMLPlugInImageElement.h: 19 1 20 2021-02-09 Eric Carlson <eric.carlson@apple.com> 2 21 -
trunk/Source/WebCore/html/HTMLEmbedElement.cpp
r257199 r272640 56 56 Ref<HTMLEmbedElement> HTMLEmbedElement::create(const QualifiedName& tagName, Document& document) 57 57 { 58 auto result = adoptRef(*new HTMLEmbedElement(tagName, document)); 59 result->finishCreating(); 60 return result; 58 return adoptRef(*new HTMLEmbedElement(tagName, document)); 61 59 } 62 60 -
trunk/Source/WebCore/html/HTMLObjectElement.cpp
r260751 r272640 72 72 Ref<HTMLObjectElement> HTMLObjectElement::create(const QualifiedName& tagName, Document& document, HTMLFormElement* form) 73 73 { 74 auto result = adoptRef(*new HTMLObjectElement(tagName, document, form)); 75 result->finishCreating(); 76 return result; 74 return adoptRef(*new HTMLObjectElement(tagName, document, form)); 77 75 } 78 76 -
trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp
r272618 r272640 65 65 } 66 66 67 void HTMLPlugInImageElement::finishCreating()68 {69 scheduleUpdateForAfterStyleResolution();70 }71 72 67 HTMLPlugInImageElement::~HTMLPlugInImageElement() 73 68 { -
trunk/Source/WebCore/html/HTMLPlugInImageElement.h
r271650 r272640 48 48 protected: 49 49 HTMLPlugInImageElement(const QualifiedName& tagName, Document&); 50 void finishCreating();51 50 52 51 void didMoveToNewDocument(Document& oldDocument, Document& newDocument) override;
Note:
See TracChangeset
for help on using the changeset viewer.