Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow embedders to provide user agent string #25672

Closed
wants to merge 8 commits into from

Fix typo in comment

  • Loading branch information
mediremi committed Feb 1, 2020
commit 4ba38affa870ef35b2672d23889a97acbf120efe
@@ -683,6 +683,8 @@ pub struct InitialScriptState {
pub player_context: WindowGLContext,
/// Mechanism to force the compositor to process events.
pub event_loop_waker: Option<Box<dyn EventLoopWaker>>,
/// An optional string allowing the user agent to be set for testing.
pub user_agent: Cow<'static, str>,
}

/// This trait allows creating a `ScriptThread` without depending on the `script`
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.