Home
last modified time | relevance | path

Searched refs:g_nweb (Results 1 – 15 of 15) sorted by relevance

/base/web/webview/test/fuzztest/zoom_fuzzer/
Dzoom_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
115 g_nweb->Zoom(zoomFactor); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/cannavigatebackorforward_fuzzer/
Dcannavigatebackorforward_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
108 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
109 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
116 g_nweb->CanNavigateBackOrForward(numSteps); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/putbackgroundcolor_fuzzer/
Dputbackgroundcolor_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
115 g_nweb->PutBackgroundColor(color); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/executejavascriptcode_fuzzer/
Dexecutejavascriptcode_fuzzer.cpp37 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
116 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
117 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
122 g_nweb->ExecuteJavaScript(code, callback, false); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/load_fuzzer/
Dload_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
112 g_nweb->Load(url); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/executejavascript_fuzzer/
Dexecutejavascript_fuzzer.cpp35 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
114 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
115 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
119 g_nweb->ExecuteJavaScript(code); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/loadurl_fuzzer/
Dloadurl_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
113 g_nweb->Load(url, additionalHttpHeaders); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ontouchrelease_fuzzer/
Dontouchrelease_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
123 g_nweb->OnTouchRelease(id, x, y); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/unregisterarkjsfunction_fuzzer/
Dunregisterarkjsfunction_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
113 g_nweb->UnregisterArkJSfunction(object_name, method_list); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/loadwithdata_fuzzer/
Dloadwithdata_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
108 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
109 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
115 g_nweb->LoadWithData(datas, mimeType, encoding); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/registerarkjsfunction_fuzzer/
Dregisterarkjsfunction_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
113 g_nweb->RegisterArkJSfunction(object_name, method_list); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/sendkeyevent_fuzzer/
Dsendkeyevent_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
119 g_nweb->SendKeyEvent(keyCode, keyAction); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ontouchmove_fuzzer/
Dontouchmove_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
108 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
109 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
124 g_nweb->OnTouchMove(id, x, y); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ontouchpress_fuzzer/
Dontouchpress_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
107 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
108 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
123 g_nweb->OnTouchPress(id, x, y); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/loadwithdataandbaseurl_fuzzer/
Dloadwithdataandbaseurl_fuzzer.cpp28 std::shared_ptr<OHOS::NWeb::NWeb> g_nweb = nullptr; variable
108 g_nweb = NWeb::NWebAdapterHelper::Instance().CreateNWeb(g_surface, GetInitArgs()); in DoSomethingInterestingWithMyAPI()
109 if (g_nweb == nullptr) { in DoSomethingInterestingWithMyAPI()
117 g_nweb->LoadWithDataAndBaseUrl(baseUrl, datas, mimeType, encoding, historyUrl); in DoSomethingInterestingWithMyAPI()