Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)

enter image description here

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/

like image 774
Tomer Dror Avatar asked Mar 08 '21 06:03

Tomer Dror


3 Answers

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

If you use 4 params you will get this error.

like image 109
user15367236 Avatar answered Oct 23 '22 02:10

user15367236


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.

like image 26
A.R. Nasir Qureshi Avatar answered Oct 23 '22 03:10

A.R. Nasir Qureshi


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.com/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).

like image 24
Clint Hunter Avatar answered Oct 23 '22 03:10

Clint Hunter