mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Issue #1587 - Part 6: Move FetchController/Signal to its own dir
Since it is specced separately from fetch.
This commit is contained in:
parent
3d2ca85edd
commit
0c2404efa7
13 changed files with 41 additions and 7 deletions
26
dom/abort/moz.build
Normal file
26
dom/abort/moz.build
Normal file
|
|
@ -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'
|
||||
6
dom/abort/tests/mochitest.ini
Normal file
6
dom/abort/tests/mochitest.ini
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[DEFAULT]
|
||||
support-files =
|
||||
file_fetch_controller.html
|
||||
worker_fetch_controller.js
|
||||
|
||||
[test_fetch_controller.html]
|
||||
8
dom/abort/tests/moz.build
Normal file
8
dom/abort/tests/moz.build
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# -*- 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']
|
||||
|
||||
|
|
@ -7,11 +7,9 @@
|
|||
EXPORTS.mozilla.dom += [
|
||||
'ChannelInfo.h',
|
||||
'Fetch.h',
|
||||
'FetchController.h',
|
||||
'FetchDriver.h',
|
||||
'FetchIPCTypes.h',
|
||||
'FetchObserver.h',
|
||||
'FetchSignal.h',
|
||||
'FetchUtil.h',
|
||||
'Headers.h',
|
||||
'InternalHeaders.h',
|
||||
|
|
@ -30,10 +28,8 @@ UNIFIED_SOURCES += [
|
|||
|
||||
SOURCES += [
|
||||
'ChannelInfo.cpp',
|
||||
'FetchController.cpp',
|
||||
'FetchDriver.cpp',
|
||||
'FetchObserver.cpp',
|
||||
'FetchSignal.cpp',
|
||||
'FetchUtil.cpp',
|
||||
'Headers.cpp',
|
||||
'InternalHeaders.cpp',
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ interfaces = [
|
|||
DIRS += ['interfaces/' + i for i in interfaces]
|
||||
|
||||
DIRS += [
|
||||
'abort',
|
||||
'animation',
|
||||
'apps',
|
||||
'base',
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
[DEFAULT]
|
||||
support-files =
|
||||
fetch_test_framework.js
|
||||
file_fetch_controller.html
|
||||
test_fetch_basic.js
|
||||
test_fetch_basic_http.js
|
||||
test_fetch_cors.js
|
||||
|
|
@ -23,7 +22,6 @@ support-files =
|
|||
empty.js^headers^
|
||||
worker_temporaryFileBlob.js
|
||||
common_temporaryFileBlob.js
|
||||
worker_fetch_controller.js
|
||||
!/dom/xhr/tests/file_XHR_binary1.bin
|
||||
!/dom/xhr/tests/file_XHR_binary1.bin^headers^
|
||||
!/dom/xhr/tests/file_XHR_binary2.bin
|
||||
|
|
@ -45,7 +43,6 @@ support-files =
|
|||
[test_fetch_basic_http.html]
|
||||
[test_fetch_basic_http_sw_reroute.html]
|
||||
[test_fetch_basic_http_sw_empty_reroute.html]
|
||||
[test_fetch_controller.html]
|
||||
[test_fetch_cors.html]
|
||||
skip-if = toolkit == 'android' # Bug 1210282
|
||||
[test_fetch_cors_sw_reroute.html]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue