RESOLVED FIXED 36173
[GTK] http/history tests are failing
https://bugs.webkit.org/show_bug.cgi?id=36173
Summary [GTK] http/history tests are failing
Sergio Villar Senin
Reported Tuesday, March 16, 2010 5:54:37 PM UTC
Basically due to two issues: * the LayoutController is not returning the actual back forward list count * there is no way to clear the back forward list
Attachments
Patch that fixes all the http/history test cases (8.57 KB, patch)
2010-03-16 10:03 PDT, Sergio Villar Senin
no flags
Patch that fixes all the http/history Skipped tests (8.57 KB, patch)
2010-03-16 10:17 PDT, Sergio Villar Senin
xan.lopez: review-
Added new API to clear the back forward list (6.78 KB, patch)
2010-03-16 11:24 PDT, Sergio Villar Senin
no flags
Fix the http/history test cases (5.18 KB, patch)
2010-03-16 11:25 PDT, Sergio Villar Senin
no flags
Adds new API to clear back forward list (6.77 KB, patch)
2010-03-25 01:50 PDT, Sergio Villar Senin
no flags
Sergio Villar Senin
Comment 1 Tuesday, March 16, 2010 6:03:22 PM UTC
Created attachment 50803 [details] Patch that fixes all the http/history test cases Basically this patch does two very basic things: * return the actual count of history items in LayoutTestController * clear the back forward list (history) each time we run a test
WebKit Review Bot
Comment 2 Tuesday, March 16, 2010 6:07:39 PM UTC
Attachment 50803 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebKit/gtk/ChangeLog:13: Line contains tab character. [whitespace/tab] [5] WebKit/gtk/webkit/webkitwebbackforwardlist.h:114: Extra space before ( in function call [whitespace/parens] [4] WebKitTools/ChangeLog:5: Line contains tab character. [whitespace/tab] [5] WebKitTools/ChangeLog:6: Line contains tab character. [whitespace/tab] [5] WebKitTools/ChangeLog:15: Line contains tab character. [whitespace/tab] [5] Total errors found: 5 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sergio Villar Senin
Comment 3 Tuesday, March 16, 2010 6:17:14 PM UTC
Created attachment 50804 [details] Patch that fixes all the http/history Skipped tests New version of the patch with some style corrections
WebKit Review Bot
Comment 4 Tuesday, March 16, 2010 6:18:08 PM UTC
Attachment 50804 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebKit/gtk/ChangeLog:13: Line contains tab character. [whitespace/tab] [5] WebKit/gtk/webkit/webkitwebbackforwardlist.h:114: Extra space before ( in function call [whitespace/parens] [4] WebKitTools/ChangeLog:5: Line contains tab character. [whitespace/tab] [5] WebKitTools/ChangeLog:6: Line contains tab character. [whitespace/tab] [5] WebKitTools/ChangeLog:15: Line contains tab character. [whitespace/tab] [5] Total errors found: 5 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Xan Lopez
Comment 5 Tuesday, March 16, 2010 6:31:07 PM UTC
Comment on attachment 50804 [details] Patch that fixes all the http/history Skipped tests Commented this on jabber, we are going to do it in two patches (one adding new API + unit test, other fixing DRT). So r- for now.
Sergio Villar Senin
Comment 6 Tuesday, March 16, 2010 7:24:48 PM UTC
Created attachment 50814 [details] Added new API to clear the back forward list Patch that adds a new API to clear the back forward list + unit test
Sergio Villar Senin
Comment 7 Tuesday, March 16, 2010 7:25:57 PM UTC
Created attachment 50815 [details] Fix the http/history test cases Patch that fixes the http/history test cases * Return the actual history item count * Removed tests from the Skipped file
WebKit Review Bot
Comment 8 Tuesday, March 16, 2010 7:56:33 PM UTC
Eric Seidel (no email)
Comment 9 Thursday, March 25, 2010 9:46:13 AM UTC
Comment on attachment 50815 [details] Fix the http/history test cases OK.
Sergio Villar Senin
Comment 10 Thursday, March 25, 2010 9:50:54 AM UTC
Created attachment 51608 [details] Adds new API to clear back forward list Changes from the original patch: * addItem1 renamed to addItem * Since version 1.1.24 -> 1.1.30
WebKit Review Bot
Comment 11 Thursday, March 25, 2010 9:51:35 AM UTC
Attachment 51608 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebKit/gtk/webkit/webkitwebbackforwardlist.h:114: Extra space before ( in function call [whitespace/parens] [4] WARNING: File exempt from style guide. Skipping: "WebKit/gtk/tests/testwebbackforwardlist.c" Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Xan Lopez
Comment 12 Thursday, March 25, 2010 10:03:15 AM UTC
Comment on attachment 51608 [details] Adds new API to clear back forward list r=me
WebKit Commit Bot
Comment 13 Thursday, March 25, 2010 1:03:45 PM UTC
Comment on attachment 51608 [details] Adds new API to clear back forward list Clearing flags on attachment: 51608 Committed r56531: <http://trac.webkit.org/changeset/56531>
Eric Seidel (no email)
Comment 14 Wednesday, April 7, 2010 7:50:06 AM UTC
Comment on attachment 50815 [details] Fix the http/history test cases Actually, I'd much rather some Gtk person landed this by hand.
Adam Barth
Comment 15 Saturday, May 15, 2010 7:52:02 AM UTC
Comment on attachment 50815 [details] Fix the http/history test cases In that case, we should mark it cq-.
Adam Barth
Comment 16 Saturday, May 15, 2010 7:54:06 AM UTC
Comment on attachment 50815 [details] Fix the http/history test cases This has been setting in pending-commit for over a month. If you'd like to land this patch, please do so with Eric's review. Clearing the review flag since this isn't doing anyone any good languishing in pending-commit.
Xan Lopez
Comment 17 Tuesday, October 19, 2010 9:35:32 AM UTC
Comment on attachment 50815 [details] Fix the http/history test cases This should work now, let's try.
WebKit Commit Bot
Comment 18 Tuesday, October 19, 2010 9:49:09 AM UTC
Comment on attachment 50815 [details] Fix the http/history test cases Clearing flags on attachment: 50815 Committed r70039: <http://trac.webkit.org/changeset/70039>
WebKit Commit Bot
Comment 19 Tuesday, October 19, 2010 9:49:15 AM UTC
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.