microsoft-edge

Time difference between chrome / edge on windows 10

别来无恙 提交于 2019-12-07 19:33:30
I get TZ difference on windows 10 between Chrome and Edge. When I run this code in the console: > var date = new Date(2013, 2, 29, 1, 0, 0, 0); > date This will be the output when running in on Edge > [date] Fri Mar 29 2013 01:00:00 GMT+0200 (Jerusalem Standard Time) While This will be the output on Chrome: > [date] Fri Mar 29 2013 01:00:00 GMT+0300 (Jerusalem Daylight Time) It seems that in Chrome it is recognise as DST but in Edge it doesn’t, which is correct. ( Attached screenshot ) If I turn off the “Adjust for day light saving time automatically” configuration - Chrome date becomes the

Memory leak using window.eval() in Firefox?

核能气质少年 提交于 2019-12-07 16:32:36
问题 I have a simple test case where I call the window.evaluate function. <html> <head></head> <body> <script> function test() { // do something important } setInterval( function() { window.eval("test();"); }, 100 ); </script> </body> </html> Now when I open this page within Firefox, Chrome and Edge and profile the memory, I can see different results. Note that I'm using Windows 10 Pro 64b. at start after cca 9 hours browser version ------------------------------------------------- Edge: 0.28MB 0

Edge: Script70 error opening new window tab

北城以北 提交于 2019-12-07 12:18:29
问题 I am having an issue with Microsoft Edge browser (works fine on chrome, firefox, ie11). Code: let win = window.open('', 'testWindow'); win.document.open(); win.document.write(var); win.document.close(); I am using this to open a new tab, write to it and print page. In Edge i am getting an error: Script70: permission denied on the win.document.open(); . I have researched many similar issues with an iframe but have yet to find the cause of this error. 回答1: You have syntax error in your code

XPath expression using “and” doesn't work in Microsoft Edge?

十年热恋 提交于 2019-12-07 09:55:20
问题 I'm working on an application that uses XPath expressions to select nodes from XML. We've noticed that this seems to break down for us when testing in the Microsoft Edge preview. I've cut down our code to a brief snippet that demonstrates the issue: var xml = "<xml id='relationships'><Relationships><f id='some_id' ><f id='some_other_id' /></f></Relationships></xml>"; var doc = (new DOMParser).parseFromString(xml, "text/xml"); var nodes = doc.evaluate("//f[@id='some_id' and f]", doc, doc

Microsoft EDGE Browser. Error SEC7117

我们两清 提交于 2019-12-07 09:35:30
问题 I open site https://www.1platforma.ru/ first time (or clean cache) In developer console I see an error SEC7117. MS EDGE Browser could not load bundle.min.css and bundle.min.js files. How can my users open the site and see interface with CSS and JS if those files didn't load?.. 回答1: Could it be that those resouces are loaded from Intranet? See here: Understanding Enhanced Protected Mode Internet pages are not able to frame Intranet pages, load images or resources from them, send them CORS XHR

Edge browser Websocket connection will be automatically closed after an idle time

心已入冬 提交于 2019-12-07 07:20:42
问题 I did a test about Websocket on new Window Edge browser. It seems that the websocket connection on the Edge browser will be automatically closed after an idle time (no data transmission b/w 2 endpoints). The issue does not happens on chrome or firefox. I just wonder: Is there any additional configuration when initializing the websocket connection on Edge browser to keep the connection opened? I really dont' want to implement heartbeat mechanism because actually everything still works well on

Microsoft Edge won't load local nginx website in Vagrant VM

耗尽温柔 提交于 2019-12-07 01:58:55
问题 I'm experiencing a strange issue with Microsoft Edge not loading a local Craft CMS website hosted inside a vagrant virtual machine. Any attempt to load the locally configured host name or IP, returns the "Hmm, we can't reach this page." error. I have a line in my hosts file: 192.168.10.12 test.craft.dev I've read various resources about Microsoft Edge not properly handling the hosts file properly, however not even the IPv4 address works either. I've tried several of the recommendations

Developer tools in windows edge browse localstorage

一笑奈何 提交于 2019-12-06 20:55:26
问题 I'm trying to use the new windows Edge browser for my web development.But just can't find any way to browse localstorage, cookies etc. inside the developer tools. How do I view them? Best regards 回答1: They are here: Debugger tab -> Folder icon on the left, under the "play" icon. 回答2: you can check localStorage object in the Console Open F12 Developer Tools (press F12) Go to Console tab type localStorage in the input and click run/press enter. check the screenshot 来源: https://stackoverflow.com

Canvas to blob on Edge

丶灬走出姿态 提交于 2019-12-06 20:27:25
问题 Getting exception on Microsoft Edge browser when trying to convert Html canvas element to blob. Everything works great on normal browsers. Exception: SCRIPT438: Object doesn't support property or method 'toBlob' Html snippet: <canvas id="cnv" width="640px" height="520px" style="display: none"></canvas> Javascript: var files[]; var canvas = document.getElementById('cnv'); canvas.toBlob(function (blob) { files.push(blob); } }, 'image/jpeg', 1); I get this exception right when I call toBlob

Angular expression evaluates in Chrome extension but not in Edge extension

南楼画角 提交于 2019-12-06 18:52:30
问题 I have a simple browser extension, using Angular (v1.6.3), but the Angular expression in the pop-up window of the browser extension is failing to evaluate in Edge, but it is in Chrome. The Angular expression is simply <div>{{2+2}}</div> . When I browse to a relevant website (as configured in the manifest file, namely http://marketplace.visualstudio.com, https://marketplace.visualstudio.com or http://www.bbc.com, and click the extension button, Chrome evaluates the html output to "4", but Edge