ChangeLog 756 KB
Newer Older
1
2
3
4
5
6
7
8
2012-09-21  Dirk Pranke  <dpranke@chromium.org>

        Roll Chromium DEPS to r158060

        Unreviewed, rolled DEPS.

        * DEPS:

9
10
11
12
13
14
15
16
17
2012-09-21  Chris Rogers  <crogers@google.com>

        Add Web Audio support for deprecated/legacy APIs
        https://bugs.webkit.org/show_bug.cgi?id=97050

        Reviewed by Eric Carlson.

        * features.gypi:

18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
2012-09-21  Mark Pilgrim  <pilgrim@chromium.org>

        [Chromium] remove getFontFamilyForCharacters from PlatformSupport
        https://bugs.webkit.org/show_bug.cgi?id=96282

        Reviewed by Tony Chang.

        Migrating away from PlatformSupport. getFontFamilyForCharacters is
        moved to FontCache.h and overridden by the two platforms that
        need it (Chromium Linux and Blackberry). New files for the overrides.
        Part of a larger refactoring series. See tracking bug 82948.

        * src/PlatformSupport.cpp:
        (WebCore):

33
34
35
36
37
38
39
40
41
42
43
2012-09-21  Dana Jansens  <danakj@chromium.org>

        [chromium] Add setters to WebFilterOperation for IPC pickling
        https://bugs.webkit.org/show_bug.cgi?id=97147

        Reviewed by James Robinson.

        * tests/FilterOperationsTest.cpp:
        (WebKit):
        (WebKit::TEST):

44
45
46
47
48
49
2012-09-21  Tony Chang  <tony@chromium.org>

        [chromium] Unreviewed, remove duplicate section of WebKit.gyp pointed out by Nico.

        * WebKit.gyp:

50
51
52
53
54
55
2012-09-21  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed.  Rolled DEPS.

        * DEPS:

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
2012-09-21  Sami Kyostila  <skyostil@chromium.org>

        [chromium] Add test for ScrollingCoordinatorChromium
        https://bugs.webkit.org/show_bug.cgi?id=96657

        Reviewed by James Robinson.

        Add tests for ScrollingCoordinatorChromium. These tests mainly verify that
        fast (non-main thread) scrolling is enabled when necessary and that a proper
        compositing layer structure is created for fixed position and accelerated
        scrolling layers.

        Tests: ScrollingCoordinatorChromiumTest.fastScrollingByDefault
               ScrollingCoordinatorChromiumTest.fastScrollingForFixedPosition
               ScrollingCoordinatorChromiumTest.nonFastScrollableRegion
               ScrollingCoordinatorChromiumTest.wheelEventHandler
               ScrollingCoordinatorChromiumTest.touchOverflowScrolling

        * WebKit.gypi:
        * tests/ScrollingCoordinatorChromiumTest.cpp: Added.
        (WebKit):
        (MockWebViewClient):
        (ScrollingCoordinatorChromiumTest):
        (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest):
        (WebKit::ScrollingCoordinatorChromiumTest::createCompositedWebViewImpl):
        (WebKit::ScrollingCoordinatorChromiumTest::registerMockedHttpURLLoad):
        (WebKit::ScrollingCoordinatorChromiumTest::getRootScrollLayer):
        (WebKit::TEST_F):
        * tests/data/fixed_position.html: Added.
        * tests/data/non_fast_scrollable.html: Added.
        * tests/data/touch_overflow_scrolling.html: Added.
        * tests/data/wheel_event_handler.html: Added.

89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
2012-09-20  Peter Beverloo  <peter@chromium.org>

        Leverage Chromium's code to set up FIFOs for Chromium Android layout tests
        https://bugs.webkit.org/show_bug.cgi?id=97227

        Reviewed by Tony Chang.

        Remove all fifo-related code together with the io_stream_forwarder_android
        target defined in WebKitUnitTests.gyp.

        * WebKitUnitTests.gyp:
        * tests/ForwardIOStreamsAndroid.cpp: Removed.
        * tests/ForwardIOStreamsAndroid.h: Removed.
        * tests/RunAllTests.cpp:
        (main):

peter@chromium.org's avatar
peter@chromium.org committed
105
106
107
108
109
110
2012-09-21  Peter Beverloo  <peter@chromium.org>

        Unreviewed.  Rolled DEPS.

        * DEPS:

111
112
113
114
115
116
117
118
119
120
2012-09-21  Keishi Hattori  <keishi@webkit.org>

        Add datalist suggestions into DateTimeChooserParameters
        https://bugs.webkit.org/show_bug.cgi?id=97292

        Reviewed by Kent Tamura.

        * src/DateTimeChooserImpl.cpp:
        (WebKit::DateTimeChooserImpl::writeDocument): Add the necessary parameters for SuggestionPicker.

121
122
123
124
125
126
2012-09-20  Tony Chang  <tony@chromium.org>

        [chromium] Unreviewed build fix. webkit_unit_tests have global constructors.

        * WebKitUnitTests.gyp: Remove -Wglobal-constructors.

127
128
129
130
131
132
133
134
135
136
2012-09-20  Tony Chang  <tony@chromium.org>

        [chromium] Enable more clang warnings
        https://bugs.webkit.org/show_bug.cgi?id=97257

        Reviewed by James Robinson.

        * WebKit.gyp: Add -Wglobal-constructors. Don't add -Wunused-parameter because many of our API interfaces have named parameters with empty implementations.
        * WebKitUnitTests.gyp: Add -Wglobal-constructors and -Wunused-parameter.

137
138
139
140
141
142
143
144
145
146
147
2012-09-20  David Grogan  <dgrogan@chromium.org>

        Fix IndexedDB unit tests
        https://bugs.webkit.org/show_bug.cgi?id=97149

        Reviewed by Tony Chang.

        * tests/IDBDatabaseBackendTest.cpp:
        Specify a desired version of -1 so that no version change transaction
        is run.

148
149
150
151
152
153
154
155
2012-09-20  Dirk Pranke  <dpranke@chromium.org>

        roll Chromium to r157829.

        Unreviewed, deps change.

        * DEPS:

156
157
158
159
160
161
162
163
2012-09-20  Nate Chapin  <japhet@chromium.org>

        Unreviewed, chromium win build fix.
        Remove spurious reference to the non-existent
        tests/LayerPainterChromium.h in WebKit.gypi.

        * WebKit.gypi:

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
2012-09-20  James Robinson  <jamesr@chromium.org>

        [chromium] Remove unused copy of chromium compositor implementation files
        https://bugs.webkit.org/show_bug.cgi?id=97255

        Reviewed by Adam Barth.

        * WebKit.gyp:
        * WebKit.gypi:
        * WebKitUnitTests.gyp:
        * src/WebAnimationCurveCommon.cpp: Removed.
        * src/WebAnimationCurveCommon.h: Removed.
        * src/WebAnimationImpl.cpp: Removed.
        * src/WebAnimationImpl.h: Removed.
        * src/WebContentLayerImpl.cpp: Removed.
        * src/WebContentLayerImpl.h: Removed.
        * src/WebExternalTextureLayerImpl.cpp: Removed.
        * src/WebExternalTextureLayerImpl.h: Removed.
        * src/WebFloatAnimationCurveImpl.cpp: Removed.
        * src/WebFloatAnimationCurveImpl.h: Removed.
        * src/WebIOSurfaceLayerImpl.cpp: Removed.
        * src/WebIOSurfaceLayerImpl.h: Removed.
        * src/WebImageLayerImpl.cpp: Removed.
        * src/WebImageLayerImpl.h: Removed.
        * src/WebLayerImpl.cpp: Removed.
        * src/WebLayerImpl.h: Removed.
        * src/WebLayerTreeViewImpl.cpp: Removed.
        * src/WebLayerTreeViewImpl.h: Removed.
        * src/WebScrollbarLayerImpl.cpp: Removed.
        * src/WebScrollbarLayerImpl.h: Removed.
        * src/WebSolidColorLayerImpl.cpp: Removed.
        * src/WebSolidColorLayerImpl.h: Removed.
        * src/WebToCCInputHandlerAdapter.cpp: Removed.
        * src/WebToCCInputHandlerAdapter.h: Removed.
        * src/WebTransformAnimationCurveImpl.cpp: Removed.
        * src/WebTransformAnimationCurveImpl.h: Removed.
        * src/WebVideoLayerImpl.cpp: Removed.
        * src/WebVideoLayerImpl.h: Removed.
        * tests/CCActiveAnimationTest.cpp: Removed.
        * tests/CCAnimationTestCommon.cpp: Removed.
        * tests/CCAnimationTestCommon.h: Removed.
        * tests/CCDamageTrackerTest.cpp: Removed.
        * tests/CCDelayBasedTimeSourceTest.cpp: Removed.
        * tests/CCDrawQuadTest.cpp: Removed.
        * tests/CCFrameRateControllerTest.cpp: Removed.
        * tests/CCGeometryTestUtils.cpp: Removed.
        * tests/CCGeometryTestUtils.h: Removed.
        * tests/CCHeadsUpDisplayTest.cpp: Removed.
        * tests/CCKeyframedAnimationCurveTest.cpp: Removed.
        * tests/CCLayerAnimationControllerTest.cpp: Removed.
        * tests/CCLayerImplTest.cpp: Removed.
        * tests/CCLayerIteratorTest.cpp: Removed.
        * tests/CCLayerQuadTest.cpp: Removed.
        * tests/CCLayerSorterTest.cpp: Removed.
        * tests/CCLayerTestCommon.cpp: Removed.
        * tests/CCLayerTestCommon.h: Removed.
        * tests/CCLayerTreeHostCommonTest.cpp: Removed.
        * tests/CCLayerTreeHostImplTest.cpp: Removed.
        * tests/CCLayerTreeHostTest.cpp: Removed.
        * tests/CCMathUtilTest.cpp: Removed.
        * tests/CCOcclusionTrackerTest.cpp: Removed.
        * tests/CCOcclusionTrackerTestCommon.h: Removed.
        * tests/CCPrioritizedTextureTest.cpp: Removed.
        * tests/CCQuadCullerTest.cpp: Removed.
        * tests/CCRenderPassTest.cpp: Removed.
        * tests/CCRenderSurfaceFiltersTest.cpp: Removed.
        * tests/CCRenderSurfaceTest.cpp: Removed.
        * tests/CCRendererGLTest.cpp: Removed.
        * tests/CCResourceProviderTest.cpp: Removed.
        * tests/CCSchedulerStateMachineTest.cpp: Removed.
        * tests/CCSchedulerTest.cpp: Removed.
        * tests/CCSchedulerTestCommon.h: Removed.
        * tests/CCScopedTextureTest.cpp: Removed.
        * tests/CCScrollbarAnimationControllerLinearFadeTest.cpp: Removed.
        * tests/CCSolidColorLayerImplTest.cpp: Removed.
        * tests/CCTestCommon.h: Removed.
        * tests/CCTextureUpdateControllerTest.cpp: Removed.
        * tests/CCThreadTaskTest.cpp: Removed.
        * tests/CCThreadedTest.cpp: Removed.
        * tests/CCThreadedTest.h: Removed.
        * tests/CCTiledLayerImplTest.cpp: Removed.
        * tests/CCTiledLayerTestCommon.cpp: Removed.
        * tests/CCTiledLayerTestCommon.h: Removed.
        * tests/CCTimerTest.cpp: Removed.
        * tests/ContentLayerChromiumTest.cpp: Removed.
        * tests/FakeCCLayerTreeHostClient.h: Removed.
        * tests/FakeGraphicsContext3DTest.cpp: Removed.
        * tests/FakeWebScrollbarThemeGeometry.h: Removed.
        * tests/FloatQuadTest.cpp: Removed.
        * tests/GraphicsLayerChromiumTest.cpp:
        * tests/ImageLayerChromiumTest.cpp:
        * tests/LayerChromiumTest.cpp: Removed.
        * tests/MockCCQuadCuller.h: Removed.
        * tests/ScrollbarLayerChromiumTest.cpp: Removed.
        * tests/TextureCopierTest.cpp: Removed.
        * tests/TextureLayerChromiumTest.cpp: Removed.
        * tests/ThrottledTextureUploaderTest.cpp: Removed.
        * tests/TiledLayerChromiumTest.cpp: Removed.
        * tests/TreeSynchronizerTest.cpp: Removed.
        * tests/WebAnimationTest.cpp: Removed.
        * tests/WebFloatAnimationCurveTest.cpp: Removed.
        * tests/WebLayerTest.cpp: Removed.
        * tests/WebLayerTreeViewTest.cpp: Removed.
        * tests/WebTransformAnimationCurveTest.cpp: Removed.
        * tests/WebTransformOperationsTest.cpp: Removed.
        * tests/WebTransformationMatrixTest.cpp: Removed.

271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
2012-09-20  Tommy Widenflycht  <tommyw@google.com>

        MediaStream API: Extend UserMediaRequest with a ownerDocument method
        https://bugs.webkit.org/show_bug.cgi?id=97095

        Reviewed by Adam Barth.

        Chromium need to know exactly which frame called getUserMedia so that it can clean
        away the stream when the frame goes away.
        Since that information is available in webkit add an accessor method.

        Also taking the opportunity to remove an unused deprecated method,
        and adding asserts in case the object is empty.

        * public/WebUserMediaRequest.h:
        (WebKit):
        (WebUserMediaRequest):
        * src/WebUserMediaRequest.cpp:
        (WebKit::WebUserMediaRequest::ownerDocument):

291
292
293
294
295
296
297
298
299
300
301
2012-09-20  Mike West  <mkwst@google.com>

        [chromium] Adding the 'google_apis' directory to .gitignore.
        https://bugs.webkit.org/show_bug.cgi?id=97187

        Reviewed by Jochen Eisinger.

        'chromium/google_apis' should be ignored, as it's not in the git repo.

        * .gitignore:

abarth@webkit.org's avatar
abarth@webkit.org committed
302
303
304
305
306
307
308
309
310
311
312
313
2012-09-19  Adam Barth  <abarth@webkit.org>

        Remove webkitPostMessage
        https://bugs.webkit.org/show_bug.cgi?id=96577

        Reviewed by Ojan Vafai.

        Actually disable webkitPostMessage. See
        http://trac.webkit.org/changeset/128658 for more information.

        * features.gypi:

314
315
316
317
318
319
320
321
322
323
324
2012-09-19  Joshua Bell  <jsbell@chromium.org>

        IndexedDB: Remove "current transaction" concept from backing store
        https://bugs.webkit.org/show_bug.cgi?id=96663

        Reviewed by Tony Chang.

        Update fake class with new method signatures.

        * tests/IDBFakeBackingStore.h:

325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
2012-09-19  Terry Anderson  <tdanderson@chromium.org>

        [chromium] Store the contents scale factor in PlatformContextSkia on initialization
        https://bugs.webkit.org/show_bug.cgi?id=96137

        Reviewed by Stephen White.

        Define SK_SUPPORT_HINTING_SCALE_FACTOR by default. This is also used
        for the skia patch here: https://codereview.appspot.com/6506099/.
        Also added two new unit tests.

        * features.gypi:
        * tests/OpaqueRectTrackingContentLayerDelegateTest.cpp:
        (WebCore):
        (WebCore::HintingScaleCallback::HintingScaleCallback):
        (HintingScaleCallback):
        (WebCore::HintingScaleCallback::operator()):
        (WebCore::TEST_F):
        * tests/PlatformContextSkiaTest.cpp:
        (WebCore):
        (WebCore::TEST):

347
348
349
350
351
352
353
354
355
356
357
2012-09-19  David Grogan  <dgrogan@chromium.org>

        Disable some failing IDB tests
        https://bugs.webkit.org/show_bug.cgi?id=97135

        Reviewed by Nate Chapin.

        They were broken in r129037.

        * tests/IDBDatabaseBackendTest.cpp:

358
359
360
361
362
363
364
365
2012-09-19  Alpha Lam  <hclam@chromium.org>

        [chromium] Unreviewed. Build fix.

        Not building WebImageTest.cpp for component build.

        * WebKit.gyp:

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
2012-09-19  Alpha Lam  <hclam@chromium.org>

        [chromium] WebImage should use ImageDecoder directly
        https://bugs.webkit.org/show_bug.cgi?id=96135

        Reviewed by Adam Barth.

        This patch is for preparation of deferred image decoding.
        ImageSource will be used as a portal to access deferred image decoder
        by BitmapImage, it should not be accessible through WebKit APIs.

        WebImage now calls ImageDecoder directly which is the actual
        implementation of an image decoder.

        Tests: WebImageTest.PNGImage
               WebImageTest.ICOImage
               WebImageTest.BadImage

        * WebKit.gypi:
        * src/WebImageSkia.cpp:
        (WebKit::WebImage::fromData):
        (WebKit::WebImage::framesFromData):
        * tests/WebImageTest.cpp: Added.
        (WebKit):
        (WebKit::readFile):
        (WebKit::TEST):
        * tests/data/black-and-white.ico: Added.
        * tests/data/white-1x1.png: Added.

395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
2012-09-19  Oli Lan  <olilan@chromium.org>

        [chromium] Add a method didHandleGestureEvent to WebViewClient, called from WebViewImpl::handleGestureEvent.
        https://bugs.webkit.org/show_bug.cgi?id=96112

        Reviewed by Adam Barth.

        Adds a new method didHandleGestureEvent to WebViewClient, called from WebViewImpl::handleGestureEvent.

        This will be used by the Android port to implement platform-specific gesture behaviour.

        This is tested by the new test WebViewTest.ClientTapHandlers.

        * public/WebViewClient.h:
        (WebViewClient):
        (WebKit::WebViewClient::didHandleGestureEvent):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::handleGestureEvent):
        * tests/WebViewTest.cpp:

415
416
417
418
419
420
421
422
423
424
425
426
427
428
2012-09-19  Robert Flack  <flackr@chromium.org>

        [chromium] Support high DPI scroll bar on top level web frame.
        https://bugs.webkit.org/show_bug.cgi?id=95134

        Reviewed by Adrienne Walker.

        Calls setAppliesPageScale(true) on root scrollbar layers as these are not scaled.

        * src/NonCompositedContentHost.cpp:
        (WebKit::setScrollbarBoundsContainPageScale):
        (WebKit):
        (WebKit::NonCompositedContentHost::setViewport):

429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
2012-09-19  Mark Pilgrim  <pilgrim@chromium.org>

        [Chromium] Move notifyJSOutOfMemory out of PlatformSupport
        https://bugs.webkit.org/show_bug.cgi?id=97116

        Reviewed by Adam Barth.

        Part of a refactoring series. See tracking bug 82948.
        
        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::didExhaustMemoryAvailableForScript):
        (WebKit):
        * src/FrameLoaderClientImpl.h:
        (FrameLoaderClientImpl):
        * src/PlatformSupport.cpp:
        (WebCore):

446
447
448
449
450
451
452
453
454
455
456
457
2012-09-19  Mark Pilgrim  <pilgrim@chromium.org>

        [Chromium] Remove unused popupsAllowed function from PlatformSupport
        https://bugs.webkit.org/show_bug.cgi?id=96521

        Reviewed by Eric Seidel.

        Part of a refactoring series. See tracking bug 82948.

        * src/PlatformSupport.cpp:
        (WebCore):

458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
2012-09-19  Kent Tamura  <tkent@chromium.org>

        [Chromium] Fix crash in WebFrameImpl::loadHistoryItem
        https://bugs.webkit.org/show_bug.cgi?id=96352

        Reviewed by Adam Barth.

        We have some crash reports with the following stack:
          - HistoryItem::shouldDoSameDocumentNavigationTo.
          - WebFrameImpl::loadHistoryItem
          ...

        We don't have reproducible steps, and not sure what's the root
        cause. Anyway we should check nullness of currentItem because
        HistoryController::m_currentItem can be 0.

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::loadHistoryItem):
        Check nullness of currentItem.

478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
2012-09-18  Sailesh Agrawal  <sail@chromium.org>

        Chromium: Scrollbar with tickmarks doesn't respond to clicks
        https://bugs.webkit.org/show_bug.cgi?id=96049

        Reviewed by Beth Dakin.

        Pipe isAlphaLocked and setIsAlphaLocked.

        * src/WebPluginScrollbarImpl.cpp:
        (WebKit::WebPluginScrollbarImpl::isAlphaLocked):
        (WebKit):
        (WebKit::WebPluginScrollbarImpl::setIsAlphaLocked):
        * src/WebPluginScrollbarImpl.h:
        (WebPluginScrollbarImpl):
        * src/WebScrollbarThemeClientImpl.cpp:
        (WebKit::WebScrollbarThemeClientImpl::isAlphaLocked):
        (WebKit):
        (WebKit::WebScrollbarThemeClientImpl::setIsAlphaLocked):
        * src/WebScrollbarThemeClientImpl.h:
        (WebScrollbarThemeClientImpl):
        * tests/ScrollbarLayerChromiumTest.cpp:

501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
2012-09-18  Alpha Lam  <hclam@chromium.org>

        Unreviewed, rolling out r128939.
        http://trac.webkit.org/changeset/128939
        https://bugs.webkit.org/show_bug.cgi?id=96135

        Failing test_shell_tests.

        * WebKit.gypi:
        * src/WebImageSkia.cpp:
        (WebKit::WebImage::fromData):
        (WebKit::WebImage::framesFromData):
        * tests/WebImageTest.cpp: Removed.
        * tests/data/black-and-white.ico: Removed.
        * tests/data/white-1x1.png: Removed.

517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
2012-09-18  Alpha Lam  <hclam@chromium.org>

        [chromium] WebImage should use ImageDecoder directly
        https://bugs.webkit.org/show_bug.cgi?id=96135

        Reviewed by Adam Barth.

        This patch is for preparation of deferred image decoding.
        ImageSource will be used as a portal to access deferred image decoder
        by BitmapImage, it should not be accessible through WebKit APIs.

        WebImage now calls ImageDecoder directly which is the actual
        implementation of an image decoder.

        Tests: WebImageTest.PNGImage
               WebImageTest.ICOImage

        * WebKit.gypi:
        * src/WebImageSkia.cpp:
        (WebKit::WebImage::fromData):
        (WebKit::WebImage::framesFromData):
        * tests/WebImageTest.cpp: Added.
        (WebKit):
        (WebKit::readFile):
        (WebKit::TEST):
        * tests/data/black-and-white.ico: Added.
        * tests/data/white-1x1.png: Added.

545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
2012-09-18  Tommy Widenflycht  <tommyw@google.com>

        MediaStream API: Create a flag to enable PeerConnection00
        https://bugs.webkit.org/show_bug.cgi?id=96989

        Reviewed by Adam Barth.

        Adding the functionality to separately enable/disable PeerConnection00.
        For now it is enabled by default.

        * public/WebRuntimeFeatures.h:
        (WebRuntimeFeatures):
        * src/WebRuntimeFeatures.cpp:
        (WebKit::WebRuntimeFeatures::enableDeprecatedPeerConnection):
        (WebKit):
        (WebKit::WebRuntimeFeatures::isDeprecatedPeerConnectionEnabled):

562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
2012-09-18  Iain Merrick  <husky@google.com>

        [Chromium] Merge moveSelectionStart, moveSelectionEnd, and moveCaret into selectRange
        https://bugs.webkit.org/show_bug.cgi?id=96508

        Reviewed by Ryosuke Niwa.

        These methods had "start" and "end" parameters, but this is incorrect.
        selectRange() actually takes base and extent (where the user actually
        touched), and selectionBounds() returns anchor and focus (base and extent
        expanded to account for the selection granularity).

        This patch fixes the parameter names, and updates selectRange, its test
        and its documentation to reflect the correct usage. It also removes
        moveSelectionStart/moveSelectionEnd/moveCaret (which aren't being used
        yet), and updates WebFrameTest to show how these can be implemented via
        selectRange.

        * public/WebFrame.h:
        (WebFrame):
        * public/WebWidget.h:
        (WebWidget):
        (WebKit::WebWidget::selectionBounds):
        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::selectRange):
        * src/WebFrameImpl.h:
        (WebFrameImpl):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::selectionBounds):
        * src/WebViewImpl.h:
        (WebViewImpl):
        * tests/WebFrameTest.cpp:

595
596
597
598
599
600
601
602
603
604
605
606
2012-09-18  Terry Anderson  <tdanderson@chromium.org>

        Roll chromium DEPS to r157342
        https://bugs.webkit.org/show_bug.cgi?id=96963

        Reviewed by Stephen White.

        Roll chromium DEPS to r157342. Also include the top-level directory 
        google_apis as a dependency, which was required for r157130.

        * DEPS:

607
608
609
610
611
612
613
614
615
616
617
618
619
2012-09-17  Brian Anderson  <brianderson@chromium.org>

        [chromium] Add rendering commit statistics
        https://bugs.webkit.org/show_bug.cgi?id=96938

        Reviewed by James Robinson.

        Adds total commit time and total commit count to WebRenderingStats.
        Allows us to caculate average commit time in performance tests.

        * src/WebLayerTreeViewImpl.cpp:
        (WebKit::WebLayerTreeViewImpl::renderingStats):

620
621
622
623
624
625
626
627
628
629
630
2012-09-17  James Robinson  <jamesr@chromium.org>

        [chromium] Move a FilterOperationsTest and WebInputEventConversionTest back to webkit_unittest_files variable
        https://bugs.webkit.org/show_bug.cgi?id=96964

        Reviewed by Adrienne Walker.

        These targets are really webkit unit tests and shouldn't be guarded by use_libcc_for_compositor.

        * WebKit.gypi:

631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
2012-09-17  Rick Byers  <rbyers@chromium.org>

        Send GestureTapDownCancel to WebCore
        https://bugs.webkit.org/show_bug.cgi?id=96060

        Reviewed by Antonio Gomes.

        Plumb WebInputEvent::GetsureTapCancel to
        PlatformInputEvent::GestureTapDownCancel.  After all the chromium code
        was landed, it was suggested that 'TapDownCancel' was a better name
        than 'TapCancel' since you can't cancel a Tap.  I'm not changing the
        WebInputEvent definition here because that would be a breaking change
        to chromium, but I can do that as a series of follow-up CLs.
        * src/WebInputEventConversion.cpp:
        (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::handleInputEvent):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::handleGestureEvent):

651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
2012-09-17  Alec Flett  <alecflett@chromium.org>

        IndexedDB: Use ScriptValue instead of SerializedScriptValue for get/openCursor
        https://bugs.webkit.org/show_bug.cgi?id=95409

        Reviewed by Kentaro Hara.

        This removes a bunch of tests that have been migrated to
        LayoutTests, in https://bugs.webkit.org/show_bug.cgi?id=96818.

        * tests/IDBBindingUtilitiesTest.cpp:
        (WebCore::checkKeyFromValueAndKeyPathInternal):
        (WebCore::checkKeyPathNullValue):
        (WebCore::injectKey):
        (WebCore::checkInjection):
        (WebCore::checkInjectionFails):
        (WebCore::checkKeyPathStringValue):
        (WebCore::checkKeyPathNumberValue):
        (WebCore::TEST):
        * tests/IDBKeyPathTest.cpp:

672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
2012-09-17  Leandro Gracia Gil  <leandrogracia@chromium.org>

        [Chromium] Fix cases where find-in-page doesn't send a final update
        https://bugs.webkit.org/show_bug.cgi?id=96402

        Fix some issues in the WebKit implementation that prevented to send a final
        reportFindInPageMatchCount message.

        Reviewed by Adam Barth.

        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::scopeStringMatches):
        (WebKit):
        (WebKit::WebFrameImpl::finishCurrentScopingEffort):
        (WebKit::WebFrameImpl::cancelPendingScopingEffort):
        (WebKit::WebFrameImpl::WebFrameImpl):
        (WebKit::WebFrameImpl::shouldScopeMatches):
        * src/WebFrameImpl.h:

691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
2012-09-17  Joshua Bell  <jsbell@chromium.org>

        [Chromium] IndexedDB: Remove legacy two-phase open() API members
        https://bugs.webkit.org/show_bug.cgi?id=96802

        Reviewed by Tony Chang.

        Following http://webkit.org/b/90411 and subsequent cleanup on the Chromium side,
        these entry points are no longer needed.

        * public/WebIDBDatabase.h: Delete old second-phase open(db-callbacks)
        * public/WebIDBFactory.h: Delete old first-phase open() w/o db-callbacks
        * src/WebIDBDatabaseImpl.cpp: No longer need to account for a close between phases.
        (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
        (WebKit::WebIDBDatabaseImpl::close):
        (WebKit::WebIDBDatabaseImpl::forceClose):
        * src/WebIDBDatabaseImpl.h:
        (WebIDBDatabaseImpl):

710
711
712
713
714
715
716
2012-09-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed. Temporary disable visited set counter check.

        * tests/MemoryInstrumentationTest.cpp:
        (WebCore::TEST):

717
718
719
720
721
722
723
724
725
726
727
728
729
2012-09-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Web Inspector: NMI: now when we can detect instrumented classes we can
        remove addInstrumentedMember and use addMember for everything.
        https://bugs.webkit.org/show_bug.cgi?id=96913

        Reviewed by Yury Semikhatsky.

        * tests/MemoryInstrumentationTest.cpp:
        (WebCore::InstrumentedDOM::reportMemoryUsage):
        (WebCore::NonVirtualInstrumented::reportMemoryUsage):
        (WebCore::InstrumentedOwner::reportMemoryUsage):

730
731
732
733
734
735
736
2012-09-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed single line fix for mac chromium canary bot.

        * tests/MemoryInstrumentationTest.cpp:
        (WebCore::TEST):

737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
2012-09-15  Yury Semikhatsky  <yurys@chromium.org>

        Web Inspector: automatically detect if class has reportMemoryUsage method
        https://bugs.webkit.org/show_bug.cgi?id=96756

        Reviewed by Alexander Pavlov.

        Test that reportMemoryUsage method will be called on the instrumented object
        even if it is a template.

        * tests/MemoryInstrumentationTest.cpp:
        (WebCore):
        (InstrumentedTemplate):
        (WebCore::InstrumentedTemplate::InstrumentedTemplate):
        (WebCore::InstrumentedTemplate::reportMemoryUsage):
        (WebCore::TEST):

754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
2012-09-14  Yury Semikhatsky  <yurys@chromium.org>

        Web Inspector: OwnPtr and RefPtr reported by pointer can be double counted by the memory instrumentation
        https://bugs.webkit.org/show_bug.cgi?id=96791

        Reviewed by Alexander Pavlov.

        Test that pointers to RefPtr and OwnPtr won't be double counted by
        the memory instrumentation.

        * tests/MemoryInstrumentationTest.cpp:
        (WebCore):
        (TwoPointersToRefPtr):
        (WebCore::TwoPointersToRefPtr::TwoPointersToRefPtr):
        (WebCore::TwoPointersToRefPtr::reportMemoryUsage):
        (WebCore::TEST):
        (TwoPointersToOwnPtr):
        (WebCore::TwoPointersToOwnPtr::TwoPointersToOwnPtr):
        (WebCore::TwoPointersToOwnPtr::reportMemoryUsage):

774
775
776
777
778
779
2012-09-16  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed.  Rolled DEPS.

        * DEPS:

780
781
782
783
784
785
786
787
788
789
790
791
2012-09-14  Julien Chaffraix  <jchaffraix@webkit.org>

        Revert r127457 and following fixes due to several hit-testing regressions
        https://bugs.webkit.org/show_bug.cgi?id=96830

        Reviewed by Antonio Gomes.

        This change reverts r127457, r127863 and r128505.

        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):

792
793
794
795
796
797
798
799
800
801
802
803
804
805
2012-09-14  Ojan Vafai  <ojan@chromium.org>

        Provide a runtime setting to disable position:sticky
        https://bugs.webkit.org/show_bug.cgi?id=96827

        Reviewed by James Robinson.

        * public/WebSettings.h:
        * src/WebSettingsImpl.cpp:
        (WebKit::WebSettingsImpl::setCSSStickyPositionEnabled):
        (WebKit):
        * src/WebSettingsImpl.h:
        (WebSettingsImpl):

abarth@webkit.org's avatar
abarth@webkit.org committed
806
807
808
809
810
811
812
813
814
815
816
2012-09-14  Adam Barth  <abarth@webkit.org>

        Remove webkitPostMessage
        https://bugs.webkit.org/show_bug.cgi?id=96577

        Reviewed by Ojan Vafai.

        Add ENABLE_LEGACY_VENDOR_PREFIXES flag.

        * features.gypi:

817
818
819
820
821
822
2012-09-14  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed.  Rolled DEPS.

        * DEPS:

823
824
825
826
827
828
829
830
831
832
833
834
835
2012-09-14  Rick Byers  <rbyers@chromium.org>

        [chromium] add touch area to gestureTapDown data
        https://bugs.webkit.org/show_bug.cgi?id=96806

        Reviewed by Adam Barth.

        Add width/height for GestureTapDown as for GestureTap/LongPress so that
        we can eventually do fuzzing on it.
        * public/WebInputEvent.h:
        * src/WebInputEventConversion.cpp:
        (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):

836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
2012-09-14  Peter Beverloo  <peter@chromium.org>

        [Chromium] Support the --{in,out,err}-fifo arguments on TestWebKitAPI and webkit_unit_tests
        https://bugs.webkit.org/show_bug.cgi?id=96687

        Reviewed by Tony Chang.

        Android's DumpRenderTree currently supports these arguments, implemented
        as part of TestShellAndroid:
        http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/chromium/TestShellAndroid.cpp?rev=128496

        They're used by the layout test runner to get the STDOUT and STDERR while
        a layout test run is in process, which is a safer alternative to parsing
        all the logcat output manually. The implementation can be seen here:
        http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py?rev=128496#L590

        This patch generalizes parsing of and applying the effects of these arguments
        so that they can be used for TestWebKitAPI and webkit_unit_tests as well.
        After this patch, this will make it possible to pull out the output-reading
        code from Android's layout test port and generalize it so it can be re-used
        in the new test-runner for the other two test suites.

        This has no effect when compiling and running these tests as part of Chromium
        code, which has a much more advanced test-runner that does parse complete log
        output, but also directly depends on code licensed under Apache 2.

        * WebKit.gypi:
        * tests/ForwardIOStreamsAndroid.cpp: Added.
        (WebKit):
        (WebKit::maybeInitIOStreamForwardingForAndroid):
        * tests/ForwardIOStreamsAndroid.h: Added.
        (WebKit):
        * tests/RunAllTests.cpp:
        (main):

871
872
873
874
875
876
877
878
879
880
881
2012-09-14  Keishi Hattori  <keishi@webkit.org>

        Make time input lang attribute aware for testing
        https://bugs.webkit.org/show_bug.cgi?id=96728

        Reviewed by Kent Tamura.

        * tests/LocalizedDateICUTest.cpp:
        (LocalizedDateICUTest::localizedDateFormatText):
        (LocalizedDateICUTest::localizedShortDateFormatText):

882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
2012-09-14  Keishi Hattori  <keishi@webkit.org>

        Refactor time format related methods on LocaleWin/Mac/ICU so that they override Localizer methods
        https://bugs.webkit.org/show_bug.cgi?id=96726

        Reviewed by Kent Tamura.

        * tests/LocaleMacTest.cpp:
        (LocaleMacTest::timeFormat):
        (LocaleMacTest::shortTimeFormat):
        (TEST_F):
        * tests/LocaleWinTest.cpp:
        (LocaleWinTest::timeFormat):
        (LocaleWinTest::shortTimeFormat):
        (TEST_F):
        * tests/LocalizedDateICUTest.cpp:
        (LocalizedDateICUTest::localizedDateFormatText):
        (LocalizedDateICUTest::localizedShortDateFormatText):

901
902
903
904
905
906
907
908
909
910
2012-09-14  Keishi Hattori  <keishi@webkit.org>

        LocaleMac should fallback to defaultLanguage for an invalid locale
        https://bugs.webkit.org/show_bug.cgi?id=96744

        Reviewed by Kent Tamura.

        * tests/LocaleMacTest.cpp:
        (TEST_F):

911
912
913
914
915
916
917
918
919
920
921
922
923
924
2012-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r128543.
        http://trac.webkit.org/changeset/128543
        https://bugs.webkit.org/show_bug.cgi?id=96722

        Caused LocaleWinTest.localizedNumberRoundTrip to fail
        (Requested by keishi on #webkit).

        * tests/LocaleWinTest.cpp:
        (testNumberIsReversible):
        (testNumbers):
        (TEST_F):

925
926
927
928
929
930
931
932
933
934
935
2012-09-13  Keishi Hattori  <keishi@webkit.org>

        Create Localizer factory method for LocaleWin
        https://bugs.webkit.org/show_bug.cgi?id=96667

        Reviewed by Kent Tamura.

        * tests/LocaleWinTest.cpp:
        (testNumberIsReversible):
        (testNumbers):

936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
2012-09-13  Joshua Bell  <jsbell@chromium.org>

        IndexedDB: Consolidate two-phase connection to avoid race conditions
        https://bugs.webkit.org/show_bug.cgi?id=90411

        Reviewed by Tony Chang.

        API plumbing for simplified single-phase connection opening, and tests updated
        to exercise the new APIs.

        * public/WebIDBDatabase.h:
        (WebIDBDatabase): Just a FIXME to remove the old second-phase hookup API.
        * public/WebIDBFactory.h:
        (WebKit):
        (WebIDBFactory):
        (WebKit::WebIDBFactory::open): New overload that takes db-callbacks.
        * src/IDBCallbacksProxy.cpp: The db-callbacks plumbing is needed earlier.
        (WebKit::IDBCallbacksProxy::onSuccess):
        (WebKit::IDBCallbacksProxy::onUpgradeNeeded):
        (WebKit):
        (WebKit::IDBCallbacksProxy::setDatabaseCallbacks): Needs to hold on to
        the db-callbacks and hook it up when the onSuccess callback comes through.
        * src/IDBCallbacksProxy.h:
        (WebKit):
        (IDBCallbacksProxy):
        * src/IDBDatabaseBackendProxy.cpp:
        * src/IDBDatabaseBackendProxy.h:
        (IDBDatabaseBackendProxy):
        * src/IDBFactoryBackendProxy.cpp:
        (WebKit::IDBFactoryBackendProxy::open):
        * src/IDBFactoryBackendProxy.h:
        (IDBFactoryBackendProxy):
        * src/WebIDBDatabaseImpl.cpp:
        (WebKit::WebIDBDatabaseImpl::WebIDBDatabaseImpl):
        (WebKit::WebIDBDatabaseImpl::close):
        * src/WebIDBDatabaseImpl.h:
        (WebIDBDatabaseImpl):
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactoryImpl::open):
        * src/WebIDBFactoryImpl.h:
        (WebIDBFactoryImpl):
        * tests/IDBAbortOnCorruptTest.cpp:
        (FakeIDBDatabaseCallbacks):
        (WebCore::FakeIDBDatabaseCallbacks::create):
        (WebCore::FakeIDBDatabaseCallbacks::~FakeIDBDatabaseCallbacks):
        (WebCore::FakeIDBDatabaseCallbacks::FakeIDBDatabaseCallbacks):
        (WebCore):
        (WebCore::TEST): Updated connection sequence.
        * tests/IDBDatabaseBackendTest.cpp: Ditto.

986
987
988
989
990
991
2012-09-13  James Robinson  <jamesr@chromium.org>

        PlatformGestureCurveTest compile fix pt 2

        * tests/PlatformGestureCurveTest.cpp:

992
993
994
995
996
997
2012-09-13  James Robinson  <jamesr@chromium.org>

        Fix compile warning/error on windows - literal that isn't exactly representable as a float needs "f" suffix.

        * tests/PlatformGestureCurveTest.cpp:

998
999
1000
2012-09-13  Julien Chaffraix  <jchaffraix@webkit.org>

        [Chromium] REGRESSION(r127457): Context menu on textarea is displayed in the wrong place
For faster browsing, not all history is shown. View entire blame