From c3f480902a2fc80f949f64f623d114e36c1e5db8 Mon Sep 17 00:00:00 2001 From: Julia Eskew Date: Tue, 21 Dec 2021 15:37:55 -0500 Subject: [PATCH] fix: Remove token which disabled different origin subframe dialog suppression for Chrome version 92. A permanent solution to presenting a dialog to a user in an LTI block was done in TNL-9231. --- lms/envs/common.py | 4 ---- lms/envs/production.py | 6 ------ lms/templates/main.html | 1 - 3 files changed, 11 deletions(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index 4b6a7880f6..ae7b0116d7 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -4858,10 +4858,6 @@ SHOW_ACTIVATE_CTA_POPUP_COOKIE_NAME = 'show-account-activation-popup' # .. toggle_creation_date: 2021-06-10 SHOW_ACCOUNT_ACTIVATION_CTA = False -################# Settings for Chrome-specific origin trials ######## -# Token for " Disable Different Origin Subframe Dialog Suppression" for http://localhost:18000 -CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN = 'ArNBN7d1AkvMhJTGWXlJ8td/AN4lOokzOnqKRNkTnLqaqx0HpfYvmx8JePPs/emKh6O5fckx14LeZIGJ1AQYjgAAAABzeyJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjE4MDAwIiwiZmVhdHVyZSI6IkRpc2FibGVEaWZmZXJlbnRPcmlnaW5TdWJmcmFtZURpYWxvZ1N1cHByZXNzaW9uIiwiZXhwaXJ5IjoxNjM5NTI2Mzk5fQ==' # pylint: disable=line-too-long - ################# Documentation links for course apps ################# # pylint: disable=line-too-long diff --git a/lms/envs/production.py b/lms/envs/production.py index fbb6c45682..5665594725 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -1042,9 +1042,3 @@ COURSE_OLX_VALIDATION_IGNORE_LIST = ENV_TOKENS.get( ################# show account activate cta after register ######################## SHOW_ACCOUNT_ACTIVATION_CTA = ENV_TOKENS.get('SHOW_ACCOUNT_ACTIVATION_CTA', SHOW_ACCOUNT_ACTIVATION_CTA) - -################# Settings for Chrome-specific origin trials ######## -# Token for "Disable Different Origin Subframe Dialog Suppression" Chrome Origin Trial, which must be origin-specific. -CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN = ENV_TOKENS.get( - 'CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN', CHROME_DISABLE_SUBFRAME_DIALOG_SUPPRESSION_TOKEN -) diff --git a/lms/templates/main.html b/lms/templates/main.html index 4cb8485d5d..9ee3b6d5b1 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -34,7 +34,6 @@ from common.djangoapps.pipeline_mako import render_require_js_path_overrides - ## Define a couple of helper functions to make life easier when ## embedding theme conditionals into templates. All inheriting