diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web.ets index aeb1de723aadbe4a5c16c7a4785b2e1a93d440f1..474402dab20209a448aa83bc6fcc0bd62ae5054f 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web.ets @@ -45,7 +45,6 @@ struct WebComponent { .userAgent("Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36") // .fileFromUrlAccess(true) .initialScale(2) - .webDebuggingAccess(true) .onPrompt((event) => { console.info('onPrompt url: ', event.url); console.info('onPrompt message: ', event.message); diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/web.test.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/web.test.ets index c135bf9a0ef13962269ced88bf18f3b4ed6d949b..9c81590f4103627bbaad237e49620dae016dcbbd 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/test/web.test.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/test/web.test.ets @@ -150,11 +150,10 @@ export default function webGetTitleJsunit() { console.info('webGetTitle testwebGetTitle0009 START'); await Utils.sleep(2000); let strJson = getInspectorByKey('getTitleText'); - console.info("[testwebGetTitle0009] component webDebuggingAccess strJson:" + strJson); + console.info("[testwebGetTitle0009] component strJson:" + strJson); let obj = JSON.parse(strJson); expect(obj.$type).assertEqual('Web'); - expect(obj.$attrs.webDebuggingAccess).assertEqual(undefined); - console.info("[testwebGetTitle0009] webDebuggingAccess value :" + obj.$attrs.webDebuggingAccess); + console.info("[testwebGetTitle0009] type value :" + obj.$type); done(); }); }) diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets index c0fb69ef1c62bc0af2077e0ccdc55498ce2479bd..e45e0f816aa51814db506336e5c13971e7aac490 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets @@ -39,7 +39,6 @@ struct WebEditText { .blur(2) // .fileFromUrlAccess(true) .initialScale(2) - .webDebuggingAccess(true) .onRenderExited((event) => { console.info('onRenderExited getAcceptType: ', event.renderExitReason); }) diff --git a/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets index e41915a0b99432f2221babd96c56dca8be415743..733738bd58a9423d581314c88a8a0554b01c2680 100644 --- a/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_web_dev_three/entry/src/main/ets/MainAbility/pages/web.ets @@ -412,7 +412,6 @@ struct Index { }) } Web({src:"www.example.com",controller:this.controller}) - .webDebuggingAccess(true) .mediaPlayGestureAccess(true) .javaScriptAccess(true) .zoomAccess(this.text)