diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2021-09-20 09:29:30 +0200 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2021-09-27 10:16:53 +0200 |
commit | 70abc0b2eebc777309d372203df5ca1e785402d8 (patch) | |
tree | 5833e0320c839927d16577f5a865245a7d1c7f06 /examples | |
parent | baf1f70c917e31e44a3b2e08d3ee36bbce825750 (diff) |
Fix WebChannel when JavaScript is disabled
WebChannel was not working in ApplicationWorld with JavaScript disabled
in MainWorld, because WebChannelIPCTransport::DidClearWindowObject() is
called only when the window object was cleared in the main world. Moving
the WebChannelTransport installation logic to DidCreateScriptContext()
works in other worlds, so fixes the problem.
Task-number: QTBUG-88875
Pick-to: 6.2
Change-Id: Ia75613b66a1e049f617f0664684b153b6875e9de
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions