Thanks Thomas,

I still used this line in my index.html

<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' 
style="position: 
absolute; width: 0; height: 0; border: 0"></iframe>

So, it's safe to delete this?

@grue: Is it working in FF after you delete the line? Thanks!

[email protected] schrieb am Mittwoch, 8. Februar 2023 um 20:44:01 UTC+1:

> It seems to be due to the __gwt_historyFrame: the subsequent requests have 
> initiator=subdocument in the dev tools network panel, and a 
> Sec-Fetch-Dest:iframe request header; if you inspect the iframe in dev 
> tools, you can see the host page being loaded inside it rather than an 
> about:blank, and each reload will load one more level.
> Given that this iframe was only there for old IE versions that didn't 
> support onhashchange (according to caniuse.com, that was IE6 and IE7), 
> you can safely remove it (code using it was removed in GWT 2.7 a bit more 
> than 9 years ago, released more than 8 years ago: 
> https://github.com/gwtproject/gwt/commit/802da200257a1ba1600638be217f55fda331bde9
>  
> – yet, the website still references it, and the GWT Plugin for Eclipse 
> apparently still generates it: 
> https://github.com/gwt-plugins/gwt-eclipse-plugin/blob/ceff817bc9e1af81cf007411dc11192c0c700cb1/plugins/com.gwtplugins.gwt.eclipse.core/src/com/google/gwt/eclipse/core/wizards/NewHostPageWizard.java#L171-L173
> )
>
> On Wednesday, February 8, 2023 at 1:02:37 PM UTC+1 grue wrote:
>
>> I have deployed the example app here:
>>
>> http://test7.pb3.technology/TestGWT/
>>
>> On Wednesday, 8 February 2023 at 11:47:43 UTC+1 grue wrote:
>>
>>> I have tested it on MacOS 12.6.3 and Ubuntu and Windows 10 and in deploy 
>>> mode but I also see the issue in development mode.
>>>
>>> Michael
>>>
>>>
>>> On Wednesday, 8 February 2023 at 10:32:38 UTC+1 [email protected] 
>>> wrote:
>>>
>>>> Following question:
>>>> - What OS?
>>>> - Do you try in development mode or deployment mode?
>>>>
>>>> Thanks,
>>>> Lofi
>>>>
>>>> grue schrieb am Dienstag, 7. Februar 2023 um 14:03:25 UTC+1:
>>>>
>>>>> I have observed a weird behaviour when opening a GWT app in Firefox. 
>>>>> When I first open the page everything is normal but once I refresh the 
>>>>> page 
>>>>> all resources including the index.html get fetched twice. If I refresh 
>>>>> the 
>>>>> page once more everything gets fetched three times and so on... (see 
>>>>> screenshot attached)
>>>>> I see this behaviour only on FF, even on a freshly installed one and 
>>>>> after clearing all the caches and data.
>>>>> To reproduce the issue I created a minimalistic GWT app at 
>>>>> https://github.com/mgrue/TestGWT
>>>>> Reproducing is a bit tricky since sometimes the app behaves normal but 
>>>>> once you close the tab and open a new on or restart FF the weird 
>>>>> behaviour 
>>>>> is back. I tested the app both on Wildfly and Jetty (I have included a 
>>>>> Dockerfile) but can't see any difference.
>>>>>
>>>>> I'd really appreciate if someone could help me figuring out what's 
>>>>> going on here.
>>>>>
>>>>> Thank you very much in advance!
>>>>> Michael
>>>>>
>>>>> [image: Screen Shot 2023-02-07 at 1.40.03 PM.png]
>>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/79261324-6c2f-4451-8ed1-d3e4ab6da2e3n%40googlegroups.com.

Reply via email to