Looks good.  I wonder though whether we don't want to combine this function with `getDurationMS`, and have the new function return an object like `{duration_ms: xxx, is_firefox_os_duration: boolean}`, so that it's clear what the connection is between the two values?