Skip to content

Commit cca70e3

Browse files
committed
[JS] lint fixes
1 parent baf6116 commit cca70e3

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

javascript/node/selenium-webdriver/bidi/partialCookie.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
const { BytesValue, SameSite } = require('./networkTypes')
18+
const { BytesValue } = require('./networkTypes')
1919

2020
/**
2121
* Represents a partial cookie used to set cookies.

javascript/node/selenium-webdriver/bidi/scriptManager.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ const {
2323
} = require('./evaluateResult')
2424
const { Message } = require('./scriptTypes')
2525
const { RealmInfo, RealmType, WindowRealmInfo } = require('./realmInfo')
26-
const { RemoteValue, LocalValue } = require('./protocolValue')
26+
const { RemoteValue } = require('./protocolValue')
2727
const { Source } = require('./scriptTypes')
2828
const { WebDriverError } = require('../lib/error')
29-
const { ResultOwnership } = require('./resultOwnership')
3029

3130
/**
3231
* Represents class to run events and commands of Script module.

javascript/node/selenium-webdriver/bidi/scriptTypes.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
const { RemoteValue } = require('./protocolValue')
19-
2018
/**
2119
* Represents a message received through a channel.
2220
* Described in https://w3c.github.io/webdriver-bidi/#event-script-message.

javascript/node/selenium-webdriver/test/bidi/browsingcontext_test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ suite(
454454
const window1 = await BrowsingContext(driver, {
455455
browsingContextId: id,
456456
})
457-
const window2 = await BrowsingContext(driver, { type: 'window' })
457+
458+
await BrowsingContext(driver, { type: 'window' })
458459

459460
const res = await window1.getTopLevelContexts()
460461
assert.equal(res.length, 2)

0 commit comments

Comments
 (0)