зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly
--HG-- rename : dom/fetch/FetchController.cpp => dom/abort/FetchController.cpp rename : dom/fetch/FetchController.h => dom/abort/FetchController.h rename : dom/fetch/FetchSignal.cpp => dom/abort/FetchSignal.cpp rename : dom/fetch/FetchSignal.h => dom/abort/FetchSignal.h rename : dom/tests/mochitest/fetch/file_fetch_controller.html => dom/abort/tests/file_fetch_controller.html rename : dom/tests/mochitest/fetch/test_fetch_controller.html => dom/abort/tests/test_fetch_controller.html rename : dom/tests/mochitest/fetch/worker_fetch_controller.js => dom/abort/tests/worker_fetch_controller.js
This commit is contained in:
Родитель
c00da5bfe0
Коммит
ac5b9df285
|
@ -7,6 +7,7 @@
|
|||
#include "FetchController.h"
|
||||
#include "FetchSignal.h"
|
||||
#include "mozilla/dom/FetchControllerBinding.h"
|
||||
#include "WorkerPrivate.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
|
@ -0,0 +1,26 @@
|
|||
# -*- 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/.
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Core", "DOM")
|
||||
|
||||
TEST_DIRS += ['tests']
|
||||
|
||||
EXPORTS.mozilla.dom += [
|
||||
'FetchController.h',
|
||||
'FetchSignal.h',
|
||||
]
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'FetchController.cpp',
|
||||
'FetchSignal.cpp',
|
||||
]
|
||||
|
||||
LOCAL_INCLUDES += [
|
||||
'../workers',
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'xul'
|
|
@ -0,0 +1,6 @@
|
|||
[DEFAULT]
|
||||
support-files =
|
||||
file_fetch_controller.html
|
||||
worker_fetch_controller.js
|
||||
|
||||
[test_fetch_controller.html]
|
|
@ -0,0 +1,7 @@
|
|||
# -*- 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/.
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
|
@ -11,11 +11,9 @@ EXPORTS.mozilla.dom += [
|
|||
'BodyExtractor.h',
|
||||
'ChannelInfo.h',
|
||||
'Fetch.h',
|
||||
'FetchController.h',
|
||||
'FetchDriver.h',
|
||||
'FetchIPCTypes.h',
|
||||
'FetchObserver.h',
|
||||
'FetchSignal.h',
|
||||
'FetchStreamReader.h',
|
||||
'FetchUtil.h',
|
||||
'Headers.h',
|
||||
|
@ -31,10 +29,8 @@ UNIFIED_SOURCES += [
|
|||
'ChannelInfo.cpp',
|
||||
'Fetch.cpp',
|
||||
'FetchConsumer.cpp',
|
||||
'FetchController.cpp',
|
||||
'FetchDriver.cpp',
|
||||
'FetchObserver.cpp',
|
||||
'FetchSignal.cpp',
|
||||
'FetchStream.cpp',
|
||||
'FetchStreamReader.cpp',
|
||||
'FetchUtil.cpp',
|
||||
|
|
|
@ -42,6 +42,7 @@ interfaces = [
|
|||
DIRS += ['interfaces/' + i for i in interfaces]
|
||||
|
||||
DIRS += [
|
||||
'abort',
|
||||
'animation',
|
||||
'base',
|
||||
'bindings',
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
[DEFAULT]
|
||||
support-files =
|
||||
fetch_test_framework.js
|
||||
file_fetch_controller.html
|
||||
file_fetch_cached_redirect.html
|
||||
file_fetch_cached_redirect.html^headers^
|
||||
file_fetch_csp_block_frame.html
|
||||
|
@ -28,7 +27,6 @@ support-files =
|
|||
empty.js^headers^
|
||||
worker_temporaryFileBlob.js
|
||||
common_temporaryFileBlob.js
|
||||
worker_fetch_controller.js
|
||||
common_readableStreams.js
|
||||
worker_readableStreams.js
|
||||
iframe_readableStreams.html
|
||||
|
@ -57,7 +55,6 @@ support-files =
|
|||
[test_fetch_basic_http_sw_reroute.html]
|
||||
[test_fetch_basic_http_sw_empty_reroute.html]
|
||||
[test_fetch_cached_redirect.html]
|
||||
[test_fetch_controller.html]
|
||||
[test_fetch_cors.html]
|
||||
skip-if = toolkit == 'android' && debug # Bug 1210282
|
||||
[test_fetch_cors_sw_reroute.html]
|
||||
|
|
Загрузка…
Ссылка в новой задаче