microsoft-edge

Microsoft Edge, media query doesn't work correctly

大兔子大兔子 提交于 2019-12-24 09:28:48
问题 I tested this media query successfully on Google Chrome but somehow Microsoft Edge has issues with it. Is something wrong with these queries? Or is it just a bug in Microsoft Edge? UPDATE: It looks like Edge needs a Class without Media Query, so I added .height-fix{height:650px} and it works. @media all and (min-width:875px) and (max-width:980px) { .height-fix { height : 610px; } } @media all and (min-width:768px) and (max-width:875px) { .height-fix { height : 575px; } } @media (max-height

MS Edge handles 401 errors thus bypassing my error handler

十年热恋 提交于 2019-12-24 08:41:33
问题 I have code to make ajax calls to my web service in javascript as follows: $.ajax( { url: url, data: json, type: "POST", processData: false, contentType: "application/json", timeout: 10000, dataType: "text", global: false, success: function (result, jqXHR) { sccParams = { result: result, jqXHR: jqXHR, } successResult(sccParams) }, error: function (jqXHR, textStatus, errorThrown) { errParams = { jqXHR: jqXHR, textStatus: textStatus, errorThrown: errorThrown, } errorHandler(errParams); } });

Edge: browserAction.setIcon not working when using a default icon with multiple sizes

こ雲淡風輕ζ 提交于 2019-12-24 07:32:34
问题 I can't get browser.browserAction.setIcon to work in Microsoft Edge when manifest.json is specifying a default icon in multiple sizes: manifest.json { "manifest_version": 2, "name": "test", "version": "0.0.1", "author": "John Doe", "background": { "scripts": ["background.js"], "persistent": false }, "browser_action": { "default_icon": { "19": "icon.png", "38": "icon2.png" } } } background.js setInterval(function() { browser.browserAction.setIcon({ path: "testimage.png" }); }, 2000); No error

How can we setup Cypress for IE and Edge?

╄→гoц情女王★ 提交于 2019-12-24 07:26:01
问题 I need to use Cypress for testing angular and react application on Internet Explorer and Microsoft edge. I have gone through some links which mentions that Cypress supports only Chrome, Chromium and Electron. Is it true ? if not the how can i use it for testing IE and Edge.? 回答1: As per the documentation Canary, Chrome, Chromium and Electron are supported. Cypress supported browsers Which means you cannot make a test with IE or present Edge browser. But you can try to make a test with new MS

Unable to print PDF file in Edge browser

不打扰是莪最后的温柔 提交于 2019-12-24 06:44:41
问题 Trying to print PDF file retrieved from server. Approach 1 Retrieve PDF from server via AJAX Create Blob ( URL.createObjectURL(pdfFile) ) Set blob ObjectUrl as a source to iframe Print iframe ( iframeContentWindow.document.execCommand('print', false, null) ) Problem Not working in Edge since it has issue link1, link2, link3 Approach 2 Set URL from which server returns PDF as a source to iframe Print iframe Problem Endpoint which returns PDF requires authorization, as i see there is no way to

How to disable native tooltip for links in Microsoft Edge

筅森魡賤 提交于 2019-12-24 05:29:07
问题 In Microsoft Edge, when you touch and hold a link, a native tooltip is displayed showing the address (href) of the link. For example: <a href="http://www.google.com">Google</a> If you tap and hold the link in Edge, a tooltip will pop up saying "www.google.com". I'd like to prevent this tooltip from displaying. I've tried catching the MSHoldVisual and contextmenu events and calling event.preventDefault() for them, as recommended for IE 10 on MSDN and by another Stack Overflow question (Is it

Polymer 2.0 webcomponents-loader.js is missing Edge polyfill

给你一囗甜甜゛ 提交于 2019-12-24 05:09:12
问题 We currently updated a project from Polymer 1 to the Polymer 2/ hybrid version. I know that webcomponents-hi-sd-ce.js is the polyfill for edge. When testing the page on Microsoft Edge I now get an error indicating that webcomponents-hi-sd-ce.js.map could not be found (404). The same error occurs when loading the project with webcomponents-lite.js I couldn't find similar cases so I figured this might be a issue in Polymer 2. I tried importing the script directly by myself but that didn't help

Edge input placeholder not aligned with text

好久不见. 提交于 2019-12-24 03:34:06
问题 In all other browsers, the placeholder of my input of type text starts where the cursor is flickering. However, in Microsoft Edge, the placeholder text appears ahead of the cursor. Is there any way to fix this? Expected result: Edge result: 回答1: It seems I found the answer (the sooner I asked it here...) The problem is with the text-indent property. Somehow in Edge it moves the cursor at an inequal distance to the placeholder. Using padding-left: 10px; instead of text-indent: 10px; solves the

Use 'Edge' or 'IE9' for X-UA-Compatible header?

99封情书 提交于 2019-12-24 02:27:10
问题 In my .htaccess file I have this header: Header set X-UA-Compatible "IE=Edge,chrome=1" I optimise my sites for IE7-9 (and other browsers), but now that IE10 is coming up, should I still be using the 'Edge' value or 'IE9' value to guarantee my sites will work in IE10? In other words, could IE10 have such changes that it could break my site which worked fine in IE9? 回答1: "Guarantee" is a strong word. A beta of Windows 8/IE10 has not yet been released so everything is subject to change. Right

Microsoft Edge caching Ajax requests?

假装没事ソ 提交于 2019-12-24 01:39:27
问题 So I have an ajax system for loading content on a website, it works like this: When clicking a button, a Javascript function is called: onclick="doSomething('abc')" My Javascript looks like this: //Ajax var xmlhttp; function loadXMLDoc(url,cfunc) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=cfunc; xmlhttp.open("GET",url