You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open luakit (should redirect to https://example.com)
As you can see, only 'page-created' is triggered! appears in the terminal
Environment:
Linux Distribution & Version: Linux host 6.1.56-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Fri, 06 Oct 2023 15:07:55 0000 x86_64 Linux
Output of luakit --version: luakit 68e4ffc7 built with webkit 2.40.1 (installed version: 2.40.5)
Note about webkit issues:
If you're reporting a rendering issue, please test it with the gnome
browser ephiphany as well. If the issue occurs there too, we're very
likely not able to help. These issues should be reported to webkit: https://bugs.webkit.org
The text was updated successfully, but these errors were encountered:
It never emits send-request again after calling webkit_uri_request_set_uri, so if a redirect does happen, there is no way of knowing it happened (because send-request gets caught, and isn't sent again).
This breaks all but the single module that catches send-request, and redirects it to something else.
Could this be fixed by simply re-emitting send-request?
ghost
changed the title
[Bug] Redirects (from webmodules) won't trigger "send-request"
[Bug] Luakit not re-emitting "send-request" after handling it the first time
Nov 2, 2023
ghost
changed the title
[Bug] Luakit not re-emitting "send-request" after handling it the first time
[Bug] Luakit not re-emitting "send-request" when redirecting after handling it the first time
Nov 2, 2023
Current Behavior:
When using a webmodule that rewrites the url like this:
Other webmodules that depend on
send-request
will now fail, because nothing is triggered:This'll only print
'page-created' is triggered!
:Desired Behavior:
When redirecting/changing the destination URL,
send-request
should be triggered again (as the URL is changed).How can we reproduce it (step by step):
wm_one.lua
:and
wm_two.lua
:userconf.lua
or whatever you use:https://example.com
)As you can see, only
'page-created' is triggered!
appears in the terminalEnvironment:
Linux Distribution & Version:
Linux host 6.1.56-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Fri, 06 Oct 2023 15:07:55 0000 x86_64 Linux
Output of
luakit --version
:luakit 68e4ffc7 built with webkit 2.40.1 (installed version: 2.40.5)
Note about webkit issues:
If you're reporting a rendering issue, please test it with the gnome
browser ephiphany as well. If the issue occurs there too, we're very
likely not able to help. These issues should be reported to webkit:
https://bugs.webkit.org
The text was updated successfully, but these errors were encountered: