mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
Everywhere: Validate // NOTE: ... and // NB: ... comments
This commit is contained in:
parent
8a02161481
commit
871f121c75
Notes:
github-actions[bot]
2025-11-18 14:08:49 +00:00
Author: https://github.com/gmta
Commit: 871f121c75
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6841
Reviewed-by: https://github.com/trflynn89
2 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ struct RsaKeyGenParams : public AlgorithmParams {
|
|||
}
|
||||
|
||||
u32 modulus_length;
|
||||
// NOTE that the raw data is going to be in Big Endian u8[] format
|
||||
// NOTE: The raw data is going to be in Big Endian u8[] format
|
||||
::Crypto::UnsignedBigInteger public_exponent;
|
||||
|
||||
static JS::ThrowCompletionOr<NonnullOwnPtr<AlgorithmParams>> from_value(JS::VM&, JS::Value);
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ LOCAL_INCLUDE_SUFFIX_EXCLUDES = [
|
|||
SINGLE_PAGE_HTML_SPEC_LINK = re.compile("//.*https://html\\.spec\\.whatwg\\.org/#")
|
||||
|
||||
# We similarily check and disallow AD-HOCs and FIXMEs that aren't followed by a colon.
|
||||
INVALID_AD_HOC_OR_FIXME = re.compile(r'^(?:[\s\d./\-(*]+(?:AD-HOC|FIXME)[^:]|.*"FIXME[^:"]).*$', re.MULTILINE)
|
||||
INVALID_AD_HOC_OR_FIXME = re.compile(r'^(?:[\s\d./\-(*]+(?:AD-HOC|FIXME|NB|NOTE)[^:]|.*"FIXME[^:"]).*$', re.MULTILINE)
|
||||
|
||||
|
||||
def should_check_file(filename):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue