質問者
IEでportalの脆弱性情報が表示されない

質問
すべての返信
-
これは Web サイト側の問題のようですね。
JavaScript において、Internet Explorer 11 でサポートされていない ES2015 のテンプレートリテラル 構文が使用されているため、IE がスクリプトエラーを引き起こしています。
手元の環境でトレースしてみたところ
https://portal.msrc.microsoft.com/bundles/alljsbase
から返される JavaScript の 2065行~2068行目にある
var strings = { errorMeControlFailedToLoad: 'MeControl did not load successfully', errorMeControlNoContainer: `Could not find MeControl container element with ID ${meControlContainerId}`, };
というスクリプトを、対処療法的に
var strings = { errorMeControlFailedToLoad: 'MeControl did not load successfully', errorMeControlNoContainer: 'Could not find MeControl container element with ID ${meControlContainerId}' };
に書き換えることで、一応表示されることを確認しました。(テンプレートが展開されないため、正しい表示というわけではありませんが)
- 編集済み 魔界の仮面弁士MVP 2019年9月5日 6:36 テンプレートリテラルに関する技術文書へのリンクを追加
- 回答の候補に設定 Haruka6002Microsoft contingent staff, Moderator 2019年9月9日 1:51
-
魔界の仮面弁士さん
ご回答、有難うございました。
確かに、Webサイト側で対応頂きたいです。関連全てで同じ現象になるでしょうから。
拝見しましたが、ソースと対処療法の記載内容が同じと見受けられますが・・・
var strings = {
errorMeControlFailedToLoad: 'MeControl did not load successfully',
errorMeControlNoContainer: `Could not find MeControl container element with ID ${meControlContainerId}`,
};というスクリプトを、対処療法的に
var strings = {
errorMeControlFailedToLoad: 'MeControl did not load successfully',
errorMeControlNoContainer: 'Could not find MeControl container element with ID ${meControlContainerId}'
}; -
hidechanzさん、こんにちは。フォーラムオペレーターのHarukaです。
MSDNフォーラムにご投稿くださいましてありがとうございます。
ご質問いただいた件ですが、その後いかがでしょうか。
魔界の仮面弁士さんから寄せられた投稿はお役に立ちましたか。
参考になった投稿には [回答としてマーク] をお願い致します。
設定いただくことで、
他のユーザーもお役に立つ回答を見つけやすくなります。
お手数ですが、ご協力の程どうかよろしくお願いいたします。
MSDN/ TechNet Community Support Haruka
ご協力くださいますようお願いいたします。また、MSDNサポートに賛辞や苦情がある場合は、MSDNFSF@microsoft.comまでお気軽にお問い合わせください。~