From b4e897dbebbabdf651a70be88f62191db13375f2 Mon Sep 17 00:00:00 2001 From: xuxiaobo-bobo <826814133@qq.com> Date: Fri, 23 Feb 2024 19:21:13 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BF=AE=E5=A4=8Dbug'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bodaEnv/config/config.js | 2 +- bodaEnv/run/log.txt | 34 +++++++++++++++++----------------- bodaEnv/tools/envFuncBom.js | 4 ++-- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/bodaEnv/config/config.js b/bodaEnv/config/config.js index 7529afa1..2e57ac36 100644 --- a/bodaEnv/config/config.js +++ b/bodaEnv/config/config.js @@ -63,7 +63,7 @@ bodaEnv.memory.contentWindow_keys=[ "onbeforeinstallprompt", "crypto", "indexedDB", - "sesbodaStorage", + "sessionStorage", "localStorage", "onbeforexrselect", "onabort", diff --git a/bodaEnv/run/log.txt b/bodaEnv/run/log.txt index 212420b1..a2086473 100644 --- a/bodaEnv/run/log.txt +++ b/bodaEnv/run/log.txt @@ -126,8 +126,8 @@ window_navigator_get ->[object Navigator] window_origin_get ->https://passport.gds.org.cn window_external_get ->[object External] window_screen_get ->[object Screen] -window_innerWidth_get innerWidth ->1274 -window_innerHeight_get innerHeight ->874 +window_innerWidth_get innerWidth ->1434 +window_innerHeight_get innerHeight ->750 window_origin_get res ->0 window_pageXOffset_get res ->0 window_scrollY_get res ->0 @@ -135,8 +135,8 @@ window_pageYOffset_get res ->0 window_visualViewport_get ->[object VisualViewport] window_screenX_get screenX ->0 window_screenY_get screenY ->0 -window_outerWidth_get outerWidth ->1274 -window_outerHeight_get outerHeight ->994 +window_outerWidth_get outerWidth ->1434 +window_outerHeight_get outerHeight ->870 window_devicePixelRatio_get res ->1.5 window_clientInformation_get ->[object Navigator] window_screenLeft_get screenLeft ->0 @@ -306,8 +306,8 @@ window_navigator_get ->[object Navigator] window_origin_get ->https://passport.gds.org.cn window_external_get ->[object External] window_screen_get ->[object Screen] -window_innerWidth_get innerWidth ->1274 -window_innerHeight_get innerHeight ->874 +window_innerWidth_get innerWidth ->1434 +window_innerHeight_get innerHeight ->750 window_origin_get res ->0 window_pageXOffset_get res ->0 window_scrollY_get res ->0 @@ -315,8 +315,8 @@ window_pageYOffset_get res ->0 window_visualViewport_get ->[object VisualViewport] window_screenX_get screenX ->0 window_screenY_get screenY ->0 -window_outerWidth_get outerWidth ->1274 -window_outerHeight_get outerHeight ->994 +window_outerWidth_get outerWidth ->1434 +window_outerHeight_get outerHeight ->870 window_devicePixelRatio_get res ->1.5 window_clientInformation_get ->[object Navigator] window_screenLeft_get screenLeft ->0 @@ -531,10 +531,10 @@ window_setTimeout -> delay值可能会影响执行结果,如果网站中执行 } } window_setTimeout delay->小于等于4 立马开始执行 -BatteryManager_level_get res-> 0.92 +BatteryManager_level_get res-> 0.99 BatteryManager_charging_get res-> true -BatteryManager_chargingTime_get res-> 784 -BatteryManager_chargingTime_get res-> 784 +BatteryManager_chargingTime_get res-> 455 +BatteryManager_chargingTime_get res-> 455 window_clientInformation_get ->[object Navigator] Navigator_webdriver_get ->false window_navigator_get ->[object Navigator] @@ -600,7 +600,7 @@ window_setTimeout -> delay值可能会影响执行结果,如果网站中执行 delay->0 argList-> ->func -> function _$gj(){var _$_3,_$_t,_$fL,_$hF,_$_s,_$$$;_$_3={},_$_t={},_$fL=_$cu(362);for(_$hF in _$hO)_$_s=_$hO[_$hF],_$$$=_$_s[0],_$$$==_$hE[13]?_$_t[_$hF]=_$_s:_$$$!=_$hE[47]&&_$_s[1]>_$fL?_$_3[_$hF]=_$_s:0;_$eu(_$_t,_$_C),_$eu(_$_3,_$ge),_$kg=false;} window_setTimeout delay->小于等于4 立马开始执行 JSON.stringify5 arg0:[object Object] arg1: undefined->res->{} -JSON.stringify5 arg0:[object Object] arg1: undefined->res->{"fa0-13":[300,1708683909,[0]]} +JSON.stringify5 arg0:[object Object] arg1: undefined->res->{"fa0-13":[300,1708683993,[0]]} window_setTimeout -> delay值可能会影响执行结果,如果网站中执行的方法框架内没有执行,可以与delay值有关,尝试修改判断条件 delay->0 argList-> ->func -> function _$_3(){var _$_3,_$_t,_$fL,_$hF,_$_s,_$$$;if(_$im._$bt)(_$_t=_$be._$cx(),_$_3=_$be._$cx(),_$_t[1]=_$iy[1],_$_t[3]=_$iy[3]);else{_$_t=[],_$_3=new _$jv(_$im._$jm),_$_t[1]=_$iy[1].concat([arguments]),_$_t[3]=_$iy[3].concat([_$_3]),_$fL=_$im._$am;for(_$hF=2;_$hF<_$fL.length;_$hF++ )_$_3[_$hF]=_$j4(_$fL[_$hF],_$_t);}_$_t[0]=arguments,_$_t[2]=_$_3,_$_3[0]=this,_$_3[1]=arguments,_$im._$gZ.charCodeAt?_$im._$gZ=_$cg(_$im._$gZ):0,_$it(_$im,0,_$im._$gZ.length,_$_t),_$_s=_$_t[4],_$$$=_$_t[5],_$im._$bt?(_$be._$gD(_$_t),_$be._$gD(_$_3)):0;if(_$_s===1)return _$$$;} window_setTimeout delay->小于等于4 立马开始执行 @@ -609,7 +609,7 @@ Error stack 检测 !!!!! _arg1->_$cs (eval at _$_Z (eval at bodaExecEle (./debug Error stack 检测 !!!!! 修改返回堆栈为->Error at HTMLDocument.i (https://g.alicdn.com/AWSC/fireyejs/1.227.0/fireyejs.js:753:29) Document_visibilityState_get 未完善 visibilitychange事件来监听文档的可见性visible -Storage_setItem keyName->_$rc keyValue->rkQ45fQ4Xeklz0YD9IEyt..1XHhkIZYKl.Ssc8CMlyGCcjxPiL8EWKZplwW +Storage_setItem keyName->_$rc keyValue->GXptv8MQcLqWi83Z4zzqxtELxWQBj0UVz76eH7VPXii_u4HZ9KzceTlTcj3 window_setTimeout -> delay值可能会影响执行结果,如果网站中执行的方法框架内没有执行,可以与delay值有关,尝试修改判断条件 delay->0 argList-> ->func -> function _$_3(){var _$_3,_$_t,_$fL,_$hF,_$_s,_$$$;if(_$im._$bt)(_$_t=_$be._$cx(),_$_3=_$be._$cx(),_$_t[1]=_$iy[1],_$_t[3]=_$iy[3]);else{_$_t=[],_$_3=new _$jv(_$im._$jm),_$_t[1]=_$iy[1].concat([arguments]),_$_t[3]=_$iy[3].concat([_$_3]),_$fL=_$im._$am;for(_$hF=2;_$hF<_$fL.length;_$hF++ )_$_3[_$hF]=_$j4(_$fL[_$hF],_$_t);}_$_t[0]=arguments,_$_t[2]=_$_3,_$_3[0]=this,_$_3[1]=arguments,_$im._$gZ.charCodeAt?_$im._$gZ=_$cg(_$im._$gZ):0,_$it(_$im,0,_$im._$gZ.length,_$_t),_$_s=_$_t[4],_$$$=_$_t[5],_$im._$bt?(_$be._$gD(_$_t),_$be._$gD(_$_3)):0;if(_$_s===1)return _$$$;} window_setTimeout delay->小于等于4 立马开始执行 @@ -642,9 +642,9 @@ Error stack 检测 !!!!! _arg1->_$cs (eval at _$_Z (eval at bodaExecEle (./debug Error stack 检测 !!!!! 修改返回堆栈为->Error at HTMLDocument.i (https://g.alicdn.com/AWSC/fireyejs/1.227.0/fireyejs.js:753:29) Document_visibilityState_get 未完善 visibilitychange事件来监听文档的可见性visible -Document_cookie_set -> arg -> dX1xbeyMT58WP=vXdDfo6ihV0NPriYNuOg8p9lJT3Hj9Tp4Hx3oY8acarvxpp9tijXj3nN1iFxe64kn_U.Q3XTSttEvyGqjWZvoku3N_bzhy_oCnKk0eJfPqtBYNcHDGbGDoMwhnBArzobTMiYUvYP7.9gzV2WNzV2RxwfwuZJgSrcnbK2BtEnAZ5.q2eMVyMVmILvleoGopWWpDRMMWFKi8F9XG7vdRbOQz8nMdNnqLMBR0p3tO9Rnhq; path=/; expires=Fri, 01 Mar 2024 10:20:08 GMT; Secure -Document_cookie_set -> -> 过期时间 -> Fri, 01 Mar 2024 10:20:08 GMT -Document_cookie_set -> -> cookieValue -> dX1xbeyMT58WP=vXdDfo6ihV0NPriYNuOg8p9lJT3Hj9Tp4Hx3oY8acarvxpp9tijXj3nN1iFxe64kn_U.Q3XTSttEvyGqjWZvoku3N_bzhy_oCnKk0eJfPqtBYNcHDGbGDoMwhnBArzobTMiYUvYP7.9gzV2WNzV2RxwfwuZJgSrcnbK2BtEnAZ5.q2eMVyMVmILvleoGopWWpDRMMWFKi8F9XG7vdRbOQz8nMdNnqLMBR0p3tO9Rnhq +Document_cookie_set -> arg -> dX1xbeyMT58WP=5xOf_mwTvcEJBtmlTKPMn_TKz4FP9PA1wnZMRjRtfKuEYMQhg8TNlOL0Rz7IFxctgEtS1o6y3PeNLCJOCMi5pNFvtcYhbVGC2O65QtZBBrkMCyeuMxSHgpD9nj19uS2pH132.NqQhZ6OWkYaM2ZIEnhTSmIouFoLxw1llk9FZ72SXvK2lwg0iKkToUbzqr__hxIDyqAjmdPrhsIpOis4sAnIrE86on5mUZC1E6TfV_G; path=/; expires=Fri, 01 Mar 2024 10:21:32 GMT; Secure +Document_cookie_set -> -> 过期时间 -> Fri, 01 Mar 2024 10:21:32 GMT +Document_cookie_set -> -> cookieValue -> dX1xbeyMT58WP=5xOf_mwTvcEJBtmlTKPMn_TKz4FP9PA1wnZMRjRtfKuEYMQhg8TNlOL0Rz7IFxctgEtS1o6y3PeNLCJOCMi5pNFvtcYhbVGC2O65QtZBBrkMCyeuMxSHgpD9nj19uS2pH132.NqQhZ6OWkYaM2ZIEnhTSmIouFoLxw1llk9FZ72SXvK2lwg0iKkToUbzqr__hxIDyqAjmdPrhsIpOis4sAnIrE86on5mUZC1E6TfV_G window_setInterval ->delay值可能会影响执行结果,如果网站中执行的方法框架内没有执行,可以与delay值有关,尝试修改判断条件 delay->1000 argList-> -> func ->function _$_3(){var _$_3,_$_t,_$fL,_$hF,_$_s,_$$$;if(_$im._$bt)(_$_t=_$be._$cx(),_$_3=_$be._$cx(),_$ bodaEnv.memory.asyncEvent[listener] 未实现 contextmenu @@ -763,7 +763,7 @@ Document_getElementById -> id ->nc_1_n1z-> res ->null 定时器异步回调执行======> delay->2047 timeoutID->7 callback:function _$_3(){var _$_3,_$_t,_$fL,_$hF,_$_s,_$$$;if(_$im._$bt)(_$_t=_$be._$cx(),_$_3=_$be._$cx(),_$_t[1]=_$iy[1],_$_t[3]=_$iy[3]);else{_$_t=[],_$_3=new _$jv(_$im._$jm),_$_t[1]=_$iy[1].concat([arguments]),_$_t[3]=_$iy[3].concat([_$_3]),_$fL=_$im._$am;for(_$hF=2;_$hF<_$fL.length;_$hF++ )_$_3[_$hF]=_$j4(_$fL[_$hF],_$_t);}_$_t[0]=arguments,_$_t[2]=_$_3,_$_3[0]=this,_$_3[1]=arguments,_$im._$gZ.charCodeAt?_$im._$gZ=_$cg(_$im._$gZ):0,_$it(_$im,0,_$im._$gZ.length,_$_t),_$_s=_$_t[4],_$$$=_$_t[5],_$im._$bt?(_$be._$gD(_$_t),_$be._$gD(_$_3)):0;if(_$_s===1)return _$$$;} 定时器异步回调delay大于等于5000不执行======>delay->5000 timeoutID->1 callback:function _$_3(){var _$_3,_$_t,_$fL,_$hF,_$_s,_$$$; window_document_get ->[object HTMLDocument] -Document_cookie_get cookie -> enable_dX1xbeyMT58W=true; dX1xbeyMT58WP=vXdDfo6ihV0NPriYNuOg8p9lJT3Hj9Tp4Hx3oY8acarvxpp9tijXj3nN1iFxe64kn_U.Q3XTSttEvyGqjWZvoku3N_bzhy_oCnKk0eJfPqtBYNcHDGbGDoMwhnBArzobTMiYUvYP7.9gzV2WNzV2RxwfwuZJgSrcnbK2BtEnAZ5.q2eMVyMVmILvleoGopWWpDRMMWFKi8F9XG7vdRbOQz8nMdNnqLMBR0p3tO9Rnhq +Document_cookie_get cookie -> enable_dX1xbeyMT58W=true; dX1xbeyMT58WP=5xOf_mwTvcEJBtmlTKPMn_TKz4FP9PA1wnZMRjRtfKuEYMQhg8TNlOL0Rz7IFxctgEtS1o6y3PeNLCJOCMi5pNFvtcYhbVGC2O65QtZBBrkMCyeuMxSHgpD9nj19uS2pH132.NqQhZ6OWkYaM2ZIEnhTSmIouFoLxw1llk9FZ72SXvK2lwg0iKkToUbzqr__hxIDyqAjmdPrhsIpOis4sAnIrE86on5mUZC1E6TfV_G undefined undefined undefined diff --git a/bodaEnv/tools/envFuncBom.js b/bodaEnv/tools/envFuncBom.js index f1513086..80d72a5f 100644 --- a/bodaEnv/tools/envFuncBom.js +++ b/bodaEnv/tools/envFuncBom.js @@ -1326,9 +1326,9 @@ return _res } - bodaEnv.envFunc.RTCSesbodaDescription_sdp_get = function() { + bodaEnv.envFunc.RTCSessionDescription_sdp_get = function() { let _sdp = 'v=0\r\no=- 283646262374240015 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 0.0.0.0\r\na=candidate:3810267142 1 udp 2113937151 c9d17d26-c64c-4f6d-8935-d34d0c8b0e25.local 51806 typ host generation 0 network-cost 999\r\na=ice-ufrag:zByE\r\na=ice-pwd:2UoKT0eOwJeeZwAgjWodRyqU\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9A:C4:12:A0:BE:38:9F:A6:AA:55:24:66:A0:5F:81:91:B2:9C:27:41:67:56:3C:0F:4E:16:C0:E6:77:E3:41:C7\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n' - bodaEnv.toolsFunc.console_copy(`RTCSesbodaDescription_sdp_get IP检测 res->`, _sdp) + bodaEnv.toolsFunc.console_copy(`RTCSessionDescription_sdp_get IP检测 res->`, _sdp) return _sdp }