mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6e2a38d03c
Moves nsSidebar.js to toolkit and makes it just pass messages to chrome for each API call. MainProcessSingleton listens for those messages and passes the call along to the search service. Combines the validation code into the same function and takes the opportunity to support relative URLs too. Adds a bunch of tests for these web APIs. Also fixes: Bug 518929: Implement window.external APIs in core code Bug 530847: Remove Fennec's nsISidebar implementation once that code is moved into the core Bug 517720: Adding a search engine using relative URIs is not supported --HG-- rename : browser/components/sidebar/nsSidebar.js => toolkit/components/search/nsSidebar.js extra : rebase_source : 3e9caa49383e78e73e5f111ff09fb063f2cfa7c0
52 lines
1.0 KiB
Python
52 lines
1.0 KiB
Python
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
DIRS += [
|
|
'about',
|
|
'customizableui',
|
|
'dirprovider',
|
|
'downloads',
|
|
'feeds',
|
|
'loop',
|
|
'migration',
|
|
'places',
|
|
'preferences',
|
|
'privatebrowsing',
|
|
'search',
|
|
'sessionstore',
|
|
'shell',
|
|
'selfsupport',
|
|
'tabview',
|
|
'uitour',
|
|
'translation',
|
|
]
|
|
|
|
DIRS += ['build']
|
|
|
|
XPIDL_SOURCES += [
|
|
'nsIBrowserGlue.idl',
|
|
'nsIBrowserHandler.idl',
|
|
]
|
|
|
|
XPIDL_MODULE = 'browsercompsbase'
|
|
|
|
EXTRA_PP_COMPONENTS += [
|
|
'BrowserComponents.manifest',
|
|
'nsBrowserContentHandler.js',
|
|
'nsBrowserGlue.js',
|
|
]
|
|
|
|
EXTRA_JS_MODULES += [
|
|
'distribution.js',
|
|
]
|
|
|
|
BROWSER_CHROME_MANIFESTS += [
|
|
'test/browser.ini'
|
|
]
|
|
|
|
if CONFIG['MOZ_SAFE_BROWSING']:
|
|
BROWSER_CHROME_MANIFESTS += ['safebrowsing/content/test/browser.ini']
|