Summary: | Merge PageVisibilityState & ViewState::IsVisible in WebKit2 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gavin Barraclough <barraclough> | ||||||||||
Component: | WebKit2 | Assignee: | Gavin Barraclough <barraclough> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | andersca, commit-queue, dbates, eflews.bot, gyuyoung.kim, rakuco, sam, simon.fraser, zan | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Gavin Barraclough
2013-12-24 08:34:52 PST
Created attachment 220000 [details]
Fixed?
Attachment 220000 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast/events/page-visibility-transition-test-expected.txt', u'LayoutTests/fast/events/page-visibility-transition-test.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/page/Page.cpp', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/UIProcess/API/C/WKPage.cpp', u'Source/WebKit2/UIProcess/WebPageProxy.cpp', u'Source/WebKit2/UIProcess/WebPageProxy.h', u'Source/WebKit2/WebProcess/WebPage/WebPage.cpp', u'Source/WebKit2/WebProcess/WebPage/WebPage.h', u'Source/WebKit2/WebProcess/WebPage/WebPage.messages.in', u'Tools/ChangeLog', u'Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj', u'Tools/TestWebKitAPI/Tests/WebKit2/PageVisibilityState.cpp', u'Tools/TestWebKitAPI/Tests/mac/PageVisibilityStateWithWindowChanges.mm', u'Tools/WebKitTestRunner/TestController.cpp', u'Tools/WebKitTestRunner/TestController.h', u'Tools/WebKitTestRunner/efl/TestControllerEfl.cpp', u'Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp', u'Tools/WebKitTestRunner/mac/TestControllerMac.mm', '--commit-queue']" exit_code: 1
ERROR: Tools/WebKitTestRunner/TestController.h:167: The parameter name "hidden" adds no information, so it should be removed. [readability/parameter_name] [5]
Total errors found: 1 in 18 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 220000 [details] Fixed? Attachment 220000 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/5033067089494016 Created attachment 220002 [details]
style, efl fixes
Comment on attachment 220002 [details] style, efl fixes Attachment 220002 [details] did not pass efl-wk2-ews (efl-wk2): Output: http://webkit-queues.appspot.com/results/6107173985714176 Created attachment 220008 [details]
efl build fix take 2
Created attachment 220022 [details]
Stupid autocorrect :-( ... s/pretender/prerender/ in Changelog
Comment on attachment 220022 [details] Stupid autocorrect :-( ... s/pretender/prerender/ in Changelog View in context: https://bugs.webkit.org/attachment.cgi?id=220022&action=review > Source/WebCore/ChangeLog:20 > + by the browser). The one aspect of the API relied on by existing clients is the ability to > + initialize a hidden view as prerender -continue to support this specific functionality via Seems like there should be a space in "-continue". > Source/WebCore/ChangeLog:23 > + > + Extra blank line. > Source/WebCore/ChangeLog:24 > + WebCore - chnages the the API tests exposed a bug, a view should only ever come out of the chnages, the the > Source/WebKit2/ChangeLog:20 > + initialize a hidden view as prerender -continue to support this specific functionality via -continue > Source/WebKit2/ChangeLog:23 > + > + Extra blank line. > Tools/ChangeLog:23 > + initialize a hidden view as prerender -continue to support this specific functionality via > + WKPageSetVisibilityState, to maintain backwards compatibility. > + > + ... Does this really need to be repeated in every ChangeLog? I usually put extra info into a project that had the most changes - they are all combined for commit message anyway. > Tools/WebKitTestRunner/mac/TestControllerMac.mm:90 > + [window makeKeyAndOrderFront:nil]; Hopefully it's not forced back on screen, so nothing visually blinks and prevents using the computer while tests are running? > Tools/WebKitTestRunner/mac/TestControllerMac.mm:91 > + [NSApp activateIgnoringOtherApps:YES]; Why is this needed? A comment would probably be of use. (In reply to comment #8) > > Tools/WebKitTestRunner/mac/TestControllerMac.mm:90 > > + [window makeKeyAndOrderFront:nil]; > > Hopefully it's not forced back on screen, so nothing visually blinks and prevents using the computer while tests are running? No,from my testing the window is not actually forced onscreen. > > Tools/WebKitTestRunner/mac/TestControllerMac.mm:91 > > + [NSApp activateIgnoringOtherApps:YES]; > > Why is this needed? A comment would probably be of use. You're right, looks like this was overkill - removed. Thanks Alexey! Committed revision 161105. |