mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 11:58:55 +00:00
Bug 1846712 - Implement s shim for MSN login. r=twisniewski,pbz,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186793
This commit is contained in:
parent
8640f33f25
commit
ce2edf4d30
@ -687,6 +687,7 @@ const AVAILABLE_SHIMS = [
|
||||
["*://web.powerva.microsoft.com/*", "*://login.microsoftonline.com/*"],
|
||||
["*://teams.microsoft.com/*", "*://login.microsoftonline.com/*"],
|
||||
["*://*.teams.microsoft.us/*", "*://login.microsoftonline.us/*"],
|
||||
["*://www.msn.com/*", "*://login.microsoftonline.com/*"],
|
||||
],
|
||||
contentScripts: [
|
||||
{
|
||||
@ -695,6 +696,7 @@ const AVAILABLE_SHIMS = [
|
||||
"*://web.powerva.microsoft.com/*",
|
||||
"*://teams.microsoft.com/*",
|
||||
"*://*.teams.microsoft.us/*",
|
||||
"*://www.msn.com/*",
|
||||
],
|
||||
runAt: "document_start",
|
||||
},
|
||||
|
@ -2,7 +2,7 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Web Compatibility Interventions",
|
||||
"description": "Urgent post-release fixes for web compatibility.",
|
||||
"version": "118.0.0",
|
||||
"version": "118.1.0",
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "webcompat@mozilla.org",
|
||||
|
@ -14,7 +14,9 @@ console.warn(
|
||||
function init() {
|
||||
const observer = new MutationObserver(() => {
|
||||
document.body
|
||||
.querySelectorAll("iframe[id^='msalRenewFrame'][sandbox]")
|
||||
.querySelectorAll(
|
||||
`iframe:is([id^='msalRenewFrame'], [src^="https://login.microsoftonline.com"])[sandbox]`
|
||||
)
|
||||
.forEach(frame => {
|
||||
frame.sandbox.add(SANDBOX_ATTR);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user