WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
92341
Add message traces when media and plugins load or fail to load.
https://bugs.webkit.org/show_bug.cgi?id=92341
Summary
Add message traces when media and plugins load or fail to load.
Jer Noble
Reported
2012-07-25 23:50:06 PDT
Add message traces when media and plugins load or fail to load.
Attachments
Patch
(5.91 KB, patch)
2012-07-26 00:12 PDT
,
Jer Noble
no flags
Details
Formatted Diff
Diff
Patch
(6.49 KB, patch)
2012-07-26 10:57 PDT
,
Jer Noble
andersca
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2012-07-26 00:12:36 PDT
Created
attachment 154561
[details]
Patch
Early Warning System Bot
Comment 2
2012-07-26 00:43:57 PDT
Comment on
attachment 154561
[details]
Patch
Attachment 154561
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/13351563
WebKit Review Bot
Comment 3
2012-07-26 00:44:55 PDT
Comment on
attachment 154561
[details]
Patch
Attachment 154561
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13351556
Early Warning System Bot
Comment 4
2012-07-26 00:49:06 PDT
Comment on
attachment 154561
[details]
Patch
Attachment 154561
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/13361409
Gyuyoung Kim
Comment 5
2012-07-26 01:00:48 PDT
Comment on
attachment 154561
[details]
Patch
Attachment 154561
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/13342624
Gustavo Noronha (kov)
Comment 6
2012-07-26 01:33:20 PDT
Comment on
attachment 154561
[details]
Patch
Attachment 154561
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/13351583
Eric Carlson
Comment 7
2012-07-26 05:52:57 PDT
Comment on
attachment 154561
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=154561&action=review
> Source/WebCore/html/HTMLMediaElement.cpp:1520 > + default: return emptyString();
Shouldn't this have ASSERT_NOT_REACHED?
> Source/WebCore/html/HTMLMediaElement.cpp:1701 > scheduleEvent(eventNames().loadeddataEvent); > setShouldDelayLoadEvent(false); > + if (document()->page() && document()->page()->settings()->messageTracingEnabled()) > + document()->page()->chrome()->client()->traceMessage(ChromeClient::MediaLoaded, m_player->engineDescription());
I think it would be better to do this when we reach HAVE_METADATA, or an element with "preload=metadata" may not ever notify the client even thought it found and loaded part of a valid media file.
Jer Noble
Comment 8
2012-07-26 08:06:38 PDT
(In reply to
comment #7
)
> (From update of
attachment 154561
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=154561&action=review
> > > Source/WebCore/html/HTMLMediaElement.cpp:1520 > > + default: return emptyString(); > > Shouldn't this have ASSERT_NOT_REACHED?
Sure.
> > Source/WebCore/html/HTMLMediaElement.cpp:1701 > > scheduleEvent(eventNames().loadeddataEvent); > > setShouldDelayLoadEvent(false); > > + if (document()->page() && document()->page()->settings()->messageTracingEnabled()) > > + document()->page()->chrome()->client()->traceMessage(ChromeClient::MediaLoaded, m_player->engineDescription()); > > I think it would be better to do this when we reach HAVE_METADATA, or an element with "preload=metadata" may not ever notify the client even thought it found and loaded part of a valid media file.
Is HAVE_METADATA guaranteed to only fire once? (It looks like we will never drop down below HAVE_METADATA unless the user cancels load. So yes.)
Jer Noble
Comment 9
2012-07-26 10:57:15 PDT
Created
attachment 154688
[details]
Patch
WebKit Review Bot
Comment 10
2012-07-26 11:13:23 PDT
Comment on
attachment 154688
[details]
Patch
Attachment 154688
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/13351831
Early Warning System Bot
Comment 11
2012-07-26 11:13:58 PDT
Comment on
attachment 154688
[details]
Patch
Attachment 154688
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/13345862
Early Warning System Bot
Comment 12
2012-07-26 11:18:47 PDT
Comment on
attachment 154688
[details]
Patch
Attachment 154688
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/13342893
Gyuyoung Kim
Comment 13
2012-07-26 11:22:43 PDT
Comment on
attachment 154688
[details]
Patch
Attachment 154688
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/13340887
Jer Noble
Comment 14
2012-07-26 12:01:40 PDT
Committed
r123780
: <
http://trac.webkit.org/changeset/123780
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug