Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 757dcbb8 authored by Steve Block's avatar Steve Block
Browse files

Implement LayoutTestController.setAppCacheMaximumSize() for DumpRenderTree2

Change-Id: I7db486ccee1b9ebe84b89b98ba1a9b6e933d8f4e
parent 8a0db6f5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -64,6 +64,11 @@ public class LayoutTestController {
        mLayoutTestsExecutor.overridePreference(key, value);
    }

    public void setAppCacheMaximumSize(long size) {
        Log.i(LOG_TAG, "setAppCacheMaximumSize() called with: " + size);
        WebStorage.getInstance().setAppCacheMaximumSize(size);
    }

    public void setCanOpenWindows() {
        mLayoutTestsExecutor.setCanOpenWindows();
    }