Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 287760 Details for
Bug 578016
[Browser][Edge] BrowserFunction only works in one app shell
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
simple html that invokes a BrowserFunction
EdgeBrowserTest.html (text/html), 747 bytes, created by
Kent Xu
on 2022-01-02 12:49:00 EST
(
hide
)
Description:
simple html that invokes a BrowserFunction
Filename:
MIME Type:
Creator:
Kent Xu
Created:
2022-01-02 12:49:00 EST
Size:
747 bytes
patch
obsolete
><!DOCTYPE html> ><html lang="en"> ><head> > <meta charset="UTF-8"> > <title>Edge Browser Test</title> ></head> ><body> ><button id="log">Log</button> ><div id="textbox"></div> ><script> >document.addEventListener('DOMContentLoaded', (event) => { > alert('DOM fully loaded and parsed'); > var log = document.getElementById("log"); > log.addEventListener("click", function (){ > var s=new Date().getTime().toString(); > for (var i=0;i<100000;i++) { > s=s+"\n"+i; > } > s=s+"\n"+navigator.userAgent; > s=StageLogFunction(s); > document.getElementById("textbox").innerHTML = s; > }); > }); > > function java2JS() { > alert("received java callback"); > } ></script> ></body> ></html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Edge Browser Test</title> </head> <body> <button id="log">Log</button> <div id="textbox"></div> <script> document.addEventListener('DOMContentLoaded', (event) => { alert('DOM fully loaded and parsed'); var log = document.getElementById("log"); log.addEventListener("click", function (){ var s=new Date().getTime().toString(); for (var i=0;i<100000;i++) { s=s+"\n"+i; } s=s+"\n"+navigator.userAgent; s=StageLogFunction(s); document.getElementById("textbox").innerHTML = s; }); }); function java2JS() { alert("received java callback"); } </script> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 578016
: 287760 |
287761