最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Uncaught TypeError: Failed to execute 'open' on 'Window': Missing required member(s

programmeradmin3浏览0评论

Chrome version : 89.0.4389.82

Application : ASP.NET

Suddenly every click on a link produce the following error:

Uncaught TypeError: Failed to execute 'open' on 'Window': Missing required member(s): conversionDestination, impressionData. at showDialog (windows.js:1032)

I turned off all extensions and experimental features, refresh script, restart IIS...still not working

I think it is related to conversion-measurement-api

/

Chrome version : 89.0.4389.82

Application : ASP.NET

Suddenly every click on a link produce the following error:

Uncaught TypeError: Failed to execute 'open' on 'Window': Missing required member(s): conversionDestination, impressionData. at showDialog (windows.js:1032)

I turned off all extensions and experimental features, refresh script, restart IIS...still not working

I think it is related to conversion-measurement-api

https://wicg.github.io/conversion-measurement-api/

Share Improve this question edited Mar 10, 2021 at 6:53 A.R. Nasir Qureshi 813 bronze badges asked Mar 8, 2021 at 6:26 Tomer DrorTomer Dror 815 bronze badges 2
  • var window = window.open(url, windowName, [windowFeatures]); remove the null? This method takes max. 3 params. – ru4ert Commented Mar 8, 2021 at 7:32
  • developer.mozilla/en-US/docs/Web/API/Window/open take a look at – ru4ert Commented Mar 8, 2021 at 7:32
Add a ment  | 

3 Answers 3

Reset to default 8

SOLVED!!! window.open function has 3 params.

If you use 4 params you will get this error.

I am facing the same issue with the error

Uncaught TypeError: Failed to execute 'open' on 'Window': Missing required member(s): conversionDestination, impressionData.

on window.open on Google Chrome browser. It seems that the recent upgrade has broken something.

Apparently window.open has changed from 4 to 3 parameters at some point with no general announcement or documentation. A lot of older scripts are passing the 4th parameter to window.open as documented here: https://www.w3schools./jsref/met_win_open.asp

As a result, a lot of websites are broken right now on the new versions of Chrome and MS Edge (also based on Chromium).

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论