Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 5209 by wei.hoo: Infinite recursion
http://code.google.com/p/chromium/issues/detail?id=5209

Chrome Version       : trunk HEAD
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3:
     Firefox 3:
          IE 7:

What steps will reproduce the problem?

The source code of MediaPlayer::supportsType():
bool MediaPlayer::supportsType(const String& type)
{
     HashSet<String> types;
     getSupportedTypes(types);
     return MIMETypeRegistry::isSupportedMediaMIMEType(type) &&
types.contains(type);
}

The sourcecode of MIMETypeRegistry::isSupportedMediaMIMEType():
bool MIMETypeRegistry::isSupportedMediaMIMEType(const String& mimeType)
{
     return MediaPlayer::supportsType(mimeType);
}


What is the expected result?


What happens instead?


Please provide any additional information below. Attach a screenshot if
possible.

The buggy code is enclosed by
#if ENABLE(VIDEO)
...
#endif

The bug is not triggered by the versions built by the buildbot. My self-
built version, however, has this bug.

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to