mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
393c44437c
Before, we'd try to create a URI using the GIO protocol handler, and if that succeeded, we'd return the protocol handler. Now we can't return it if NS_NewURI succeeds, because NS_NewURI doesn't check the protocol handler anymore. So instead we just instantiate the handler, check if the scheme is supported, and if so return it. Differential Revision: https://phabricator.services.mozilla.com/D30706 --HG-- extra : moz-landing-system : lando
26 lines
547 B
Python
26 lines
547 B
Python
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
SOURCES += [
|
|
'nsGIOProtocolHandler.cpp',
|
|
]
|
|
|
|
XPCOM_MANIFESTS += [
|
|
'components.conf',
|
|
]
|
|
|
|
EXPORTS += [
|
|
'nsGIOProtocolHandler.h',
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
|
|
|
with Files('**'):
|
|
BUG_COMPONENT = ('Core', 'Widget: Gtk')
|
|
|