(windows8 RTM)
winjs-xhr-basic-error.js
WinJS.xhr(
type: 'get',
url: "https://username:password@example.com"
)
とURLにBASIC認証の情報を埋め込んでリクエストを送ろうとすると
0x800c000e - JavaScript 実行時エラー: セキュリティの問題が発生しました。
と怒られます。
winjs-xhr-basic-error.js
WinJS.xhr(
type: 'get',
url: 'https://example.com',
user: "username",
password: "password"
)
素直にuserとpasswordオプションを使いましょう。