### LocCrossOriginResAccSol_one | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | --------------------------- | ------------ | ------------ | ------------------ | -------- | -------- | | 解决Web组件本地资源跨域问题 | 设备运转正常 | 应用启动成功 | 加载index.html页面 | Yes | Pass | ### LocCrossOriginResAccSol_two | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | --------------------------- | ------------------------------------ | ------------------------------- | ------------------------------------ | -------- | -------- | | 解决Web组件本地资源跨域问题 | 设备运转正常,index.html页面加载完成 | 应用启动成功,点击stealFile按钮 | 跨域访问本地resfile/js/script.js文件 | Yes | Pass | ### AddIntTrackPreventByPassList | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------ | ------------ | ------------------------------------------------------------ | -------------------------------- | -------- | -------- | | 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击addIntelligentTrackingPreventionBypassingList按钮 | 设置需要绕过智能防跟踪功能的域名 | Yes | Pass | ### ClearIntTrackPreventByPassList | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------ | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | -------- | | 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击clearIntelligentTrackingPreventionBypassingList按钮 | 清除通过addIntelligentTrackingPreventionBypassingList接口设置的所有域名 | Yes | Pass | ### EnableIntTrackPrevent | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------ | ------------ | --------------------------------------------------------- | ------------------------------- | -------- | -------- | | 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击enableIntelligentTrackingPrevention按钮 | 使能相应Web组件的智能防跟踪功能 | Yes | Pass | ### IsIntTrackPreventEnabled | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------ | ------------ | ------------------------------------------------------------ | --------------------------------------- | -------- | -------- | | 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击isIntelligentTrackingPreventionEnabled按钮 | 判断当前Web组件是否开启了智能防跟踪功能 | Yes | Pass | ### OnIntTrackPreventResult | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------ | ------------ | ----------------------------------------------------------- | ------------------------------------------------ | -------- | -------- | | 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击onIntelligentTrackingPreventionResult按钮 | 获取拦截的跟踪型网站的域名和访问的网站域名信息。 | Yes | Pass | ### RemoveIntTrackPreventByPassList | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------ | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------- | -------- | | 使用智能防跟踪功能 | 设备运转正常 | 应用启动成功,点击removeIntelligentTrackingPreventionBypassingList按钮 | 移除通过addIntelligentTrackingPreventionBypassingList接口设置的部分域名列表 | Yes | Pass | ### EnablingAdsBlocking | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------------- | ------------ | -------------------------------------- | -------------- | -------- | -------- | | 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功,点击setAdsBlockRules按钮 | 打开文件选择器 | Yes | Pass | ### DisAdsBlockSpecDomPages_one | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------------- | ------------ | ----------------------------------------------- | -------------------------- | -------- | -------- | | 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功,点击addAdsBlockDisallowedList按钮 | 关闭特定域名页面的广告过滤 | Yes | Pass | ### DisAdsBlockSpecDomPages_two | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------------- | ------------ | ----------------------------------------------- | -------- | -------- | -------- | | 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功,点击addAdsBlockDisallowedList按钮 | 添加域名 | Yes | Pass | ### CollectingAdsBlockingInformation | 测试功能 | 预置条件 | 输入 | 预期输出 | 是否自动 | 测试结果 | | ------------------------- | ------------ | ------------ | ------------------ | -------- | -------- | | 使用Web组件的广告过滤功能 | 设备运转正常 | 应用启动成功 | 收集广告过滤的信息 | Yes | Pass |