Skip to content

Commit 8679ff8

Browse files
authored
Fix typos in javascript & rb (#16019)
1 parent 3db7720 commit 8679ff8

File tree

22 files changed

+28
-28
lines changed

22 files changed

+28
-28
lines changed

javascript/atoms/html5/database.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ bot.storage.database.executeSql = function(databaseName, query, args,
109109
bot.storage.database.ResultSet = function(sqlResultSet) {
110110

111111
/**
112-
* The database rows retuned from the SQL query.
112+
* The database rows returned from the SQL query.
113113
* @type {!Array.<*>}
114114
*/
115115
this.rows = [];

javascript/atoms/html5/html5_browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ bot.html5.isSupported = function(api, opt_window) {
142142
return false;
143143
}
144144
return goog.isDefAndNotNull(win.sessionStorage) &&
145-
// To avoid browsers that only support this API partically
145+
// To avoid browsers that only support this API partially
146146
// like some versions of FF.
147147
goog.isDefAndNotNull(win.sessionStorage.clear);
148148

javascript/atoms/html5/storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ goog.require('bot.html5');
4040
* We use bot.window() from bot.js instead to keep track of the window or frame
4141
* is currently being used for command execution. The implementation is
4242
* otherwise similar to the implementation in the Closure library
43-
* (goog.storage.mechansim.HTML5LocalStorage).
43+
* (goog.storage.mechanism.HTML5LocalStorage).
4444
*
4545
* @param {Window=} opt_window The window whose storage to access;
4646
* defaults to the main window.

javascript/atoms/test/html5/database_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
var onTxSuccess = onQueryResult;
122122
var onTxFailure = success;
123123

124-
// WITH is errorneously used instead of WHERE
124+
// WITH is erroneously used instead of WHERE
125125
bot.storage.database.executeSql('testDB',
126126
'SELECT * from docids WITH id = 1', [],
127127
onQueryResult,

javascript/atoms/test/opacity_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<!-- opacity test fixture -->
9494
<p>
9595
To determine opacity, it is not enough to simply read a property
96-
value but some visual inpection is needed in order to verify if
96+
value but some visual inspection is needed in order to verify if
9797
the property is applied. This is specially true in IE which is
9898
vey sensible to the syntax of the filter property.
9999
</p>

javascript/atoms/test/shown_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
function testTableRowCollapsedVisibility() {
377377
expectedFailures.expectFailureFor(
378378
(goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(8)),
379-
'IE does not support visibilty:collapsed until IE8');
379+
'IE does not support visibility:collapsed until IE8');
380380
var elem = findElement({id: 'collapsed-row'});
381381
expectedFailures.run(function() {
382382
assertFalse(isShown(elem));

javascript/atoms/test/text_table_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@
211211
function testTableWithCollapsedRows() {
212212
expectedFailures.expectFailureFor(
213213
(goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(8)),
214-
'IE does not support visibilty:collapsed until IE8');
214+
'IE does not support visibility:collapsed until IE8');
215215
expectedFailures.run(function() {
216216
assertTextIs(
217217
goog.dom.getElement('collapsedTable'),

javascript/atoms/test/type_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
*
443443
* For IE versions prior to 8, this function resumes an async test case and
444444
* executes the optionally-provided function after a fixed delay. For all
445-
* other browsers, it just executes the function straightaway.
445+
* other browsers, it just executes the function straight away.
446446
*/
447447
function yieldInIE7() {
448448
return new goog.Promise(function (done) {

javascript/atoms/test/window_size_test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636

3737
function verifySize(expectedSize) {
38-
// TODO: Reenable when b/8869287 is fixed.
38+
// TODO: Re-enable when b/8869287 is fixed.
3939
if (bot.userAgent.IE_DOC_9) {
4040
return;
4141
}

javascript/selenium-webdriver/CHANGES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ to a remote Selenium server that supports Firefox 45.
891891
### Changes
892892

893893
- Removed native support for Firefox 46 and older.
894-
- The `SELENIUM_MARIONETTE` enviornment variable no longer has an effect.
894+
- The `SELENIUM_MARIONETTE` environment variable no longer has an effect.
895895
- `selenium-webdriver/firefox.Capability.MARIONETTE` is deprecated.
896896
- `selenium-webdriver/firefox.Options#useGeckoDriver()` is deprecated and now
897897
a no-op.
@@ -1001,7 +1001,7 @@ or newer.
10011001
- (**NOTICE**) The minimum supported version of Node is now 6.9.0 LTS
10021002
- Removed support for the SafariDriver browser extension. This has been replaced
10031003
by Apple's
1004-
safaridriver, which is included wtih Safari 10
1004+
safaridriver, which is included with Safari 10
10051005
(available on OS X El Capitan and macOS Sierra).
10061006

10071007
To use Safari 9 or older, users will have to use an older version of Selenium.
@@ -1018,7 +1018,7 @@ or newer.
10181018
- Extending the `selenium-webdriver/testing` module to support tests defined
10191019
using generator
10201020
functions.
1021-
- The promise manager can be disabled by setting an enviornment variable:
1021+
- The promise manager can be disabled by setting an environment variable:
10221022
`SELENIUM_PROMISE_MANAGER=0`. This is part of a larger plan to remove the
10231023
promise manager, as
10241024
documented at

0 commit comments

Comments
 (0)