Skip to content

Commit 8e4f217

Browse files
committed
Remove the deprecated DatabaseStorage interface.
And callers. Note that the browser implementations may still have an implementation of these interfaces, but nothing in the main project implements it so we should be okay.
1 parent d343aae commit 8e4f217

File tree

18 files changed

+2
-504
lines changed

18 files changed

+2
-504
lines changed

java/client/src/org/openqa/selenium/html5/DatabaseStorage.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

java/client/src/org/openqa/selenium/html5/ResultSet.java

Lines changed: 0 additions & 72 deletions
This file was deleted.

java/client/src/org/openqa/selenium/html5/ResultSetRows.java

Lines changed: 0 additions & 63 deletions
This file was deleted.

java/client/src/org/openqa/selenium/remote/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ java_library(name = 'remote',
6161
'UnreachableBrowserException.java',
6262
'UselessFileDetector.java',
6363
'html5/RemoteApplicationCache.java',
64-
'html5/RemoteDatabaseStorage.java',
6564
'html5/RemoteLocalStorage.java',
6665
'html5/RemoteLocationContext.java',
6766
'html5/RemoteSessionStorage.java',

java/client/src/org/openqa/selenium/remote/BaseAugmenter.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_FINDING_BY_CSS;
2323
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_LOCATION_CONTEXT;
2424
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_NETWORK_CONNECTION;
25-
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_SQL_DATABASE;
2625
import static org.openqa.selenium.remote.CapabilityType.SUPPORTS_WEB_STORAGE;
2726
import static org.openqa.selenium.remote.CapabilityType.TAKES_SCREENSHOT;
2827

@@ -31,7 +30,6 @@
3130
import org.openqa.selenium.WebDriver;
3231
import org.openqa.selenium.WebElement;
3332
import org.openqa.selenium.remote.html5.AddApplicationCache;
34-
import org.openqa.selenium.remote.html5.AddDatabaseStorage;
3533
import org.openqa.selenium.remote.html5.AddLocationContext;
3634
import org.openqa.selenium.remote.html5.AddWebStorage;
3735
import org.openqa.selenium.remote.mobile.AddNetworkConnection;
@@ -52,7 +50,6 @@ public abstract class BaseAugmenter {
5250
public BaseAugmenter() {
5351
addDriverAugmentation(SUPPORTS_FINDING_BY_CSS, new AddFindsByCss());
5452
addDriverAugmentation(TAKES_SCREENSHOT, new AddTakesScreenshot());
55-
addDriverAugmentation(SUPPORTS_SQL_DATABASE, new AddDatabaseStorage());
5653
addDriverAugmentation(SUPPORTS_LOCATION_CONTEXT, new AddLocationContext());
5754
addDriverAugmentation(SUPPORTS_APPLICATION_CACHE, new AddApplicationCache());
5855
addDriverAugmentation(SUPPORTS_NETWORK_CONNECTION, new AddNetworkConnection());

java/client/src/org/openqa/selenium/remote/DriverCommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public interface DriverCommand {
9696
String IMPLICITLY_WAIT = "implicitlyWait";
9797
String SET_SCRIPT_TIMEOUT = "setScriptTimeout";
9898

99-
String EXECUTE_SQL = "executeSQL";
10099
String GET_LOCATION = "getLocation";
101100
String SET_LOCATION = "setLocation";
102101
String GET_APP_CACHE = "getAppCache";

java/client/src/org/openqa/selenium/remote/build.desc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ java_library(name = "augmenter",
5959
"InterfaceImplementation.java",
6060
"JdkAugmenter.java",
6161
"html5/AddApplicationCache.java",
62-
"html5/AddDatabaseStorage.java",
6362
"html5/AddLocationContext.java",
6463
"html5/AddWebStorage.java",
6564
"mobile/AddNetworkConnection.java",
@@ -92,7 +91,6 @@ java_library(name = "remote",
9291
"ResponseCodec.java",
9392
"UselessFileDetector.java",
9493
"html5/RemoteApplicationCache.java",
95-
"html5/RemoteDatabaseStorage.java",
9694
"html5/RemoteLocalStorage.java",
9795
"html5/RemoteLocationContext.java",
9896
"html5/RemoteSessionStorage.java",

java/client/src/org/openqa/selenium/remote/html5/AddDatabaseStorage.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

java/client/src/org/openqa/selenium/remote/html5/RemoteDatabaseStorage.java

Lines changed: 0 additions & 51 deletions
This file was deleted.

java/client/src/org/openqa/selenium/remote/http/JsonHttpCommandCodec.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public JsonHttpCommandCodec() {
8484

8585
defineCommand(EXECUTE_SCRIPT, post("/session/:sessionId/execute"));
8686
defineCommand(EXECUTE_ASYNC_SCRIPT, post("/session/:sessionId/execute_async"));
87-
defineCommand(EXECUTE_SQL, post("/session/:sessionId/execute_sql"));
8887

8988
defineCommand(UPLOAD_FILE, post("/session/:sessionId/file"));
9089
defineCommand(SCREENSHOT, get("/session/:sessionId/screenshot"));

0 commit comments

Comments
 (0)