1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
|
2010-05-31 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Fix crash of a test after another test with multiple windows
https://bugs.webkit.org/show_bug.cgi?id=39942
If a test opens multiple windows, focuses on non-main window, and
the focused window is closed, TestShell::m_focusedWidget points a
deleted object.
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::closeWindow): Clear m_focusedWidget.
2010-05-30 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
new-run-webkit-tests: Support DRT on Chromium-win
https://bugs.webkit.org/show_bug.cgi?id=39810
Add --test-shell flag to DRT/Chromium, and it changes DRT so that
it behaves like test_shell about command analysis, printing
format, pixel dumping, and timeout handling.
chromium.py and chromium_win.py supports the --test-shell flag and
DRT/Chromium-win binary names.
* DumpRenderTree/DumpRenderTree.gypi: Add new files.
* DumpRenderTree/chromium/DumpRenderTree.cpp:
(runTest): Support for test_shell-style command.
(main): Introduce --test-shell.
* DumpRenderTree/chromium/TestEventPrinter.cpp: Added.
* DumpRenderTree/chromium/TestEventPrinter.h: Added.
TestEventPrinter class manages stdio output and image output.
TestEventPrinter.cpp has two implementations; DRTPrinter and
TestShellPrinter.
* DumpRenderTree/chromium/TestShell.cpp:
Some changes for TestEventPrinter.
(TestShell::TestShell):
(TestShell::runFileTest):
(TestShell::testTimedOut):
(TestShell::dump):
(TestShell::dumpImage):
* DumpRenderTree/chromium/TestShell.h:
(TestShell::printer):
(TestShell::layoutTestTimeout):
(TestShell::layoutTestTimeoutForWatchDog):
(TestShell::setLayoutTestTimeout):
* DumpRenderTree/chromium/TestShellWin.cpp:
(watchDogThread): Use TestShell::layoutTestTimeoutForWatchDog().
* Scripts/webkitpy/layout_tests/port/chromium.py:
* Scripts/webkitpy/layout_tests/port/chromium_win.py:
2010-05-30 Robert Hogan <robert@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Enhance Qt DRT implementation to support platform scroll wheel events.
https://bugs.webkit.org/show_bug.cgi?id=36004
* DumpRenderTree/qt/EventSenderQt.cpp:
(EventSender::EventSender): QApplication::setWheelScrollLines(2) in order to match
Scrollbar::pixelsPerLineStep() for DRT testing.
(EventSender::mouseScrollBy): Added
(EventSender::continuousMouseScrollBy): Added
* DumpRenderTree/qt/EventSenderQt.h:
2010-05-28 Adam Barth <abarth@webkit.org>
Reviewed by David Levin.
webkit-patch should support CHANGE_LOG_EDIT_APPLICATION
https://bugs.webkit.org/show_bug.cgi?id=39546
One sublty is that we want to wait for the user to finish editing the
ChangeLog before moving on to the next step. That means we want to pass
-W to open. However, if the user is using Xcode to edit the ChangeLog,
we don't want them to have to exit the Xcode application. For this reason,
we create a new instance of the application with -n.
Overall, xed seems like a better solution, so we recommend that too.
* Scripts/webkitpy/common/system/user.py:
* Scripts/webkitpy/tool/mocktool.py:
* Scripts/webkitpy/tool/steps/editchangelog.py:
2010-05-21 Dirk Pranke <dpranke@chromium.org>
Reviewed by Ojan Vafai.
new-run-webkit-tests: fix handling of Ctrl-C to exit even if some
threads are wedged. Also, the script will print the results of the
tests completed when the interrupt occurs.
https://bugs.webkit.org/show_bug.cgi?id=33238
* Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
* Scripts/webkitpy/layout_tests/layout_package/printing.py:
* Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
2010-05-28 Darin Adler <darin@apple.com>
Ignore more Python messiness.
* Scripts/webkitpy/layout_tests/data/platform/test: Added property svn:ignore.
* Scripts/webkitpy/layout_tests/layout_package: Added property svn:ignore.
* Scripts/webkitpy/layout_tests/test_types: Added property svn:ignore.
* Scripts/webkitpy/test: Added property svn:ignore.
* Scripts/webkitpy/thirdparty/simplejson: Added property svn:ignore.
2010-05-28 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
Adding myself as a reviewer.
* Scripts/webkitpy/common/config/committers.py:
2010-05-28 Chris Fleizach <cfleizach@apple.com>
Build fix. No review.
AX: need to catch NSAccessibilityExceptions in DRT
https://bugs.webkit.org/show_bug.cgi?id=39881
It looks like Tiger doesn't like seeing a NSMakeRange inside a @try.
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::rowIndexRange):
(AccessibilityUIElement::columnIndexRange):
(AccessibilityUIElement::selectedTextRange):
2010-05-28 Chris Fleizach <cfleizach@apple.com>
Reviewed by Darin Adler.
AX: need to catch NSAccessibilityExceptions in DRT
https://bugs.webkit.org/show_bug.cgi?id=39881
Normally, accessibility exceptions are caught in the AX Runtime on the Mac, but
because DRT is its own AX client, no one is there to catch these otherwise innocuous exceptions.
So DRT should wrap exception handlers around its AX related calls.
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(attributesOfElement):
(AccessibilityUIElement::getLinkedUIElements):
(AccessibilityUIElement::getDocumentLinks):
(AccessibilityUIElement::getChildren):
(AccessibilityUIElement::getChildrenWithRange):
(AccessibilityUIElement::ariaOwnsElementAtIndex):
(AccessibilityUIElement::ariaFlowToElementAtIndex):
(AccessibilityUIElement::disclosedRowAtIndex):
(AccessibilityUIElement::selectedRowAtIndex):
(AccessibilityUIElement::titleUIElement):
(AccessibilityUIElement::parentElement):
(AccessibilityUIElement::disclosedByRow):
(AccessibilityUIElement::stringAttributeValue):
(AccessibilityUIElement::boolAttributeValue):
(AccessibilityUIElement::isAttributeSettable):
(AccessibilityUIElement::isAttributeSupported):
(AccessibilityUIElement::role):
(AccessibilityUIElement::subrole):
(AccessibilityUIElement::roleDescription):
(AccessibilityUIElement::title):
(AccessibilityUIElement::description):
(AccessibilityUIElement::orientation):
(AccessibilityUIElement::stringValue):
(AccessibilityUIElement::language):
(AccessibilityUIElement::helpText):
(AccessibilityUIElement::x):
(AccessibilityUIElement::y):
(AccessibilityUIElement::width):
(AccessibilityUIElement::height):
(AccessibilityUIElement::clickPointX):
(AccessibilityUIElement::clickPointY):
(AccessibilityUIElement::intValue):
(AccessibilityUIElement::minValue):
(AccessibilityUIElement::maxValue):
(AccessibilityUIElement::valueDescription):
(AccessibilityUIElement::insertionPointLineNumber):
(AccessibilityUIElement::isActionSupported):
(AccessibilityUIElement::isEnabled):
(AccessibilityUIElement::isRequired):
(AccessibilityUIElement::isSelected):
(AccessibilityUIElement::isExpanded):
(AccessibilityUIElement::hierarchicalLevel):
(AccessibilityUIElement::ariaIsGrabbed):
(AccessibilityUIElement::ariaDropEffects):
(AccessibilityUIElement::lineForIndex):
(AccessibilityUIElement::boundsForRange):
(AccessibilityUIElement::stringForRange):
(AccessibilityUIElement::attributesOfColumnHeaders):
(AccessibilityUIElement::attributesOfRowHeaders):
(AccessibilityUIElement::attributesOfColumns):
(AccessibilityUIElement::attributesOfRows):
(AccessibilityUIElement::attributesOfVisibleCells):
(AccessibilityUIElement::attributesOfHeader):
(AccessibilityUIElement::rowCount):
(AccessibilityUIElement::columnCount):
(AccessibilityUIElement::indexInTable):
(AccessibilityUIElement::rowIndexRange):
(AccessibilityUIElement::columnIndexRange):
(AccessibilityUIElement::cellForColumnAndRow):
(AccessibilityUIElement::selectedTextRange):
(AccessibilityUIElement::setSelectedTextRange):
(AccessibilityUIElement::increment):
(AccessibilityUIElement::decrement):
(AccessibilityUIElement::showMenu):
(AccessibilityUIElement::press):
(AccessibilityUIElement::url):
(AccessibilityUIElement::hasPopup):
2010-05-28 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Pass all web notification layout tests
https://bugs.webkit.org/show_bug.cgi?id=39146
Mimic Chromium's test_shell security model in Qt's DRT.
It makes a list of origins which were granted permission to display
notifications, and only those origins can display notifications.
* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::checkPermissionCallback):
(WebCore::requestPermissionCallback):
(WebCore::WebPage::WebPage):
(WebCore::DumpRenderTree::checkPermission):
(WebCore::DumpRenderTree::requestPermission):
* DumpRenderTree/qt/DumpRenderTreeQt.h:
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::reset):
(LayoutTestController::grantDesktopNotificationPermission):
(LayoutTestController::checkDesktopNotificationPermission):
* DumpRenderTree/qt/LayoutTestControllerQt.h:
2010-05-27 Philippe Normand <pnormand@igalia.com>
Reviewed by Shinichiro Hamaji.
check-webkit-style complains about use of NULL in GTK function calls that require sentinels
https://bugs.webkit.org/show_bug.cgi?id=39372
Don't warn about NULL in g_*() calls. Zero can't be used instead
for calls like g_build_filename and g_object_get/set.
* Scripts/webkitpy/style/checkers/cpp.py:
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
2010-05-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Platform plugin example
https://bugs.webkit.org/show_bug.cgi?id=39489
Exempting directory WebKit/qt/examples/ from style guide.
* Scripts/webkitpy/style/checker.py:
2010-05-26 Philippe Normand <pnormand@igalia.com>
Reviewed by David Levin.
[style] Allow usage of NULL in gst_*_many()
https://bugs.webkit.org/show_bug.cgi?id=39740
Don't warn if NULL is used by gst_*_many() functions. Zero can't
be used for the reason explained in Bug 32858.
* Scripts/webkitpy/style/checkers/cpp.py:
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
2010-05-27 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Update script to run the normal version of the parser tests.
* Scripts/test-html5-parser:
2010-05-27 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Add HTML5 parser support to run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=39815
* Scripts/old-run-webkit-tests:
2010-05-26 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Make HTML5 lexer not ASSERT when resuming partial parses
https://bugs.webkit.org/show_bug.cgi?id=39755
Add webkit-resumer.html to the HTML5 parser test suite.
* Scripts/test-html5-parser:
2010-05-24 Tony Chang <tony@chromium.org>
Reviewed by Kent Tamura.
[chromium] setup fonts on chromium linux DRT
https://bugs.webkit.org/show_bug.cgi?id=39644
* DumpRenderTree/chromium/TestShellGtk.cpp:
(setupFontconfig):
(platformInit):
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::paintRect): Fix a bug where in release builds, we didn't initialize m_canvas.
* DumpRenderTree/chromium/fonts.conf: Added.
2010-05-24 Dirk Pranke <dpranke@chromium.org>
Reviewed by Dimitri Glazkov.
Re-commit r58765 - it had been rolled out to see if it was causing
a perf regression (in r59787 and r59789), but that does not seem to
have been the case.
https://bugs.webkit.org/show_bug.cgi?id=39605
* DumpRenderTree/chromium/NotificationPresenter.cpp:
(NotificationPresenter::show):
2010-05-25 Ojan Vafai <ojan@chromium.org>
Reviewed by Chris Jerdonek.
remove suppression of rietveld logging
https://bugs.webkit.org/show_bug.cgi?id=39693
Now that we only upload to rietveld explicitly, e.g. on the bot
or via webkit-patch post-attachment-to-rietveld, we should print
all the rietveld logging. It was suppressed before to avoid making
webkit-patch upload too noisy.
* Scripts/webkitpy/common/net/rietveld.py:
2010-05-25 Antonio Gomes <tonikitoo@webkit.org>
Reviewed by Ojan Vafai.
[Qt] Expose the editing behavior setting in DRT to test all editing code paths
https://bugs.webkit.org/show_bug.cgi?id=39680
Implement LayoutTestController::setEditingBehavior in Qt's DRT.
* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::setEditingBehavior):
2010-05-25 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after API change and addition of WebCore/platform/text/transcoder dir.
* DumpRenderTree/wx/LayoutTestControllerWx.cpp:
(LayoutTestController::setEditingBehavior):
* wx/build/settings.py:
2010-05-24 Antonio Gomes <tonikitoo@webkit.org>
Reviewed by Eric Seidel and Kent Tamura (for the Chromium part).
editingBehavior settings needs to be set back to a reasonable default between tests
https://bugs.webkit.org/show_bug.cgi?id=39433
Similarly to r59861, hard code the default setting during reset for Gtk and Chromium,
so that the serialized version of the setting stays in sync with expectations.
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::resetWebSettings):
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
2010-05-24 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
webkit-patch land calls scm.changed_files 4 times!
https://bugs.webkit.org/show_bug.cgi?id=39584
* Scripts/webkitpy/tool/commands/download_unittest.py:
- Assert that we don't call modified_changelogs too often.
* Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
- Use cached changelogs list instead of calling modified_changelogs directly.
* Scripts/webkitpy/tool/steps/validatereviewer.py:
- ditto.
2010-05-24 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Import layout_test_helper for Windows
https://bugs.webkit.org/show_bug.cgi?id=39581
Import Chromium win/layout_test_helper.cc as LayoutTestHelperWin.cpp.
http://src.chromium.org/viewvc/chrome/trunk/src/webkit/tools/test_shell/win/layout_test_helper.cc
* DumpRenderTree/chromium/LayoutTestHelperWin.cpp: Added.
2010-05-24 Kent Tamura <tkent@chromium.org>
Reviewed by Dimitri Glazkov.
[DRT/Chromium] Reset frame name
https://bugs.webkit.org/show_bug.cgi?id=39586
This change fixes about 70 unexpected results.
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::reset):
2010-05-24 Marcus Bulach <bulach@chromium.org>
Reviewed by Kent Tamura.
[chromium] Adds WebGeolocationServiceMockImpl to remove public dependency on wtf/HashMap.h
https://bugs.webkit.org/show_bug.cgi?id=39587
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::geolocationService):
2010-05-24 Robert Hogan <robert@webkit.org>
Reviewed by Laszlo Gombos.
[Qt] DRT Support for removeOriginAccessWhitelistEntry
Unskips http/tests/xmlhttprequest/origin-whitelisting-removal.html
[Qt] DRT Support for removeOriginAccessWhitelistEntry
https://bugs.webkit.org/show_bug.cgi?id=39565
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::removeOriginAccessWhitelistEntry):
2010-05-24 Marcus Bulach <bulach@google.com>
Reviewed by Ojan Vafai.
_svn_branch_has_extra_commits needs to check for ^HEAD instead of ^head.
https://bugs.webkit.org/show_bug.cgi?id=39603
* Scripts/webkitpy/common/checkout/scm.py:
== Rolled over to ChangeLog-2010-05-24 ==
|