Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the disableFullscreen hack for embedded IE 11 (issue 9585) #9815

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Jun 14, 2018

It appears that Microsoft silently fixed the problem that required disabling of fullscreen mode, in e.g. iframes, in IE 11; please see issue #4711 and PR #5525 for historical context.

Unfortunately my Google-fu isn't strong enough to find any official information regarding the fixing of the browser bug in IE. However testing of the default viewer in IE 11, with this patch applied, it now appears that Presentation Mode is working correctly even in an iframe in IE 11.
Further anecdotal evidence that the bug is in fact fixed, is for example that jQuery previously contained a work-around for the IE bug. However, that's removed over two years ago now; see jquery/jquery@ff1a082 and the issues referenced there.

Given that the default viewer isn't intended to be used as-is anyway (in custom deployments), it didn't seem necessary to keep the disableFullscreen option around since it was only ever added for compatibility purposes.

Fixes #9585.

It appears that Microsoft silently fixed the problem that required disabling of fullscreen mode, in e.g. `iframe`s, in IE 11; please see issue 4711 and PR 5525 for historical context.

Unfortunately my Google-fu isn't strong enough to find any *official* information regarding the fixing of the browser bug in IE. However testing of the default viewer in IE 11, with this patch applied, it now appears that Presentation Mode is working correctly even in an `iframe` in IE 11.
Further anecdotal evidence that the bug is in fact fixed, is for example that jQuery previously contained a work-around for the IE bug. However, that's removed over two years ago now; see jquery/jquery@ff1a082 and the issues referenced there.

Given that the default viewer isn't intended to be used as-is anyway (in custom deployments), it didn't seem necessary to keep the `disableFullscreen` option around since it was *only* ever added for compatibility purposes.

Fixes 9585.
@Snuffleupagus Snuffleupagus force-pushed the rm-disableFullscreen-IE-embedded branch from edf1001 to 349b7d5 Compare June 14, 2018 10:26
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/d26411c6f80d7b2/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/d26411c6f80d7b2/output.txt

Total script time: 19.19 mins

Published

@timvandermeij timvandermeij merged commit 7384386 into mozilla:master Jun 14, 2018
@timvandermeij
Copy link
Contributor

Looks good! Not sad to see this go at all.

@Snuffleupagus Snuffleupagus deleted the rm-disableFullscreen-IE-embedded branch June 14, 2018 21:33
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…en-IE-embedded

Remove the `disableFullscreen` hack for embedded IE 11 (issue 9585)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why is fullscreen mode disabled for IE11 when documents are embedded?
3 participants