Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion browser_patches/firefox/UPSTREAM_CONFIG.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
REMOTE_URL="https://github.com/mozilla-firefox/firefox"
BASE_BRANCH="release"
BASE_REVISION="c1ee0105d25a4c2b2887e916470bdf41a9fd47ef"
BASE_REVISION="e0df3d598dba47de812bb5144cbc187557377095"
6 changes: 3 additions & 3 deletions browser_patches/firefox/juggler/TargetRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Cr = Components.results;
const helper = new Helper();

const IDENTITY_NAME = 'JUGGLER ';
const HUNDRED_YEARS = 1000 * 60 * 60 * 24 * 365 * 100;
const HUNDRED_YEARS = 60 * 60 * 24 * 365 * 100;

const ALL_PERMISSIONS = [
'geo',
Expand Down Expand Up @@ -1153,7 +1153,7 @@ class BrowserContext {
secure,
cookie.httpOnly || false,
cookie.expires === undefined || cookie.expires === -1 /* isSession */,
cookie.expires === undefined ? Date.now() + HUNDRED_YEARS : cookie.expires,
cookie.expires === undefined ? Date.now() + HUNDRED_YEARS : cookie.expires * 1000,
{ userContextId: this.userContextId || undefined } /* originAttributes */,
protocolToSameSite[cookie.sameSite],
Ci.nsICookie.SCHEME_UNSET
Expand Down Expand Up @@ -1183,7 +1183,7 @@ class BrowserContext {
value: cookie.value,
domain: cookie.host,
path: cookie.path,
expires: cookie.isSession ? -1 : cookie.expiry,
expires: cookie.isSession ? -1 : cookie.expiry / 1000,
size: cookie.name.length + cookie.value.length,
httpOnly: cookie.isHttpOnly,
secure: cookie.isSecure,
Expand Down
2 changes: 1 addition & 1 deletion browser_patches/firefox/juggler/content/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function initialize(browsingContext, docShell) {
heading: NaN,
speed: NaN,
},
timestamp: Date.now()
timestamp: Date.now() + 24 * 60 * 60 * 1000, // Make sure it does not expire for a day.
});
} else {
browsingContext.setGeolocationServiceOverride();
Expand Down
447 changes: 287 additions & 160 deletions browser_patches/firefox/patches/bootstrap.diff

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion browser_patches/webkit/UPSTREAM_CONFIG.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
REMOTE_URL="https://github.com/WebKit/WebKit.git"
BASE_BRANCH="main"
BASE_REVISION="cf7cbd32027884e36fa99df79bcd322925f65e48"
BASE_REVISION="486de399887bc8fa8a69e2f194ebc9476589a08a"
3 changes: 0 additions & 3 deletions browser_patches/webkit/embedder/Playwright/mac/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ - (WKWebsiteDataStore *)persistentDataStore
NSURL *cookieFile = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/cookie.db", _userDataDir]];
[configuration _setCookieStorageFile:cookieFile];

NSURL *applicationCacheDirectory = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/ApplicationCache", _userDataDir]];
[configuration setApplicationCacheDirectory:applicationCacheDirectory];

NSURL *cacheStorageDirectory = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/CacheStorage", _userDataDir]];
[configuration _setCacheStorageDirectory:cacheStorageDirectory];

Expand Down
1 change: 0 additions & 1 deletion browser_patches/webkit/embedder/Playwright/win/WinMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
auto configuration = adoptWK(WKWebsiteDataStoreConfigurationCreate());
if (g_options.userDataDir.length()) {
std::string profileFolder = toUTF8String(g_options.userDataDir, g_options.userDataDir.length());
WKWebsiteDataStoreConfigurationSetApplicationCacheDirectory(configuration.get(), toWK(profileFolder + "\\ApplicationCache").get());
WKWebsiteDataStoreConfigurationSetNetworkCacheDirectory(configuration.get(), toWK(profileFolder + "\\Cache").get());
WKWebsiteDataStoreConfigurationSetCacheStorageDirectory(configuration.get(), toWK(profileFolder + "\\CacheStorage").get());
WKWebsiteDataStoreConfigurationSetIndexedDBDatabaseDirectory(configuration.get(), toWK(profileFolder + "\\Databases" + "\\IndexedDB").get());
Expand Down
2,182 changes: 1,141 additions & 1,041 deletions browser_patches/webkit/patches/bootstrap.diff

Large diffs are not rendered by default.

Loading