We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f944ff7 commit b893902Copy full SHA for b893902
1 file changed
specs/APIReview_UAString.md
@@ -35,11 +35,11 @@ m_webView->add_NavigationStarting(
35
wil::com_ptr<ICoreWebView2Settings> settings;
36
CHECK_FAILURE(m_webView->get_Settings(&m_settings));
37
LPCWSTR mobile_ua =
38
- "Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) "
+ L"Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) "
39
"AppleWebKit/537.36 (KHTML, like Gecko) "
40
"Chrome/62.0.3202.84 Mobile Safari/537.36";
41
CHECK_FAILURE(settings->put_UserAgent(mobile_ua));
42
- LPCWSTR received_ua;
+ LPWSTR received_ua;
43
CHECK_FAILURE(settings->get_UserAgent(&received_ua));
44
EXPECT_STREQ(received_ua, mobile_ua);
45
}
0 commit comments