Comment 10 for bug 1538678

Revision history for this message
Kathy Lussier (klussier) wrote :

OK, I think I have a clue. I'm testing this on the same 2.12.5 server as Andrea, but I'm not seeing the same behavior she sees. I still cannot get the warning prompt to appear. We are both using the same browser (Chrome 62), but we are on a different OS, so I tried again using Chrome 62 on a Windows system. I'm still not seeing the warning prompt.

However, I do see the following message in the browser console when trying navigate away from the form while editing a MARC record:

Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808

I'm a bit puzzled, since I do interact with the form before I try to navigate away from the page, but it looks like this feature is new to Chrome 60 (released in July), which explains why the behavior has changed since our previous testing.

This explains why the previous behavior is broken, but does not explain why creation of a new MARC record never worked. Testing on the 2.12.5 system and on the master system with Kyle's patch, I do NOT see that console message when navigating away from the interface while creating a new MARC record. It looks like the client is never attempting to invoke the beforeunload event in that scenario. Kyle, I still wasn't able to get the warning to appear when I switched to my Windows system.