<iframe src="https://developer.mozilla.org/" scrolling="no"></iframe>
in html5 local.
I wrote this page locally. When I open it in Safari, it behaves as expected – it does not appear in the frame, and the console shows an error
Refused to display 'https://developer.mozilla.org/zh-CN/' in a frame because it set 'X-Frame-Options' to 'DENY.'
However, in Chrome, it does appear. How can I achieve the same result in Chrome?
Expecting: Chrome and Safari behave the same。