Bug 113225

Summary: http://www.proprietariosdobrasil.org.br/ constantly reloads
Product: WebKit Reporter: Gustavo Noronha (kov) <gustavo>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, benjamin, commit-queue, danw, esprehn+autocc, kangil.han, mrobinson, myid.shin, svillar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Simple page to reproduce it easily.
none
Patch
none
Patch
none
Patch for landing none

Gustavo Noronha (kov)
Reported 2013-03-25 11:03:25 PDT
SSIA, tested with both Epiphany with 1.11.92 WebKit2GTK+ and GtkLauncher master.
Attachments
Simple page to reproduce it easily. (315 bytes, text/html)
2014-04-11 22:49 PDT, Miyoung Shin
no flags
Patch (3.08 KB, patch)
2014-04-12 00:17 PDT, Miyoung Shin
no flags
Patch (5.79 KB, patch)
2014-04-24 08:45 PDT, Miyoung Shin
no flags
Patch for landing (5.63 KB, patch)
2014-04-24 16:53 PDT, Miyoung Shin
no flags
Dan Winship
Comment 1 2013-03-25 11:28:11 PDT
Since webkit handles redirection itself now, this is probably a ResourceHandleSoup problem, not a libsoup problem. Assuming it's related to HTTP redirection at all, rather than HTML/JS-based reloading.
Sergio Villar Senin
Comment 2 2013-03-27 12:29:28 PDT
Not a Soup or WebKitGtk+ bug per se as I can reproduce it with Chromium as well. There is something wrong in that page anyway because FF for example redirects to an "Error - Page not found"
Gustavo Noronha (kov)
Comment 3 2013-03-28 09:38:14 PDT
Fun! I thought it was specific to soup because I could not reproduce with Chrome.
Miyoung Shin
Comment 4 2014-04-08 07:40:25 PDT
Is there anyone to follow this issue ? If not, can I pick this one ? As I checked the CallStack, this problem is happened by touch event in WebCore. But IOS will be OK, because they've implemented with different way.
Sergio Villar Senin
Comment 5 2014-04-08 08:28:56 PDT
(In reply to comment #4) > Is there anyone to follow this issue ? > If not, can I pick this one ? Sure, go ahead.
Miyoung Shin
Comment 6 2014-04-11 22:49:00 PDT
Created attachment 229200 [details] Simple page to reproduce it easily.
Miyoung Shin
Comment 7 2014-04-12 00:17:53 PDT
Martin Robinson
Comment 8 2014-04-12 00:24:30 PDT
Can you explain how page reloading related to touch events?
Miyoung Shin
Comment 9 2014-04-12 00:45:54 PDT
Sorry, I don't catch your point because it's not related to reloading. I think you can reproduce it easily on some browser based on WebKit except IOS as I attached a sample page, It's very simple. document.addEventListener(name, handler, true); var event = document.createEvent('TouchEvent'); // <-- create TouchEvent event.initTouchEvent(name); // <-- there is not any attribute except event name document.dispatchEvent(event); // <-- but try to dispatch touch event According to touch-event spec, URL : www.w3.org/TR/touch-events/ ============================== 5.1 Attributes changedTouches of type TouchList, readonly a list of Touches for every point of contact which contributed to the event. For the touchstart event this must be a list of the touch points that just became active with the current event. For the touchmove event this must be a list of the touch points that have moved since the last event. For the touchend and touchcancel events this must be a list of the touch points that have just been removed from the surface. targetTouches of type TouchList, readonly a list of Touches for every point of contact that is touching the surface and started on the element that is the target of the current event. touches of type TouchList, readonly a list of Touches for every point of contact currently touching the surface. ============================== I thought these attributes should be necessarily required in TouchEvent
Martin Robinson
Comment 10 2014-04-12 01:03:31 PDT
Perhaps you uploaded the patch to the wrong bug?
Martin Robinson
Comment 11 2014-04-12 01:05:14 PDT
(In reply to comment #9) > Sorry, I don't catch your point because it's not related to reloading. I'm a bit confused because the bug is "http://www.proprietariosdobrasil.org.br/ constantly reloads"
Miyoung Shin
Comment 12 2014-04-12 01:50:04 PDT
(In reply to comment #11) > I'm a bit confused because the bug is "http://www.proprietariosdobrasil.org.br/ constantly reloads" which of browser do you reproduce it ? I think crash problem is effect to constantly reload. isn't it ?
Benjamin Poulain
Comment 13 2014-04-23 14:21:29 PDT
Comment on attachment 229201 [details] Patch Can you make a test for this?
Miyoung Shin
Comment 14 2014-04-24 08:45:42 PDT
Miyoung Shin
Comment 15 2014-04-24 10:10:56 PDT
(In reply to comment #13) > (From update of attachment 229201 [details]) > Can you make a test for this? I've attached a test cast. Thank you for your feedback.
Benjamin Poulain
Comment 16 2014-04-24 15:01:11 PDT
Comment on attachment 230081 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230081&action=review > Source/WebCore/dom/EventDispatcher.cpp:466 > + // TouchEvent should have own attributes of touches, targetTouches and changedTouches before dispatch. This comment is redundant with the code.
Miyoung Shin
Comment 17 2014-04-24 16:53:32 PDT
Created attachment 230117 [details] Patch for landing
WebKit Commit Bot
Comment 18 2014-04-25 07:28:52 PDT
Comment on attachment 230117 [details] Patch for landing Clearing flags on attachment: 230117 Committed r167805: <http://trac.webkit.org/changeset/167805>
WebKit Commit Bot
Comment 19 2014-04-25 07:28:58 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.