diff --git a/javascript/grid-ui/src/serviceWorker.js b/javascript/grid-ui/src/serviceWorker.js index 3576d2ce95c8f..b4a44a94972f0 100644 --- a/javascript/grid-ui/src/serviceWorker.js +++ b/javascript/grid-ui/src/serviceWorker.js @@ -15,6 +15,9 @@ // specific language governing permissions and limitations // under the License. +// This optional code is used to register a service worker. +// register() is not called by default. + // This lets the app load faster on subsequent visits in production, and gives // it offline capabilities. However, it also means that developers (and users) // will only see deployed updates on subsequent visits to a page, after all the diff --git a/javascript/node/selenium-webdriver/devtools/CDPConnection.js b/javascript/node/selenium-webdriver/devtools/CDPConnection.js index 2398a50b923ae..304638afc2b71 100644 --- a/javascript/node/selenium-webdriver/devtools/CDPConnection.js +++ b/javascript/node/selenium-webdriver/devtools/CDPConnection.js @@ -15,25 +15,6 @@ // specific language governing permissions and limitations // under the License. -/* - * Licensed to the Software Freedom Conservancy (SFC) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The SFC licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - class CDPConnection { constructor(wsConnection) { this._wsConnection = wsConnection diff --git a/javascript/node/selenium-webdriver/test/elementAccessibleName_test.js b/javascript/node/selenium-webdriver/test/elementAccessibleName_test.js index 236f3908e35c2..0313907ef2a7d 100644 --- a/javascript/node/selenium-webdriver/test/elementAccessibleName_test.js +++ b/javascript/node/selenium-webdriver/test/elementAccessibleName_test.js @@ -15,25 +15,6 @@ // specific language governing permissions and limitations // under the License. -/* - * Licensed to the Software Freedom Conservancy (SFC) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The SFC licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - 'use strict' const assert = require('assert') diff --git a/javascript/node/selenium-webdriver/test/elementAriaRole_test.js b/javascript/node/selenium-webdriver/test/elementAriaRole_test.js index 6479b320b1215..470e2b21810b2 100644 --- a/javascript/node/selenium-webdriver/test/elementAriaRole_test.js +++ b/javascript/node/selenium-webdriver/test/elementAriaRole_test.js @@ -15,25 +15,6 @@ // specific language governing permissions and limitations // under the License. -/* - * Licensed to the Software Freedom Conservancy (SFC) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The SFC licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - 'use strict' const assert = require('assert')