REGRESSION(r146380): media/track/track-user-preferences.html
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Mar 2013 20:10:12 +0000 (20:10 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Mar 2013 20:10:12 +0000 (20:10 +0000)
commit78da82f3d899dac2ec10bfcc33720a3a463a5228
tree514dca5f7b8c74f29e690eb3ce12a7f0c4e90cb0
parent0fe4013e54fc388fc8cdd3cb869120963872261f
REGRESSION(r146380): media/track/track-user-preferences.html
https://bugs.webkit.org/show_bug.cgi?id=113083

Reviewed by Jer Noble.

Source/WebCore:

Ignore track change notifications triggered by automatic track selection so the
configuration is not changed.

No new tests, this fixes an existing test.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::configureTextTrackGroup): Clear m_processingPreferenceChange after all
    track configuration is finished.
(WebCore::HTMLMediaElement::configureTextTrackDisplay): Do nothing if m_processingPreferenceChange
    is true.

LayoutTests:

* platform/mac/TestExpectations: Remove test from expectations.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@146801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/TestExpectations
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp