Skip to content

Commit 3251a58

Browse files
PGrayCSJosh-Cena
andauthored
Fix typos (mdn#42788)
* Fix typo in eval index documentation Corrected a typo in the explanation of the transformation/filtering logic. * Fix more --------- Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
1 parent f008035 commit 3251a58

File tree

10 files changed

+12
-14
lines changed

10 files changed

+12
-14
lines changed

.vscode/dictionaries/code-entities.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ GPOS
260260
grba
261261
Grek
262262
greklow
263+
gsettings
263264
GSUB
264265
gujr
265266
gukh
@@ -696,6 +697,7 @@ serviceworker
696697
setenvif
697698
SHA-256-sess
698699
SHA-512-sess
700+
shadowrootreferencetarget
699701
sharpyuv
700702
shrd
701703
shtm

files/en-us/learn_web_development/extensions/testing/automated_testing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ We agree — testing all the things we've looked at in previous articles manuall
4040
We will look at how to set up your own Selenium-based testing system in the next article. In this article, we'll look at how to set up a task runner, and use the basic functionality of commercial systems like the ones mentioned above.
4141

4242
> [!NOTE]
43-
> The above two categories are not mutually exclusive. It is possible to set up a task runner to access a service like Sauce Labs, or LambdaTest via an API, run cross browser tests, and return results. We will look at this below as well.
43+
> The above two categories are not mutually exclusive. It is possible to set up a task runner to access a service like Sauce Labs via an API, run cross browser tests, and return results. We will look at this below as well.
4444
4545
## Using a task runner to automate testing tools
4646

files/en-us/learn_web_development/extensions/testing/testing_strategies/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Having multiple virtual machines is very useful, particularly for Windows IE/Edg
246246

247247
As mentioned in the last chapter, you can take a lot of the pain out of browser testing by using some kind of automation system. You can set up your own testing automation system ([Selenium](https://www.selenium.dev/) being the popular app of choice), which does take some setup, but can be very rewarding when you get it worked out.
248248

249-
There are also commercial tools available such as [Sauce Labs](https://saucelabs.com/), [Browser Stack](https://www.browserstack.com/) and [LambdaTest](https://www.lambdatest.com/) that do this kind of thing for you, without you having to worry about the setup, if you wish to invest some money in your testing.
249+
There are also commercial tools available such as [Sauce Labs](https://saucelabs.com/) and [Browser Stack](https://www.browserstack.com/) that do this kind of thing for you, without you having to worry about the setup, if you wish to invest some money in your testing.
250250

251251
Another alternative is to use no-code test automation tools such as [Endtest](https://www.endtest.io/).
252252

files/en-us/learn_web_development/extensions/testing/your_own_automation_environment/index.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this article, we will teach you how to install your own automation environmen
2626
<tr>
2727
<th scope="row">Objective:</th>
2828
<td>
29-
To show how to set up a Selenium testing environment locally and run tests with it, and how to integrate it with tools like LambdaTest, Sauce Labs, and BrowserStack.
29+
To show how to set up a Selenium testing environment locally and run tests with it, and how to integrate it with tools like Sauce Labs and BrowserStack.
3030
</td>
3131
</tr>
3232
</tbody>
@@ -795,17 +795,14 @@ So this is pretty cool. We have tested this locally, but you could set this up o
795795

796796
## Integrating Selenium with CI tools
797797

798-
As another point, it is also possible to integrate Selenium and related tools like LambdaTest, and Sauce Labs with {{glossary("continuous integration")}} (CI) tools — this is useful, as it means you can run your tests via a CI tool, and only commit new changes to your code repository if the tests pass.
798+
As another point, it is also possible to integrate Selenium and related tools like Sauce Labs with {{glossary("continuous integration")}} (CI) tools — this is useful, as it means you can run your tests via a CI tool, and only commit new changes to your code repository if the tests pass.
799799

800800
It is out of scope to look at this area in detail in this article, but we'd suggest getting started with Travis CI — this is probably the easiest CI tool to get started with and has good integration with web tools like GitHub and Node.
801801

802802
To get started, see for example:
803803

804804
- [Travis CI for complete beginners](https://docs.travis-ci.com/user/for-beginners)
805805
- [Building a Node.js project](https://docs.travis-ci.com/user/languages/javascript-with-nodejs/) (with Travis)
806-
- [Using LambdaTest with Travis CI](https://www.lambdatest.com/support/docs/travis-ci-with-lambdatest/)
807-
- [Using LambdaTest with CircleCI](https://www.lambdatest.com/support/docs/circleci-integration-with-lambdatest/)
808-
- [Using LambdaTest with Jenkins](https://www.lambdatest.com/support/docs/jenkins-with-lambdatest/)
809806
- [Using Sauce Labs with Travis CI](https://docs.travis-ci.com/user/sauce-connect/)
810807

811808
> [!NOTE]

files/en-us/learn_web_development/howto/tools_and_setup/how_much_does_it_cost/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ You can use any of them, as they will have similar functionality, though some ar
6363

6464
If you want to include video or audio into your website, you can either embed online services (for example YouTube, Vimeo, or Dailymotion), or include your own videos (see below for bandwidth costs).
6565

66-
For audio files, you can find free software ([Audacity](https://www.audacityteam.org/), [Wavosaur](https://www.wavosaur.com/)), or paying up to a few hundred dollars ([Sound Forge](https://www.magix.com/us/music-editing/sound-forge/), [Adobe Audition](https://www.adobe.com/products/audition.html)). Likewise, video-editing software can be free ([PiTiVi](https://www.pitivi.org/), [OpenShot](https://www.openshot.org/) for Linux, [iMovie](https://support.apple.com/imovie) for Mac), less than $100 ([Adobe Premiere Elements](https://www.adobe.com/products/premiere-elements.html)), or several hundred dollars ([Adobe Premiere Pro](https://www.adobe.com/products/premiere.html), [Avid Media Composer](https://www.avid.com/media-composer), [Final Cut Pro](https://www.apple.com/final-cut-pro/)). The software you received with your digital camera may cover all your needs.
66+
For audio files, you can find free software ([Audacity](https://www.audacityteam.org/), [Wavosaur](https://www.wavosaur.com/)), or paying up to a few hundred dollars ([Sound Forge](https://www.vegascreativesoftware.com/us/sound-forge-pro/), [Adobe Audition](https://www.adobe.com/products/audition.html)). Likewise, video-editing software can be free ([PiTiVi](https://www.pitivi.org/), [OpenShot](https://www.openshot.org/) for Linux, [iMovie](https://support.apple.com/imovie) for Mac), less than $100 ([Adobe Premiere Elements](https://www.adobe.com/products/premiere-elements.html)), or several hundred dollars ([Adobe Premiere Pro](https://www.adobe.com/products/premiere.html), [Avid Media Composer](https://www.avid.com/media-composer), [Final Cut Pro](https://www.apple.com/final-cut-pro/)). The software you received with your digital camera may cover all your needs.
6767

6868
### Publishing tools
6969

files/en-us/web/css/reference/properties/content/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ If using a screen reader, it should speak the word "MOZILLA" when it reaches the
345345

346346
### Including counters in alternative text
347347

348-
This example features a list of links to a set of book chapters, and shows how to use generated content to include a book icon and a counter before each one, with alternative text that includes the literal word "Chapter" in place of the icon. This results in the word "chapter" and the chapter number preceding the text in each link's {{glossary("accessible name")}}, which will be announced to screenreader users when the link receives focus.
348+
This example features a list of links to a set of book chapters, and shows how to use generated content to include a book icon and a counter before each one, with alternative text that includes the literal word "Chapter" in place of the icon. This results in the word "chapter" and the chapter number preceding the text in each link's {{glossary("accessible name")}}, which will be announced to screen reader users when the link receives focus.
349349

350350
#### HTML
351351

@@ -391,7 +391,7 @@ a::before {
391391

392392
{{EmbedLiveSample('alt-counter', '100%', 270)}}
393393

394-
When a screenreader navigates to a link within the list, supporting browsers will announce "Chapter" followed by the current counter number, followed by the link text, for example, "Chapter 1 A stranger calls" and "Chapter 2 Two owls".
394+
When a screen reader navigates to a link within the list, supporting browsers will announce "Chapter" followed by the current counter number, followed by the link text, for example, "Chapter 1 A stranger calls" and "Chapter 2 Two owls".
395395

396396
### Element replacement with URL
397397

files/en-us/web/javascript/reference/global_objects/eval/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ if (typeof trustedTypes === "undefined")
411411
412412
Next we create a {{domxref("TrustedTypePolicy")}} that defines a {{domxref("TrustedTypePolicy/createScript", "createScript()")}} method for transforming input strings into {{domxref("TrustedScript")}} instances.
413413
414-
For the purpose of this example we'll assume that we have a function `transformedScript()` that defines our tranformation/filtering logic.
414+
For the purpose of this example, we'll assume that we have a function `transformedScript()` that defines our transformation/filtering logic.
415415
416416
```js
417417
const policy = trustedTypes.createPolicy("script-policy", {

files/en-us/web/javascript/reference/statements/import/with/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ import data from "https://example.com/data.json" with { type: "json" };
7676

7777
The `type` attribute allows you to specify that modules are served as JSON or CSS (and implicitly as JavaScript).
7878

79-
Other attributes may also be supported, and [can affect the behaviour of different parts of the loading process](#intended_semantics_for_import_attributes).
79+
Other attributes may also be supported, and [can affect the behavior of different parts of the loading process](#intended_semantics_for_import_attributes).
8080
A syntax error is thrown if an unknown attribute is used.
8181

8282
### Standard attributes

files/en-us/web/media/guides/audio_and_video_delivery/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ A number of audio and video JavaScript libraries exist. The most popular librari
468468
### Video only
469469

470470
- [flowplayer](https://flowplayer.com/): Gratis with a flowplayer logo watermark. Open source (GPL licensed.)
471-
- [JWPlayer](https://jwpconnatix.com/): Requires registration to download. Open Source Edition (Creative Commons License.)
472471
- [SublimeVideo](https://www.sublimevideo.net/): Requires registration. Form based set up with domain specific link to CDN hosted library.
473472
- [Video.js](https://videojs.org/): Gratis and Open Source (Apache 2 Licensed.)
474473

files/en-us/web/security/attacks/supply_chain_attacks/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ The [Concise Guide for Evaluating Open Source Software](https://best.openssf.org
7171

7272
### Updating dependencies
7373

74-
Once you have added a dependency to your project, the dependency's supplier will typically release new versions with new features, bug fixes, and security fixes. You will usually want to take advantage of these updates, by implementing a mechanism to keep the dependency up to date. Tools such as GitHub's [dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide) can help with this, by detecting new versions of dependencies and automatically opening pull requests to update your project.
74+
Once you have added a dependency to your project, the dependency's supplier will typically release new versions with new features, bug fixes, and security fixes. You will usually want to take advantage of these updates, by implementing a mechanism to keep the dependency up to date. Tools such as GitHub's [dependabot](https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/dependabot-quickstart-guide) can help with this, by detecting new versions of dependencies and automatically opening pull requests to update your project.
7575

7676
However, updating dependencies too eagerly comes with its own risks. For example, suppose you add a dependency on a trustworthy third-party package. An attacker then gets control of the package developer's account, and publishes a malicious update. If you immediately accept the update, your project is compromised.
7777

0 commit comments

Comments
 (0)