Skip to content

Commit 775cdec

Browse files
committed
Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443 Differential Revision: https://phabricator.services.mozilla.com/D100484
1 parent 041c61c commit 775cdec

File tree

215 files changed

+209
-209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+209
-209
lines changed

accessible/ipc/extension/android/DocAccessiblePlatformExtChild.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ class DocAccessiblePlatformExtChild : public PDocAccessiblePlatformExtChild {
4141
} // namespace a11y
4242
} // namespace mozilla
4343

44-
#endif
44+
#endif

accessible/ipc/extension/android/DocAccessiblePlatformExtParent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ class DocAccessiblePlatformExtParent : public PDocAccessiblePlatformExtParent {
1919
} // namespace a11y
2020
} // namespace mozilla
2121

22-
#endif
22+
#endif

accessible/ipc/extension/other/DocAccessiblePlatformExtChild.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ class DocAccessiblePlatformExtChild : public PDocAccessiblePlatformExtChild {};
1717
} // namespace a11y
1818
} // namespace mozilla
1919

20-
#endif
20+
#endif

accessible/ipc/extension/other/DocAccessiblePlatformExtParent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ class DocAccessiblePlatformExtParent : public PDocAccessiblePlatformExtParent {
1515
} // namespace a11y
1616
} // namespace mozilla
1717

18-
#endif
18+
#endif

browser/base/content/aboutTabCrashed.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ html:not(.crashDumpAvailable) #reportBox,
88
.container[multiple="false"] > .offers > #offerHelpMessageMultiple,
99
.container[multiple="false"] > .button-container > #restoreAll {
1010
display: none;
11-
}
11+
}

browser/base/content/test/contextMenu/browser_contextmenu_loadblobinnewtab.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@
5353

5454
</body>
5555

56-
</html>
56+
</html>

browser/base/content/test/fullscreen/open_and_focus_helper.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
window.addEventListener('message', window.onMessage);
4242
</script>
4343
</body>
44-
</html>
44+
</html>

browser/base/content/test/pageinfo/iframes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
<body style='background-image:url(about:logo?a);'>
66
<iframe width="420" height="345" src="moz.png"></iframe>
77
</body>
8-
</html>");
8+
</html>");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<!ENTITY foo.bar "This string
22
contains
3-
newlines!">
3+
newlines!">

browser/base/content/test/tabdialogs/subdialog.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
<button oncommand="window.close();" label="Close" />
3131

3232
</dialog>
33-
</window>
33+
</window>

browser/base/content/test/tabs/file_anchor_elements.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
<p contenteditable>Here is <span contenteditable="false"><a id="non-editable_a_with_href" href="http://example.com/#non-editable_a_with_href">non-editable anchor element</a></span>
1010
<p>Here is an <a id="a_with_name" name="a_with_name">anchor element without href</a></p>
1111
</body>
12-
</html>
12+
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/* Dummy CSS file, used by browser_cache.js. */
1+
/* Dummy CSS file, used by browser_cache.js. */

browser/components/urlbar/content/interventions.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ intervention-update-restart-confirm = Restart to Update
3737
intervention-update-web = Get the latest { -brand-short-name } browser.
3838
intervention-update-web-confirm = Download Now
3939
40-
##
40+
##

build/clang-plugin/tests/TestLoadLibraryUsage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ void Func() {
1717
auto h9 = LoadLibraryEx(nullptr, nullptr, 0); // expected-error {{Usage of ASCII file functions (such as LoadLibraryExA) is forbidden.}}
1818
auto h10 = LoadLibraryEx("C:\\Some\\Path", nullptr, 0);
1919
#endif
20-
}
20+
}

build/clang-plugin/tests/TestNoPrincipalGetUri.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ void f() {
2828
SomePrincipal *d = new SomePrincipal();
2929
d->GetURI(0);
3030

31-
}
31+
}

config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
// MingW bug is fixed.
1818
RLBOX_LUCET_SANDBOX_STATIC_VARIABLES();
1919

20-
#endif
20+
#endif

devtools/client/aboutdebugging/src/components/connect/ConnectSection.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444

4545
.connect-section__extra {
4646
border-block-start: 1px solid var(--card-separator-color);
47-
}
47+
}

devtools/client/aboutdebugging/test/browser/test-tab-favicons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAATklEQVRYhe3SIQ4AIBADwf7/04elBAtrVlSduGnSTDJ7cuT1PQJwwO+Hl7sAGAA07gjAAfgIBeAAoHFHAA7ARygABwCNOwJwAD5CATRgAYXh+kypw86nAAAAAElFTkSuQmCC">
66
<head>
77
<body>Some page with a favicon</body>
8-
</html>
8+
</html>

devtools/client/framework/browser-toolbox/test/doc_browser_toolbox_fission_contentframe_inspector_page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
This ensures this frame will be a remote frame when fission is enabled. -->
1414
<iframe src="http://example.org/browser/devtools/client/framework/browser-toolbox/test/doc_browser_toolbox_fission_contentframe_inspector_frame.html"></iframe>
1515
</body>
16-
</html>
16+
</html>

devtools/client/inspector/computed/test/doc_sourcemaps.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devtools/client/inspector/shared/test/doc_content_stylesheet.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
<window id="testwindow" xmlns:html="http://www.w3.org/1999/xhtml"
77
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
88
<label id="target" value="Simple XUL document" />
9-
</window>
9+
</window>

devtools/client/jsonview/css/search-box.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
.theme-dark .devtools-filterinput {
1414
background-color: rgba(24, 29, 32, 1);
1515
color: rgba(184, 200, 217, 1);
16-
}
16+
}

devtools/client/locales/en-US/dom.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ dom.filterDOMPanel=Filter DOM Panel
1616

1717
# LOCALIZATION NOTE (dom.refresh): A label for Refresh button in
1818
# DOM panel toolbar
19-
dom.refresh=Refresh
19+
dom.refresh=Refresh

devtools/client/netmonitor/src/assets/styles/StatusCode.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@
9797
.headers-overview .summary .status[data-code^="8"],
9898
.headers-overview .summary .status[data-code^="9"] {
9999
color: var(--status-code-color-5xx);
100-
}
100+
}

devtools/client/netmonitor/test/html_csp-test-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
<script src="js_websocket-worker-test.js"></script>
1616
</body>
17-
</html>
17+
</html>

devtools/client/netmonitor/test/html_slow-requests-test-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ <h1>Slow Network Requests Test Page</h1>
1212
<script type="text/javascript"
1313
src="http://example.com/browser/devtools/client/netmonitor/test/sjs_slow-script-server.sjs"></script>
1414
</body>
15-
</html>
15+
</html>

devtools/client/responsive/test/browser/doc_toolbox_rule_view.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ div {
77
div {
88
width: 100px;
99
}
10-
};
10+
};
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<html>
22
<link rel="stylesheet" charset="UTF-8" type="text/css" media="screen" href="doc_toolbox_rule_view.css"/>
33
<div></div>
4-
</html>
4+
</html>

devtools/client/shared/components/tabs/Tabs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ div[hidetabs=true] .tabs .tabs-navigation {
112112
height: 100%;
113113
overflow-x: hidden;
114114
overflow-y: auto;
115-
}
115+
}

devtools/client/styleeditor/test/doc_xulpage.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
<window xmlns:html="http://www.w3.org/1999/xhtml"
55
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
66
<label value="Simple XUL document" />
7-
</window>
7+
</window>

devtools/client/styleeditor/test/many-media-rules-sourcemaps/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
<body>
99

1010
</body>
11-
</html>
11+
</html>

devtools/client/styleeditor/test/many-media-rules-sourcemaps/sourcemap/sourcemap-css/sourcemaps.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devtools/client/styleeditor/test/sourcemap-css/contained.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devtools/client/styleeditor/test/sourcemap-css/media-rules.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devtools/client/styleeditor/test/sourcemap-css/sourcemaps.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

devtools/client/styleeditor/test/sourcemap-css/test-stylus.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
body {
22
background-color: red;
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
h1 {
22
color: red;
3-
}
3+
}

devtools/client/webconsole/test/browser/test-cspro.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
<!-- this image allowed only be the CSP report-only header. -->
1818
<img src="http://some.example.com/cspro.png">
1919
</body>
20-
</html>
20+
</html>

devtools/client/webconsole/test/browser/test-worker-promise-error.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
});
4242
</script>
4343
</body>
44-
</html>
44+
</html>

devtools/server/tests/browser/application-manifest-no-manifest.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
</head>
77
<body>
88
<p>This page does not link to a manifest</p>
9-
</body>
9+
</body>

devtools/shared/locales/en-US/shared.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

55
# LOCALIZATION NOTE (ellipsis): The ellipsis (three dots) character
6-
ellipsis=
6+
ellipsis=

devtools/shared/resources/tests/network_document.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
<body>
1111
<p>Test for network events</p>
1212
</body>
13-
</html>
13+
</html>

dom/bindings/BindingIPCUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ struct ParamTraits<mozilla::dom::CallerType>
1616
mozilla::dom::CallerType, mozilla::dom::CallerType::System,
1717
mozilla::dom::CallerType::NonSystem> {};
1818
} // namespace IPC
19-
#endif // _mozilla_dom_BindingIPCUtils_h
19+
#endif // _mozilla_dom_BindingIPCUtils_h
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OLD
1+
OLD
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
NEW
1+
NEW

dom/canvas/CanvasGradient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ CanvasGradient::CanvasGradient(CanvasRenderingContext2D* aContext, Type aType)
1111
: mContext(aContext), mType(aType) {}
1212

1313
CanvasGradient::~CanvasGradient() = default;
14-
} // namespace mozilla::dom
14+
} // namespace mozilla::dom

dom/canvas/CanvasPattern.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ CanvasPattern::CanvasPattern(CanvasRenderingContext2D* aContext,
2020
mRepeat(aRepeat) {}
2121

2222
CanvasPattern::~CanvasPattern() = default;
23-
} // namespace mozilla::dom
23+
} // namespace mozilla::dom

dom/canvas/MurmurHash3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ void MurmurHash3_x64_128(const void* key, int len, uint32_t seed, void* out);
2020

2121
//-----------------------------------------------------------------------------
2222

23-
#endif // _MURMURHASH3_H_
23+
#endif // _MURMURHASH3_H_

dom/encoding/test/file_in_lk_TLD.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
}
77
</script>
88
<body onload="report();">
9-
<p>これは文字実験です。</p>
9+
<p>これは文字実験です。</p>
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.

dom/events/InputEventOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ struct MOZ_STACK_CLASS InputEventOptions final {
7272

7373
} // namespace mozilla
7474

75-
#endif // #ifndef mozilla_InputEventOptions_h
75+
#endif // #ifndef mozilla_InputEventOptions_h

dom/gamepad/GamepadHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ bool operator<(const GamepadHandle& a, const GamepadHandle& b) {
3737
return uint8_t(a.mKind) < uint8_t(b.mKind);
3838
}
3939

40-
} // namespace mozilla::dom
40+
} // namespace mozilla::dom

dom/gamepad/GamepadHandle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ static_assert(std::is_trivially_copyable<GamepadHandle>::value,
8686

8787
} // namespace mozilla::dom
8888

89-
#endif // mozilla_dom_gamepad_GamepadHandle_h
89+
#endif // mozilla_dom_gamepad_GamepadHandle_h

dom/html/nsRadioVisitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ bool nsRadioUpdateStateVisitor::Visit(nsIFormControl* aRadio) {
5656
input->UpdateState(true);
5757

5858
return true;
59-
}
59+
}

dom/ipc/MMPrinter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ class MMPrinter {
3131
} // namespace dom
3232
} // namespace mozilla
3333

34-
#endif /* MMPrinter_h */
34+
#endif /* MMPrinter_h */

dom/ipc/tests/file_dummy.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<!doctype html>
22
<body>
33
<h1>This is a dummy file</h1>
4-
</body>
4+
</body>

dom/l10n/tests/mochitest/document_l10n/test_docl10n.xhtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757

5858
<p id="label1" />
5959
</body>
60-
</html>
60+
</html>

dom/media/autoplay/test/mochitest/file_autoplay_policy_play_before_loadedmetadata.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@
6060
</pre>
6161
</body>
6262

63-
</html>
63+
</html>

0 commit comments

Comments
 (0)