Tell clients when autoplay is denied due to restrictions.
Created attachment 302680 [details] Patch
Comment on attachment 302680 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=302680&action=review > Source/WebCore/html/HTMLMediaElement.cpp:2425 > + if (Page* page = document().page()) Darin would say "auto*" > Source/WebCore/page/AutoplayEvent.h:30 > +enum { I think we should make this enum class AutoplayEvent and cast it to uint32_t for IPC.
(In reply to comment #2) > Comment on attachment 302680 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=302680&action=review > > > Source/WebCore/html/HTMLMediaElement.cpp:2425 > > + if (Page* page = document().page()) > > Darin would say "auto*" > > > Source/WebCore/page/AutoplayEvent.h:30 > > +enum { > > I think we should make this enum class AutoplayEvent and cast it to uint32_t > for IPC. Done.
Committed: r212982