Skip to content

[webview_flutter_lwe] Bind the integration test server to the loopback address - #1215

Merged
seungsoo47 merged 1 commit into
flutter-tizen:mainfrom
seungsoo47:webview-lwe-loopback-test
Nov 10, 2026
Merged

seungsoo47 merged 1 commit into
flutter-tizen:mainfrom
seungsoo47:webview-lwe-loopback-test

Conversation

@seungsoo47

@seungsoo47 seungsoo47 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

The integration test server was bound to InternetAddress.anyIPv4, and its address (0.0.0.0) was reused as the request URL. This PR binds the server to InternetAddress.loopbackIPv4 instead, as the upstream webview_flutter test does, so the URL becomes http://127.0.0.1:<port>.

On emulators launched with a host proxy (e.g. via em-cli/Emulator Manager with proxyMode=auto), the app inherits http_proxy and no_proxy=localhost,127.0.0.1/8,10.0.2.0/24. 0.0.0.0 is not covered by no_proxy, so requests to the test server went through the proxy, which returned Network Error (tcp_error). onPageFinished still fired, but Set-Cookie: foo=bar was never received, so getCookies returned an empty list. This was found while enabling webview_flutter_lwe in the CI recipe (#1188).

Results of the webview_flutter_lwe integration test:

Target Proxy anyIPv4 (before) loopbackIPv4 (after)
TV 9.0 x86 emulator yes getCookies fails (13/14) 14/14 pass (2 runs)
common 10.0 x86_64 emulator yes getCookies fails (13/14) 14/14 pass (2 runs)
TV 10.0 x86_64 emulator no 14/14 pass 14/14 pass (2 runs)
RPi4 (common 10.1) no 14/14 pass 14/14 pass (2 runs)

The failure is not related to the engine version: it reproduced with LWE 1.4.1, 1.5.1 and 1.5.11 on the TV 9.0 emulator.

🤖 Generated with Claude Code

…k address

The test server was bound to InternetAddress.anyIPv4 and its address
(0.0.0.0) was reused as the request URL. On emulators launched with a host
proxy, 0.0.0.0 is not covered by no_proxy, so requests went to the proxy and
getCookies failed. Bind to InternetAddress.loopbackIPv4 like upstream.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T05:06:59.469153Z 58957fe PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@seungsoo47
seungsoo47 merged commit c45601d into flutter-tizen:main Nov 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants