mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
parent
b2856b16a5
commit
501e0b3db7
1 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,12 @@ function watchObjectOrEmbed(elem) {
|
|||
// Until #4483 is fixed, POST requests should be ignored.
|
||||
return;
|
||||
}
|
||||
if (elem.tagName === 'EMBED' && elem.src === 'about:blank') {
|
||||
// Starting from Chrome 76, internal embeds do not have the original URL,
|
||||
// but "about:blank" instead.
|
||||
// See https://github.com/mozilla/pdf.js/issues/11137
|
||||
return;
|
||||
}
|
||||
|
||||
if (elem.__I_saw_this_element) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue