Bug 200081 - [GStreamer] Don't crash with empty video src
Summary: [GStreamer] Don't crash with empty video src
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alicia Boya García
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-24 09:24 PDT by Alicia Boya García
Modified: 2019-07-24 13:31 PDT (History)
5 users (show)

See Also:


Attachments
Patch (4.82 KB, patch)
2019-07-24 09:33 PDT, Alicia Boya García
no flags Details | Formatted Diff | Diff
Patch (4.83 KB, patch)
2019-07-24 09:49 PDT, Alicia Boya García
no flags Details | Formatted Diff | Diff
Patch (1.33 KB, patch)
2019-07-24 12:37 PDT, Alicia Boya García
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alicia Boya García 2019-07-24 09:24:55 PDT
When a <video> element is set to load empty or about:blank, a player is still
created, but no pipeline is loaded. This patch fixes some assertion errors that
manifested in that case.
Comment 1 Alicia Boya García 2019-07-24 09:33:35 PDT
Created attachment 374781 [details]
Patch
Comment 2 Alicia Boya García 2019-07-24 09:49:06 PDT
Created attachment 374783 [details]
Patch
Comment 3 Alicia Boya García 2019-07-24 09:52:31 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/18051
Comment 4 WebKit Commit Bot 2019-07-24 10:34:29 PDT
Comment on attachment 374783 [details]
Patch

Clearing flags on attachment: 374783

Committed r247778: <https://trac.webkit.org/changeset/247778>
Comment 5 WebKit Commit Bot 2019-07-24 10:34:30 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Truitt Savell 2019-07-24 11:44:34 PDT
It looks like there is no expected file for imported/w3c/web-platform-tests/html/semantics/embedded-content/the-video-element/video_crash_empty_src.html

which was added in https://trac.webkit.org/changeset/247778/webkit

This is causing a missing result in history:
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Fembedded-content%2Fthe-video-element%2Fvideo_crash_empty_src.html

Can the missing file be added soon?
Comment 7 Michael Catanzaro 2019-07-24 12:03:38 PDT
Reopening.
Comment 8 Alicia Boya García 2019-07-24 12:37:07 PDT
Created attachment 374794 [details]
Patch
Comment 9 WebKit Commit Bot 2019-07-24 13:31:13 PDT
Comment on attachment 374794 [details]
Patch

Clearing flags on attachment: 374794

Committed r247788: <https://trac.webkit.org/changeset/247788>
Comment 10 WebKit Commit Bot 2019-07-24 13:31:15 PDT
All reviewed patches have been landed.  Closing bug.