WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
110030
Cut down the number of source files that depend on Clipboard.h
https://bugs.webkit.org/show_bug.cgi?id=110030
Summary
Cut down the number of source files that depend on Clipboard.h
Darin Adler
Reported
2013-02-16 14:39:49 PST
Cut down the number of source files that depend on Clipboard.h
Attachments
Patch
(16.25 KB, patch)
2013-02-16 15:37 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(16.37 KB, patch)
2013-02-16 16:38 PST
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(17.85 KB, patch)
2013-02-18 18:04 PST
,
Darin Adler
rniwa
: review+
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2013-02-16 15:37:24 PST
Created
attachment 188733
[details]
Patch
Early Warning System Bot
Comment 2
2013-02-16 15:45:57 PST
Comment on
attachment 188733
[details]
Patch
Attachment 188733
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/16587715
Geoffrey Garen
Comment 3
2013-02-16 15:49:59 PST
In file included from /home/webkit/WebKit/Source/WebCore/inspector/InspectorInputAgent.cpp:38:0: /home/webkit/WebKit/Source/WebCore/page/EventHandler.h:467:12: error: 'Document' was not declared in this scope /home/webkit/WebKit/Source/WebCore/page/EventHandler.h:467:20: error: template argument 1 is invalid
Darin Adler
Comment 4
2013-02-16 16:12:45 PST
So it seems that on my local Mac and on the GTK EWS bot the patch builds, but on Qt, Chromium-Android, and others there is a missing forward declaration of Document in EventHandler.h.
Darin Adler
Comment 5
2013-02-16 16:38:13 PST
Created
attachment 188740
[details]
Patch
Darin Adler
Comment 6
2013-02-16 16:45:37 PST
Letting EWS chew on this before formally putting a version up for review this time.
Darin Adler
Comment 7
2013-02-16 16:50:36 PST
Comment on
attachment 188740
[details]
Patch Qt liked it, so putting up for review again.
Build Bot
Comment 8
2013-02-16 20:41:54 PST
Comment on
attachment 188740
[details]
Patch
Attachment 188740
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://queues.webkit.org/results/16586806
New failing tests: media/video-controls-captions-trackmenu.html
Peter Beverloo (cr-android ews)
Comment 9
2013-02-16 21:33:36 PST
Comment on
attachment 188740
[details]
Patch
Attachment 188740
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/16598706
WebKit Review Bot
Comment 10
2013-02-17 20:19:24 PST
Comment on
attachment 188740
[details]
Patch
Attachment 188740
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/16587974
Ryosuke Niwa
Comment 11
2013-02-17 20:26:14 PST
(In reply to
comment #10
)
> (From update of
attachment 188740
[details]
) >
Attachment 188740
[details]
did not pass chromium-ews (chromium-xvfb): > Output:
http://queues.webkit.org/results/16587974
Last 500 characters of output: ource/WebKit/chromium/src/SharedWorkerRepository.cpp: In member function 'virtual void WebCore::SharedWorkerScriptLoader::didReceiveResponse(long unsigned int, const WebCore::ResourceResponse&)': ../../Source/WebKit/chromium/src/SharedWorkerRepository.cpp:179: error: invalid use of incomplete type 'const struct WebCore::ResourceResponse' ../../Source/WebCore/loader/PolicyChecker.h:46: error: forward declaration of 'const struct WebCore::ResourceResponse' ninja: build stopped: subcommand failed. It's somewhat mind blowing that SharedWorkerRepository.cpp depends on ResourceResponse, and it was including Clipboard.h :(
WebKit Review Bot
Comment 12
2013-02-17 21:18:30 PST
Attachment 188740
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.exp.in', u'Source/WebCore/dom/ClipboardEvent.cpp', u'Source/WebCore/dom/ClipboardEvent.h', u'Source/WebCore/dom/DataTransferItem.h', u'Source/WebCore/dom/MouseEvent.cpp', u'Source/WebCore/dom/MouseEvent.h', u'Source/WebCore/dom/WheelEvent.cpp', u'Source/WebCore/dom/WheelEvent.h', u'Source/WebCore/editing/Editor.cpp', u'Source/WebCore/inspector/InspectorDebuggerAgent.cpp', u'Source/WebCore/inspector/InspectorFrontendHost.cpp', u'Source/WebCore/inspector/NetworkResourcesData.cpp', u'Source/WebCore/loader/PingLoader.cpp', u'Source/WebCore/page/DragController.cpp', u'Source/WebCore/page/EventHandler.h', u'Source/WebKit/mac/ChangeLog', u'Source/WebKit/mac/WebView/WebPDFView.mm']" exit_code: 1 Source/WebCore/dom/ClipboardEvent.h:31: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 13
2013-02-17 22:13:36 PST
Comment on
attachment 188740
[details]
Patch
Attachment 188740
[details]
did not pass cr-linux-debug-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/16602807
Darin Adler
Comment 14
2013-02-18 18:04:53 PST
Created
attachment 188971
[details]
Patch
WebKit Review Bot
Comment 15
2013-02-18 18:08:02 PST
Attachment 188971
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/WebCore.exp.in', u'Source/WebCore/dom/ClipboardEvent.cpp', u'Source/WebCore/dom/ClipboardEvent.h', u'Source/WebCore/dom/DataTransferItem.h', u'Source/WebCore/dom/MouseEvent.cpp', u'Source/WebCore/dom/MouseEvent.h', u'Source/WebCore/dom/WheelEvent.cpp', u'Source/WebCore/dom/WheelEvent.h', u'Source/WebCore/editing/Editor.cpp', u'Source/WebCore/inspector/InspectorDebuggerAgent.cpp', u'Source/WebCore/inspector/InspectorFrontendHost.cpp', u'Source/WebCore/inspector/NetworkResourcesData.cpp', u'Source/WebCore/loader/PingLoader.cpp', u'Source/WebCore/page/DragController.cpp', u'Source/WebCore/page/EventHandler.h', u'Source/WebKit/chromium/ChangeLog', u'Source/WebKit/chromium/src/SharedWorkerRepository.cpp', u'Source/WebKit/mac/ChangeLog', u'Source/WebKit/mac/WebView/WebPDFView.mm']" exit_code: 1 Source/WebCore/dom/ClipboardEvent.h:31: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 19 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 16
2013-02-19 23:15:31 PST
Comment on
attachment 188971
[details]
Patch
Attachment 188971
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/16654073
New failing tests: http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html
Darin Adler
Comment 17
2013-03-02 21:57:48 PST
Committed
r144553
: <
http://trac.webkit.org/changeset/144553
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug