| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "unprivileged": true, | 4 "unprivileged": true, |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "MessageSender", | 7 "id": "MessageSender", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
| 10 "properties": { | 10 "properties": { |
| (...skipping 4631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4642 }, | 4642 }, |
| 4643 { | 4643 { |
| 4644 "name": "callback", | 4644 "name": "callback", |
| 4645 "type": "function", | 4645 "type": "function", |
| 4646 "description": "Called after the preference has been cleared.", | 4646 "description": "Called after the preference has been cleared.", |
| 4647 "optional": true, | 4647 "optional": true, |
| 4648 "parameters": [] | 4648 "parameters": [] |
| 4649 } | 4649 } |
| 4650 ] | 4650 ] |
| 4651 } | 4651 } |
| 4652 ], |
| 4653 "events": [ |
| 4654 { |
| 4655 "name": "onChange", |
| 4656 "description": "Fired when the value of the preference changes.", |
| 4657 "parameters": [ |
| 4658 { |
| 4659 "type": "object", |
| 4660 "name": "details", |
| 4661 "properties": { |
| 4662 "value": { |
| 4663 "description": "The value of the preference.", |
| 4664 "type": "any" |
| 4665 }, |
| 4666 "levelOfControl": { |
| 4667 "description": "One of<br><var>NotControllable</var>: cannot
be controlled by any extension<br><var>ControlledByOtherExtensions</var>: contr
olled by extensions with higher precedence<br><var>ControllableByThisExtension</
var>: can be controlled by this extension<br><var>ControlledByThisExtension</var
>: controlled by this extension", |
| 4668 "type": "string", |
| 4669 "enum": ["NotControllable", "ControlledByOtherExtensions", "
ControllableByThisExtension", "ControlledByThisExtension"] |
| 4670 }, |
| 4671 "incognitoSpecific": { |
| 4672 "description": "Whether the value that has changed is specif
ic to the incognito session.<br>This property will <em>only</em> be present if t
he user has enabled the extension in incognito mode.", |
| 4673 "type": "boolean", |
| 4674 "optional": true |
| 4675 } |
| 4676 } |
| 4677 } |
| 4678 ] |
| 4679 } |
| 4652 ] | 4680 ] |
| 4653 } | 4681 } |
| 4654 ] | 4682 ] |
| 4655 }, | 4683 }, |
| 4656 { | 4684 { |
| 4657 "namespace": "experimental.contentSettings.misc", | 4685 "namespace": "experimental.contentSettings.misc", |
| 4658 "properties": { | 4686 "properties": { |
| 4659 "blockThirdPartyCookies": { | 4687 "blockThirdPartyCookies": { |
| 4660 "$ref": "Preference", | 4688 "$ref": "Preference", |
| 4661 "value": ["blockThirdPartyCookies", {"type": "boolean"}], | 4689 "value": ["blockThirdPartyCookies", {"type": "boolean"}], |
| 4662 "description": "Whether third party cookies should be blocked. The value
of this preference is of type boolean." | 4690 "description": "Whether third party cookies should be blocked. The value
of this preference is of type boolean." |
| 4663 } | 4691 } |
| 4664 } | 4692 } |
| 4665 } | 4693 } |
| 4666 ] | 4694 ] |
| OLD | NEW |