View patch.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0f93b285725b0ac8a77a75de0a9d7d0ded94074b Mon Sep 17 00:00:00 2001 | |
From: Diego Pino Garcia <dpino@igalia.com> | |
Date: Wed, 24 Nov 2021 14:38:36 +0000 | |
Subject: [PATCH] Patch build fixes | |
--- | |
.../loader/archive/mhtml/MHTMLParser.cpp | 2 +- | |
.../platform/SharedBufferChunkReader.h | 2 ++ | |
Source/WebCore/platform/gtk/SelectionData.h | 6 ++-- | |
.../ServiceWorkerSoftUpdateLoader.cpp | 2 +- |
View gist:2f51467cf8087b8c32f61fb3fcb68c01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ WEBKIT_JHBUILD=1 WEBKIT_JHBUILD_MODULESET=minimal Tools/Scripts/build-webkit --gtk --touch-events --no-bubblewrap-sandbox --cmakeargs=-DUSE_SOUP2=ON --cmakeargs=-DUSE_JPEGXL=OFF --cmakeargs=-DUSE_AVIF=OFF --no-webxr MiniBrowser | tee log | |
+ /home/dpino/playwright/browser_patches/webkit/checkout/Tools/jhbuild/jhbuild-wrapper --gtk run cmake --build /home/dpino/playwright/browser_patches/webkit/checkout/WebKitBuild/Release --config Release -- | |
[0/548] Generate bindings (WebCoreBindings) | |
Preprocess IDL | |
[4/548] cd /home/dpino/playwright/browser_patches/webkit/checkout/WebKitBuild/Release/Source/WebKit && /usr/bin/perl /home/dpino/playwright/browser_patches/webkit/checkout/Source/WebKit/Scripts/generate-forwarding-headers.pl --include-path /home/dpino/playwright/browser_patches/webkit/checkout/Source/WebKit --output /home/dpino/playwright/browser_patches/webkit/checkout/WebKitBuild/Release/DerivedSources/ForwardingHeaders --platform gtk --platform soup | |
[5/124] Generate bindings (TestRunnerSharedBindings) | |
[6/124] |
View main.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Pass CPP object to JavaScript function | |
* | |
* sample.js: | |
* function fileInfo(obj) | |
* { | |
* return "fileInfo: " + obj.i; | |
* } | |
* | |
* To compile: g++ main.cc -o main `pkg-config --cflags --libs javascriptcoregtk-4.0` |
View layout-tests-split
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function usage { | |
echo "Usage: layout-tests-split [jobs] [webkit-dir]" | |
} | |
JOBS="${1:-1}" | |
WEBKIT_DIR="${2:-.}" | |
LAYOUT_TESTS_DIR="$WEBKIT_DIR/LayoutTests/" |
View build_bots_status.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import urllib | |
import json | |
from urllib2 import urlopen | |
bots_names = [ | |
"WPE Linux 64-bit Release (Build)", | |
"WPE Linux 64-bit Debug (Build)", |
View modulo.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local C = ffi.C | |
function fold(fn, times) | |
local now = os.clock() | |
for i=1,times do | |
fn() | |
end | |
return os.clock() - now | |
end |
View b4-to-aftr-over-inet.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env bash | |
set -x | |
# This script implements a lwB4 network function insolated into its own network namespace. Once running any IPv4 network command | |
# will get forwarded to a remote lwAFTR over the Internet. Communication with the lwAFTR is meant to happen via an IPv6 tunnel | |
# broker (such as Hurricane Electric) which should be already up and running. | |
# Author: Diego Pino Garca <dpino@igalia.com> | |
# Based on https://marcelwiget.wordpress.com/2015/11/30/lightweight-4over6-b4-client-in-linux-namespace/ |
View run-all.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
FOLDERS=( | |
built-ins | |
annexB | |
intl402 | |
language | |
) | |
for each in ${FOLDERS[@]}; do |
View make-report.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# Reads out a web-platform-test run output and prints out a report were errors | |
# are grouped by text message and list of files. Reports also on total number | |
# of distinct errors and total number of failing files. | |
# Arguments: | |
# Agent: Actual the head of the string containing the test name. The rest of | |
# the string should the filename. | |
# Errorfile: web-platform-test output of a ./wpt run. |
View wpt-run-report.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# Reads out a web-platform-test run output and prints out a report were errors | |
# are grouped by text message and list of files. Reports also on total number | |
# of distinct errors and total number of failing files. | |
# Arguments: | |
# Agent: Actual the head of the string containing the test name. The rest of | |
# the string should the filename. | |
# Errorfile: web-platform-test output of a ./wpt run. |
NewerOlder