fix(browser): host agent browser in workbench

This commit is contained in:
xiaohan.yuan committed 2026-10-20 16:30:36 +08:00
1 parent 9a1f182397
commit efb44f9340
12 files changed
+136 -41

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ const STUB = `<script>
browser: {
create: async()=>({id:'offline-browser',title:'离线浏览器',url:'about:blank'}),
get: async(id)=>({id:id,title:'',url:'about:blank',canGoBack:false,canGoForward:false,loading:false}),
navigate: async()=>({}), back: async()=>({}), forward: async()=>({}), reload: async()=>({}), bounds: async()=>{}, close: async()=>{}, rebind: async()=>{}
navigate: async()=>({}), back: async()=>({}), forward: async()=>({}), reload: async()=>({}), bounds: async()=>{}, close: async()=>{}, rebind: async()=>{}, onEvent:()=>()=>{}
},
terminal: {
create: async()=>({id:'offline-terminal',title:'终端'}),