зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1471279 [wpt PR 11671] - Correctly generate <script> referrerPolicy tests, a=testonly
Automatic update from web-platform-testsCorrectly generate <script> referrerPolicy tests (#11671) -- wpt-commits: 8780e84e70a5ff98019ac65885117446728216b5 wpt-pr: 11671
This commit is contained in:
Родитель
b5a03681df
Коммит
fb5a708300
|
@ -605124,7 +605124,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"referrer-policy/generic/common.js": [
|
||||
"583f61d9d6f30742f8144ded8ea31035a07034a3",
|
||||
"99a7fec378d204fd0fafc4bb845acd7c54a2613f",
|
||||
"support"
|
||||
],
|
||||
"referrer-policy/generic/iframe-inheritance.html": [
|
||||
|
|
|
@ -230,9 +230,10 @@ function queryAreaLink(url, callback, referrer_policy) {
|
|||
queryNavigable(area, url, callback, referrer_policy)
|
||||
}
|
||||
|
||||
function queryScript(url, callback) {
|
||||
function queryScript(url, callback, attributes, referrer_policy) {
|
||||
var script = document.createElement("script");
|
||||
script.src = url;
|
||||
script.referrerPolicy = referrer_policy;
|
||||
|
||||
var listener = function(event) {
|
||||
var server_data = event.data;
|
||||
|
|
Загрузка…
Ссылка в новой задаче