Guest User

Untitled

a guest
Apr 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. if (settings && settings->needsSiteSpecificQuirks() && m_dispatchingCanPlayEvent && !m_loadInitiatedByUserGesture) {
  2. // It should be impossible to be processing the canplay event while handling a user gesture
  3. // since it is dispatched asynchronously.
  4. ASSERT(!isUserGesture);
  5. String host = doc->baseURL().host();
  6. if (host.endsWith(".npr.org", false) || equalIgnoringCase(host, "npr.org"))
  7. return;
  8. }
  9.  
  10. playInternal();
Add Comment
Please, Sign In to add comment