mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1868046 - Remove some nbsp in the code r=linter-reviewers,ahal
Depends on D195369 Differential Revision: https://phabricator.services.mozilla.com/D195370
This commit is contained in:
parent
05c2cf288f
commit
d74f9b5552
@ -364,7 +364,7 @@ midi.shareSysexWithSite = Allow %S to access your MIDI devices and send/receive
|
|||||||
|
|
||||||
# LOCALIZATION NOTE (panel.back):
|
# LOCALIZATION NOTE (panel.back):
|
||||||
# This is used by screen readers to label the "back" button in various browser
|
# This is used by screen readers to label the "back" button in various browser
|
||||||
# popup panels, including the sliding subviews of the main menu.
|
# popup panels, including the sliding subviews of the main menu.
|
||||||
panel.back = Back
|
panel.back = Back
|
||||||
|
|
||||||
storageAccess1.Allow.label = Allow
|
storageAccess1.Allow.label = Allow
|
||||||
|
@ -999,7 +999,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 8. Perform ! CreateDataPropertyOrThrow(contextObj, "kind", kindStr).
|
// Step 8. Perform ! CreateDataPropertyOrThrow(contextObj, "kind", kindStr).
|
||||||
if (!oe.emitInit(frontend::AccessorType::None,
|
if (!oe.emitInit(frontend::AccessorType::None,
|
||||||
frontend::TaggedParserAtomIndex::WellKnown::kind())) {
|
frontend::TaggedParserAtomIndex::WellKnown::kind())) {
|
||||||
// [stack] context
|
// [stack] context
|
||||||
@ -1009,7 +1009,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
if (kind != Kind::Class) {
|
if (kind != Kind::Class) {
|
||||||
MOZ_ASSERT(key != nullptr, "Expect key to be present except for classes");
|
MOZ_ASSERT(key != nullptr, "Expect key to be present except for classes");
|
||||||
|
|
||||||
// Step 9.a. Perform ! CreateDataPropertyOrThrow(contextObj, "access",
|
// Step 9.a. Perform ! CreateDataPropertyOrThrow(contextObj, "access",
|
||||||
// CreateDecoratorAccessObject(kind, name)).
|
// CreateDecoratorAccessObject(kind, name)).
|
||||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||||
return false;
|
return false;
|
||||||
@ -1023,7 +1023,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Step 9.b. If isStatic is present, perform
|
// Step 9.b. If isStatic is present, perform
|
||||||
// ! CreateDataPropertyOrThrow(contextObj, "static", isStatic).
|
// ! CreateDataPropertyOrThrow(contextObj, "static", isStatic).
|
||||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1037,10 +1037,10 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Step 9.c. If name is a Private Name, then
|
// Step 9.c. If name is a Private Name, then
|
||||||
// Step 9.c.i. Perform ! CreateDataPropertyOrThrow(contextObj, "private",
|
// Step 9.c.i. Perform ! CreateDataPropertyOrThrow(contextObj, "private",
|
||||||
// true).
|
// true).
|
||||||
// Step 9.d. Else, Step 9.d.i. Perform
|
// Step 9.d. Else, Step 9.d.i. Perform
|
||||||
// ! CreateDataPropertyOrThrow(contextObj, "private", false).
|
// ! CreateDataPropertyOrThrow(contextObj, "private", false).
|
||||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1054,10 +1054,10 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
// [stack] context
|
// [stack] context
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Step 9.c.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
// Step 9.c.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
||||||
// "name", name.[[Description]]).
|
// "name", name.[[Description]]).
|
||||||
//
|
//
|
||||||
// Step 9.d.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
// Step 9.d.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
||||||
// "name", name.[[Description]]).)
|
// "name", name.[[Description]]).)
|
||||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||||
return false;
|
return false;
|
||||||
@ -1078,7 +1078,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Step 10. Else,
|
// Step 10. Else,
|
||||||
// Step 10.a. Perform ! CreateDataPropertyOrThrow(contextObj, "name", name).
|
// Step 10.a. Perform ! CreateDataPropertyOrThrow(contextObj, "name", name).
|
||||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -1106,7 +1106,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
|||||||
// [stack] context addInitializer
|
// [stack] context addInitializer
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Step 12. Perform ! CreateDataPropertyOrThrow(contextObj, "addInitializer",
|
// Step 12. Perform ! CreateDataPropertyOrThrow(contextObj, "addInitializer",
|
||||||
// addInitializer).
|
// addInitializer).
|
||||||
if (!oe.emitInit(
|
if (!oe.emitInit(
|
||||||
frontend::AccessorType::None,
|
frontend::AccessorType::None,
|
||||||
|
@ -1626,7 +1626,8 @@ static inline StallSpecs GetStallSpecs() {
|
|||||||
// and retry rather than returning immediately, in hopes that the page file is
|
// and retry rather than returning immediately, in hopes that the page file is
|
||||||
// about to be expanded by Windows.
|
// about to be expanded by Windows.
|
||||||
//
|
//
|
||||||
// Ref: https://docs.microsoft.com/en-us/troubleshoot/windows-client/performance/slow-page-file-growth-memory-allocation-errors
|
// Ref:
|
||||||
|
// https://docs.microsoft.com/en-us/troubleshoot/windows-client/performance/slow-page-file-growth-memory-allocation-errors
|
||||||
[[nodiscard]] void* MozVirtualAlloc(LPVOID lpAddress, SIZE_T dwSize,
|
[[nodiscard]] void* MozVirtualAlloc(LPVOID lpAddress, SIZE_T dwSize,
|
||||||
DWORD flAllocationType, DWORD flProtect) {
|
DWORD flAllocationType, DWORD flProtect) {
|
||||||
DWORD const lastError = ::GetLastError();
|
DWORD const lastError = ::GetLastError();
|
||||||
|
@ -226,7 +226,7 @@
|
|||||||
<div class="warning">
|
<div class="warning">
|
||||||
<strong>Warning:</strong> You should never bypass the warning for a
|
<strong>Warning:</strong> You should never bypass the warning for a
|
||||||
legitimate major website or sites where financial transactions take
|
legitimate major website or sites where financial transactions take
|
||||||
place – in this case an invalid certificate can indicate that your
|
place – in this case an invalid certificate can indicate that your
|
||||||
connection is compromised by a third party.
|
connection is compromised by a third party.
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
@ -30,6 +30,7 @@ file-whitespace:
|
|||||||
- dom/canvas/test
|
- dom/canvas/test
|
||||||
- dom/events/crashtests
|
- dom/events/crashtests
|
||||||
- dom/events/test
|
- dom/events/test
|
||||||
|
- dom/file/tests/crashtests/1748342.html
|
||||||
- dom/file/tests/file_mozfiledataurl_inner.html
|
- dom/file/tests/file_mozfiledataurl_inner.html
|
||||||
- dom/html/crashtests
|
- dom/html/crashtests
|
||||||
- dom/html/reftests
|
- dom/html/reftests
|
||||||
@ -67,8 +68,10 @@ file-whitespace:
|
|||||||
- image/test/crashtests
|
- image/test/crashtests
|
||||||
- image/test/mochitest
|
- image/test/mochitest
|
||||||
- image/test/reftest
|
- image/test/reftest
|
||||||
|
- intl/components/gtest/TestNumberRangeFormat.cpp
|
||||||
- intl/icu_segmenter_data
|
- intl/icu_segmenter_data
|
||||||
- intl/lwbrk/crashtests
|
- intl/lwbrk/crashtests
|
||||||
|
- intl/lwbrk/rulebrk.c
|
||||||
- intl/uconv/crashtests
|
- intl/uconv/crashtests
|
||||||
- intl/uconv/tests
|
- intl/uconv/tests
|
||||||
- intl/strres/tests/unit/397093.properties
|
- intl/strres/tests/unit/397093.properties
|
||||||
@ -115,7 +118,9 @@ file-whitespace:
|
|||||||
- testing/web-platform/tests/html
|
- testing/web-platform/tests/html
|
||||||
- testing/web-platform/tests/tools/lint/tests/dummy/broken.html
|
- testing/web-platform/tests/tools/lint/tests/dummy/broken.html
|
||||||
- testing/web-platform/tests/tools/lint/tests/dummy/broken_ignored.html
|
- testing/web-platform/tests/tools/lint/tests/dummy/broken_ignored.html
|
||||||
|
- toolkit/components/passwordmgr/test/mochitest/
|
||||||
- toolkit/content/tests/chrome
|
- toolkit/content/tests/chrome
|
||||||
|
- toolkit/locales/en-US/chrome/passwordmgr/passwordmgr.properties
|
||||||
- tools/jprof/README.html
|
- tools/jprof/README.html
|
||||||
- tools/lint/eslint
|
- tools/lint/eslint
|
||||||
- tools/lint/test/test_clang_format.py
|
- tools/lint/test/test_clang_format.py
|
||||||
|
@ -361,7 +361,8 @@ void nsWindow::TaskbarConcealer::OnAsyncStateUpdateRequest(HWND hwnd) {
|
|||||||
// shell to notify it to recalculate the current rudeness state of all
|
// shell to notify it to recalculate the current rudeness state of all
|
||||||
// monitors.
|
// monitors.
|
||||||
//
|
//
|
||||||
// [0] https://github.com/dechamps/RudeWindowFixer#a-race-condition-activating-a-minimized-window
|
// [0]
|
||||||
|
// https://github.com/dechamps/RudeWindowFixer#a-race-condition-activating-a-minimized-window
|
||||||
//
|
//
|
||||||
static UINT const shellHookMsg = ::RegisterWindowMessageW(L"SHELLHOOK");
|
static UINT const shellHookMsg = ::RegisterWindowMessageW(L"SHELLHOOK");
|
||||||
if (shellHookMsg != 0) {
|
if (shellHookMsg != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user