2021-01-13 00:30:52 +03:00
|
|
|
/*
|
2024-06-08 21:36:23 +03:00
|
|
|
* Copyright (c) 2020-2024, the SerenityOS developers.
|
2021-01-13 00:30:52 +03:00
|
|
|
*
|
2021-04-22 11:24:48 +03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-01-13 00:30:52 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-06-11 20:26:49 +03:00
|
|
|
#ifndef AUDIO_DEBUG
|
|
|
|
# cmakedefine01 AUDIO_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-02-09 19:15:55 +03:00
|
|
|
#ifndef AWAVLOADER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 AWAVLOADER_DEBUG
|
2022-02-09 19:15:55 +03:00
|
|
|
#endif
|
|
|
|
|
2024-06-08 21:36:23 +03:00
|
|
|
#ifndef AFLACLOADER_DEBUG
|
|
|
|
# cmakedefine01 AFLACLOADER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef BMP_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 BMP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-09-21 20:22:16 +03:00
|
|
|
#ifndef BINDINGS_GENERATOR_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 BINDINGS_GENERATOR_DEBUG
|
2022-09-21 20:22:16 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef CACHE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CACHE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CALLBACK_MACHINE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CALLBACK_MACHINE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-03-04 20:50:23 +03:00
|
|
|
#ifndef CANVAS_RENDERING_CONTEXT_2D_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CANVAS_RENDERING_CONTEXT_2D_DEBUG
|
2022-03-04 20:50:23 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef CRYPTO_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CRYPTO_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-21 19:44:17 +03:00
|
|
|
#ifndef CSS_LOADER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CSS_LOADER_DEBUG
|
2021-02-21 19:44:17 +03:00
|
|
|
#endif
|
|
|
|
|
2021-07-23 15:06:31 +03:00
|
|
|
#ifndef CSS_PARSER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CSS_PARSER_DEBUG
|
2021-07-23 15:06:31 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CSS_TOKENIZER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 CSS_TOKENIZER_DEBUG
|
2021-07-23 15:06:31 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef EDITOR_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 EDITOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMOJI_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 EMOJI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-18 00:32:59 +03:00
|
|
|
#ifndef FILE_WATCHER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 FILE_WATCHER_DEBUG
|
2021-05-18 00:32:59 +03:00
|
|
|
#endif
|
|
|
|
|
2023-07-05 01:10:35 +03:00
|
|
|
#ifndef FLAC_ENCODER_DEBUG
|
|
|
|
# cmakedefine01 FLAC_ENCODER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef GENERATE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 GENERATE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GHASH_PROCESS_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 GHASH_PROCESS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GIF_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 GIF_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HEAP_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 HEAP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HTML_SCRIPT_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 HTML_SCRIPT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-01-22 19:55:29 +03:00
|
|
|
#ifndef HTTPJOB_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 HTTPJOB_DEBUG
|
2022-01-22 19:55:29 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef HUNKS_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 HUNKS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ICO_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 ICO_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-11-15 15:12:06 +03:00
|
|
|
#ifndef IDL_DEBUG
|
|
|
|
# cmakedefine01 IDL_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2023-07-29 17:24:01 +03:00
|
|
|
#ifndef ILBM_DEBUG
|
|
|
|
# cmakedefine01 ILBM_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef IMAGE_DECODER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 IMAGE_DECODER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IMAGE_LOADER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 IMAGE_LOADER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2024-03-03 17:21:30 +03:00
|
|
|
#ifndef JBIG2_DEBUG
|
|
|
|
# cmakedefine01 JBIG2_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef JOB_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 JOB_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2024-03-22 04:09:08 +03:00
|
|
|
#ifndef JPEG2000_DEBUG
|
|
|
|
# cmakedefine01 JPEG2000_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-06-07 16:17:37 +03:00
|
|
|
#ifndef JS_BYTECODE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 JS_BYTECODE_DEBUG
|
2021-06-07 16:17:37 +03:00
|
|
|
#endif
|
|
|
|
|
2022-01-18 20:47:11 +03:00
|
|
|
#ifndef JS_MODULE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 JS_MODULE_DEBUG
|
2022-01-18 20:47:11 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef LEXER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 LEXER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-05-26 23:00:54 +03:00
|
|
|
#ifndef LIBWEB_CSS_ANIMATION_DEBUG
|
|
|
|
# cmakedefine01 LIBWEB_CSS_ANIMATION_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2024-06-08 21:36:23 +03:00
|
|
|
#ifndef LIBWEB_CSS_DEBUG
|
|
|
|
# cmakedefine01 LIBWEB_CSS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2024-06-08 21:36:23 +03:00
|
|
|
#ifndef LINE_EDITOR_DEBUG
|
|
|
|
# cmakedefine01 LINE_EDITOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-05-13 18:55:31 +03:00
|
|
|
#ifndef LZMA_DEBUG
|
|
|
|
# cmakedefine01 LZMA_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2023-11-10 06:54:56 +03:00
|
|
|
#ifndef LZW_DEBUG
|
|
|
|
# cmakedefine01 LZW_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2024-04-04 23:10:08 +03:00
|
|
|
#ifndef MACH_PORT_DEBUG
|
|
|
|
# cmakedefine01 MACH_PORT_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-06-05 23:06:55 +03:00
|
|
|
#ifndef MATROSKA_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 MATROSKA_DEBUG
|
2021-06-05 23:06:55 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MATROSKA_TRACE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 MATROSKA_TRACE_DEBUG
|
2021-06-05 23:06:55 +03:00
|
|
|
#endif
|
|
|
|
|
2022-01-23 03:40:33 +03:00
|
|
|
#ifndef NETWORKJOB_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 NETWORKJOB_DEBUG
|
2022-01-23 03:40:33 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef NT_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 NT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-03-16 23:00:24 +03:00
|
|
|
#ifndef OPENTYPE_GPOS_DEBUG
|
|
|
|
# cmakedefine01 OPENTYPE_GPOS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-03-24 23:06:19 +03:00
|
|
|
#ifndef HTML_PARSER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 HTML_PARSER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PATH_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 PATH_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-10-30 02:16:14 +03:00
|
|
|
#ifndef PLAYBACK_MANAGER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 PLAYBACK_MANAGER_DEBUG
|
2022-10-30 02:16:14 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef PNG_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 PNG_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
LibJS: Add initial support for Promises
Almost a year after first working on this, it's finally done: an
implementation of Promises for LibJS! :^)
The core functionality is working and closely following the spec [1].
I mostly took the pseudo code and transformed it into C++ - if you read
and understand it, you will know how the spec implements Promises; and
if you read the spec first, the code will look very familiar.
Implemented functions are:
- Promise() constructor
- Promise.prototype.then()
- Promise.prototype.catch()
- Promise.prototype.finally()
- Promise.resolve()
- Promise.reject()
For the tests I added a new function to test-js's global object,
runQueuedPromiseJobs(), which calls vm.run_queued_promise_jobs().
By design, queued jobs normally only run after the script was fully
executed, making it improssible to test handlers in individual test()
calls by default [2].
Subsequent commits include integrations into LibWeb and js(1) -
pretty-printing, running queued promise jobs when necessary.
This has an unusual amount of dbgln() statements, all hidden behind the
PROMISE_DEBUG flag - I'm leaving them in for now as they've been very
useful while debugging this, things can get quite complex with so many
asynchronously executed functions.
I've not extensively explored use of these APIs for promise-based
functionality in LibWeb (fetch(), Notification.requestPermission()
etc.), but we'll get there in due time.
[1]: https://tc39.es/ecma262/#sec-promise-objects
[2]: https://tc39.es/ecma262/#sec-jobs-and-job-queues
2021-04-01 23:13:29 +03:00
|
|
|
#ifndef PROMISE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 PROMISE_DEBUG
|
LibJS: Add initial support for Promises
Almost a year after first working on this, it's finally done: an
implementation of Promises for LibJS! :^)
The core functionality is working and closely following the spec [1].
I mostly took the pseudo code and transformed it into C++ - if you read
and understand it, you will know how the spec implements Promises; and
if you read the spec first, the code will look very familiar.
Implemented functions are:
- Promise() constructor
- Promise.prototype.then()
- Promise.prototype.catch()
- Promise.prototype.finally()
- Promise.resolve()
- Promise.reject()
For the tests I added a new function to test-js's global object,
runQueuedPromiseJobs(), which calls vm.run_queued_promise_jobs().
By design, queued jobs normally only run after the script was fully
executed, making it improssible to test handlers in individual test()
calls by default [2].
Subsequent commits include integrations into LibWeb and js(1) -
pretty-printing, running queued promise jobs when necessary.
This has an unusual amount of dbgln() statements, all hidden behind the
PROMISE_DEBUG flag - I'm leaving them in for now as they've been very
useful while debugging this, things can get quite complex with so many
asynchronously executed functions.
I've not extensively explored use of these APIs for promise-based
functionality in LibWeb (fetch(), Notification.requestPermission()
etc.), but we'll get there in due time.
[1]: https://tc39.es/ecma262/#sec-promise-objects
[2]: https://tc39.es/ecma262/#sec-jobs-and-job-queues
2021-04-01 23:13:29 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef REGEX_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 REGEX_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-01-22 04:04:58 +03:00
|
|
|
#ifndef REQUESTSERVER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 REQUESTSERVER_DEBUG
|
2022-01-22 04:04:58 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef RESOURCE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 RESOURCE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-14 14:20:42 +03:00
|
|
|
#ifndef RSA_PARSE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 RSA_PARSE_DEBUG
|
2021-02-14 14:20:42 +03:00
|
|
|
#endif
|
|
|
|
|
2022-01-24 01:31:51 +03:00
|
|
|
#ifndef SHARED_QUEUE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 SHARED_QUEUE_DEBUG
|
2022-01-24 01:31:51 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef SPAM_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 SPAM_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SYNTAX_HIGHLIGHTING_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 SYNTAX_HIGHLIGHTING_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TEXTEDITOR_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 TEXTEDITOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2023-10-29 01:05:26 +03:00
|
|
|
#ifndef TIFF_DEBUG
|
|
|
|
# cmakedefine01 TIFF_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-09-28 23:04:00 +03:00
|
|
|
#ifndef TIME_ZONE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 TIME_ZONE_DEBUG
|
2022-09-28 23:04:00 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef TLS_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 TLS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2022-02-09 22:42:56 +03:00
|
|
|
#ifndef TLS_SSL_KEYLOG_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 TLS_SSL_KEYLOG_DEBUG
|
2022-02-09 22:42:56 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef TOKENIZER_TRACE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 TOKENIZER_TRACE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-25 23:13:15 +03:00
|
|
|
#ifndef URL_PARSER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 URL_PARSER_DEBUG
|
2021-05-25 23:13:15 +03:00
|
|
|
#endif
|
|
|
|
|
2022-04-12 19:25:41 +03:00
|
|
|
#ifndef UTF8_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 UTF8_DEBUG
|
2022-04-12 19:25:41 +03:00
|
|
|
#endif
|
|
|
|
|
2023-06-02 21:52:40 +03:00
|
|
|
#ifndef VPX_DEBUG
|
|
|
|
# cmakedefine01 VPX_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2023-04-05 00:44:43 +03:00
|
|
|
#ifndef WASI_DEBUG
|
|
|
|
# cmakedefine01 WASI_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2023-05-04 00:08:54 +03:00
|
|
|
#ifndef WASI_FINE_GRAINED_DEBUG
|
|
|
|
# cmakedefine01 WASI_FINE_GRAINED_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-04-26 11:18:13 +03:00
|
|
|
#ifndef WASM_BINPARSER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WASM_BINPARSER_DEBUG
|
2021-05-18 00:32:59 +03:00
|
|
|
#endif
|
2021-05-08 21:37:43 +03:00
|
|
|
|
2021-05-18 00:32:59 +03:00
|
|
|
#ifndef WASM_TRACE_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WASM_TRACE_DEBUG
|
2021-04-26 11:18:13 +03:00
|
|
|
#endif
|
|
|
|
|
2021-11-01 01:06:35 +03:00
|
|
|
#ifndef WASM_VALIDATOR_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WASM_VALIDATOR_DEBUG
|
2021-11-01 01:06:35 +03:00
|
|
|
#endif
|
|
|
|
|
2022-10-12 13:14:59 +03:00
|
|
|
#ifndef WEBDRIVER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WEBDRIVER_DEBUG
|
2022-10-12 13:14:59 +03:00
|
|
|
#endif
|
|
|
|
|
2024-02-07 18:06:55 +03:00
|
|
|
#ifndef WEBDRIVER_ROUTE_DEBUG
|
|
|
|
# cmakedefine01 WEBDRIVER_ROUTE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-06-04 06:27:48 +03:00
|
|
|
#ifndef WEBGL_CONTEXT_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WEBGL_CONTEXT_DEBUG
|
2022-06-04 06:27:48 +03:00
|
|
|
#endif
|
|
|
|
|
2022-10-24 00:15:12 +03:00
|
|
|
#ifndef WEB_FETCH_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WEB_FETCH_DEBUG
|
2022-10-24 00:15:12 +03:00
|
|
|
#endif
|
|
|
|
|
2022-02-17 15:31:09 +03:00
|
|
|
#ifndef WEB_WORKER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WEB_WORKER_DEBUG
|
2022-02-17 15:31:09 +03:00
|
|
|
#endif
|
|
|
|
|
2023-02-24 06:37:08 +03:00
|
|
|
#ifndef WEBP_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 WEBP_DEBUG
|
2023-02-24 06:37:08 +03:00
|
|
|
#endif
|
|
|
|
|
2023-04-14 04:48:55 +03:00
|
|
|
#ifndef WORKER_THREAD_DEBUG
|
|
|
|
# cmakedefine01 WORKER_THREAD_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2022-03-26 20:02:57 +03:00
|
|
|
#ifndef XML_PARSER_DEBUG
|
2023-02-28 14:28:51 +03:00
|
|
|
# cmakedefine01 XML_PARSER_DEBUG
|
2022-03-26 20:02:57 +03:00
|
|
|
#endif
|