Changeset 252675 in webkit


Ignore:
Timestamp:
Nov 19, 2019 6:37:16 PM (4 years ago)
Author:
commit-queue@webkit.org
Message:

Assertion failure in HTMLMediaElement::enterFullscreen()
https://bugs.webkit.org/show_bug.cgi?id=204376

Patch by Peng Liu <Peng Liu> on 2019-11-19
Reviewed by Eric Carlson.

Source/WebCore:

Test: media/video-set-presentation-mode-to-inline.html

  • html/HTMLVideoElement.cpp:

(WebCore::HTMLVideoElement::setFullscreenMode):

LayoutTests:

  • media/video-set-presentation-mode-to-inline-expected.txt: Added.
  • media/video-set-presentation-mode-to-inline.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r252672 r252675  
     12019-11-19  Peng Liu  <peng.liu6@apple.com>
     2
     3        Assertion failure in HTMLMediaElement::enterFullscreen()
     4        https://bugs.webkit.org/show_bug.cgi?id=204376
     5
     6        Reviewed by Eric Carlson.
     7
     8        * media/video-set-presentation-mode-to-inline-expected.txt: Added.
     9        * media/video-set-presentation-mode-to-inline.html: Added.
     10
    1112019-11-19  Sihui Liu  <sihui_liu@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r252673 r252675  
     12019-11-19  Peng Liu  <peng.liu6@apple.com>
     2
     3        Assertion failure in HTMLMediaElement::enterFullscreen()
     4        https://bugs.webkit.org/show_bug.cgi?id=204376
     5
     6        Reviewed by Eric Carlson.
     7
     8        Test: media/video-set-presentation-mode-to-inline.html
     9
     10        * html/HTMLVideoElement.cpp:
     11        (WebCore::HTMLVideoElement::setFullscreenMode):
     12
    1132019-11-19  Sihui Liu  <sihui_liu@apple.com>
    214
  • trunk/Source/WebCore/html/HTMLVideoElement.cpp

    r252276 r252675  
    475475#endif
    476476
    477     if (mode == VideoFullscreenModeNone && isFullscreen()) {
    478         exitFullscreen();
     477    if (mode == VideoFullscreenModeNone) {
     478        if (isFullscreen())
     479            exitFullscreen();
     480
    479481        return;
    480482    }
Note: See TracChangeset for help on using the changeset viewer.