From 99b9ff858ac4b6d89aeccce601a6fe700a394d77 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Fri, 28 Aug 2020 12:32:33 +0100
Subject: [PATCH] Issue #2819245 by vagelis-prokopiou, mayurjadhav,
 narendra.rajwar27, PatashINotFound, AkashkumarOSL, davidhernandez, Vidushi
 Mehta, cilefen, lauriii, longwave: "Javascript" should be "JavaScript"

---
 core/COPYRIGHT.txt                               |  2 +-
 core/misc/entity-form.es6.js                     |  2 +-
 .../FunctionalJavascript/ActionFormAjaxTest.php  |  2 +-
 core/modules/book/book.es6.js                    |  2 +-
 core/modules/book/book.module                    |  2 +-
 .../src/FieldTranslationSynchronizer.php         |  2 +-
 core/modules/media/js/form.es6.js                |  2 +-
 core/modules/node/content_types.es6.js           |  2 +-
 core/modules/node/node.es6.js                    |  2 +-
 core/modules/settings_tray/settings_tray.module  |  2 +-
 core/modules/system/css/components/js.module.css |  2 +-
 .../src/Controller/JSMessageTestController.php   |  2 +-
 .../src/Functional/Routing/DestinationTest.php   |  2 +-
 .../views/config/schema/views.style.schema.yml   |  2 +-
 core/modules/views/js/ajax_view.es6.js           |  2 +-
 .../views/src/Plugin/views/style/Table.php       |  2 +-
 .../modules/views/templates/views-view.html.twig |  2 +-
 core/modules/views_ui/admin.inc                  |  2 +-
 .../templates/classy/views/views-view.html.twig  |  2 +-
 .../Dialog/DialogPositionTest.php                |  2 +-
 .../FunctionalJavascriptTests/JSWebAssert.php    |  8 ++++----
 .../JavascriptGetDrupalSettingsTest.php          |  2 +-
 .../WebDriverTestBase.php                        |  4 ++--
 .../WebDriverWebAssert.php                       | 16 ++++++++--------
 .../Drupal/FunctionalTests/AssertLegacyTrait.php |  2 +-
 .../Core/Theme/ConfirmClassyCopiesTest.php       |  2 +-
 .../Tests/Core/Security/RequestSanitizerTest.php |  2 +-
 .../templates/classy/views/views-view.html.twig  |  2 +-
 .../templates/classy/views/views-view.html.twig  |  2 +-
 .../classy/templates/views/views-view.html.twig  |  2 +-
 .../templates/classy/views/views-view.html.twig  |  2 +-
 .../stable/css/system/components/js.module.css   |  2 +-
 .../stable/templates/views/views-view.html.twig  |  2 +-
 33 files changed, 44 insertions(+), 44 deletions(-)

diff --git a/core/COPYRIGHT.txt b/core/COPYRIGHT.txt
index 7db40ad2811b..6c6d0ad34e7f 100644
--- a/core/COPYRIGHT.txt
+++ b/core/COPYRIGHT.txt
@@ -20,7 +20,7 @@ Drupal includes works under other copyright notices and distributed
 according to the terms of the GNU General Public License or a compatible
 license, including:
 
-Javascript
+JavaScript
 
   Farbtastic - Copyright (c) 2010 Matt Farina
 
diff --git a/core/misc/entity-form.es6.js b/core/misc/entity-form.es6.js
index 6ccae70bcb29..7dc6f7ecc7d9 100644
--- a/core/misc/entity-form.es6.js
+++ b/core/misc/entity-form.es6.js
@@ -1,6 +1,6 @@
 /**
  * @file
- * Defines Javascript behaviors for the block_content module.
+ * Defines JavaScript behaviors for the block_content module.
  */
 
 (function($, Drupal) {
diff --git a/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php b/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php
index 3f62c287644c..d691a1975cc1 100644
--- a/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php
+++ b/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php
@@ -7,7 +7,7 @@
 use Drupal\system\Entity\Action;
 
 /**
- * Tests action plugins using Javascript.
+ * Tests action plugins using JavaScript.
  *
  * @group action
  */
diff --git a/core/modules/book/book.es6.js b/core/modules/book/book.es6.js
index deb518ba9b3a..ed611b56830e 100644
--- a/core/modules/book/book.es6.js
+++ b/core/modules/book/book.es6.js
@@ -1,6 +1,6 @@
 /**
  * @file
- * Javascript behaviors for the Book module.
+ * JavaScript behaviors for the Book module.
  */
 
 (function($, Drupal) {
diff --git a/core/modules/book/book.module b/core/modules/book/book.module
index 8bb1bb38a5ac..0a6a56555a45 100644
--- a/core/modules/book/book.module
+++ b/core/modules/book/book.module
@@ -148,7 +148,7 @@ function book_form_node_form_alter(&$form, FormStateInterface $form_state, $form
   if ($access) {
     $collapsed = !($node->isNew() && !empty($node->book['pid']));
     $form = \Drupal::service('book.manager')->addFormElements($form, $form_state, $node, $account, $collapsed);
-    // The "js-hide" class hides submit button when Javascript is enabled.
+    // The "js-hide" class hides submit button when JavaScript is enabled.
     $form['book']['pick-book'] = [
       '#type' => 'submit',
       '#value' => t('Change book (update list of parents)'),
diff --git a/core/modules/content_translation/src/FieldTranslationSynchronizer.php b/core/modules/content_translation/src/FieldTranslationSynchronizer.php
index 21551f000ec9..4c4aaaf93bf2 100644
--- a/core/modules/content_translation/src/FieldTranslationSynchronizer.php
+++ b/core/modules/content_translation/src/FieldTranslationSynchronizer.php
@@ -142,7 +142,7 @@ public function synchronizeFields(ContentEntityInterface $entity, $sync_langcode
 
         // If a group was selected has the require_all_groups_for_translation
         // flag set, there are no untranslatable columns. This is done because
-        // the UI adds Javascript that disables the other checkboxes, so their
+        // the UI adds JavaScript that disables the other checkboxes, so their
         // values are not saved.
         foreach (array_filter($translation_sync) as $group) {
           if (!empty($column_groups[$group]['require_all_groups_for_translation'])) {
diff --git a/core/modules/media/js/form.es6.js b/core/modules/media/js/form.es6.js
index e8ebb8d72820..e3fb01ebd747 100644
--- a/core/modules/media/js/form.es6.js
+++ b/core/modules/media/js/form.es6.js
@@ -1,6 +1,6 @@
 /**
  * @file
- * Defines Javascript behaviors for the media form.
+ * Defines JavaScript behaviors for the media form.
  */
 
 (function($, Drupal) {
diff --git a/core/modules/node/content_types.es6.js b/core/modules/node/content_types.es6.js
index 01f97bbaa256..9a22e141ca1d 100644
--- a/core/modules/node/content_types.es6.js
+++ b/core/modules/node/content_types.es6.js
@@ -1,6 +1,6 @@
 /**
  * @file
- * Javascript for the node content editing form.
+ * JavaScript for the node content editing form.
  */
 
 (function($, Drupal) {
diff --git a/core/modules/node/node.es6.js b/core/modules/node/node.es6.js
index 95f183a3ad8b..06229fcb335d 100644
--- a/core/modules/node/node.es6.js
+++ b/core/modules/node/node.es6.js
@@ -1,6 +1,6 @@
 /**
  * @file
- * Defines Javascript behaviors for the node module.
+ * Defines JavaScript behaviors for the node module.
  */
 
 (function($, Drupal, drupalSettings) {
diff --git a/core/modules/settings_tray/settings_tray.module b/core/modules/settings_tray/settings_tray.module
index 9415ffdb8ff3..4ef7187a5c9a 100644
--- a/core/modules/settings_tray/settings_tray.module
+++ b/core/modules/settings_tray/settings_tray.module
@@ -120,7 +120,7 @@ function settings_tray_preprocess_block(&$variables) {
   if (isset($variables['elements']['#contextual_links']['block']['route_parameters']['block'])) {
     $block = Block::load($variables['elements']['#contextual_links']['block']['route_parameters']['block']);
     if ($access_checker->accessBlockPlugin($block_plugin)->isAllowed() && !_settings_tray_has_block_overrides($block)) {
-      // Add class and attributes to all blocks to allow Javascript to target.
+      // Add class and attributes to all blocks to allow JavaScript to target.
       $variables['attributes']['class'][] = 'settings-tray-editable';
       $variables['attributes']['data-drupal-settingstray'] = 'editable';
     }
diff --git a/core/modules/system/css/components/js.module.css b/core/modules/system/css/components/js.module.css
index ca3c739b3a3d..68f1ee54dffc 100644
--- a/core/modules/system/css/components/js.module.css
+++ b/core/modules/system/css/components/js.module.css
@@ -1,6 +1,6 @@
 /**
  * @file
- * Utility classes to assist with Javascript functionality.
+ * Utility classes to assist with JavaScript functionality.
  */
 
 /**
diff --git a/core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php b/core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php
index c83aae77cf4f..b637833771aa 100644
--- a/core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php
+++ b/core/modules/system/tests/modules/js_message_test/src/Controller/JSMessageTestController.php
@@ -30,7 +30,7 @@ public static function getMessagesSelectors() {
   }
 
   /**
-   * Displays links to show messages via Javascript.
+   * Displays links to show messages via JavaScript.
    *
    * @return array
    *   Render array for links.
diff --git a/core/modules/system/tests/src/Functional/Routing/DestinationTest.php b/core/modules/system/tests/src/Functional/Routing/DestinationTest.php
index ba10d839b230..94d74d100352 100644
--- a/core/modules/system/tests/src/Functional/Routing/DestinationTest.php
+++ b/core/modules/system/tests/src/Functional/Routing/DestinationTest.php
@@ -63,7 +63,7 @@ public function testDestination() {
       [
         'input' => 'javascript:alert(0)',
         'output' => 'javascript:alert(0)',
-        'message' => 'Javascript URL is allowed because it is treated as an internal URL.',
+        'message' => 'JavaScript URL is allowed because it is treated as an internal URL.',
       ],
     ];
     foreach ($test_cases as $test_case) {
diff --git a/core/modules/views/config/schema/views.style.schema.yml b/core/modules/views/config/schema/views.style.schema.yml
index 49de11b4097d..f31f67ac437b 100644
--- a/core/modules/views/config/schema/views.style.schema.yml
+++ b/core/modules/views/config/schema/views.style.schema.yml
@@ -91,7 +91,7 @@ views.style.table:
       label: 'Override normal sorting if click sorting is used'
     sticky:
       type: boolean
-      label: 'Enable Drupal style "sticky" table headers (Javascript)'
+      label: 'Enable Drupal style "sticky" table headers (JavaScript)'
     summary:
       type: label
       label: 'Summary title'
diff --git a/core/modules/views/js/ajax_view.es6.js b/core/modules/views/js/ajax_view.es6.js
index cbcec78ffc68..e131ad83b84c 100644
--- a/core/modules/views/js/ajax_view.es6.js
+++ b/core/modules/views/js/ajax_view.es6.js
@@ -51,7 +51,7 @@
   Drupal.views.instances = {};
 
   /**
-   * Javascript object for a certain view.
+   * JavaScript object for a certain view.
    *
    * @constructor
    *
diff --git a/core/modules/views/src/Plugin/views/style/Table.php b/core/modules/views/src/Plugin/views/style/Table.php
index 0058bdc4f059..0673642a989d 100644
--- a/core/modules/views/src/Plugin/views/style/Table.php
+++ b/core/modules/views/src/Plugin/views/style/Table.php
@@ -215,7 +215,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
 
     $form['sticky'] = [
       '#type' => 'checkbox',
-      '#title' => $this->t('Enable Drupal style "sticky" table headers (Javascript)'),
+      '#title' => $this->t('Enable Drupal style "sticky" table headers (JavaScript)'),
       '#default_value' => !empty($this->options['sticky']),
       '#description' => $this->t('(Sticky header effects will not be active for preview below, only on live output.)'),
     ];
diff --git a/core/modules/views/templates/views-view.html.twig b/core/modules/views/templates/views-view.html.twig
index 8c4201fccfbd..b78c12c5ef04 100644
--- a/core/modules/views/templates/views-view.html.twig
+++ b/core/modules/views/templates/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  *
diff --git a/core/modules/views_ui/admin.inc b/core/modules/views_ui/admin.inc
index 63c61902c48f..a37ea0e11ca5 100644
--- a/core/modules/views_ui/admin.inc
+++ b/core/modules/views_ui/admin.inc
@@ -193,7 +193,7 @@ function views_ui_ajax_update_form($form, FormStateInterface $form_state) {
 }
 
 /**
- * Non-Javascript fallback for updating the add view form.
+ * Non-JavaScript fallback for updating the add view form.
  */
 function views_ui_nojs_submit($form, FormStateInterface $form_state) {
   $form_state->setRebuild();
diff --git a/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view.html.twig b/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view.html.twig
index 769a86849e88..251b0611dda6 100644
--- a/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view.html.twig
+++ b/core/profiles/demo_umami/themes/umami/templates/classy/views/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  */
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Dialog/DialogPositionTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Dialog/DialogPositionTest.php
index bf1f44bc1aae..c4e64abfa1b7 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/Dialog/DialogPositionTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/Dialog/DialogPositionTest.php
@@ -47,7 +47,7 @@ public function testDialogOpenAndClose() {
     $dialog = $page->find('css', '.ui-dialog');
     $this->assertNull($dialog, 'Dialog is closed after clicking the close button.');
 
-    // Resize the window. The test should pass after waiting for Javascript to
+    // Resize the window. The test should pass after waiting for JavaScript to
     // finish as no Javascript errors should have been triggered. If there were
     // javascript errors the test will fail on that.
     $session->resizeWindow(625, 625);
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
index 6cf3ef006671..a95d33158ddc 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php
@@ -222,7 +222,7 @@ public function waitOnAutocomplete() {
    * Test that a node, or its specific corner, is visible in the viewport.
    *
    * Note: Always set the viewport size. This can be done in your test with
-   * \Behat\Mink\Session->resizeWindow(). Drupal CI Javascript tests by default
+   * \Behat\Mink\Session->resizeWindow(). Drupal CI JavaScript tests by default
    * use a viewport of 1024x768px.
    *
    * @param string $selector_type
@@ -319,7 +319,7 @@ public function assertNotVisibleInViewport($selector_type, $selector, $corner =
   private function checkNodeVisibilityInViewport(NodeElement $node, $corner = FALSE) {
     $xpath = $node->getXpath();
 
-    // Build the Javascript to test if the complete element or a specific corner
+    // Build the JavaScript to test if the complete element or a specific corner
     // is in the viewport.
     switch ($corner) {
       case 'topLeft':
@@ -392,7 +392,7 @@ function t(r, lx, ly) {
         throw new UnsupportedDriverActionException($corner, $this->session->getDriver());
     }
 
-    // Build the full Javascript test. The shared logic gets the corner
+    // Build the full JavaScript test. The shared logic gets the corner
     // specific test logic injected.
     $full_javascript_visibility_test = <<<JS
       (function(t){
@@ -408,7 +408,7 @@ function t(r, lx, ly) {
       }($test_javascript_function));
 JS;
 
-    // Check the visibility by injecting and executing the full Javascript test
+    // Check the visibility by injecting and executing the full JavaScript test
     // script in the page.
     return $this->session->evaluateScript($full_javascript_visibility_test);
   }
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptGetDrupalSettingsTest.php b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptGetDrupalSettingsTest.php
index 5cd19cc701f6..38d4000fcd6b 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptGetDrupalSettingsTest.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptGetDrupalSettingsTest.php
@@ -32,7 +32,7 @@ public function testGetDrupalSettings() {
     $js_settings = $this->getDrupalSettings();
     $this->assertSame('azAZ09();.,\\\/-_{}', $js_settings['test-setting']);
 
-    // Dynamically change the setting using Javascript.
+    // Dynamically change the setting using JavaScript.
     $script = <<<EndOfScript
 (function () {
   drupalSettings['test-setting'] = 'foo';
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
index 40b0a46c494e..1cc119ffd53e 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
@@ -7,7 +7,7 @@
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
 /**
- * Runs a browser test using a driver that supports Javascript.
+ * Runs a browser test using a driver that supports JavaScript.
  *
  * Base class for testing browser interaction implemented in JavaScript.
  *
@@ -129,7 +129,7 @@ protected function getMinkDriverArgs() {
    * @see \Behat\Mink\Driver\DriverInterface::evaluateScript()
    */
   protected function assertJsCondition($condition, $timeout = 10000, $message = '') {
-    $message = $message ?: "Javascript condition met:\n" . $condition;
+    $message = $message ?: "JavaScript condition met:\n" . $condition;
     $result = $this->getSession()->getDriver()->wait($timeout, $condition);
     $this->assertTrue($result, $message);
   }
diff --git a/core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php b/core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php
index e621c1a0725c..93995f459ee6 100644
--- a/core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php
+++ b/core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php
@@ -14,7 +14,7 @@ class WebDriverWebAssert extends JSWebAssert {
    *   The status code.
    */
   public function statusCodeEquals($code) {
-    @trigger_error('Support for statusCodeEquals is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for statusCodeEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::statusCodeEquals($code);
   }
 
@@ -25,7 +25,7 @@ public function statusCodeEquals($code) {
    *   The status code.
    */
   public function statusCodeNotEquals($code) {
-    @trigger_error('Support for statusCodeNotEquals is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for statusCodeNotEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::statusCodeNotEquals($code);
   }
 
@@ -38,7 +38,7 @@ public function statusCodeNotEquals($code) {
    *   The value to check the header against.
    */
   public function responseHeaderEquals($name, $value) {
-    @trigger_error('Support for responseHeaderEquals is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for responseHeaderEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::responseHeaderEquals($name, $value);
   }
 
@@ -51,7 +51,7 @@ public function responseHeaderEquals($name, $value) {
    *   The value to check the header against.
    */
   public function responseHeaderNotEquals($name, $value) {
-    @trigger_error('Support for responseHeaderNotEquals is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for responseHeaderNotEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::responseHeaderNotEquals($name, $value);
   }
 
@@ -64,7 +64,7 @@ public function responseHeaderNotEquals($name, $value) {
    *   The value to check the header against.
    */
   public function responseHeaderContains($name, $value) {
-    @trigger_error('Support for responseHeaderContains is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for responseHeaderContains is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::responseHeaderContains($name, $value);
   }
 
@@ -77,7 +77,7 @@ public function responseHeaderContains($name, $value) {
    *   The value to check the header against.
    */
   public function responseHeaderNotContains($name, $value) {
-    @trigger_error('Support for responseHeaderNotContains is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for responseHeaderNotContains is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::responseHeaderNotContains($name, $value);
   }
 
@@ -90,7 +90,7 @@ public function responseHeaderNotContains($name, $value) {
    *   The value to check the header against.
    */
   public function responseHeaderMatches($name, $regex) {
-    @trigger_error('Support for responseHeaderMatches is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for responseHeaderMatches is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::responseHeaderMatches($name, $regex);
   }
 
@@ -103,7 +103,7 @@ public function responseHeaderMatches($name, $regex) {
    *   The value to check the header against.
    */
   public function responseHeaderNotMatches($name, $regex) {
-    @trigger_error('Support for responseHeaderNotMatches is to be dropped from Javascript tests. See https://www.drupal.org/node/2857562.');
+    @trigger_error('Support for responseHeaderNotMatches is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
     parent::responseHeaderNotMatches($name, $regex);
   }
 
diff --git a/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php b/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php
index 7810d4f3a3ce..3a69f7d85fcf 100644
--- a/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php
+++ b/core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php
@@ -146,7 +146,7 @@ protected function assertTextHelper($text, $not_exists = TRUE) {
 
     $raw_content = $this->getSession()->getPage()->getContent();
     // Trying to simulate what the user sees, given that it removes all text
-    // inside the head tags, removes inline Javascript, fix all HTML entities,
+    // inside the head tags, removes inline JavaScript, fix all HTML entities,
     // removes dangerous protocols and filtering out all HTML tags, as they are
     // not visible in a normal browser.
     $raw_content = preg_replace('@<head>(.+?)</head>@si', '', $raw_content);
diff --git a/core/tests/Drupal/KernelTests/Core/Theme/ConfirmClassyCopiesTest.php b/core/tests/Drupal/KernelTests/Core/Theme/ConfirmClassyCopiesTest.php
index bd96fc7cef11..6ef6860207db 100644
--- a/core/tests/Drupal/KernelTests/Core/Theme/ConfirmClassyCopiesTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Theme/ConfirmClassyCopiesTest.php
@@ -840,7 +840,7 @@ protected function getClassyHash($type, $file) {
         'views-view-mapping-test.html.twig' => '818431786e1d19df33cecccad98d5a22',
         'views-view-opml.html.twig' => '4ab17668908dcd4af75d35f891f97fff',
         'views-view-summary-unformatted.html.twig' => '76f6e5882aa7fe6bc0440b66e85a0a6c',
-        'views-view.html.twig' => 'd20ba03bc36703828bb7651baa15f28f',
+        'views-view.html.twig' => '6e823aff4c9a83fa2f426510a90e8f7d',
         'views-view-grid.html.twig' => '8f4ea66bf949530d31a79a44f3d87650',
         'views-view-rss.html.twig' => 'f4e49d0d8df01019245c51ff2a4259c2',
         'block--system-branding-block.html.twig' => '558d83af4c06e78f46790e0e18295588',
diff --git a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php
index 7aac8f108b55..03450142e002 100644
--- a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php
+++ b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php
@@ -321,7 +321,7 @@ public function providerTestAcceptableDestinations() {
     $data[] = ['/example.com'];
     // Internal URL using a colon is allowed.
     $data[] = ['example:test'];
-    // Javascript URL is allowed because it is treated as an internal URL.
+    // JavaScript URL is allowed because it is treated as an internal URL.
     $data[] = ['javascript:alert(0)'];
     return $data;
   }
diff --git a/core/themes/bartik/templates/classy/views/views-view.html.twig b/core/themes/bartik/templates/classy/views/views-view.html.twig
index 769a86849e88..251b0611dda6 100644
--- a/core/themes/bartik/templates/classy/views/views-view.html.twig
+++ b/core/themes/bartik/templates/classy/views/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  */
diff --git a/core/themes/claro/templates/classy/views/views-view.html.twig b/core/themes/claro/templates/classy/views/views-view.html.twig
index 769a86849e88..251b0611dda6 100644
--- a/core/themes/claro/templates/classy/views/views-view.html.twig
+++ b/core/themes/claro/templates/classy/views/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  */
diff --git a/core/themes/classy/templates/views/views-view.html.twig b/core/themes/classy/templates/views/views-view.html.twig
index 769a86849e88..251b0611dda6 100644
--- a/core/themes/classy/templates/views/views-view.html.twig
+++ b/core/themes/classy/templates/views/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  */
diff --git a/core/themes/seven/templates/classy/views/views-view.html.twig b/core/themes/seven/templates/classy/views/views-view.html.twig
index 769a86849e88..251b0611dda6 100644
--- a/core/themes/seven/templates/classy/views/views-view.html.twig
+++ b/core/themes/seven/templates/classy/views/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  */
diff --git a/core/themes/stable/css/system/components/js.module.css b/core/themes/stable/css/system/components/js.module.css
index ca3c739b3a3d..68f1ee54dffc 100644
--- a/core/themes/stable/css/system/components/js.module.css
+++ b/core/themes/stable/css/system/components/js.module.css
@@ -1,6 +1,6 @@
 /**
  * @file
- * Utility classes to assist with Javascript functionality.
+ * Utility classes to assist with JavaScript functionality.
  */
 
 /**
diff --git a/core/themes/stable/templates/views/views-view.html.twig b/core/themes/stable/templates/views/views-view.html.twig
index a1dc03a0563e..c30de976fd1c 100644
--- a/core/themes/stable/templates/views/views-view.html.twig
+++ b/core/themes/stable/templates/views/views-view.html.twig
@@ -25,7 +25,7 @@
  * - attachment_after: An optional attachment view to be displayed after the
  *   view content.
  * - dom_id: Unique id for every view being printed to give unique class for
- *   Javascript.
+ *   JavaScript.
  *
  * @see template_preprocess_views_view()
  */
-- 
GitLab