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):
|
||||
# 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
|
||||
|
||||
storageAccess1.Allow.label = Allow
|
||||
|
@ -999,7 +999,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
return false;
|
||||
}
|
||||
|
||||
// Step 8. Perform ! CreateDataPropertyOrThrow(contextObj, "kind", kindStr).
|
||||
// Step 8. Perform ! CreateDataPropertyOrThrow(contextObj, "kind", kindStr).
|
||||
if (!oe.emitInit(frontend::AccessorType::None,
|
||||
frontend::TaggedParserAtomIndex::WellKnown::kind())) {
|
||||
// [stack] context
|
||||
@ -1009,7 +1009,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
if (kind != Kind::Class) {
|
||||
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)).
|
||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||
return false;
|
||||
@ -1023,7 +1023,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
return false;
|
||||
}
|
||||
// Step 9.b. If isStatic is present, perform
|
||||
// ! CreateDataPropertyOrThrow(contextObj, "static", isStatic).
|
||||
// ! CreateDataPropertyOrThrow(contextObj, "static", isStatic).
|
||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||
return false;
|
||||
}
|
||||
@ -1037,10 +1037,10 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
return false;
|
||||
}
|
||||
// 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).
|
||||
// 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)) {
|
||||
return false;
|
||||
}
|
||||
@ -1054,10 +1054,10 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
// [stack] context
|
||||
return false;
|
||||
}
|
||||
// Step 9.c.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
||||
// Step 9.c.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
||||
// "name", name.[[Description]]).
|
||||
//
|
||||
// Step 9.d.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
||||
// Step 9.d.ii. Perform ! CreateDataPropertyOrThrow(contextObj,
|
||||
// "name", name.[[Description]]).)
|
||||
if (!oe.prepareForPropValue(pos.begin, PropertyEmitter::Kind::Prototype)) {
|
||||
return false;
|
||||
@ -1078,7 +1078,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
}
|
||||
} 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)) {
|
||||
return false;
|
||||
}
|
||||
@ -1106,7 +1106,7 @@ bool DecoratorEmitter::emitCreateDecoratorContextObject(Kind kind,
|
||||
// [stack] context addInitializer
|
||||
return false;
|
||||
}
|
||||
// Step 12. Perform ! CreateDataPropertyOrThrow(contextObj, "addInitializer",
|
||||
// Step 12. Perform ! CreateDataPropertyOrThrow(contextObj, "addInitializer",
|
||||
// addInitializer).
|
||||
if (!oe.emitInit(
|
||||
frontend::AccessorType::None,
|
||||
|
@ -1626,7 +1626,8 @@ static inline StallSpecs GetStallSpecs() {
|
||||
// and retry rather than returning immediately, in hopes that the page file is
|
||||
// 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,
|
||||
DWORD flAllocationType, DWORD flProtect) {
|
||||
DWORD const lastError = ::GetLastError();
|
||||
|
@ -226,7 +226,7 @@
|
||||
<div class="warning">
|
||||
<strong>Warning:</strong> You should never bypass the warning for a
|
||||
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.
|
||||
</div>
|
||||
<p>
|
||||
|
@ -30,6 +30,7 @@ file-whitespace:
|
||||
- dom/canvas/test
|
||||
- dom/events/crashtests
|
||||
- dom/events/test
|
||||
- dom/file/tests/crashtests/1748342.html
|
||||
- dom/file/tests/file_mozfiledataurl_inner.html
|
||||
- dom/html/crashtests
|
||||
- dom/html/reftests
|
||||
@ -67,8 +68,10 @@ file-whitespace:
|
||||
- image/test/crashtests
|
||||
- image/test/mochitest
|
||||
- image/test/reftest
|
||||
- intl/components/gtest/TestNumberRangeFormat.cpp
|
||||
- intl/icu_segmenter_data
|
||||
- intl/lwbrk/crashtests
|
||||
- intl/lwbrk/rulebrk.c
|
||||
- intl/uconv/crashtests
|
||||
- intl/uconv/tests
|
||||
- intl/strres/tests/unit/397093.properties
|
||||
@ -115,7 +118,9 @@ file-whitespace:
|
||||
- testing/web-platform/tests/html
|
||||
- testing/web-platform/tests/tools/lint/tests/dummy/broken.html
|
||||
- testing/web-platform/tests/tools/lint/tests/dummy/broken_ignored.html
|
||||
- toolkit/components/passwordmgr/test/mochitest/
|
||||
- toolkit/content/tests/chrome
|
||||
- toolkit/locales/en-US/chrome/passwordmgr/passwordmgr.properties
|
||||
- tools/jprof/README.html
|
||||
- tools/lint/eslint
|
||||
- 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
|
||||
// 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");
|
||||
if (shellHookMsg != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user