-
- Downloads
Bug 1816287 - Always exit fullscreen when triggering on external protocol r=edgar
It's a security risk such that the maximized external program can obscure the fullscreen notification and the malicious site can use this trick to load a spoofed page in the background without user notices it. This patch minimized the risk by always exit the fullscreen mode when an external protocol is triggered. Differential Revision: https://phabricator.services.mozilla.com/D177771
Showing
- docshell/base/nsDocShell.cpp 6 additions, 5 deletionsdocshell/base/nsDocShell.cpp
- dom/base/Document.cpp 7 additions, 0 deletionsdom/base/Document.cpp
- dom/base/Document.h 2 additions, 0 deletionsdom/base/Document.h
- dom/base/LocationBase.cpp 5 additions, 0 deletionsdom/base/LocationBase.cpp
- dom/base/nsContentUtils.cpp 7 additions, 0 deletionsdom/base/nsContentUtils.cpp
- dom/base/nsContentUtils.h 2 additions, 0 deletionsdom/base/nsContentUtils.h
- dom/base/nsNoDataProtocolContentPolicy.cpp 1 addition, 5 deletionsdom/base/nsNoDataProtocolContentPolicy.cpp
- dom/base/test/fullscreen/browser.ini 1 addition, 0 deletionsdom/base/test/fullscreen/browser.ini
- dom/base/test/fullscreen/browser_fullscreen_exit_on_external_protocol.js 160 additions, 0 deletions...ullscreen/browser_fullscreen_exit_on_external_protocol.js
- image/imgLoader.cpp 1 addition, 4 deletionsimage/imgLoader.cpp
- image/imgRequest.cpp 2 additions, 11 deletionsimage/imgRequest.cpp
- parser/html/nsHtml5TreeOperation.cpp 1 addition, 6 deletionsparser/html/nsHtml5TreeOperation.cpp
Loading
Please register or sign in to comment