internet-explorer

C++ interface version of HttpWebRequest and HttpWebResponse

感情迁移 提交于 2021-01-28 09:59:30
问题 We are wondering how to use HttpWebRequest and HttpWebResponse .net framework Class in ATL c++ project is their any interface exposed for webrequest class in C++, currently we cannot have a c# project so we are looking for alternative interface. Any help will be greatly appreciated. Ramanand. 回答1: You have the following options: 1) Write your managed HttpWebRequest code into a C# file, and compile it as a DLL. Use RegAsm.exe to register it as a COM object. Use the COM object from the C/C++

Empty values when posting FormData-object via fetch-api in Internet Explorer 11

人盡茶涼 提交于 2021-01-28 08:31:11
问题 I have written a React-component which should be used for all forms in my application. When a certain button is clicked I make some validation and finally I want to post the form to the server. This is what this part currently looks like: // get what should be submitted const formData = new FormData(theForm)); // theForm is the DOM-element // post the form-data element fetch(theForm.action, { credentials: "include", //pass cookies, for authentication method: theForm.method, headers: { "Accept

How to achieve the spread operator in IE 11?

我们两清 提交于 2021-01-28 06:25:36
问题 For some " extraction " operation I am trying to get the following snippet work, without using the spread operator, because IE 11 doesn't knows about spread operators. works in Chrome, but not IE 11: html_col_width =[{"targets":0, "width":50}, {"targets":1, "width":100},{"targets":2, "width":442}] ... some other code order: [ [response.order_by_column, response.order_by] ], columnDefs: [ ...html_col_width, {other: stuff}, {other: stuff} }) See columnDefs: ...html_col_width How can I achieve

How to view soap service data from my browser

时光毁灭记忆、已成空白 提交于 2021-01-28 04:05:51
问题 I'm completely new to how soap services work, please correct me if my understanding is wrong. I would like to pass parameters and call a function from a soap service by typing in a url on my browser (Chrome) and then would like to see the results. I tried searching and following the information from here, but I'm not sure what I'm doing wrong. I have tried the following variations: http://<servername>/apppath/MyService.asmx?op=GetData?loc=01&status=OPEN http://<servername>/apppath/MyService

Selenium WebDriver on IE11 always has “--port=” in URL

断了今生、忘了曾经 提交于 2021-01-28 03:24:27
问题 I am trying to run some automated tests on IE11 using Selenium Webdriver. Whenever I run my code the URL that IE tries to load is http://--port=38198/ I am trying to simply load Google and return the title, then I will move onto the actual automated testing I intend to do. Here is a sample of my code so far; private WebDriver driver; private String baseUrl; @Before public void setUp() throws Exception{ System.setProperty("webdriver.ie.driver", "C:\\Program Files\\Internet Explorer\\iexplore

Download file - Save popup in Internet Explorer using TestCafe

廉价感情. 提交于 2021-01-28 02:55:41
问题 In Internet Explorer, whenever a download file window is asking for three options 1. Open 2. Save 3. Close Due to company policy, can't disable popup. However, need to handle same in TestCafe automation. What to click save/save as option? Request for a solution. 回答1: There is no way to overcome this issue, except for disabling the popup in settings. As a workaround, I can suggest you use the requestHooks feature to download the file. Please try the following example in IE: import fs from 'fs'

Selenium WebDriver on IE11 always has “--port=” in URL

牧云@^-^@ 提交于 2021-01-28 01:50:58
问题 I am trying to run some automated tests on IE11 using Selenium Webdriver. Whenever I run my code the URL that IE tries to load is http://--port=38198/ I am trying to simply load Google and return the title, then I will move onto the actual automated testing I intend to do. Here is a sample of my code so far; private WebDriver driver; private String baseUrl; @Before public void setUp() throws Exception{ System.setProperty("webdriver.ie.driver", "C:\\Program Files\\Internet Explorer\\iexplore

How can I make JavaScript modules work in IE 11

梦想与她 提交于 2021-01-27 23:39:49
问题 I have JavaScript modules which I want to use with IE11. In the HTML pages they are referenced like this: <script type="module"> import * as mystuff from './scripts/mystuff.js'; window.mystuff = mystuff </script> They do not work in Internet Explorer 11, but I cannot change the modules to normal scripts (because they are generated by Transcrypt). How can I make them work with IE? Does a polyfill or something similar for the <script type="module"> construct exist? 回答1: You cannot do this. IE

What parameters to pass to mshtml.dll?

孤人 提交于 2021-01-27 18:35:56
问题 I am currently trying to print a HTML file using mshtml.dll. Looking up in the registry I found for html-files, the following print-to entry: "%systemroot%\system32\rundll32.exe" "%systemroot%\system32\mshtml.dll",PrintHTML "%1" "%2" "%3" "%4" Unexpectedly there are some parameters to pass to mshtml.dll, what are the parameters of mshtml.dll (numbered %1, %2, %3, %4 in this registry information)? 回答1: You found this in the printto verb of the htmlfile progid. Which runs when you drag an HTML

Internet Explorer draws SVG incorrectly when updating xlink:href for a <use> element

纵饮孤独 提交于 2021-01-27 18:20:33
问题 https://jsfiddle.net/swoq9g3f/1/ I am having a problem where a simple SVG is drawn incorrectly in Internet Explorer (v11.0.9600.17728) after I change a xlink:href with javascript. If you render just the SVG in IE you get two concentric circles. The javascript sets the xlink:href value for a <use> element to #def1 , which is the value it was previously. After this IE renders only the larger circle, with the smaller circle hidden behind it. The smaller circle is later in the svg document