Media Debugging Tips: Difference between revisions

m
done
m (format)
m (done)
Line 36: Line 36:


== DRM Module Install Logging ==
== DRM Module Install Logging ==
For DRM module install or update issues, as well as OpenH264 install issues, the Firefox JS code that downloads and installs media plugin updates can be made to log to the Browser Console.
For DRM module install or update issues, as well as OpenH264 install issues, the Firefox JS code that downloads and installs media plugin updates can be made to log to the Browser Console.


Plugin Update debugging steps for users -
'''Plugin update debugging steps for users''


# open the browser console
# open the browser console
Line 53: Line 54:


=== Collecting Logs in Firefox Performance Profiles ===
=== Collecting Logs in Firefox Performance Profiles ===
'''General testing setup steps'''
'''General testing setup steps'''
<br/>
 
# Install [https://www.mozilla.org/en-US/firefox/channel/desktop/ Firefox Nightly] on the test device and open the browser. The test device should be a clean system that has not had Firefox installed on it prior. If the test device does have existing Firefox installs, open Firefox Nightly and open about:profiles. Create a [https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles new profile for testing purposes], and launch a browser using this profile.
# Install [https://www.mozilla.org/en-US/firefox/channel/desktop/ Firefox Nightly] on the test device and open the browser. The test device should be a clean system that has not had Firefox installed on it prior. If the test device does have existing Firefox installs, open Firefox Nightly and open about:profiles. Create a [https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles new profile for testing purposes], and launch a browser using this profile.
# Once Firefox is open and running in a clean profile, check for browser updates via the Help menu -> About option. If there are browser updates available, apply them and then restart the browser.  
# Once Firefox is open and running in a clean profile, check for browser updates via the Help menu -> About option. If there are browser updates available, apply them and then restart the browser.  
Line 60: Line 62:


'''Generating a Firefox Performance Profile with media logs'''
'''Generating a Firefox Performance Profile with media logs'''
<br/>
 
# Launch Firefox using a clean profile via about:profiles
# Launch Firefox using a clean profile via about:profiles
# Open a tab and visit about:logging
# Open a tab and visit about:logging
Line 81: Line 83:
# Once Firefox is open and running in a clean profile, check for browser updates via the Help menu -> About option. If there are browser updates available, apply them and then restart the browser.  
# Once Firefox is open and running in a clean profile, check for browser updates via the Help menu -> About option. If there are browser updates available, apply them and then restart the browser.  
# Once Firefox is open and running in a clean profile with updates applied, open a tab and visit https://profiler.firefox.com/ and enable the Firefox Profiler Button. In the dropdown menu on the button, select the 'Media' setting. Close Firefox Nightly. (For general information on how to use the profiler, visit the documentation site.)
# Once Firefox is open and running in a clean profile with updates applied, open a tab and visit https://profiler.firefox.com/ and enable the Firefox Profiler Button. In the dropdown menu on the button, select the 'Media' setting. Close Firefox Nightly. (For general information on how to use the profiler, visit the documentation site.)
'''Generating a Firefox Profile with logs'''
'''Generating a Firefox Profile with logs'''
<br/>
 
# Launch Firefox using a clean profile via about:profiles.
# Launch Firefox using a clean profile via about:profiles.
# In the browser, open a tab and view about:config.
# In the browser, open a tab and view about:config.
Line 99: Line 102:


'''Generating text based logs in a local folder'''  
'''Generating text based logs in a local folder'''  
# Launch Firefox using the clean profile set up prior via about:profiles.
# Launch Firefox using the clean profile set up prior via about:profiles.
# In the browser, open a tab and view about:config.
# In the browser, open a tab and view about:config.
Line 114: Line 118:
# Close the test tab
# Close the test tab
# In about:logging, click 'Stop Logging'.
# In about:logging, click 'Stop Logging'.
In the temp dir, you should get a few logs (something like 'emelogs.txt-child.23884.moz_log' and 'emelog.txt-main.23435.moz_log'. Attach logs to your Bugzilla report.
In the temp dir, you should get a few logs (something like 'emelogs.txt-child.23884.moz_log' and 'emelog.txt-main.23435.moz_log'. Attach logs to your Bugzilla report.
Confirmed users
1,982

edits