推进 INI 面板 control page entry
This commit is contained in:
@@ -61,7 +61,9 @@ fi
|
||||
|
||||
PORT="$(cat "$PORT_FILE")"
|
||||
URL="http://127.0.0.1:$PORT/tests/browser/ini_panel_smoke.html"
|
||||
CONTROL_URL="http://127.0.0.1:$PORT/tests/browser/ini_panel_control_page_smoke.html"
|
||||
OUT="$TMP_DIR/chromium.out"
|
||||
CONTROL_OUT="$TMP_DIR/chromium-control.out"
|
||||
|
||||
"$CHROMIUM" \
|
||||
--headless=new \
|
||||
@@ -79,3 +81,20 @@ if ! grep -Fq "browser_ini_opfs_smoke=ok" "$OUT"; then
|
||||
fi
|
||||
|
||||
echo "browser_ini_opfs_smoke=ok"
|
||||
|
||||
"$CHROMIUM" \
|
||||
--headless=new \
|
||||
--disable-gpu \
|
||||
--no-sandbox \
|
||||
--user-data-dir="$CHROME_PROFILE" \
|
||||
--virtual-time-budget=10000 \
|
||||
--dump-dom \
|
||||
"$CONTROL_URL" >"$CONTROL_OUT" 2>&1
|
||||
|
||||
if ! grep -Fq "browser_ini_control_page_smoke=ok" "$CONTROL_OUT"; then
|
||||
echo "browser INI control page smoke failed" >&2
|
||||
sed -n '1,220p' "$CONTROL_OUT" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "browser_ini_control_page_smoke=ok"
|
||||
|
||||
Reference in New Issue
Block a user