https://bugs.webkit.org/show_bug.cgi?id=82269
Reviewed by Antti Koivisto.
Source/WebCore:
No new tests, already tested by media/track/track-delete-during-setup.html.
* html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::insertedIntoDocument): Don't notify the media element until/unless
the track element is inserted into the document.
* html/HTMLTrackElement.h:
LayoutTests:
* platform/chromium/test_expectations.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114256
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-16 Eric Carlson <eric.carlson@apple.com>
+
+ Layout Test media/track/track-delete-during-setup.html is hitting an ASSERT_NOT_REACHED
+ https://bugs.webkit.org/show_bug.cgi?id=82269
+
+ Reviewed by Antti Koivisto.
+
+ * platform/chromium/test_expectations.txt:
+
2012-04-16 Dominik Röttsches <dominik.rottsches@linux.intel.com>
[EFL][DRT] Create baselines for CSS cases related to Ahem font
BUGWK82300 SNOWLEOPARD : compositing/images/direct-pdf-image.html = IMAGE
-BUGWK82269 DEBUG : media/track/track-delete-during-setup.html = CRASH
-
// this test appears to consistently fail during the main run but usually passes on a retry.
BUGWK82404 : plugins/netscape-dom-access-and-reload.html = PASS TEXT
+2012-04-16 Eric Carlson <eric.carlson@apple.com>
+
+ Layout Test media/track/track-delete-during-setup.html is hitting an ASSERT_NOT_REACHED
+ https://bugs.webkit.org/show_bug.cgi?id=82269
+
+ Reviewed by Antti Koivisto.
+
+ No new tests, already tested by media/track/track-delete-during-setup.html.
+
+ * html/HTMLTrackElement.cpp:
+ (WebCore::HTMLTrackElement::insertedIntoDocument): Don't notify the media element until/unless
+ the track element is inserted into the document.
+ * html/HTMLTrackElement.h:
+
2012-04-16 Yael Aharon <yael.aharon@nokia.com>
[Qt][WK2] Fixed elements position is wrong after zooming.
return adoptRef(new HTMLTrackElement(tagName, document));
}
-void HTMLTrackElement::insertedIntoTree(bool deep)
+void HTMLTrackElement::insertedIntoDocument()
{
- HTMLElement::insertedIntoTree(deep);
+ HTMLElement::insertedIntoDocument();
if (HTMLMediaElement* parent = mediaElement())
parent->didAddTrack(this);
virtual void parseAttribute(Attribute*) OVERRIDE;
- virtual void insertedIntoTree(bool) OVERRIDE;
+ virtual void insertedIntoDocument() OVERRIDE;
virtual void willRemove() OVERRIDE;
virtual bool isURLAttribute(Attribute*) const;