Bug 1467593 - Add strict=false to the schema of some policies. r=mkaply

This allows mistakes given to URL and origin params to be less severe to the end user.

MozReview-Commit-ID: 3HXM6adjCo0

--HG--
extra : rebase_source : 2dba2e27e645ecf05752ecb5cf8332d986d9f0ab
This commit is contained in:
Felipe Gomes 2018-06-29 15:54:54 -03:00
parent db8dc29d5f
commit 6bc4e8af53

View File

@ -114,6 +114,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -121,6 +122,7 @@
"Block": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -338,6 +340,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -345,6 +348,7 @@
"Block": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -380,6 +384,7 @@
},
"Additional": {
"type": "array",
"strict": false,
"items": {
"type": "URL"
}
@ -395,6 +400,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -441,6 +447,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -448,6 +455,7 @@
"Block": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -468,6 +476,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -475,6 +484,7 @@
"Block": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -495,6 +505,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -502,6 +513,7 @@
"Block": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -522,6 +534,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -529,6 +542,7 @@
"Block": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}
@ -553,6 +567,7 @@
"properties": {
"Allow": {
"type": "array",
"strict": false,
"items": {
"type": "origin"
}