components.conf (1714B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 Classes = [ 8 { 9 'cid': '{88e2fd0b-f7f4-480c-9483-7846b00e8dad}', 10 'contract_ids': ['@mozilla.org/libjar/zip-reader;1'], 11 'type': 'nsJAR', 12 'headers': ['/modules/libjar/nsJAR.h'], 13 }, 14 { 15 'cid': '{c7e410d4-85f2-11d3-9f63-006008a6efe9}', 16 'contract_ids': ['@mozilla.org/network/protocol;1?name=jar'], 17 'singleton': True, 18 'type': 'nsJARProtocolHandler', 19 'headers': ['/modules/libjar/nsJARProtocolHandler.h'], 20 'constructor': 'nsJARProtocolHandler::GetSingleton', 21 'protocol_config': { 22 'scheme': 'jar', 23 'flags': [ 24 'URI_NORELATIVE', 25 'URI_NOAUTH', 26 # URI_LOADABLE_BY_ANYONE, since it's our inner URI that will 27 # matter anyway. 28 'URI_LOADABLE_BY_ANYONE', 29 'URI_HAS_WEB_EXPOSED_ORIGIN', 30 ], 31 }, 32 }, 33 { 34 'cid': '{245abae2-b947-4ded-a46d-9829d3cca462}', 35 'type': 'nsJARURI::Mutator', 36 'headers': ['nsJARURI.h'], 37 }, 38 { 39 'cid': '{19d9161b-a2a9-4518-b2c9-fcb8296d6dcd}', 40 'type': 'nsJARURI::Mutator', 41 'headers': ['nsJARURI.h'], 42 }, 43 { 44 'cid': '{608b7f6f-4b60-40d6-87ed-d933bf53d8c1}', 45 'contract_ids': ['@mozilla.org/libjar/zip-reader-cache;1'], 46 'type': 'nsZipReaderCache', 47 'headers': ['/modules/libjar/nsJAR.h'], 48 }, 49 ]