Bug 1385357 - Whitelist Gopher to be consistent with registerProtocolHandler. r=mixedpuppy
authorCameron Kaiser <spectre@floodgap.com>
Thu, 27 Jul 2017 23:32:25 -0700
changeset 371729 7ec849c7dae9826d0ec49bcb4df080be55a8c2f9
parent 371728 8d6a86192b7971c49daffe18a27e02ca6acdff68
child 371730 270ed5e9ce20133d88d0129df412d112c35a6a04
push id32253
push userkwierso@gmail.com
push dateSat, 29 Jul 2017 00:40:54 +0000
treeherdermozilla-central@ec666e910442 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmixedpuppy
bugs1385357
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1385357 - Whitelist Gopher to be consistent with registerProtocolHandler. r=mixedpuppy
toolkit/components/extensions/schemas/extension_protocol_handlers.json
--- a/toolkit/components/extensions/schemas/extension_protocol_handlers.json
+++ b/toolkit/components/extensions/schemas/extension_protocol_handlers.json
@@ -11,19 +11,19 @@
             "description": "A user-readable title string for the protocol handler. This will be displayed to the user in interface objects as needed.",
             "type": "string"
           },
           "protocol": {
             "description": "The protocol the site wishes to handle, specified as a string. For example, you can register to handle SMS text message links by registering to handle the \"sms\" scheme.",
             "choices": [{
               "type": "string",
               "enum": [
-                "bitcoin", "geo", "im", "irc", "ircs", "magnet", "mailto",
-                "mms", "news", "nntp", "sip", "sms", "smsto", "ssh", "tel",
-                "urn", "webcal", "wtai", "xmpp"
+                "bitcoin", "geo", "gopher", "im", "irc", "ircs", "magnet",
+                "mailto", "mms", "news", "nntp", "sip", "sms", "smsto", "ssh",
+                "tel", "urn", "webcal", "wtai", "xmpp"
               ]
             }, {
               "type": "string",
               "pattern": "^(ext|web)\\+[a-z0-9.+-]+$"
             }]
           },
           "uriTemplate": {
             "description": "The URL of the handler, as a string. This string should include \"%s\" as a placeholder which will be replaced with the escaped URL of the document to be handled. This URL might be a true URL, or it could be a phone number, email address, or so forth.",