https://bugs.webkit.org/show_bug.cgi?id=112627
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2013-03-18  Alexey Proskuryakov  <ap@apple.com>
2
3         https://bugs.webkit.org/show_bug.cgi?id=112627
4         MessagePort::disentangle() takes an ExceptionCode argument without any need
5
6         Reviewed by Geoffrey Garen.
7
8         MessagePort::disentangle() is called in two places. One has ASSERT_NO_EXCEPTION,
9         and another fails to check the exception, but clearly cannot get one.
10
11         This function is also not exposed to bindings.
12
13         * dom/MessagePort.cpp:
14         (WebCore::MessagePort::disentangle):
15         (WebCore::MessagePort::disentanglePorts):
16         * dom/MessagePort.h:
17         * workers/SharedWorker.cpp:
18         (WebCore::SharedWorker::create):
19         Also removed some unhelpful comments.
20
21 2013-03-18  Xianzhu Wang  <wangxianzhu@chromium.org>
22
23         Variant of non-primary fell-back SVGFont causes crash.
24         https://bugs.webkit.org/show_bug.cgi?id=112367
25
26         Reviewed by Stephen Chenney.
27
28         Don't go to PlatformFontData path for SimpleFontData::createScaledFontData()
29         for SVG fonts.
30
31         Test: svg/css/font-face-variant-crash.html
32
33         * platform/graphics/SimpleFontData.cpp:
34         (WebCore::SimpleFontData::~SimpleFontData):
35         (WebCore::SimpleFontData::createScaledFontData): Don't go to PlatformFontData path for SVG fonts.
36         (WebCore):
37         * platform/graphics/SimpleFontData.h:
38         (SimpleFontData): Added createScaledFontData and renamed the original createScaledFontData to platformCreateScaledFontData.
39                           BTW, Removed unreferenced commonInit.
40         * platform/graphics/blackberry/SimpleFontDataBlackBerry.cpp:
41         (WebCore::SimpleFontData::platformCreateScaledFontData): Renamed from createScaledFontData.
42         * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
43         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
44         * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
45         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
46         * platform/graphics/mac/SimpleFontDataMac.mm:
47         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
48         * platform/graphics/qt/SimpleFontDataQt.cpp:
49         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
50         * platform/graphics/skia/SimpleFontDataSkia.cpp:
51         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
52         * platform/graphics/win/SimpleFontDataWin.cpp:
53         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
54         * platform/graphics/wince/SimpleFontDataWinCE.cpp:
55         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
56         * platform/graphics/wx/SimpleFontDataWx.cpp:
57         (WebCore::SimpleFontData::platformCreateScaledFontData): Ditto.
58
59 2013-03-18  Victor Carbune  <vcarbune@chromium.org>
60
61         Determine text direction for rendering a TextTrackCue
62         https://bugs.webkit.org/show_bug.cgi?id=79749
63
64         Reviewed by Levi Weintraub.
65
66         The rendering rules for WebVTT cues are slightly different
67         depending on the directionality determined from the characters
68         of the cue text. This patch implements the preliminary step
69         to be able to take directionality into account.
70
71         It iterates through the cue characters and setting the CSS
72         directionality to the one of the first strong directional character.
73
74         Test: media/track/track-cue-rendering-rtl.html
75
76         * html/track/TextTrackCue.cpp:
77         (WebCore::TextTrackCueBox::applyCSSProperties): Applies the determined
78         direction.
79         (WebCore::TextTrackCue::TextTrackCue): Sets the default value for the
80         display direction.
81         (WebCore::isCueParagraphSeparator): Tests for explicit unicode characters
82         that are paragraph separators.
83         (WebCore):
84         (WebCore::TextTrackCue::determineTextDirection): Determined the direction
85         by the first strong directional character found.
86         (WebCore::TextTrackCue::calculateDisplayParameters): Updated.
87         (WebCore::TextTrackCue::getCSSWritingDirection): Return the determined CSS
88         writing direction.
89         * html/track/TextTrackCue.h:
90         (TextTrackCue):
91
92 2013-03-18  Hans Wennborg  <hans@chromium.org>
93
94         Fix GridTrackSize::operator==
95         https://bugs.webkit.org/show_bug.cgi?id=112501
96
97         Reviewed by Eric Seidel.
98
99         There was a missing "other." in the function.
100
101         This was found by experimenting with a potential new Clang warning.
102
103         Test: fast/css-grid-layout/grid-dynamic-updates-relayout.html
104
105         * rendering/style/GridTrackSize.h:
106         (WebCore::GridTrackSize::operator==):
107
108 2013-03-18  Alec Flett  <alecflett@chromium.org>
109
110         Inspector: [Chromium] http/tests/inspector/indexeddb/database-data.html ASSERT on Win7 following r133855
111         https://bugs.webkit.org/show_bug.cgi?id=101618
112
113         Deactivate transactions created by the inspector, before
114         they are reactivated by IndexedDB. This puts transactions
115         in an identical state as when they are created by scripts.
116
117         Reviewed by Vsevolod Vlasov.
118
119         Test: http/tests/inspector/indexeddb/database-data.html
120
121         * inspector/InspectorIndexedDBAgent.cpp: Make transactions inactive upon leaving the inspector code.
122
123 2013-03-15  Jeffrey Pfau  <jpfau@apple.com>
124
125         Allow blocking of application cache in third-party contexts
126         https://bugs.webkit.org/show_bug.cgi?id=112288
127
128         Reviewed by Adam Barth.
129
130         Return early if we can't access the application cache due to security
131         restrictions.
132
133         Tests: http/tests/security/cross-origin-appcache-allowed.html
134                http/tests/security/cross-origin-appcache.html
135                http/tests/security/same-origin-appcache-blocked.html
136
137         * loader/appcache/ApplicationCacheGroup.cpp:
138         (WebCore::ApplicationCacheGroup::selectCache):
139         (WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL):
140         * page/SecurityOrigin.h:
141         (WebCore::SecurityOrigin::canAccessApplicationCache):
142
143 2013-03-18  Vsevolod Vlasov  <vsevik@chromium.org>
144
145         Web Inspector: Script should know nothing about disabled source mappings.
146         https://bugs.webkit.org/show_bug.cgi?id=112580
147
148         Reviewed by Pavel Feldman.
149
150         ResourceScriptMapping handles diverged uiSourceCodes internally now.
151
152         Tested in inspector/debugger/live-edit-breakpoints.html already.
153
154         * inspector/front-end/ResourceScriptMapping.js:
155         (WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation):
156         (WebInspector.ResourceScriptMapping.prototype._hasMergedToVM):
157         (WebInspector.ResourceScriptMapping.prototype._hasDivergedFromVM):
158         * inspector/front-end/Script.js:
159         (WebInspector.Script.prototype.rawLocationToUILocation):
160
161 2013-03-18  Alexey Proskuryakov  <ap@apple.com>
162
163         Update MessagePort terminology to match HTML5
164         https://bugs.webkit.org/show_bug.cgi?id=112611
165
166         Reviewed by Anders Carlsson.
167
168         Transferable objects are "neutered" when transfered. Cloning is a different operation.
169
170         * dom/MessagePort.cpp:
171         (WebCore::MessagePort::disentanglePorts):
172         * dom/MessagePort.h:
173         (WebCore::MessagePort::isEntangled):
174         (WebCore::MessagePort::isNeutered):
175
176 2013-03-18  Roger Fong  <roger_fong@apple.com>
177
178         AppleWin VS2010 build fix.
179
180         * WebCore.vcxproj/WebCore.vcxproj:
181         * WebCore.vcxproj/WebCore.vcxproj.filters:
182
183 2013-03-18  Lamarque V. Souza  <Lamarque.Souza@basyskom.com>
184
185         [css3-text] Add rendering support for -webkit-text-underline-position
186         https://bugs.webkit.org/show_bug.cgi?id=102795
187
188         Reviewed by Levi Weintraub.
189
190         This patch implements rendering support for values [ auto | alphabetic | under ]
191         of CSS3 property text-underline-position. We don't fully match the specification
192         as we don't support [ left | right ] and this is left for another implementation
193         as the rendering will need to be added.
194
195         Tests: fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-all.html
196                fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-alphabetic.html
197                fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto.html
198                fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under-out-of-flow.html
199                fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-under.html
200
201         * rendering/InlineFlowBox.cpp:
202         (WebCore::InlineFlowBox::computeMaxLogicalTop): Added method to compute maximal logical top among all chidren of
203         this InlineTextBox.
204         * rendering/InlineFlowBox.h:
205         (InlineFlowBox):
206         * rendering/InlineTextBox.cpp:
207         (WebCore::computeUnderlineOffset): Added method to compute offset for text-underline-position property.
208         (WebCore::InlineTextBox::paintDecoration): Paint decoration at position calculated using computeUnderlineOffset().
209         * rendering/RootInlineBox.cpp:
210         (WebCore::RootInlineBox::RootInlineBox):
211         (WebCore::RootInlineBox::alignBoxesInBlockDirection): Call method to compute maximal logical top among all
212         children of this RootInlineBox.
213         * rendering/RootInlineBox.h:
214         (RootInlineBox):
215         (WebCore::RootInlineBox::maxLogicalTop): Added getter for m_maxLogicalTop class member.
216         * rendering/style/RenderStyle.h: Added the usual getter / setter / initial methods for text-underline-position
217         property
218
219 2013-03-18  Christian Biesinger  <cbiesinger@chromium.org>
220
221         Convert old flexbox uses in html.css to new flexbox (non-<select>)
222         https://bugs.webkit.org/show_bug.cgi?id=110837
223
224         Reviewed by Ojan Vafai.
225
226         No new tests (No change in behaviour)
227
228         * css/html.css:
229         (input::-webkit-clear-button):
230         Missed this one in the original patch.
231
232 2013-03-18  Wei James  <james.wei@intel.com>
233
234         AudioBasicProcessorNode need to check for deferred updating of output channels
235         https://bugs.webkit.org/show_bug.cgi?id=112544
236
237         There can in rare cases be a slight delay before the output
238         bus is updated to the new number of channels because of tryLocks() in the
239         context's updating system but the processor already updated to the new
240         number of channels, so need to check the channel number before processing.
241
242         Reviewed by Chris Rogers.
243
244         * Modules/webaudio/AudioBasicProcessorNode.cpp:
245         (WebCore::AudioBasicProcessorNode::process):
246         * Modules/webaudio/WaveShaperProcessor.cpp:
247         (WebCore::WaveShaperProcessor::process):
248         * platform/audio/AudioDSPKernelProcessor.cpp:
249         (WebCore::AudioDSPKernelProcessor::AudioDSPKernelProcessor):
250         * platform/audio/AudioDSPKernelProcessor.h:
251         (WebCore::AudioDSPKernelProcessor::numberOfChannels):
252         (AudioDSPKernelProcessor):
253         * platform/audio/AudioProcessor.h:
254         (WebCore::AudioProcessor::AudioProcessor):
255         (AudioProcessor):
256
257 2013-03-18  Julien Chaffraix  <jchaffraix@webkit.org>
258
259         [CSS Grid Layout] Fix StyleGridData::operator==
260         https://bugs.webkit.org/show_bug.cgi?id=112574
261
262         Reviewed by Ojan Vafai.
263
264         Test: fast/css-grid-layout/grid-auto-flow-update.html
265
266         * rendering/style/StyleGridData.h:
267         (WebCore::StyleGridData::operator==):
268         Fixed a bad comparison that would make us ignore grid-auto-flow changes.
269
270 2013-03-18  Rafael Weinstein  <rafaelw@chromium.org>
271
272         [HTMLTemplateElement] parseError check in processTemplateEndTag should use hasTagName, not hasLocalName
273         https://bugs.webkit.org/show_bug.cgi?id=112591
274
275         Reviewed by Adam Barth.
276
277         No tests needed, change is unobservable.
278
279         * html/parser/HTMLTreeBuilder.cpp:
280         (WebCore::HTMLTreeBuilder::processTemplateEndTag):
281
282 2013-03-18  Brady Eidson  <beidson@apple.com>
283
284         NetworkProcess should send vm_copied, mmap'ed memory to WebProcesses when a 
285         resource is already in the disk cache.
286         <rdar://problem/13414153> and https://bugs.webkit.org/show_bug.cgi?id=112387
287
288         Reviewed by Geoff Garen.
289
290         No new tests (No change in behavior).
291
292         * WebCore.exp.in:
293
294         Add a CFURLRequestRef accessor even in the mac NSURL-based loader:
295         * platform/network/cf/ResourceRequest.h:
296         * platform/network/mac/ResourceRequestMac.mm:
297         (WebCore::ResourceRequest::cfURLRequest):
298
299 2013-03-18  Dean Jackson  <dino@apple.com>
300
301         Only add wordspacing when kerning to actual word ends
302         https://bugs.webkit.org/show_bug.cgi?id=112507
303         <rdar://problem/12945869>
304
305         Reviewed by Enrica Casucci.
306
307         When measuring text, we currently include any word spacing in
308         the result (it's removed later). When kerning is active, we
309         were adding the word spacing to every wordMeasurement instance
310         whether or not it is a separate word. For example, a nested
311         <span> element would get a wordMeasurement, even though it
312         should not always get word spacing.
313
314         Test: fast/text/word-space-with-kerning-3.html
315
316         * rendering/RenderBlockLineLayout.cpp:
317         (WebCore::setLogicalWidthForTextRun): Test if the current character
318         referenced by the wordMeasurement is a space character, and add word
319         spacing only then.
320
321 2013-03-18  Tony Chang  <tony@chromium.org>
322
323         [chromium] Default background color of listboxes should be white
324         https://bugs.webkit.org/show_bug.cgi?id=112480
325
326         Reviewed by Ojan Vafai.
327
328         I think it was an accident that list boxes got the grey background color as a
329         side effect of trying to get the button styling. In the default GTK+ theme on
330         Ubuntu, list boxes get a white background. Win and OS X also use white as the
331         default color.
332
333         No new tests, covered by existing pixel tests.
334
335         * css/themeChromiumLinux.css:
336         Narrow the CSS rule that overrides the background color specified in html.css.
337         We only want to use the button color when a select is using button styling.
338
339 2013-03-18  Sheriff Bot  <webkit.review.bot@gmail.com>
340
341         Unreviewed, rolling out r146079.
342         http://trac.webkit.org/changeset/146079
343         https://bugs.webkit.org/show_bug.cgi?id=112594
344
345         many timeline tests failed. (Requested by loislo on #webkit).
346
347         * inspector/front-end/TimelineOverviewPane.js:
348         (WebInspector.TimelineOverviewPane):
349         (WebInspector.TimelineOverviewPane.prototype.setMode):
350         (WebInspector.TimelineOverviewPane.prototype._setFrameMode):
351         (WebInspector.TimelineOverviewPane.prototype._update):
352         (WebInspector.TimelineOverviewPane.prototype.sidebarResized):
353         (WebInspector.TimelineOverviewPane.prototype.zoomToFrame):
354         (WebInspector.TimelineOverviewPane.prototype._reset):
355         (WebInspector.TimelineOverviewPane.prototype.windowLeft):
356         (WebInspector.TimelineOverviewPane.prototype.windowRight):
357         (WebInspector.TimelineOverviewPane.prototype._updateWindow):
358
359 2013-03-18  Peter Beverloo  <peter@chromium.org>
360
361         [Chromium] The <select> element on Android should also switch to new-flexbox
362         https://bugs.webkit.org/show_bug.cgi?id=112559
363
364         Reviewed by Ojan Vafai.
365
366         Following r145959, also update themeChromiumAndroid.css to use the new
367         flexible box CSS properties. Covered by existing tests.
368
369         * css/themeChromiumAndroid.css:
370         (select[size][multiple]):
371
372 2013-03-18  Renata Hodovan  <reni@webkit.org>
373
374         Assertion faulire in SVGAnimatedPath.
375         https://bugs.webkit.org/show_bug.cgi?id=106428
376
377         Reviewed by Allan Sandfeld Jensen.
378
379         The asserts are too restricted. The size must be greater or equal to 1.
380
381         Test: svg/animations/animated-path-via-use-debug-crash.svg
382
383         * svg/SVGAnimatedPath.cpp:
384         (WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
385         (WebCore::SVGAnimatedPathAnimator::resetAnimValToBaseVal):
386
387 2013-03-18  Simon Fraser  <simon.fraser@apple.com>
388
389         [Mac] Some tests intermittently asserts in SharedBuffer::releasePurgeableBuffer()
390         https://bugs.webkit.org/show_bug.cgi?id=105986
391
392         Reviewed by Brady Eidson.
393         
394         A ResourceBuffer's SharedBuffer can be vended out to other clients,
395         for example Images, so there's no guarantee that when the
396         ResourceBuffer only has one ref its SharedBuffer will also have just one.
397         When this assumption was broken, SharedBuffer::releasePurgeableBuffer()
398         would assert.
399         
400         Ideally SharedBuffer would be entirely encapsulated by ResourceBuffer to
401         avoid this problem, but ResourceBuffer can't be used by code in platform/.
402         
403         Fix by having ResourceBuffer::createPurgeableBuffer() refuse to make
404         a purgeable buffer if the sharedBuffer has more than one ref.
405
406         Tested by existing tests.
407
408         * loader/ResourceBuffer.cpp:
409         (WebCore::ResourceBuffer::createPurgeableBuffer):
410
411 2013-03-18  Ilya Tikhonovsky  <loislo@chromium.org>
412
413         Web Inspector: move _timelineGrid && _timelineOverviewWindow from TimelineOverviewPane into a new class OverviewGrid.
414         https://bugs.webkit.org/show_bug.cgi?id=112584
415
416         Reviewed by Pavel Feldman.
417
418         It is the first path in the set.
419         The end goal is to extract OverviewGrid with window selectors
420         into a separate class in separate file and reuse it in CPU FlameChart.
421
422         * inspector/front-end/TimelineOverviewPane.js:
423         (WebInspector.TimelineOverviewPane):
424         (WebInspector.OverviewGrid):
425         (WebInspector.OverviewGrid.prototype.get grid):
426         (WebInspector.OverviewGrid.prototype.get clientWidth):
427         (WebInspector.OverviewGrid.prototype.showItemsGraphsElement):
428         (WebInspector.OverviewGrid.prototype.hideItemsGraphsElement):
429         (WebInspector.OverviewGrid.prototype.updateDividers):
430         (WebInspector.OverviewGrid.prototype.addEventDividers):
431         (WebInspector.OverviewGrid.prototype.removeEventDividers):
432         (WebInspector.OverviewGrid.prototype.setWindowPosition):
433         (WebInspector.OverviewGrid.prototype.reset):
434         (WebInspector.OverviewGrid.prototype.get windowLeft):
435         (WebInspector.OverviewGrid.prototype.get windowRight):
436         (WebInspector.OverviewGrid.prototype.setWindow):
437         (WebInspector.OverviewGrid.prototype.addEventListener):
438         (WebInspector.TimelineOverviewPane.prototype.setMode):
439         (WebInspector.TimelineOverviewPane.prototype._setFrameMode):
440         (WebInspector.TimelineOverviewPane.prototype._update):
441         (WebInspector.TimelineOverviewPane.prototype.sidebarResized):
442         (WebInspector.TimelineOverviewPane.prototype.zoomToFrame):
443         (WebInspector.TimelineOverviewPane.prototype._reset):
444         (WebInspector.TimelineOverviewPane.prototype.windowLeft):
445         (WebInspector.TimelineOverviewPane.prototype.windowRight):
446         (WebInspector.TimelineOverviewPane.prototype._updateWindow):
447
448 2013-03-18  Adam Barth  <abarth@webkit.org>
449
450         [V8] Crash when accessing onclick attribute of document from XMLHttpRequest
451         https://bugs.webkit.org/show_bug.cgi?id=112585
452
453         Reviewed by Eric Seidel.
454
455         This ASSERT was bogus. The frame can be 0 for frameless documents, like
456         those created by XMLHttpRequest. When there is no frame, we act as if
457         JavaScript was disabled, which it is.
458
459         Test: fast/events/xhr-onclick-crash.html
460
461         * bindings/v8/V8LazyEventListener.cpp:
462         (WebCore::V8LazyEventListener::prepareListenerObject):
463
464 2013-03-18  Hans Muller  <hmuller@adobe.com>
465
466         [CSS Exclusions] Specifying polygonal -webkit-shape-inside value can crash browser (debug mode)
467         https://bugs.webkit.org/show_bug.cgi?id=112157
468
469         Reviewed by David Hyatt.
470
471         Corrected the code which maps exclusion segments to pairs of InlineIterators. We now handle the
472         cases where the end of the line occurs within an exclusion segment or when it occurs before
473         the last exclusion segment has been reached. This can occur when a non-convex polygonal shape-inside
474         breaks a line up into two segments, but the shape-inside element's content only fills (or partially
475         fills) the first exclusion shape segment.
476
477         Tests: fast/exclusions/shape-inside/shape-inside-partial-fill-001.html
478                fast/exclusions/shape-inside/shape-inside-partial-fill-002.html
479
480         * rendering/RenderBlockLineLayout.cpp:
481         (WebCore::RenderBlock::LineBreaker::nextLineBreak):
482
483 2013-03-18  Emil A Eklund  <eae@chromium.org>
484
485         Change RenderTableCell to use pixelSnappedSize when painting
486         https://bugs.webkit.org/show_bug.cgi?id=112562
487
488         Reviewed by Eric Seidel.
489
490         Change the paining code in RenderTableCell to use the pixel snapped size
491         to ensure consistent rounding given that the location was rounded during
492         layout.
493
494         It is currently constructing a paint rect by taking the rounded location
495         and the precise size and then pixel snapping it. This causes the size to
496         be rounded incorrectly. By instead using the pixel snapped size the
497         rounding problem can be avoided.
498
499         Test: fast/sub-pixel/table-cell-background.html
500
501         * rendering/RenderTableCell.cpp:
502         (WebCore::RenderTableCell::paintCollapsedBorders):
503         (WebCore::RenderTableCell::paintBackgroundsBehindCell):
504         (WebCore::RenderTableCell::paintBoxDecorations):
505         (WebCore::RenderTableCell::paintMask):
506
507 2013-03-18  Tao Bai  <michaelbai@chromium.org>
508
509         Need to use const String in HTMLVideoElement::posterImageURL
510         https://bugs.webkit.org/show_bug.cgi?id=112317
511
512         Reviewed by Andreas Kling.
513
514         No behavioral changes.
515
516         This is the followup of https://bugs.webkit.org/show_bug.cgi?id=110263
517         Need to use String instead of const AtomicString& which means we will do an extra hash lookup
518
519         * html/HTMLVideoElement.cpp:
520         (WebCore::HTMLVideoElement::posterImageURL): Change to use String for url
521
522 2013-03-18  Eugene Klyuchnikov  <eustas@chromium.org>
523
524         Web Inspector: [Settings] Register "?" shortcut.
525         https://bugs.webkit.org/show_bug.cgi?id=112545
526
527         Reviewed by Vsevolod Vlasov.
528
529         F1 and "?" (show shortcuts page) are not mentioned on shortcuts page.
530
531         * English.lproj/localizedStrings.js: Added string.
532         * inspector/front-end/inspector.js: Registered F1 / "?" shortcut.
533
534 2013-03-18  Carlos Garcia Campos  <cgarcia@igalia.com>
535
536         Add USE(PLATFORM_STRATEGIES) ifdefs to StorageNamespace.cpp
537         https://bugs.webkit.org/show_bug.cgi?id=112004
538
539         Reviewed by Rob Buis.
540
541         Check if platform strategies is enabled before using it, falling
542         back to StorageNamespaceImpl if it isn't.
543
544         * storage/StorageNamespace.cpp:
545         (WebCore::StorageNamespace::localStorageNamespace):
546         (WebCore::StorageNamespace::sessionStorageNamespace):
547
548 2013-03-18  Vsevolod Vlasov  <vsevik@chromium.org>
549
550         Web Inspector: TabbedEditorContainer does not restore last shown file on reload sometimes.
551         https://bugs.webkit.org/show_bug.cgi?id=112561
552
553         Reviewed by Alexander Pavlov.
554
555         * inspector/front-end/TabbedEditorContainer.js:
556         (WebInspector.TabbedEditorContainer.prototype.addUISourceCode):
557
558 2013-03-18  Arvid Nilsson  <anilsson@rim.com>
559
560         [BlackBerry] Detach overlays from page when compositor is detached
561         https://bugs.webkit.org/show_bug.cgi?id=112424
562
563         Reviewed by Rob Buis.
564
565         PR 309160
566
567         Expose a method to retrieve a compositing thread layer's client.
568
569         No change in behavior, no new tests.
570
571         * platform/graphics/blackberry/LayerCompositingThread.h:
572         (WebCore::LayerCompositingThread::client):
573
574 2013-03-18  Eugene Klyuchnikov  <eustas@chromium.org>
575
576         Web Inspector: [Resources] Local Storage: duplicate keys are processed inappropriately.
577         https://bugs.webkit.org/show_bug.cgi?id=112402
578
579         Reviewed by Alexander Pavlov.
580
581         When user creates new items or renames existing one some existing item
582         may be overriden. If value is changed, then frontend will receive
583         notification and update record appropriately.
584
585         If item value hasn't been changed, then no notification comes.
586         But UI still expect / rely on this notification.
587
588         With this patch the "no notification" scenario is fixed:
589         duplicate items are removed.
590
591         Another scenario is when update notification comes when we started
592         editing value (after entering / renaming key). In this case
593         selected node should not be changed to leave user in editing mode.
594
595         * inspector/front-end/DOMStorageItemsView.js:
596         Added workarounds for "no notification" and "useless notification".
597
598 2013-03-18  Allan Sandfeld Jensen  <allan.jensen@digia.com>
599
600         Clean up RenderFrameSet::nodeAtPoint
601         https://bugs.webkit.org/show_bug.cgi?id=112450
602
603         Reviewed by Eric Seidel.
604
605         Remove handling of resizing framesets from RenderFrameSet::nodeAtPoint.
606         The code has been incorrect since a mistake in r18333 (December 2006),
607         but has been dead code since r17770 (November 2006) where the then new
608         EventHandler started taking care of routing events to resizing FrameSets.
609
610         Since this was the only special feature of RenderFrameSet::nodeAtPoint,
611         the method has been removed.
612
613         * rendering/RenderFrameSet.cpp:
614         * rendering/RenderFrameSet.h:
615         (RenderFrameSet):
616
617 2013-03-18  Kunihiko Sakamoto  <ksakamoto@chromium.org>
618
619         The 'formnovalidate' attribute doesn't work correctly on button elements with child elements
620         https://bugs.webkit.org/show_bug.cgi?id=112541
621
622         Reviewed by Kent Tamura.
623
624         Fix a bug where formnovalidate attribute of <button> is not honored
625         if the target of the click event is an element nested within the button.
626
627         Test: fast/forms/interactive-validation-formnovalidate-child.html
628
629         * html/HTMLFormElement.cpp:
630         (WebCore::submitElementFromEvent): Looks for the nearest FormControlElement ancestor of the event target.
631
632 2013-03-18  Keishi Hattori  <keishi@webkit.org>
633
634         Add touch support to the calendar picker
635         https://bugs.webkit.org/show_bug.cgi?id=112256
636
637         Reviewed by Kent Tamura.
638
639         This patch increases the hit target sizes for touch and adds touch event
640         support to the scroll view, scroll bar and navigation button.
641
642         Tests: platform/chromium/fast/forms/calendar-picker/calendar-picker-touch-operations.html
643                platform/chromium/fast/forms/calendar-picker/month-picker-touch-operations.html
644                platform/chromium/fast/forms/calendar-picker/week-picker-touch-operations.html
645
646         * Resources/pagepopups/calendarPicker.js:
647         (hasInaccuratePointingDevice):
648         (Animator): Super class for TransitionAnimator and FlingGestureAnimator.
649         (Animator.prototype.start):
650         (Animator.prototype.stop):
651         (Animator.prototype.onAnimationFrame):
652         (TransitionAnimator): Same as the old Animator. Transition from one value to another.
653         (TransitionAnimator.prototype.setFrom):
654         (TransitionAnimator.prototype.start):
655         (TransitionAnimator.prototype.stop):
656         (TransitionAnimator.prototype.setTo):
657         (TransitionAnimator.prototype.onAnimationFrame):
658         (FlingGestureAnimator):Animates the fling scroll. 
659         (FlingGestureAnimator.prototype._valueAtTime): Returns the value at the given time.
660         (FlingGestureAnimator.prototype._velocityAtTime): Returns the value change velocity at the given time.
661         (FlingGestureAnimator.prototype._timeAtVelocity): Returns the time when the value is changing at the given velocity.
662         (FlingGestureAnimator.prototype.start):
663         (FlingGestureAnimator.prototype.onAnimationFrame):
664         (ScrollView): Added support for touch gesture scrolling.
665         (ScrollView.prototype.onTouchStart):
666         (ScrollView.prototype.onWindowTouchMove):
667         (ScrollView.prototype.onWindowTouchEnd):
668         (ScrollView.prototype.onFlingGestureAnimatorStep):
669         (ScrollView.prototype.scrollTo):
670         (ScrubbyScrollBar): Added support for touch.
671         (ScrubbyScrollBar.prototype.onTouchStart):
672         (ScrubbyScrollBar.prototype.onWindowTouchMove):
673         (ScrubbyScrollBar.prototype.onWindowTouchEnd):
674         (ScrubbyScrollBar.prototype._setThumbPositionFromEventPosition): Accept MouseEvent or Touch.
675         (ScrubbyScrollBar.prototype.onMouseDown):
676         (ScrubbyScrollBar.prototype.onWindowMouseMove):
677         (ScrubbyScrollBar.prototype.onWindowMouseUp):
678         (YearListCell):
679         (YearListView):
680         (YearListView.prototype.onTouchStart):
681         (YearListView.prototype._animateRow):
682         (CalendarNavigationButton): Add touch support for long press.
683         (CalendarNavigationButton.prototype.onTouchStart):
684         (CalendarNavigationButton.prototype.onWindowTouchEnd):
685         (CalendarNavigationButton.prototype.onMouseDown):
686         (CalendarNavigationButton.prototype.onWindowMouseUp):
687         (CalendarTableView): Disable touch gesture scrolling in the calendar table.
688
689 2013-03-18  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
690
691         [EFL] Cancel mark on search field is not displayed
692         https://bugs.webkit.org/show_bug.cgi?id=94880
693
694         Reviewed by Kenneth Rohde Christiansen.
695
696         adjustSearchFieldCancelButtonStyle() doesn't set style width and height for search cancel button.
697         So, the button isn't showing up in search input field. Besides the button size should be scaled based
698         on the font size as chromium, qt, and blackberry ports.
699
700         Tests: fast/forms/search-cancel-button-style-sharing.html
701                fast/forms/search-rtl.html
702
703         * platform/efl/RenderThemeEfl.cpp:
704         (WebCore):
705         (WebCore::RenderThemeEfl::adjustSearchFieldCancelButtonStyle):
706
707 2013-03-15  Yury Semikhatsky  <yurys@chromium.org>
708
709         Web Inspector: Native Memory Timeline affects the performace even if was switched off.
710         https://bugs.webkit.org/show_bug.cgi?id=112428
711
712         Reviewed by Pavel Feldman.
713
714         Whether to include DOM counters and native memory statistics is now
715         configured using Timeline.start parameters instead of sending separate
716         commands Timeline.setIncludeDomCounters and Timeline.setIncludeNativeMemoryStatistics.
717
718         * inspector/Inspector.json:
719         * inspector/InspectorTimelineAgent.cpp:
720         (WebCore::InspectorTimelineAgent::restore):
721         (WebCore::InspectorTimelineAgent::start):
722         * inspector/InspectorTimelineAgent.h:
723         (InspectorTimelineAgent):
724         * inspector/front-end/DOMCountersGraph.js:
725         (WebInspector.DOMCountersGraph):
726         * inspector/front-end/NativeMemoryGraph.js:
727         (WebInspector.NativeMemoryGraph):
728         * inspector/front-end/TimelineManager.js:
729         (WebInspector.TimelineManager.prototype.start):
730         * inspector/front-end/TimelineModel.js:
731         (WebInspector.TimelineModel.prototype.startRecord):
732         * inspector/front-end/TimelinePanel.js:
733         (WebInspector.TimelinePanel.prototype.get _toggleTimelineButtonClicked):
734
735 2013-03-18  Yury Semikhatsky  <yurys@chromium.org>
736
737         Web Inspector: Exception in timeline DOMCounters
738         https://bugs.webkit.org/show_bug.cgi?id=112427
739
740         Reviewed by Pavel Feldman.
741
742         Do not update marker on DOM counters graph if the graphs haven't been
743         drawn yet.
744
745         * inspector/front-end/MemoryStatistics.js:
746         (WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
747
748 2013-03-18  Li Yin  <li.yin@intel.com>
749
750         Mediastream.ended should return true when all tracks were removed.
751         https://bugs.webkit.org/show_bug.cgi?id=112528
752
753         Reviewed by Kentaro Hara.
754
755         Spec: http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-MediaStream-ended
756         When all tracks have been removed, it should return true as well as all the tracks
757         were ended.
758
759         Test: fast/mediastream/MediaStream-add-remove-tracks.html
760
761         * Modules/mediastream/MediaStream.cpp:
762         (WebCore::MediaStream::removeTrack):
763
764 2013-02-22  Andrey Kosyakov  <caseq@chromium.org>
765
766         Web Inspector: make number of stack frames to capture in Timeline a setting
767         https://bugs.webkit.org/show_bug.cgi?id=110619
768
769         Reviewed by Pavel Feldman.
770
771         - factor out creation of input type="text" control for better reuse;
772         - add timelineLimitStackFramesFlag & timelineStackFramesToCapture settings;
773
774         * English.lproj/localizedStrings.js: add "Frames to capture" and "Limit number of captured JS stack frames"
775         * inspector/front-end/Settings.js: add 2 settings;
776         (WebInspector.Settings):
777         * inspector/front-end/SettingsScreen.js: UI for the setting;
778         (WebInspector.GenericSettingsTab):
779         (WebInspector.GenericSettingsTab.prototype.get _createCSSAutoReloadControls.validateReloadTimeout):
780         * inspector/front-end/TimelineModel.js: pass the setting value to back-end.
781
782 2013-03-18  Sheriff Bot  <webkit.review.bot@gmail.com>
783
784         Unreviewed, rolling out r146035.
785         http://trac.webkit.org/changeset/146035
786         https://bugs.webkit.org/show_bug.cgi?id=112540
787
788         fails to build on Windows: singned/unsigned mismatch at ln. 53
789         of html\HTMLSelectElementWin.cpp (Requested by antonm on
790         #webkit).
791
792         * WebCore.gypi:
793         * html/HTMLSelectElement.cpp:
794         (WebCore):
795         * html/HTMLSelectElementWin.cpp:
796
797 2013-03-18  Kentaro Hara  <haraken@chromium.org>
798
799         Unreviewed, rolling out r146033.
800         http://trac.webkit.org/changeset/146033
801         https://bugs.webkit.org/show_bug.cgi?id=112521
802
803         web audio tests are broken
804
805         * Modules/webaudio/AudioNode.cpp:
806         (WebCore::AudioNode::AudioNode):
807         * Modules/webaudio/AudioNode.h:
808         * Modules/webaudio/AudioScheduledSourceNode.h:
809         * Modules/webaudio/ScriptProcessorNode.idl:
810
811 2013-03-18  Dominic Cooney  <dominicc@chromium.org>
812
813         A placeholder renderer should not be taken to imply the existence of a text renderer in single line text controls
814         https://bugs.webkit.org/show_bug.cgi?id=112410
815
816         Reviewed by Tony Chang.
817
818         The assumption that if a text control had a placeholder renderer
819         then it also had a text renderer is not valid. If
820         ::-webkit-textfield-decoration-controller is set to display: none;
821         a single line text control's decoration container renderer and
822         hence text renderer are not created. This change handles this
823         corner case where a text control has a placeholder renderer but
824         not a text renderer.
825
826         Tests: fast/forms/search/search-hide-decoration-container-crash.html (Updated)
827
828         * html/HTMLTextFormControlElement.cpp:
829         (WebCore::HTMLTextFormControlElement::fixPlaceholderRenderer):
830         * rendering/RenderTextControlSingleLine.cpp:
831         (WebCore::RenderTextControlSingleLine::layout):
832
833 2013-03-18  Dominic Cooney  <dominicc@chromium.org>
834
835         [Shadow] offsetParent should never return nodes in user agent Shadow DOM to script
836         https://bugs.webkit.org/show_bug.cgi?id=112530
837
838         Reviewed by Elliott Sprehn.
839
840         Test: fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
841
842         * dom/Element.cpp:
843         (WebCore::Element::bindingsOffsetParent): Filter nodes in UA shadows.
844         * dom/Element.h:
845         (Element): Add bindingsOffsetParent.
846         * dom/Element.idl: bindingsOffsetParent is the implementation of offsetParent.
847
848 2013-03-17  Dominic Mazzoni  <dmazzoni@google.com>
849
850         Support Windows HTMLSelectElement keystrokes on Chromium win
851         https://bugs.webkit.org/show_bug.cgi?id=112460
852
853         Reviewed by Kent Tamura.
854
855         Compile in the windows-specific variant of
856         HTMLSelectElement::platformHandleKeydownEvent
857         on Chromium win, in addition to PLATFORM(WIN).
858
859         * WebCore.gypi:
860             Add html/HTMLSelectElementWin.cpp.
861         * html/HTMLSelectElement.cpp:
862             Don't compile generic platformHandleKeydownEvent on
863             Chromium win.
864         * html/HTMLSelectElementWin.cpp:
865             Only compile platformHandleKeydownEvent on Windows.
866         (WebCore):
867
868 2013-03-17  Russell McClellan  <russell.mcclellan@gmail.com>
869
870         ScriptProcessorNode is garbage collected while still active if unreachable
871         https://bugs.webkit.org/show_bug.cgi?id=112521
872
873         Reviewed by Kentaro Hara.
874
875         Fix for issue where ScriptProcessorNodes (and AudioNode js wrappers generally)
876         would be garbage collected before their time.  Made AudioNode an ActiveDOMElement
877         marked pending if there are any open audio connections.
878
879         Test: webaudio/javascriptaudionode.html
880
881         * Modules/webaudio/AudioNode.cpp:
882         (WebCore::AudioNode::AudioNode): 
883         (WebCore::AudioNode::hasPendingActivity): it's pending (and thus not GCed)
884         if it has open audio connections.
885         * Modules/webaudio/AudioNode.h: AudioNode is now an ActiveDOMElement
886         * Modules/webaudio/AudioScheduledSourceNode.h: added a using declaration
887         to avoid function name hiding.
888         * Modules/webaudio/ScriptProcessorNode.idl: AudioNode is an ActiveDOMElement
889
890 2013-03-17  Kunihiko Sakamoto  <ksakamoto@chromium.org>
891
892         INPUT_MULTIPLE_FIELDS_UI: Step-up/-down of minute/second/millisecond fields should respect min/max attributes
893         https://bugs.webkit.org/show_bug.cgi?id=112527
894
895         Reviewed by Kent Tamura.
896
897         Make step-up/-down of the minute, second, and millisecond field
898         respect the min/max attributes of the element.
899         Note that it still accepts any keyboard inputs (the element
900         becomes 'invalid' state when out-of-range values entered).
901         Also, disable these fields when there is only single possible value.
902
903         Tests: fast/forms/time-multiple-fields/time-multiple-fields-readonly-subfield.html
904                fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer.html
905
906         * html/shadow/DateTimeEditElement.cpp:
907         (DateTimeEditBuilder): Add fields for min/max of minute/second/millisecond.
908         (WebCore::DateTimeEditBuilder::DateTimeEditBuilder): Set min/max for the fields.
909         (WebCore::DateTimeEditBuilder::visitField): Pass min/max parameters to the field constructors.
910         (WebCore::DateTimeEditBuilder::shouldHourFieldDisabled): Does not disable if minute, second, millisecond fields are all disabled, because we need at least one editable field.
911         (WebCore::DateTimeEditBuilder::shouldMillisecondFieldDisabled): Disables if min, max, and value are equal.
912         (WebCore::DateTimeEditBuilder::shouldMinuteFieldDisabled): Ditto.
913         (WebCore::DateTimeEditBuilder::shouldSecondFieldDisabled): Ditto.
914         * html/shadow/DateTimeFieldElements.cpp:
915         (WebCore::DateTimeDayFieldElement::DateTimeDayFieldElement):
916         (WebCore::DateTimeHourFieldElementBase::DateTimeHourFieldElementBase):
917         (WebCore::DateTimeHour11FieldElement::DateTimeHour11FieldElement):
918         (WebCore::DateTimeHour12FieldElement::DateTimeHour12FieldElement):
919         (WebCore::DateTimeHour23FieldElement::DateTimeHour23FieldElement):
920         (WebCore::DateTimeHour24FieldElement::DateTimeHour24FieldElement):
921         (WebCore::DateTimeMillisecondFieldElement::DateTimeMillisecondFieldElement):
922         (WebCore::DateTimeMillisecondFieldElement::create):
923         (WebCore::DateTimeMinuteFieldElement::DateTimeMinuteFieldElement):
924         (WebCore::DateTimeMinuteFieldElement::create):
925         (WebCore::DateTimeMonthFieldElement::DateTimeMonthFieldElement):
926         (WebCore::DateTimeSecondFieldElement::DateTimeSecondFieldElement):
927         (WebCore::DateTimeSecondFieldElement::create):
928         (WebCore::DateTimeWeekFieldElement::DateTimeWeekFieldElement):
929         (WebCore::DateTimeYearFieldElement::DateTimeYearFieldElement):
930         * html/shadow/DateTimeFieldElements.h:
931         (DateTimeDayFieldElement):
932         (DateTimeHourFieldElementBase):
933         (DateTimeHour11FieldElement):
934         (DateTimeHour12FieldElement):
935         (DateTimeHour23FieldElement):
936         (DateTimeHour24FieldElement):
937         (DateTimeMillisecondFieldElement): Add minimum/maximum parameters.
938         (DateTimeMinuteFieldElement): Add minimum/maximum parameters.
939         (DateTimeMonthFieldElement):
940         (DateTimeSecondFieldElement): Add minimum/maximum parameters.
941         (DateTimeWeekFieldElement):
942         (DateTimeYearFieldElement):
943         * html/shadow/DateTimeNumericFieldElement.cpp:
944         (WebCore::DateTimeNumericFieldElement::DateTimeNumericFieldElement):
945         (WebCore::DateTimeNumericFieldElement::formatValue): Use hard-limit value instead of m_range.maximum, because millisecond field with max<100 will be displayed in two digits otherwise.
946         (WebCore::DateTimeNumericFieldElement::setValueAsInteger):
947         * html/shadow/DateTimeNumericFieldElement.h:
948         (DateTimeNumericFieldElement): Changed to have hard limits as a data member.
949
950 2013-03-17  Alexey Proskuryakov  <ap@apple.com>
951
952         Encapsulate PlatformMessagePortChannel a little better yet
953         https://bugs.webkit.org/show_bug.cgi?id=112479
954
955         Reviewed by Sam Weinig.
956
957         * dom/MessagePortChannel.h: We no longer expose PlatformMessagePortChannel in
958         public functions in cross-platform code.
959
960         * dom/default/PlatformMessagePortChannel.cpp:
961         (WebCore::MessagePortChannel::createChannel): Tweaked the factory method to avoid
962         using the old create() function.
963         (WebCore::MessagePortChannel::~MessagePortChannel): Removed an unhelpful comment.
964
965 2013-03-17  Kent Tamura  <tkent@chromium.org>
966
967         INPUT_MULTIPLE_FIELDS_UI: Don't update shadow tree by updating any attribute
968         https://bugs.webkit.org/show_bug.cgi?id=111990
969
970         Reviewed by Hajime Morrita.
971
972         Bug detail:
973         Typing '1' then '1' into an hour field doesn't set the field to
974         '11' if an attribute is updated during these two keyboard inputs
975         because we always re-construct a shadow DOM tree by updating any
976         attributes and a shadow node records keyboard input state.
977
978         How to fix:
979         We should not re-construct a shadow DOM tree by updating
980         unaffected attributes. For example, we should re-construct it by
981         updating 'min' attribute, but we should not by updating 'class'
982         attribute.
983         We have InputType::updateInnerTextValue call in parseAttribute for
984         text field input types. The multiple fields input types
985         re-construct shadow DOM tree in updateInnerTextValue. The
986         updateInnerTextValue call is unnecessary for the multiple fields
987         input types, and we should call it when it is necessary. So, we
988         add InputType::attributeChange and text field input types call
989         updateInnerTextValue in it, and other input types don't.
990         Also, multiple fields input types need to call
991         updateInnerTextValue by 'value' attribute change. We add
992         InputType::valueAttributeChanged.
993
994         Tests: Update
995         fast/forms/time-multiple-fields/time-multiple-fields-keyboard-events.html. The
996         value attribute change behavior is covered by
997         time-multiple-fields-change-layout-by-value.html and
998         time-multiple-fields-spinbutton-change-and-input-events.html.
999
1000         * html/HTMLInputElement.cpp:
1001         (WebCore::HTMLInputElement::parseAttribute):
1002         - Add a valueAttributeChanged call.
1003         - Calls InputType::attributeChanged
1004         * html/InputType.cpp:
1005         (WebCore::InputType::attributeChanged): Added an empty implementation.
1006         (WebCore::InputType::valueAttributeChanged): Ditto.
1007         * html/InputType.h:
1008         (InputType): Declare attributeChanged and valueAttributeChanged.
1009         * html/TextFieldInputType.cpp:
1010         (WebCore::TextFieldInputType::attributeChanged):
1011         Added. Always call updateInnerTextValue.
1012         * html/TextFieldInputType.h:
1013         (TextFieldInputType): Declare attributeChanged.
1014         * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
1015         (WebCore::BaseMultipleFieldsDateAndTimeInputType::valueAttributeChanged):
1016         Added. Re-construct shadow DOM tree if the input has no dirty value.
1017         * html/BaseMultipleFieldsDateAndTimeInputType.h:
1018         (BaseMultipleFieldsDateAndTimeInputType): Declare valueAttributeChanged.
1019
1020 2013-03-17  Rafael Weinstein  <rafaelw@chromium.org>
1021
1022         [HTMLTemplateElement] prevent </template> from matching "template" in a non-HTML tags on the stack of open elements
1023         https://bugs.webkit.org/show_bug.cgi?id=112487
1024
1025         Reviewed by Adam Barth.
1026
1027         When processing an end template tag, the parser now pops until a "template" tag is parsed, but now ensures that
1028         the "template" it pops is in the HTML namespace.
1029
1030         Tests added to the html5lib test suite.
1031
1032         * html/parser/HTMLElementStack.cpp:
1033         (WebCore::HTMLElementStack::popUntil):
1034         (WebCore):
1035         (WebCore::HTMLElementStack::popUntilPopped):
1036         * html/parser/HTMLElementStack.h:
1037         (HTMLElementStack):
1038         * html/parser/HTMLTreeBuilder.cpp:
1039         (WebCore::HTMLTreeBuilder::processTemplateEndTag):
1040
1041 2013-03-17  Adam Barth  <abarth@webkit.org>
1042
1043         Legacy CSS vendor prefixes should only work for Dashboard
1044         https://bugs.webkit.org/show_bug.cgi?id=111890
1045
1046         Reviewed by Eric Seidel.
1047
1048         Our experience with the Chromium port is that these legacy CSS vendor
1049         prefixes (-apple- and -khtml-) are not needed for web compatibility.
1050         There is reason to believe, however, that they are needed for
1051         compatibility with Mac OS X Dashboard widgets.
1052
1053         This patch makes the code for these legacy CSS vendor prefixes
1054         enabled at runtime and only enables them when running in Dashboard
1055         compatibility mode. This is the first step towards the plan outlined in
1056         https://lists.webkit.org/pipermail/webkit-dev/2013-March/024085.html.
1057
1058         This patch also removes support for ENABLE(LEGACY_CSS_VENDOR_PREFIXES)
1059         from the V8 bindings because V8 is never used with Dashboard.
1060
1061         * bindings/generic/RuntimeEnabledFeatures.cpp:
1062         (WebCore):
1063         * bindings/generic/RuntimeEnabledFeatures.h:
1064         (RuntimeEnabledFeatures):
1065         (WebCore::RuntimeEnabledFeatures::setLegacyCSSVendorPrefixesEnabled):
1066         (WebCore::RuntimeEnabledFeatures::legacyCSSVendorPrefixesEnabled):
1067         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
1068         (WebCore::getCSSPropertyNamePrefix):
1069         (WebCore::cssPropertyIDForJSCSSPropertyName):
1070         * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
1071         (WebCore::cssPropertyInfo):
1072         * css/CSSParser.cpp:
1073         (WebCore::CSSParser::rewriteSpecifiers):
1074
1075 2013-03-17  David Kilzer  <ddkilzer@apple.com>
1076
1077         BUILD FIX (r145592): AutodrainedPool.h moved to WTF
1078         <http://webkit.org/b/112171>
1079
1080         Fixes the following build failure:
1081
1082             Source/WebCore/platform/audio/mac/AudioBusMac.mm:32:9: fatal error: 'AutodrainedPool.h' file not found
1083             #import "AutodrainedPool.h"
1084                     ^
1085             1 error generated.
1086
1087         * platform/audio/mac/AudioBusMac.mm: Fix include.
1088
1089 2013-03-17  Gustavo Noronha Silva  <gns@gnome.org>
1090
1091         [GTK] Fix and improve dist hooks for translations
1092         https://bugs.webkit.org/show_bug.cgi?id=112519
1093
1094         Reviewed by Carlos Garcia Campos.
1095
1096         * GNUmakefile.am: move translation-related rules and lists to the po directory's
1097         GNUmakefile.am.
1098
1099 2013-03-17  Emil A Eklund  <eae@chromium.org>
1100
1101         Move font-family applying code to StyleBuilder
1102         https://bugs.webkit.org/show_bug.cgi?id=112441
1103
1104         Reviewed by Allan Sandfeld Jensen.
1105
1106         Many of the font related properties were moved to StyleBuilder in r87362
1107         two years ago. Move font-family as well so that all font properties are
1108         handled the same way.
1109
1110         No new tests, no change in functionality.
1111
1112         * css/StyleBuilder.cpp:
1113         (ApplyPropertyFontFamily):
1114         (WebCore::ApplyPropertyFontFamily::applyInheritValue):
1115         (WebCore::ApplyPropertyFontFamily::applyInitialValue):
1116         (WebCore::ApplyPropertyFontFamily::applyValue):
1117         (WebCore::ApplyPropertyFontFamily::createHandler):
1118         (WebCore::StyleBuilder::StyleBuilder):
1119         Add ApplyPropertyFontFamily for CSSPropertyFontFamily.
1120
1121         * css/StyleResolver.cpp:
1122         (WebCore::StyleResolver::applyProperty):
1123         Remove CSSPropertyFontFamily from the giant switch statement.
1124
1125 2013-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
1126
1127         [ENCHANT] Invalid charset encoding used for spelling guess context menu items
1128         https://bugs.webkit.org/show_bug.cgi?id=112516
1129
1130         Reviewed by Gustavo Noronha Silva.
1131
1132         Convert spelling guesses returned by enchant to UTF-16 before
1133         passing them to WebCore.
1134
1135         * platform/text/enchant/TextCheckerEnchant.cpp:
1136         (WebCore::TextCheckerEnchant::getGuessesForWord): Use
1137         String::fromUTF8().
1138
1139 2013-03-17  Jinwoo Song  <jinwoo7.song@samsung.com>
1140
1141         [EFL] Provide default cursor groups as cursor.edc
1142         https://bugs.webkit.org/show_bug.cgi?id=112403
1143
1144         Reviewed by Gyuyoung Kim.
1145
1146         This patch provides a cursor.edc to use the CSS cursor images files in the
1147         WebCore/Resources directory. cursor.edc is included in the default.edc
1148         so that views can use it by default.
1149
1150         * platform/efl/DefaultTheme/CMakeLists.txt:
1151         * platform/efl/DefaultTheme/default.edc:
1152         * platform/efl/DefaultTheme/widget/cursor/cursor.edc: Added.
1153
1154 2013-03-16  Pratik Solanki  <psolanki@apple.com>
1155
1156         Disable High DPI Canvas on iOS
1157         https://bugs.webkit.org/show_bug.cgi?id=112511
1158
1159         Reviewed by Joseph Pecoraro.
1160
1161         * Configurations/FeatureDefines.xcconfig:
1162
1163 2013-03-16  Simon Fraser  <simon.fraser@apple.com>
1164
1165         Reflected video elements hit assertion
1166         https://bugs.webkit.org/show_bug.cgi?id=112490
1167
1168         Disable reflections on video again, since there's some bad behavior
1169         caused by an underlying system framework.
1170
1171         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
1172         (PlatformCALayer::clone):
1173
1174 2013-03-16  Tom Sepez  <tsepez@chromium.org>
1175
1176         [v8] Disable binding integrity check for WebCore::Text
1177         https://bugs.webkit.org/show_bug.cgi?id=112462
1178
1179         Reviewed by Kentaro Hara.
1180
1181         Test: fast/dom/split-cdata.xml
1182
1183         * dom/Text.idl:
1184
1185 2013-03-16  Chris Fleizach  <cfleizach@apple.com>
1186
1187         AX: aria-hidden on container does not hide descendant popup buttons
1188         https://bugs.webkit.org/show_bug.cgi?id=112373
1189
1190         Reviewed by Ryosuke Niwa.
1191
1192         There are a number of subclass AX objects that implement accessibilityIsIgnored()
1193         to always return false. This means that even if their parent is aria-hidden=true
1194         they still show up in the tree.
1195
1196         This re-organizes this base case of aria-hidden into AccessibilityObject so that
1197         it can be re-used by these special subclasses where appropriate.
1198
1199         Test: accessibility/aria-hidden-hides-all-elements.html
1200
1201         * accessibility/AccessibilityImageMapLink.h:
1202         (WebCore::AccessibilityImageMapLink::isImageMapLink):
1203         * accessibility/AccessibilityList.cpp:
1204         (WebCore::AccessibilityList::computeAccessibilityIsIgnored):
1205         * accessibility/AccessibilityListBox.cpp:
1206         (WebCore):
1207         * accessibility/AccessibilityListBox.h:
1208         (AccessibilityListBox):
1209         * accessibility/AccessibilityListBoxOption.cpp:
1210         (WebCore::AccessibilityListBoxOption::computeAccessibilityIsIgnored):
1211         * accessibility/AccessibilityMediaControls.cpp:
1212         (WebCore::AccessibilityMediaControl::computeAccessibilityIsIgnored):
1213         (WebCore::AccessibilityMediaControlsContainer::computeAccessibilityIsIgnored):
1214         (WebCore::AccessibilityMediaTimeDisplay::computeAccessibilityIsIgnored):
1215         * accessibility/AccessibilityMediaControls.h:
1216         (AccessibilityMediaControlsContainer):
1217         * accessibility/AccessibilityMenuList.h:
1218         (WebCore::AccessibilityMenuList::roleValue):
1219         * accessibility/AccessibilityMenuListOption.cpp:
1220         (WebCore::AccessibilityMenuListOption::computeAccessibilityIsIgnored):
1221         * accessibility/AccessibilityMenuListPopup.cpp:
1222         (WebCore::AccessibilityMenuListPopup::computeAccessibilityIsIgnored):
1223         * accessibility/AccessibilityMockObject.cpp:
1224         (WebCore::AccessibilityMockObject::computeAccessibilityIsIgnored):
1225         (WebCore):
1226         * accessibility/AccessibilityMockObject.h:
1227         (AccessibilityMockObject):
1228         * accessibility/AccessibilityObject.cpp:
1229         (WebCore::AccessibilityObject::accessibilityIsIgnoredDefaultForObject):
1230         (WebCore):
1231         (WebCore::AccessibilityObject::ariaIsHidden):
1232         (WebCore::AccessibilityObject::accessibilityIsIgnoredBase):
1233         * accessibility/AccessibilityObject.h:
1234         (AccessibilityObject):
1235         * accessibility/AccessibilityProgressIndicator.cpp:
1236         (WebCore::AccessibilityProgressIndicator::computeAccessibilityIsIgnored):
1237         * accessibility/AccessibilityRenderObject.cpp:
1238         (WebCore):
1239         (WebCore::AccessibilityRenderObject::accessibilityIsIgnoredBase):
1240         (WebCore::AccessibilityRenderObject::addImageMapChildren):
1241         * accessibility/AccessibilityRenderObject.h:
1242         (AccessibilityRenderObject):
1243         * accessibility/AccessibilityScrollbar.h:
1244         (AccessibilityScrollbar):
1245         * accessibility/AccessibilitySlider.cpp:
1246         (WebCore):
1247         (WebCore::AccessibilitySliderThumb::computeAccessibilityIsIgnored):
1248         * accessibility/AccessibilitySlider.h:
1249         (AccessibilitySlider):
1250         * accessibility/AccessibilitySpinButton.h:
1251         (WebCore::AccessibilitySpinButton::roleValue):
1252         (AccessibilitySpinButtonPart):
1253
1254 2013-03-15  Simon Fraser  <simon.fraser@apple.com>
1255
1256         Reflected video elements hit assertion on Lion
1257         https://bugs.webkit.org/show_bug.cgi?id=112490
1258
1259         Disable the new reflected video functionality added in r145915
1260         on Lion because of a nasty re-entrancy problem. Tracked by bug 112490.
1261
1262         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
1263         (PlatformCALayer::clone):
1264
1265 2013-03-15  Bem Jones-Bey  <bjonesbe@adobe.com>
1266
1267         [CSS Exclusions] shape-outside on floats for circle and ellipse shapes
1268         https://bugs.webkit.org/show_bug.cgi?id=98673
1269
1270         Reviewed by Dirk Schulze.
1271
1272         Enable circles and ellipses for shape-outside on floats. Most of the
1273         code already supports them, just needed to turn them on and add tests.
1274
1275         Tests: fast/exclusions/shape-outside-floats/shape-outside-floats-simple-circle.html
1276                fast/exclusions/shape-outside-floats/shape-outside-floats-simple-ellipse.html
1277
1278         * rendering/ExclusionShapeOutsideInfo.cpp:
1279         (WebCore::ExclusionShapeOutsideInfo::isEnabledFor): Enable circles and
1280             ellipses. Also add a check for if the RenderBox is floating, since
1281             that test should have been there all along, as shape outside is
1282             only supported on floats for now.
1283
1284 2013-03-15  Christian Biesinger  <cbiesinger@chromium.org>
1285
1286         Convert old flexbox uses in html.css to new flexbox (non-<select>)
1287         https://bugs.webkit.org/show_bug.cgi?id=110837
1288
1289         Reviewed by Ojan Vafai.
1290
1291         Covered by existing tests.
1292
1293         * rendering/RenderTextControlSingleLine.cpp:
1294         (WebCore::RenderTextControlSingleLine::layout):
1295         After we set our descendants' heights, we need to mark them for
1296         layout.
1297         (WebCore::RenderTextControlSingleLine::createInnerBlockStyle):
1298         Use new-flexbox style setters.
1299
1300         * css/html.css:
1301         (input::-webkit-textfield-decoration-container):
1302         (input[type="search"]::-webkit-search-cancel-button):
1303         (input[type="search"]::-webkit-search-decoration):
1304         (input[type="search"]::-webkit-search-results-decoration):
1305         (input[type="search"]::-webkit-search-results-button):
1306         (input::-webkit-inner-spin-button):
1307         (input::-webkit-input-speech-button):
1308         (textarea):
1309         (input[type="file"]):
1310         (input[type="color"]::-webkit-color-swatch-wrapper):
1311         (input[type="color"]::-webkit-color-swatch):
1312         (::-webkit-validation-bubble-message):
1313         (::-webkit-validation-bubble-text-block):
1314         * css/themeWin.css:
1315         (input[type="search"]::-webkit-search-results-decoration):
1316         (input[type="search"]::-webkit-search-results-button):
1317         Convert -webkit-box to -webkit-flex and adjust related properties.
1318         Notably switch to auto margins for centering the speech button as well
1319         as the search result and cancel buttons to stay compatible with the
1320         previous centering behaviour. This does not produce visible
1321         differences but eliminates the render tree dump changes.
1322         * html/TextFieldInputType.cpp:
1323         (WebCore::TextFieldInputType::createShadowSubtree):
1324         * html/shadow/TextControlInnerElements.cpp:
1325         (WebCore::TextControlInnerContainer::TextControlInnerContainer):
1326         (WebCore):
1327         (WebCore::TextControlInnerContainer::create):
1328         (WebCore::TextControlInnerContainer::createRenderer):
1329         * html/shadow/TextControlInnerElements.h:
1330         (TextControlInnerContainer):
1331         (WebCore):
1332         * rendering/RenderTextControl.cpp:
1333         (WebCore::RenderTextControlInnerContainer::RenderTextControlInnerContainer):
1334         (WebCore):
1335         (WebCore::RenderTextControlInnerContainer::~RenderTextControlInnerContainer):
1336         * rendering/RenderTextControl.h:
1337         (WebCore):
1338         (RenderTextControlInnerContainer):
1339         Create a new DOM element & renderer type for the textfield-decoration
1340         div (the direct child of the <input> in the shadow dom if we have a
1341         special input field). This is necessary because new-flexbox uses a
1342         different algorithm for calculating the baseline, which would
1343         otherwise cause an <input> and an <input type=search> to not be
1344         aligned with each other.
1345         The new renderer just calls back to RenderBlock for calculating the
1346         baseline.
1347         * rendering/RenderTextControlSingleLine.cpp:
1348         (WebCore::RenderTextControlSingleLine::layout):
1349         Make sure to mark renderers as needing layout when we change their
1350         style. This didn't use to be necessary because old-flexbox relayouts
1351         children even when they are not marked for needing layout.
1352         (WebCore::RenderTextControlSingleLine::createInnerBlockStyle):
1353         Use new-flexbox CSS properties.
1354         * html/shadow/TextFieldDecorationElement.cpp:
1355         (WebCore::TextFieldDecorationElement::decorate):
1356         Use new-flexbox CSS properties.
1357
1358 2013-03-15  Kenneth Russell  <kbr@google.com>
1359
1360         Unreviewed attempted build fix for Chromium Windows after r145929.
1361         Verified this fix builds and works on Linux.
1362         https://bugs.webkit.org/show_bug.cgi?id=96798
1363
1364         * bindings/v8/V8Binding.cpp:
1365         (WebCore):
1366
1367 2013-03-15  Nate Chapin  <japhet@chromium.org>
1368
1369         Merge MainResourceLoader::willSendRequest into DocumentLoader 
1370         https://bugs.webkit.org/show_bug.cgi?id=109757
1371
1372         This is one of the steps to merging MainResourceLoader entirely into
1373         DocumentLoader, given the lack of clear division of responsibility
1374         between the two.
1375
1376         Reviewed by Antti Koivisto.
1377
1378         No new tests, refactor only.
1379
1380         * loader/DocumentLoader.cpp:
1381         (WebCore::DocumentLoader::mainResourceData):
1382         (WebCore::DocumentLoader::isPostOrRedirectAfterPost):
1383         (WebCore::DocumentLoader::willSendRequest):
1384         (WebCore::DocumentLoader::callContinueAfterNavigationPolicy):
1385         (WebCore::DocumentLoader::continueAfterNavigationPolicy):
1386         (WebCore::DocumentLoader::startLoadingMainResource):
1387         * loader/DocumentLoader.h:
1388         * loader/MainResourceLoader.cpp:
1389         (WebCore::MainResourceLoader::resourceData):
1390         (WebCore::MainResourceLoader::redirectReceived):
1391         (WebCore::MainResourceLoader::continueAfterContentPolicy):
1392         (WebCore::MainResourceLoader::reportMemoryUsage):
1393         (WebCore::MainResourceLoader::handleSubstituteDataLoadNow):
1394         (WebCore::MainResourceLoader::load):
1395         * loader/MainResourceLoader.h:
1396         (WebCore::MainResourceLoader::takeIdentifierFromResourceLoader): Temporarily
1397             exposed for moving from a normal load to SubstituteData load on redirect.
1398
1399 2013-03-15  Zhenyao Mo  <zmo@google.com>
1400
1401         Disable EXT_draw_buffers WebGL extension on Mac
1402         https://bugs.webkit.org/show_bug.cgi?id=112486
1403
1404         Reviewed by Kenneth Russell.
1405
1406         * html/canvas/EXTDrawBuffers.cpp:
1407         (WebCore::EXTDrawBuffers::supported):
1408
1409 2013-03-15  Dana Jansens  <danakj@chromium.org>
1410
1411         [chromium] Remove the background filter blur layout tests
1412         https://bugs.webkit.org/show_bug.cgi?id=112372
1413
1414         Reviewed by James Robinson.
1415
1416         Remove the now-unused hacks to regression test the background
1417         filter blur compositor feature.
1418
1419         * testing/Internals.cpp:
1420         * testing/Internals.h:
1421         (Internals):
1422         * testing/Internals.idl:
1423
1424 2013-03-15  Alexey Proskuryakov  <ap@apple.com>
1425
1426         Reduce amount of platform specific code in MessagePortChannel
1427         https://bugs.webkit.org/show_bug.cgi?id=112469
1428
1429         Reviewed by Sam Weinig.
1430
1431         * dom/MessagePortChannel.h: Ifdefed out an unused channel() function, except for
1432         Chromium, where it is used. We certainly don't want to expose this implementation
1433         detail as a public function.
1434
1435         * dom/default/PlatformMessagePortChannel.h: Removed functions that are no longer
1436         delegated. Made class contents all public, as it's now basically a data storage
1437         for MessagePortChannel.
1438
1439         * dom/default/PlatformMessagePortChannel.cpp:
1440         (WebCore::MessagePortChannel::createChannel):
1441         (WebCore::MessagePortChannel::~MessagePortChannel):
1442         (WebCore::MessagePortChannel::entangleIfOpen):
1443         (WebCore::MessagePortChannel::disentangle):
1444         (WebCore::MessagePortChannel::postMessageToRemote):
1445         (WebCore::MessagePortChannel::tryGetMessageFromRemote):
1446         (WebCore::MessagePortChannel::close):
1447         (WebCore::MessagePortChannel::isConnectedTo):
1448         (WebCore::MessagePortChannel::hasPendingActivity):
1449         (WebCore::MessagePortChannel::locallyEntangledPort):
1450         (WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
1451         (WebCore::PlatformMessagePortChannel::entangledChannel):
1452         Moved code from PlatformMessagePortChannel to MessagePortChannel. Added some
1453         FIXMEs.
1454
1455 2013-03-15  Arvid Nilsson  <anilsson@rim.com>
1456
1457         [BlackBerry] Expose the compositing thread layer's draw rectangle to aid hit testing
1458         https://bugs.webkit.org/show_bug.cgi?id=112255
1459
1460         Reviewed by Rob Buis.
1461
1462         PR 308284.
1463         Reviewed internally by Yongxin Dai.
1464
1465         Add a getter for the layer renderer of a compositing thread layer.
1466
1467         No change in behavior, no new tests.
1468
1469         * platform/graphics/blackberry/LayerCompositingThread.h:
1470         (WebCore::LayerCompositingThread::layerRenderer):
1471
1472 2013-03-15  Christian Biesinger  <cbiesinger@chromium.org>
1473
1474         Convert <select> to new-flexbox
1475         https://bugs.webkit.org/show_bug.cgi?id=112395
1476
1477         Reviewed by Ojan Vafai.
1478
1479         Covered by existing tests.
1480
1481         * css/html.css:
1482         (select):
1483         (select[size][multiple]):
1484         (select[size="1"]):
1485         Use new-style flexbox properties.
1486         * rendering/RenderMenuList.cpp:
1487         (WebCore::RenderMenuList::RenderMenuList):
1488         (WebCore::RenderMenuList::createInnerBlock):
1489         (WebCore::RenderMenuList::adjustInnerStyle):
1490         (WebCore::RenderMenuList::removeChild):
1491         RenderDeprecatedFlexibleBox -> RenderFlexibleBox, and use the
1492         new-style flexbox properties. Use margin:auto for centering to get
1493         the old safe-centering behavior.
1494         * rendering/RenderMenuList.h:
1495         (RenderMenuList):
1496         Inherit from RenderFlexibleBox. Override baseline methods to call the
1497         RenderBlock methods
1498
1499 2013-03-15  Andy Estes  <aestes@apple.com>
1500
1501         REGRESSION (r145820): Stop over-retaining CFDataRefs in SharedBuffer::maybeTransferPlatformData()
1502         https://bugs.webkit.org/show_bug.cgi?id=112474
1503
1504         Reviewed by Simon Fraser.
1505
1506         Transfer ownership of m_cfData to the local variable rather than leaking a reference.
1507
1508         * platform/cf/SharedBufferCF.cpp:
1509         (WebCore::SharedBuffer::maybeTransferPlatformData):
1510
1511 2013-03-15  Rajeev Sarvaria  <rsarvaria@blackberry.com>
1512
1513         New context extensions restored improperly
1514         https://bugs.webkit.org/show_bug.cgi?id=112156
1515
1516         Reviewed by Rob Buis.
1517
1518         Sets up extensions after new context is created for restoration.
1519         Previous extensions set up is lost when context is initially lost.
1520
1521         Cannot create a test as change is not visible from the web. When a context
1522         is lost, WebGLRenderingContext drops m_context. Upon restoration a new context
1523         object is created without available extensions initialized. Calling isEnabled
1524         within setupFlags leads to the eventual initialization of extensions for the
1525         new context.
1526
1527         * html/canvas/WebGLRenderingContext.cpp:
1528         (WebCore):
1529         (WebCore::WebGLRenderingContext::maybeRestoreContext):
1530
1531 2013-03-15  Aurimas Liutikas  <aurimas@chromium.org>
1532
1533         TextIterator emits LF for a br element inside an empty input element
1534         https://bugs.webkit.org/show_bug.cgi?id=112275
1535
1536         Reviewed by Ryosuke Niwa.
1537
1538         Adding a check to avoid emiting LF for br elements inside a shadow tree
1539         of an input element.
1540
1541         Test: editing/text-iterator/basic-iteration.html
1542               editing/text-iterator/basic-iteration-shadowdom.html
1543
1544         * editing/TextIterator.cpp:
1545         (WebCore::shouldEmitNewlineForNode):
1546         (WebCore::TextIterator::handleNonTextNode):
1547         (WebCore::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
1548         (WebCore::SimplifiedBackwardsTextIterator::handleNonTextNode):
1549         (WebCore::SimplifiedBackwardsTextIterator::exitNode):
1550         * editing/TextIterator.h:
1551         (SimplifiedBackwardsTextIterator):
1552
1553 2013-03-15  Arvid Nilsson  <anilsson@rim.com>
1554
1555         [BlackBerry] Allow an embedder to position child windows using window coordinates
1556         https://bugs.webkit.org/show_bug.cgi?id=112236
1557
1558         Reviewed by Rob Buis.
1559
1560         PR 232752
1561
1562         The LayerCompositingThread can now position the video window using
1563         either document or window coordinates.
1564
1565         The LayerRenderer class gets a new client interface. This allows us to
1566         avoid state duplication by delegating decisions directly to the client,
1567         which can then be in charge of the (one and only) state.
1568
1569         The context is moved over to the client, as well as delegation of the
1570         decision on whether to clear the surface every frame.
1571
1572         Also, the decision on which coordinate system to use for positioning
1573         child windows is delegated to the client interface.
1574
1575         No new tests, not testable using DRT.
1576
1577         * platform/graphics/blackberry/LayerCompositingThread.cpp:
1578         (WebCore::LayerCompositingThread::drawTextures):
1579         * platform/graphics/blackberry/LayerRenderer.cpp:
1580         (WebCore::LayerRenderer::create):
1581         (WebCore::LayerRenderer::LayerRenderer):
1582         (WebCore::LayerRenderer::setViewport):
1583         (WebCore::LayerRenderer::compositeLayers):
1584         (WebCore::LayerRenderer::toWebKitWindowCoordinates):
1585         (WebCore::LayerRenderer::makeContextCurrent):
1586         * platform/graphics/blackberry/LayerRenderer.h:
1587         (WebCore):
1588         (LayerRenderer):
1589         (WebCore::LayerRenderer::client):
1590         * platform/graphics/blackberry/LayerRendererClient.h: Added.
1591         (Graphics):
1592         (WebCore):
1593         (LayerRendererClient):
1594         (WebCore::LayerRendererClient::~LayerRendererClient):
1595
1596 2013-03-15  Jochen Eisinger  <jochen@chromium.org>
1597
1598         Expose whether a UserGestureToken still has gestures via WebKit API
1599         https://bugs.webkit.org/show_bug.cgi?id=112342
1600
1601         Reviewed by Adam Barth.
1602
1603         * dom/UserGestureIndicator.cpp:
1604         * dom/UserGestureIndicator.h:
1605         (UserGestureToken):
1606
1607 2013-03-15  Christian Biesinger  <cbiesinger@chromium.org>
1608
1609         Convert inspector to new-flexbox
1610         https://bugs.webkit.org/show_bug.cgi?id=112399
1611
1612         Reviewed by Ojan Vafai.
1613
1614         No new tests, refactoring.
1615
1616         * inspector/front-end/auditsPanel.css:
1617         (.audit-launcher-view .audit-launcher-view-content):
1618         (.audit-launcher-view div.button-container):
1619         (.audit-launcher-view div.button-container > button):
1620         * inspector/front-end/dialog.css:
1621         (.dialog):
1622         * inspector/front-end/elementsPanel.css:
1623         (.sidebar-pane.composite .metrics):
1624         * inspector/front-end/helpScreen.css:
1625         (.help-window-main):
1626         (.help-content):
1627         * inspector/front-end/inspector.css:
1628         (#toolbar):
1629         (#toolbar-controls):
1630         (#toolbar-dropdown .scrollable-content):
1631         (#toolbar-dropdown .toolbar-item):
1632         (.toolbar-item.close-left, .toolbar-item.close-right):
1633         * inspector/front-end/nativeMemoryProfiler.css:
1634         (.memory-pie-chart-container):
1635         (.memory-pie-chart):
1636         * inspector/front-end/networkPanel.css:
1637         (.network-item-view.visible):
1638         * inspector/front-end/panelEnablerView.css:
1639         (.panel-enabler-view .flexible-space):
1640         * inspector/front-end/profilesPanel.css:
1641         (.profile-launcher-view-content):
1642         (.control-profiling):
1643         * inspector/front-end/splitView.css:
1644         (.sidebar-overlay):
1645         * inspector/front-end/tabbedPane.css:
1646         (.tabbed-pane):
1647         (.tabbed-pane-content):
1648         Replace -webkit-box with -webkit-flex, -webkit-box-orient with
1649         -webkit-flex-direction, etc.
1650
1651 2013-03-15  Rouslan Solomakhin  <rouslan@chromium.org>
1652
1653         Remove unused unified textchecker variable
1654         https://bugs.webkit.org/show_bug.cgi?id=112362
1655
1656         Reviewed by Tony Chang.
1657
1658         The variable m_originalUnifiedSpellCheckerEnabled is never used. The generated
1659         code from Settings.in already backs up and restores unified textchecker setting.
1660
1661         * testing/InternalSettings.h: Remove unusued m_originalUnifiedSpellCheckerEnabled variable.
1662
1663 2013-03-14  Ojan Vafai  <ojan@chromium.org>
1664
1665         Auto height column flexboxes with border and padding are too short
1666         https://bugs.webkit.org/show_bug.cgi?id=112398
1667
1668         Reviewed by Tony Chang.
1669
1670         Test: css3/flexbox/auto-height-column-with-border-and-padding.html
1671
1672         * rendering/RenderFlexibleBox.cpp:
1673         (WebCore::RenderFlexibleBox::mainAxisContentExtent):
1674         computeLogicalHeight expects that you pass in the border-box logicalHeight, not
1675         the contentLogicalHeight. Since we subtract the border, padding and scrollbar height from 
1676         the returned m_extent, if we pass in the contentLogicalHeight and the flexbox is auto-sized
1677         then we end up incorrectly subtracting border, padding and scrollbar height from the
1678         contentLogicalHeight.
1679
1680 2013-03-15  Tim Horton  <timothy_horton@apple.com>
1681
1682         RenderSnapshottedPlugIn can't be a RenderBlock (what if it's display: inline?)
1683         https://bugs.webkit.org/show_bug.cgi?id=112432
1684         <rdar://problem/13187211>
1685
1686         Reviewed by Simon Fraser and Dean Jackson.
1687
1688         Re-use code from PLUGIN_PROXY_FOR_VIDEO to allow RenderEmbeddedObject to lay out its children,
1689         and make RenderSnapshottedPlugIn a RenderEmbeddedObject subclass once again. This will ensure that
1690         RenderSnapshottedPlugIn lays itself out in the page the same as the RenderEmbeddedObject it replaces did,
1691         preventing snapshotted plug-ins from breaking the layout when they are display: inline.
1692
1693         * html/HTMLPlugInElement.cpp:
1694         (WebCore::HTMLPlugInElement::defaultEventHandler):
1695         RenderSnapshottedPlugIn is a RenderEmbeddedObject subclass again, so we need to check
1696         for it when we have a RenderEmbeddedObject, instead of when we don't.
1697
1698         * page/FrameView.cpp:
1699         (WebCore::FrameView::updateWidget):
1700         Ditto.
1701
1702         * rendering/RenderEmbeddedObject.cpp:
1703         (WebCore::RenderEmbeddedObject::layout):
1704         (WebCore::RenderEmbeddedObject::canHaveChildren):
1705         Allow RenderEmbeddedObject to have and lay out children if it is a RenderSnapshottedPlugIn.
1706         Also, preserve the code that allows children if it is a media element and PLUGIN_PROXY_FOR_VIDEO is enabled.
1707         Don't call addWidgetToUpdate for instances which will never have a widget, like RenderSnapshottedPlugIn.
1708
1709         * rendering/RenderEmbeddedObject.h:
1710         (RenderEmbeddedObject):
1711         We need canHaveChildren() and children() and m_children now.
1712         Add canHaveWidget(), which returns true. Subclasses can override if need be.
1713
1714         * rendering/RenderSnapshottedPlugIn.h: Add canHaveWidget(), which is false for RenderSnapshottedPlugIn.
1715         * rendering/RenderSnapshottedPlugIn.cpp:
1716         (WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):
1717         (WebCore::RenderSnapshottedPlugIn::layout):
1718         (WebCore::RenderSnapshottedPlugIn::getCursor):
1719         Make RenderSnapshottedPlugIn a RenderEmbeddedObject.
1720
1721         (WebCore::RenderSnapshottedPlugIn::paint):
1722         Paint our children.
1723
1724 2013-03-15  Hajime Morrita  <morrita@google.com>
1725
1726         [Custom Elements] Any HTMLElement subclass should become a superclass of custom element
1727         https://bugs.webkit.org/show_bug.cgi?id=110436
1728
1729         Reviewed by Dimitri Glazkov.
1730
1731         This change introduces "type extension" concept of custom elements.
1732         With the type extension, each custom elements are able to inherit
1733         from not only HTMLElement, but also any HTML element. To make it work,
1734         this change extends the plumbing.
1735
1736         This change does following changes:
1737
1738         = Data structure:
1739
1740         - Let CustomElementConstructor objects being keyed by pair of (element
1741           name, local name) as the standard requries, instead of just using
1742           single name. See CustomElementRegistry::ConstructorMap and CustomElementRegistry::find().
1743
1744         - Creates mapping from WrapperTypeInfo to element name.  This map
1745           can be looked-up by generated functions like
1746           findHTMLTagNameOfV8Type().  With this table, WebKit can determine
1747           the custom element local name of given prototype object. See  make_names.pl.
1748           Note that V8 prototype object knows associated WrapperTypeInfo. See r144865.
1749
1750         = Hooking up element lifecyle:
1751
1752         - Create appropriate C++ instance for each custom element.  Before
1753           this change, the C++ backend of custom elements were always
1754           HTMLUnknownElements or HTMLElement.  See
1755           CustomElementConstructor::createElement() and ElementFactories in
1756           make_names.pl.
1757
1758         - Hooks up element construction and element wrapper creation for
1759           custom element "before" non-custom case instead of "after"
1760           that. We do this because custom element needs to
1761           override non-custom case when @is attribute is given for
1762           otherwise-non-custom elements like <div is=x-bar>.
1763           See make_names.pl.
1764
1765         - Gives @is attributes to elements if needed. See setTypeExtension() call sites
1766           like Document::createElement(), Document::createElementtNS() and CustomElementConstructor::createElementt()
1767
1768         Test: fast/dom/custom/document-register-type-extensions.html
1769
1770         * bindings/scripts/CodeGeneratorV8.pm:
1771         (GenerateHeader):
1772         * bindings/scripts/test/V8/V8Float64Array.h:
1773         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
1774         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
1775         * bindings/scripts/test/V8/V8TestEventConstructor.h:
1776         * bindings/scripts/test/V8/V8TestEventTarget.h:
1777         * bindings/scripts/test/V8/V8TestException.h:
1778         * bindings/scripts/test/V8/V8TestInterface.h:
1779         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
1780         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
1781         * bindings/scripts/test/V8/V8TestNode.h:
1782         * bindings/scripts/test/V8/V8TestObj.h:
1783         * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
1784         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
1785         * bindings/scripts/test/V8/V8TestTypedefs.h:
1786         * bindings/v8/CustomElementHelpers.cpp:
1787         (WebCore::hasValidPrototypeChain):
1788         (WebCore::CustomElementHelpers::isValidPrototypeParameter):
1789         (WebCore::CustomElementHelpers::findLocalName):
1790         (WebCore):
1791         (WebCore::CustomElementHelpers::findWrapperType):
1792         * bindings/v8/CustomElementHelpers.h:
1793         (CustomElementHelpers):
1794         * bindings/v8/V8CustomElement.cpp:
1795         (WebCore::V8CustomElement::createWrapper):
1796         * bindings/v8/V8CustomElement.h:
1797         (V8CustomElement):
1798         (WebCore::V8CustomElement::wrap):
1799         (WebCore::V8CustomElement::constructorOf):
1800         * bindings/v8/WrapperTypeInfo.h:
1801         (WrapperTypeTraits): Added.
1802         * bindings/v8/custom/V8CustomElementConstructorCustom.cpp:
1803         (WebCore::V8CustomElementConstructor::callAsFunctionCallback):
1804         * dom/CustomElementConstructor.cpp:
1805         (WebCore::CustomElementConstructor::create):
1806         (WebCore::CustomElementConstructor::CustomElementConstructor):
1807         (WebCore::CustomElementConstructor::createElement):
1808         (WebCore::setTypeExtension):
1809         * dom/CustomElementConstructor.h:
1810         (CustomElementConstructor):
1811         (WebCore::CustomElementConstructor::document):
1812         (WebCore::CustomElementConstructor::typeName):
1813         (WebCore::CustomElementConstructor::localName):
1814         * dom/CustomElementRegistry.cpp:
1815         (WebCore::nameIncludesHyphen):
1816         (WebCore::CustomElementRegistry::isValidName):
1817         (WebCore::CustomElementRegistry::registerElement):
1818         (WebCore::CustomElementRegistry::findFor):
1819         (WebCore::CustomElementRegistry::find):
1820         (WebCore::CustomElementRegistry::createElement):
1821         * dom/CustomElementRegistry.h:
1822         (CustomElementRegistry):
1823         * dom/Document.cpp:
1824         (WebCore::Document::createElement):
1825         (WebCore::Document::createElementNS):
1826         (WebCore::Document::registerElement):
1827         * dom/Document.h:
1828         (Document):
1829         (WebCore::Document::registry): Moved from Document.cpp to be inlined.
1830         * dom/Document.idl:
1831         * dom/make_names.pl:
1832         (printFactoryCppFile):
1833         (printWrapperFactoryCppFile):
1834         (printWrapperFactoryHeaderFile):
1835         * html/HTMLAttributeNames.in: Added @is attribute
1836
1837 2013-03-15  Alexey Proskuryakov  <ap@apple.com>
1838
1839         Minor cleanup in worker code
1840         https://bugs.webkit.org/show_bug.cgi?id=112455
1841
1842         Reviewed by Anders Carlsson.
1843
1844         - Added OVERRIDE keywords.
1845         - Toned down FIXMEs about single MessagePort versions of functions. It's not a given
1846         that we'll want to get rid of them even when implementing array versions.
1847         - Explicitly marked virtual destructors as virtual.
1848
1849         * dom/MessageEvent.cpp:
1850         * dom/MessageEvent.h:
1851         * workers/Worker.cpp:
1852         * workers/Worker.h:
1853         Removed an unused version of postMessage() that took no MessagePorts. This makes
1854         it less confusing why MessagePortArray is passed by pointer, and not by reference.
1855
1856         * workers/DedicatedWorkerContext.cpp:
1857         (WebCore::DedicatedWorkerContext::~DedicatedWorkerContext):
1858         * workers/DedicatedWorkerContext.h:
1859         Added a destructor instead of an implicit one.
1860         Removed an unused version of postMessage() that took no MessagePorts.
1861
1862         * workers/SharedWorker.h: Removed an unused virtual function (thank you OVERRIDE!)
1863
1864         * dom/MessagePort.cpp:
1865         * dom/MessagePort.h:
1866         * loader/WorkerThreadableLoader.h:
1867         * page/DOMWindow.h:
1868         * workers/AbstractWorker.h:
1869         * workers/DedicatedWorkerThread.h:
1870         * workers/SharedWorkerContext.h:
1871         * workers/SharedWorkerThread.h:
1872         * workers/WorkerContext.h:
1873         * workers/WorkerMessagingProxy.h:
1874         * workers/WorkerObjectProxy.h:
1875         * workers/WorkerScriptLoader.h:
1876
1877 2013-03-15  Joshua Bell  <jsbell@chromium.org>
1878
1879         [V8] Binding: Implement EnforceRange IDL Attribute for long long conversions
1880         https://bugs.webkit.org/show_bug.cgi?id=96798
1881
1882         Reviewed by Kentaro Hara.
1883
1884         Implement [EnforceRange] attribute for V8 bindings, which specifies throwing behavior
1885         on conversions outside int/uint 32/64 ranges and edge cases like NaNs and Infinities.
1886         Conversely, conversions without this attribute should *not* throw.
1887
1888         Tests: fast/js/webidl-type-mapping.html:
1889                fast/dom/non-numeric-values-numeric-parameters.html
1890                fast/js/script-tests/select-options-add.html
1891                storage/indexeddb/intversion-bad-parameters.html
1892
1893         * Modules/indexeddb/IDBCursor.cpp: Remove custom range enforcement for advance()
1894         * Modules/indexeddb/IDBCursor.h: Adjust type to match WebIDL.
1895         * Modules/indexeddb/IDBCursor.idl: Specify [EnforceRange] and type matches spec WebIDL.
1896         * Modules/indexeddb/IDBFactory.cpp: Remove custom range enforcement for open()
1897         * Modules/indexeddb/IDBFactory.h: Adjust type to match WebIDL.
1898         * Modules/indexeddb/IDBFactory.idl: Specify [EnforceRange] and type matches spec WebIDL.
1899         * bindings/scripts/CodeGeneratorJS.pm:
1900         (JSValueToNative): Add FIXME to support [EnforceRange]
1901         * bindings/scripts/CodeGeneratorV8.pm:
1902         (GenerateNormalAttrSetter): Handle [EnforceRange] in attribute setters
1903         (GenerateParametersCheck): Handle [EnforceRange] in parameters.
1904         (JSValueToNative): Pass EnforceRange to toInt() functions as appropriate.
1905         * bindings/scripts/IDLAttributes.txt:
1906         * bindings/scripts/test/TestObj.idl: Tests w/ [EnforceRange]
1907         * bindings/scripts/test/V8/V8TestObj.cpp: Updated expectations
1908         * bindings/scripts/test/V8/V8TestTypedefs.cpp: Updated expectations.
1909         * bindings/v8/V8Binding.cpp: Overloads for toInt() variants that handle constraints.
1910         (WebCore::toInt32):
1911         (WebCore::toUInt32):
1912         (WebCore::toInt64):
1913         (WebCore::toUInt64):
1914         * bindings/v8/V8Binding.h: Ditto, plus helpers for callers not expecting errors.
1915         (WebCore::toInt32):
1916         (WebCore::toUInt32):
1917         (WebCore::toInt64):
1918         (WebCore::toUInt64):
1919         * bindings/v8/V8BindingMacros.h: Helper macros for type conversions that may throw.
1920         * testing/TypeConversions.h: Added new members with EnforceRange constraint.
1921         * testing/TypeConversions.idl: Ditto.
1922
1923 2013-03-15  Eugene Klyuchnikov  <eustas@chromium.org>
1924
1925         Web Inspector: [Network] Refine JSDocs in NetworkRequest.js
1926         https://bugs.webkit.org/show_bug.cgi?id=112412
1927
1928         Reviewed by Vsevolod Vlasov.
1929
1930         Return types for some members are confusing (Object).
1931
1932         * inspector/front-end/NetworkManager.js: Fixed JSDocs.
1933         * inspector/front-end/NetworkRequest.js: Ditto. Plus minor refactorings.
1934
1935 2013-03-15  Andy Estes  <aestes@apple.com>
1936
1937         REGRESSION (r127277): CSS URIs with multi-byte Unicode escape sequences fail to parse
1938         https://bugs.webkit.org/show_bug.cgi?id=112436
1939
1940         Reviewed by Michael Saboff.
1941
1942         r127277 modified the CSS parser to use 8-bit strings when possible.
1943         However, it failed to handle URIs that contain Unicode escape sequences
1944         that expand to multi-byte characters. Not only would the URI fail to
1945         parse, but so would the remainder of the input string.
1946
1947         Fix this by producing a 16-bit result when we detect a URI with a
1948         multi-byte Unicode escape, like we do for identifiers and other strings.
1949
1950         Test: fast/css/url-with-multi-byte-unicode-escape.html
1951
1952         * css/CSSParser.cpp:
1953         (WebCore::checkAndSkipString): Changed to be a free function since it
1954         doesn't access CSSParser's internal state.
1955         (WebCore::CSSParser::findURI): Added a function that consolidates the
1956         logic of finding the start and end pointers of the URI and the quote
1957         character (if encountered), starting at the current character.
1958         (WebCore::CSSParser::parseURIInternal): Removed duplicated logic for
1959         finding the URI bounds (this now lives in findURI()) and logic for
1960         setting the token type and updating the current character (this now
1961         lives in parseURI()).
1962         (WebCore::CSSParser::parseURI): Find the URI and parse it. If a
1963         multi-byte Unicode escape is encountered, rewind to the beginning of
1964         the URI and re-parse with a 16-bit string as the destination.
1965         * css/CSSParser.h:
1966
1967 2013-03-15  Andreas Kling  <akling@apple.com>
1968
1969         [JSC] Remove custom WebAudio mark functions that we can generate instead.
1970         <http://webkit.org/b/110976>
1971
1972         Reviewed by Eric Carlson.
1973
1974         Remove custom JSC mark functions for AudioContext and ScriptProcessorNode since they
1975         are trivial to generate.
1976
1977         * Modules/webaudio/AudioContext.idl:
1978         * Modules/webaudio/ScriptProcessorNode.idl:
1979         * GNUmakefile.list.am:
1980         * UseJSC.cmake:
1981         * WebCore.xcodeproj/project.pbxproj:
1982         * bindings/js/JSAudioContextCustom.cpp:
1983         * bindings/js/JSScriptProcessorNodeCustom.cpp: Removed.
1984
1985 2013-03-15  Jer Noble  <jer.noble@apple.com>
1986
1987         Unreviewed build fix. Rename local variable which was colliding with class method.
1988
1989         * platform/graphics/ca/win/PlatformCALayerWin.cpp:
1990         (PlatformCALayer::clone):
1991
1992 2013-03-15  Joshua Bell  <jsbell@chromium.org>
1993
1994         IndexedDB: Handle success events arriving after context stopped
1995         https://bugs.webkit.org/show_bug.cgi?id=112451
1996
1997         Reviewed by Tony Chang.
1998
1999         In multiprocess ports, events from the back-end can arrive in the form of
2000         onXXX() calls after the script execution context has stopped. These need to
2001         be ignored. This was already done in most cases, but missing for two overloads
2002         of IDBRequest::onSuccess() - void and int64_t.
2003
2004         Test: webkit_unit_test IDBRequestTest.EventsAfterStopping
2005
2006         * Modules/indexeddb/IDBRequest.cpp:
2007         (WebCore::IDBRequest::onSuccess): Early return if context has stopped.
2008         (WebCore::IDBRequest::onSuccessInternal): ASSERT() that callers have checked context.
2009
2010 2013-03-14  Jer Noble  <jer.noble@apple.com>
2011
2012         REGRESSION: -webkit-box-reflect does not show on video elements
2013         https://bugs.webkit.org/show_bug.cgi?id=112397
2014
2015         Reviewed by Simon Fraser.
2016
2017         Test: compositing/video/video-reflection.html
2018
2019         Support cloning specific CALayer subtypes in PlatformCALayer,
2020         which allows reflections to work correctly for those layer types.
2021         Specifically, add support for cloning AVPlayerLayer layers.
2022
2023         * platform/graphics/ca/GraphicsLayerCA.cpp:
2024         (WebCore::GraphicsLayerCA::cloneLayer): Moved most of the
2025             implementation to PlatformCALayer::clone().
2026         * platform/graphics/ca/PlatformCALayer.h:
2027         * platform/graphics/ca/mac/PlatformCALayerMac.mm:
2028         (PlatformCALayer::PlatformCALayer): Set the layerType to 
2029             LayerTypeAVPlayerLayer if the PlatformLayer parameter is an
2030             AVPlayerLayer.
2031         (PlatformCALayer::clone): Moved from GraphicsLayerCA::cloneLayer().
2032             Copy the player value to the new layer, if the current layer is
2033             a LayerTypeAVPlayerLayer.
2034         (PlatformCALayer::playerLayer):
2035         * platform/graphics/ca/win/PlatformCALayerWin.cpp:
2036         (PlatformCALayer::clone): Moved from GraphicsLayerCA::cloneLayer().
2037             May want to add support for AVCFPlayerLayers in the future.
2038
2039 2013-03-15  Nate Chapin  <japhet@chromium.org>
2040
2041         Hide MainResourceLoader from the outside world
2042         https://bugs.webkit.org/show_bug.cgi?id=109971
2043
2044         Reviewed by Adam Barth.
2045
2046         No new tests, refactor only.
2047
2048         * WebCore.exp.in:
2049         * dom/Document.cpp:
2050         * html/HTMLEmbedElement.cpp:
2051         * html/MediaDocument.cpp:
2052         * html/PluginDocument.cpp:
2053         * loader/DocumentLoader.cpp:
2054         (WebCore::DocumentLoader::mainResourceLoader):
2055         (WebCore::DocumentLoader::finishedLoading):
2056         (WebCore::DocumentLoader::receivedData):
2057         (WebCore::DocumentLoader::setMainResourceDataBufferingPolicy):
2058         * loader/DocumentLoader.h:
2059         * loader/EmptyClients.h:
2060         * loader/FrameLoader.cpp:
2061         * loader/FrameLoaderClient.h:
2062         * loader/MainResourceLoader.cpp:
2063         * loader/appcache/ApplicationCacheGroup.cpp:
2064         * loader/appcache/ApplicationCacheHost.cpp:
2065
2066 2013-03-15  Abhishek Arya  <inferno@chromium.org>
2067
2068         Replace static_casts with to* helper functions.
2069         https://bugs.webkit.org/show_bug.cgi?id=112401
2070
2071         Reviewed by Stephen Chenney.
2072
2073         to* helper functions are preferred over static_cast calls since they
2074         help to catch bad casts easily on the testing infrastructure.
2075
2076         * accessibility/AccessibilityObject.cpp:
2077         (WebCore::appendAccessibilityObject):
2078         * accessibility/AccessibilityRenderObject.cpp:
2079         (WebCore::AccessibilityRenderObject::visiblePositionForPoint):
2080         * accessibility/AccessibilityScrollView.cpp:
2081         (WebCore::AccessibilityScrollView::webAreaObject):
2082         (WebCore::AccessibilityScrollView::documentFrameView):
2083         (WebCore::AccessibilityScrollView::parentObject):
2084         (WebCore::AccessibilityScrollView::parentObjectIfExists):
2085         * accessibility/chromium/AXObjectCacheChromium.cpp:
2086         (WebCore::AXObjectCache::postPlatformNotification):
2087         * bindings/js/JSPluginElementFunctions.cpp:
2088         (WebCore::pluginScriptObjectFromPluginViewBase):
2089         * bindings/js/PageScriptDebugServer.cpp:
2090         (WebCore::PageScriptDebugServer::setJavaScriptPaused):
2091         * bindings/js/ScriptController.cpp:
2092         (WebCore::ScriptController::createScriptInstanceForWidget):
2093         * bindings/js/ScriptControllerQt.cpp:
2094         (WebCore::ScriptController::createScriptInstanceForWidget):
2095         * bindings/v8/ScriptController.cpp:
2096         (WebCore::ScriptController::createScriptInstanceForWidget):
2097         * html/HTMLObjectElement.cpp:
2098         (WebCore::HTMLObjectElement::appendFormData):
2099         * page/EventHandler.cpp:
2100         (WebCore::EventHandler::subframeForTargetNode):
2101         (WebCore::EventHandler::passGestureEventToWidget):
2102         * page/Frame.cpp:
2103         (WebCore::Frame::frameForWidget):
2104         * page/FrameView.cpp:
2105         (WebCore::collectFrameViewChildren):
2106         (WebCore::FrameView::hasCustomScrollbars):
2107         (WebCore::FrameView::convertToContainingView):
2108         (WebCore::FrameView::convertFromContainingView):
2109         (WebCore::FrameView::removeChild):
2110         * page/FrameView.h:
2111         (WebCore::toFrameView):
2112         (WebCore):
2113         * page/Page.cpp:
2114         (WebCore::Page::collectPluginViews):
2115         * page/chromium/EventHandlerChromium.cpp:
2116         (WebCore::EventHandler::passWheelEventToWidget):
2117         * page/efl/EventHandlerEfl.cpp:
2118         (WebCore::EventHandler::passWheelEventToWidget):
2119         * page/gtk/EventHandlerGtk.cpp:
2120         (WebCore::EventHandler::passWheelEventToWidget):
2121         * page/mac/EventHandlerMac.mm:
2122         (WebCore::EventHandler::passWheelEventToWidget):
2123         * page/qt/EventHandlerQt.cpp:
2124         (WebCore::EventHandler::passWheelEventToWidget):
2125         * page/scrolling/ScrollingCoordinator.cpp:
2126         (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
2127         * page/win/EventHandlerWin.cpp:
2128         (WebCore::EventHandler::passWheelEventToWidget):
2129         * page/wx/EventHandlerWx.cpp:
2130         (WebCore::EventHandler::passWheelEventToWidget):
2131         * platform/ScrollView.h:
2132         (WebCore::toScrollView):
2133         (WebCore):
2134         * platform/Scrollbar.cpp:
2135         (WebCore::Scrollbar::isScrollViewScrollbar):
2136         (WebCore::Scrollbar::mouseUp):
2137         (WebCore::Scrollbar::axObjectCache):
2138         * platform/Widget.h:
2139         (WebCore::Widget::isScrollView):
2140         * platform/blackberry/PlatformScreenBlackBerry.cpp:
2141         (WebCore::toUserSpace):
2142         * platform/efl/ScrollbarEfl.cpp:
2143         (ScrollbarEfl::setParent):
2144         * platform/qt/PlatformSupportQt.cpp:
2145         (WebCore::PlatformSupport::popupsAllowed):
2146         (WebCore::PlatformSupport::pluginScriptableObject):
2147         * plugins/IFrameShimSupport.cpp:
2148         (WebCore::getPluginOcclusions):
2149         * plugins/PluginView.h:
2150         (WebCore::toPluginView):
2151         (WebCore):
2152         * plugins/PluginViewBase.h:
2153         (WebCore::PluginViewBase::isPluginViewBase):
2154         (PluginViewBase):
2155         (WebCore::toPluginViewBase):
2156         (WebCore):
2157         * plugins/blackberry/PluginViewBlackBerry.cpp:
2158         (WebCore::PluginView::updatePluginWidget):
2159         (WebCore::PluginView::updateBuffer):
2160         (WebCore::PluginView::paint):
2161         (WebCore::PluginView::handleScrollEvent):
2162         (WebCore::PluginView::calculateClipRect):
2163         (WebCore::PluginView::handleFullScreenAllowedEvent):
2164         (WebCore::PluginView::handleFullScreenExitEvent):
2165         (WebCore::PluginView::setParent):
2166         (WebCore::PluginView::setNPWindowIfNeeded):
2167         (WebCore::PluginView::platformGetValue):
2168         (WebCore::PluginView::platformStart):
2169         (WebCore::PluginView::platformDestroy):
2170         (WebCore::PluginView::setBackgroundPlay):
2171         * plugins/blackberry/PluginViewPrivateBlackBerry.cpp:
2172         (WebCore::PluginViewPrivate::setVisibleRects):
2173         (WebCore::PluginViewPrivate::showKeyboard):
2174         (WebCore::PluginViewPrivate::requestFullScreen):
2175         (WebCore::PluginViewPrivate::requestCenterFitZoom):
2176         (WebCore::PluginViewPrivate::lockOrientation):
2177         (WebCore::PluginViewPrivate::unlockOrientation):
2178         (WebCore::PluginViewPrivate::preventIdle):
2179         * plugins/gtk/PluginViewGtk.cpp:
2180         (WebCore::PluginView::updatePluginWidget):
2181         * plugins/mac/PluginViewMac.mm:
2182         (WebCore::PluginView::platformStart):
2183         * plugins/qt/PluginViewQt.cpp:
2184         (WebCore::PluginView::updatePluginWidget):
2185         * plugins/win/PluginViewWin.cpp:
2186         (WebCore::PluginView::updatePluginWidget):
2187         (WebCore::PluginView::paintIntoTransformedContext):
2188         (WebCore::PluginView::paintWindowedPluginIntoContext):
2189         (WebCore::PluginView::paint):
2190         (WebCore::PluginView::handleMouseEvent):
2191         (WebCore::PluginView::setNPWindowRect):
2192         (WebCore::PluginView::snapshot):
2193         * rendering/RenderBox.cpp:
2194         (WebCore::RenderBox::addLayoutOverflow):
2195         * rendering/RenderBoxModelObject.cpp:
2196         (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
2197         * rendering/RenderEmbeddedObject.cpp:
2198         (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing):
2199         (WebCore::RenderEmbeddedObject::viewCleared):
2200         (WebCore::RenderEmbeddedObject::nodeAtPoint):
2201         (WebCore::RenderEmbeddedObject::scroll):
2202         * rendering/RenderFlexibleBox.h:
2203         (WebCore::toRenderFlexibleBox):
2204         (WebCore):
2205         * rendering/RenderFrame.cpp:
2206         (WebCore::RenderFrame::viewCleared):
2207         * rendering/RenderFrameBase.cpp:
2208         (WebCore::RenderFrameBase::layoutWithFlattening):
2209         * rendering/RenderIFrame.cpp:
2210         (WebCore::RenderIFrame::contentRootRenderer):
2211         (WebCore::RenderIFrame::layoutSeamlessly):
2212         * rendering/RenderLayerBacking.cpp:
2213         (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
2214         * rendering/RenderLayerCompositor.cpp:
2215         (WebCore::RenderLayerCompositor::shouldPropagateCompositingToEnclosingFrame):
2216         * rendering/RenderPart.cpp:
2217         (WebCore::RenderPart::requiresAcceleratedCompositing):
2218         (WebCore::RenderPart::embeddedContentBox):
2219         (WebCore::RenderPart::nodeAtPoint):
2220         * rendering/RenderRuby.cpp:
2221         (WebCore::rubyBeforeBlock):
2222         (WebCore::rubyAfterBlock):
2223         (WebCore::lastRubyRun):
2224         (WebCore::findRubyRunParent):
2225         * rendering/RenderTreeAsText.cpp:
2226         (WebCore::write):
2227         * rendering/RenderWidget.cpp:
2228         (WebCore::RenderWidget::paintContents):
2229         (WebCore::RenderWidget::setOverlapTestResult):
2230         (WebCore::RenderWidget::updateWidgetPosition):
2231
2232 2013-03-15  No'am Rosenthal  <noam@webkit.org>
2233
2234         [Texmap] REGRESSION (r144190): Failure at style with preserve-3d and opacity
2235         https://bugs.webkit.org/show_bug.cgi?id=112370
2236
2237         According to spec, we avoid masking and clipping when preserves-3d is enabled.
2238         However, opacity should still work.
2239         Allowing opacity when preserves-3d is on.
2240
2241         Reviewed by Caio Marcelo de Oliveira Filho.
2242
2243         Test: compositing/overlap-blending/preserves3d-opacity.html
2244
2245         * platform/graphics/texmap/TextureMapperGL.cpp:
2246         * platform/graphics/texmap/TextureMapperLayer.cpp:
2247         (WebCore::TextureMapperLayer::paintRecursive):
2248
2249 2013-03-15  Konrad Piascik  <kpiascik@blackberry.com>
2250
2251         Get rid of useless forward declaration.
2252         https://bugs.webkit.org/show_bug.cgi?id=112449
2253
2254         Reviewed by Stephen Chenney.
2255
2256         No behavioural change 
2257
2258         * svg/SVGRectElement.cpp:
2259
2260 2013-03-15  Alexei Filippov  <alph@chromium.org>
2261
2262         Web Inspector: make CPU profiler show timings using the same time unit [ms]
2263         https://bugs.webkit.org/show_bug.cgi?id=112356
2264
2265         That makes it much easier to compare values when looking at the data.
2266
2267         Reviewed by Yury Semikhatsky.
2268
2269         * inspector/front-end/ProfileDataGridTree.js:
2270         (WebInspector.ProfileDataGridNode.prototype.get data.formatMilliseconds):
2271
2272 2013-03-15  Peter Beverloo  <peter@chromium.org>
2273
2274         Implement support for nullable types in the bindings generator
2275         https://bugs.webkit.org/show_bug.cgi?id=111728
2276
2277         Reviewed by Kentaro Hara.
2278
2279         This patch adds support for nullable types in the bindings
2280         generator, as described in section 3.10.22 of WebIDL:
2281             http://dev.w3.org/2006/webapi/WebIDL/#idl-nullable-type
2282
2283         interface MyInterface {
2284             readonly attribute boolean? value; // true, false or null.
2285         };
2286
2287         The IDL Parser has been modified to record whether attributes are
2288         nullable. Question marks from the type will always be stripped
2289         from the domAttribute->signature->type field. Once support for
2290         this has been completely implemented, we'll be able to remove a
2291         bunch of custom bindings, i.e. those of Device Orientation.
2292
2293         Any getter for an attribute which returns a nullable type will be
2294         called with an additional attribute (passed by reference) named
2295         "isNull". This will be the last argument passed to the method,
2296         unless an exception code (ec) argument will be passed as well.
2297
2298         The CPP, GObject and ObjC bindings will not change behavior following
2299         this patch, although they have been modified to call the WebCore
2300         methods for nullable attributes with the correct signature. The
2301         V8 and JS binding generators do have modified behavior, in that they
2302         will actually return v8Null/jsNull when isNull == true.
2303
2304         Tested by existing binding tests and the new nullable attribute
2305         tests in the bindings/scripts/test/ directory.
2306
2307         * bindings/scripts/CodeGeneratorCPP.pm:
2308         (GenerateImplementation):
2309         * bindings/scripts/CodeGeneratorGObject.pm:
2310         (GenerateProperty):
2311         (GenerateFunction):
2312         * bindings/scripts/CodeGeneratorJS.pm:
2313         (GenerateImplementation):
2314         * bindings/scripts/CodeGeneratorObjC.pm:
2315         (GenerateImplementation):
2316         * bindings/scripts/CodeGeneratorV8.pm:
2317         (GenerateNormalAttrGetter):
2318         * bindings/scripts/IDLParser.pm:
2319         (typeHasNullableSuffix):
2320         (typeRemoveNullableSuffix):
2321         (parseAttributeRest):
2322         (parseOptionalOrRequiredArgument):
2323         (parseAttributeRestOld):
2324         * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
2325         (WebDOMTestObj::nullableDoubleAttribute):
2326         (WebDOMTestObj::nullableLongAttribute):
2327         (WebDOMTestObj::nullableBooleanAttribute):
2328         (WebDOMTestObj::nullableStringAttribute):
2329         (WebDOMTestObj::nullableLongSettableAttribute):
2330         (WebDOMTestObj::setNullableLongSettableAttribute):
2331         (WebDOMTestObj::nullableStringValue):
2332         (WebDOMTestObj::setNullableStringValue):
2333         * bindings/scripts/test/CPP/WebDOMTestObj.h:
2334         * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
2335         (webkit_dom_test_obj_set_property):
2336         (webkit_dom_test_obj_get_property):
2337         (webkit_dom_test_obj_class_init):
2338         (webkit_dom_test_obj_get_nullable_double_attribute):
2339         (webkit_dom_test_obj_get_nullable_long_attribute):
2340         (webkit_dom_test_obj_get_nullable_boolean_attribute):
2341         (webkit_dom_test_obj_get_nullable_string_attribute):
2342         (webkit_dom_test_obj_get_nullable_long_settable_attribute):
2343         (webkit_dom_test_obj_set_nullable_long_settable_attribute):
2344         (webkit_dom_test_obj_get_nullable_string_value):
2345         (webkit_dom_test_obj_set_nullable_string_value):
2346         * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
2347         * bindings/scripts/test/JS/JSTestObj.cpp:
2348         (WebCore):
2349         (WebCore::jsTestObjNullableDoubleAttribute):
2350         (WebCore::jsTestObjNullableLongAttribute):
2351         (WebCore::jsTestObjNullableBooleanAttribute):
2352         (WebCore::jsTestObjNullableStringAttribute):
2353         (WebCore::jsTestObjNullableLongSettableAttribute):
2354         (WebCore::jsTestObjNullableStringValue):
2355         (WebCore::setJSTestObjNullableLongSettableAttribute):
2356         (WebCore::setJSTestObjNullableStringValue):
2357         * bindings/scripts/test/JS/JSTestObj.h:
2358         (WebCore):
2359         * bindings/scripts/test/ObjC/DOMTestObj.h:
2360         * bindings/scripts/test/ObjC/DOMTestObj.mm:
2361         (-[DOMTestObj nullableDoubleAttribute]):
2362         (-[DOMTestObj nullableLongAttribute]):
2363         (-[DOMTestObj nullableBooleanAttribute]):
2364         (-[DOMTestObj nullableStringAttribute]):
2365         (-[DOMTestObj nullableLongSettableAttribute]):
2366         (-[DOMTestObj setNullableLongSettableAttribute:]):
2367         (-[DOMTestObj nullableStringValue]):
2368         (-[DOMTestObj setNullableStringValue:]):
2369         * bindings/scripts/test/TestObj.idl:
2370         * bindings/scripts/test/V8/V8TestObj.cpp:
2371         (WebCore::TestObjV8Internal::nullableDoubleAttributeAttrGetter):
2372         (TestObjV8Internal):
2373         (WebCore::TestObjV8Internal::nullableDoubleAttributeAttrGetterCallback):
2374         (WebCore::TestObjV8Internal::nullableLongAttributeAttrGetter):
2375         (WebCore::TestObjV8Internal::nullableLongAttributeAttrGetterCallback):
2376         (WebCore::TestObjV8Internal::nullableBooleanAttributeAttrGetter):
2377         (WebCore::TestObjV8Internal::nullableBooleanAttributeAttrGetterCallback):
2378         (WebCore::TestObjV8Internal::nullableStringAttributeAttrGetter):
2379         (WebCore::TestObjV8Internal::nullableStringAttributeAttrGetterCallback):
2380         (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrGetter):
2381         (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrGetterCallback):
2382         (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetter):
2383         (WebCore::TestObjV8Internal::nullableLongSettableAttributeAttrSetterCallback):
2384         (WebCore::TestObjV8Internal::nullableStringValueAttrGetter):
2385         (WebCore::TestObjV8Internal::nullableStringValueAttrGetterCallback):
2386         (WebCore::TestObjV8Internal::nullableStringValueAttrSetter):
2387         (WebCore::TestObjV8Internal::nullableStringValueAttrSetterCallback):
2388         (WebCore):
2389
2390 2013-03-15  Marja Hölttä  <marja@chromium.org>
2391
2392         [V8] Store main world and non-main world templates separately.
2393         https://bugs.webkit.org/show_bug.cgi?id=111724
2394
2395         Reviewed by Jochen Eisinger.
2396
2397         This is needed for generating specialized bindings for the main
2398         world (bug 110874).
2399
2400         No new tests (updated existing bindings tests).
2401
2402         * bindings/scripts/CodeGeneratorV8.pm:
2403         (GenerateHeader):
2404         (GenerateDomainSafeFunctionGetter):
2405         (GenerateNormalAttrSetter):
2406         (GenerateParametersCheckExpression):
2407         (GenerateParametersCheck):
2408         (GenerateImplementation):
2409         (JSValueToNative):
2410         (CreateCustomSignature):
2411         * bindings/scripts/test/V8/V8Float64Array.cpp:
2412         (WebCore::Float64ArrayV8Internal::fooMethod):
2413         (WebCore::ConfigureV8Float64ArrayTemplate):
2414         (WebCore::V8Float64Array::GetTemplate):
2415         (WebCore::V8Float64Array::HasInstance):
2416         (WebCore):
2417         (WebCore::V8Float64Array::HasInstanceInAnyWorld):
2418         * bindings/scripts/test/V8/V8Float64Array.h:
2419         (V8Float64Array):
2420         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
2421         (WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
2422         (WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
2423         (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
2424         (WebCore::V8TestActiveDOMObject::GetTemplate):
2425         (WebCore::V8TestActiveDOMObject::HasInstance):
2426         (WebCore):
2427         (WebCore::V8TestActiveDOMObject::HasInstanceInAnyWorld):
2428         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
2429         (V8TestActiveDOMObject):
2430         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
2431         (WebCore::V8TestCustomNamedGetter::GetTemplate):
2432         (WebCore::V8TestCustomNamedGetter::HasInstance):
2433         (WebCore):
2434         (WebCore::V8TestCustomNamedGetter::HasInstanceInAnyWorld):
2435         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
2436         (V8TestCustomNamedGetter):
2437         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
2438         (WebCore::V8TestEventConstructor::GetTemplate):
2439         (WebCore::V8TestEventConstructor::HasInstance):
2440         (WebCore):
2441         (WebCore::V8TestEventConstructor::HasInstanceInAnyWorld):
2442         * bindings/scripts/test/V8/V8TestEventConstructor.h:
2443         (V8TestEventConstructor):
2444         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
2445         (WebCore::TestEventTargetV8Internal::dispatchEventMethod):
2446         (WebCore::ConfigureV8TestEventTargetTemplate):
2447         (WebCore::V8TestEventTarget::GetTemplate):
2448         (WebCore::V8TestEventTarget::HasInstance):
2449         (WebCore):
2450         (WebCore::V8TestEventTarget::HasInstanceInAnyWorld):
2451         * bindings/scripts/test/V8/V8TestEventTarget.h:
2452         (V8TestEventTarget):
2453         * bindings/scripts/test/V8/V8TestException.cpp:
2454         (WebCore::V8TestException::GetTemplate):
2455         (WebCore::V8TestException::HasInstance):
2456         (WebCore):
2457         (WebCore::V8TestException::HasInstanceInAnyWorld):
2458         * bindings/scripts/test/V8/V8TestException.h:
2459         (V8TestException):
2460         * bindings/scripts/test/V8/V8TestInterface.cpp:
2461         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
2462         (WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
2463         (WebCore::ConfigureV8TestInterfaceTemplate):
2464         (WebCore::V8TestInterface::GetTemplate):
2465         (WebCore::V8TestInterface::HasInstance):
2466         (WebCore):
2467         (WebCore::V8TestInterface::HasInstanceInAnyWorld):
2468         * bindings/scripts/test/V8/V8TestInterface.h:
2469         (V8TestInterface):
2470         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
2471         (WebCore::V8TestMediaQueryListListener::GetTemplate):
2472         (WebCore::V8TestMediaQueryListListener::HasInstance):
2473         (WebCore):
2474         (WebCore::V8TestMediaQueryListListener::HasInstanceInAnyWorld):
2475         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
2476         (V8TestMediaQueryListListener):
2477         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
2478         (WebCore::V8TestNamedConstructor::GetTemplate):
2479         (WebCore::V8TestNamedConstructor::HasInstance):
2480         (WebCore):
2481         (WebCore::V8TestNamedConstructor::HasInstanceInAnyWorld):
2482         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
2483         (V8TestNamedConstructor):
2484         * bindings/scripts/test/V8/V8TestNode.cpp:
2485         (WebCore::V8TestNode::GetTemplate):
2486         (WebCore::V8TestNode::HasInstance):
2487         (WebCore):
2488         (WebCore::V8TestNode::HasInstanceInAnyWorld):
2489         * bindings/scripts/test/V8/V8TestNode.h:
2490         (V8TestNode):
2491         * bindings/scripts/test/V8/V8TestObj.cpp:
2492         (WebCore::TestObjV8Internal::testObjAttrAttrSetter):
2493         (WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
2494         (WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
2495         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
2496         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
2497         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
2498         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
2499         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
2500         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
2501         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
2502         (WebCore::TestObjV8Internal::mutablePointAttrSetter):
2503         (WebCore::TestObjV8Internal::immutablePointAttrSetter):
2504         (WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
2505         (WebCore::TestObjV8Internal::longMethodWithArgsMethod):
2506         (WebCore::TestObjV8Internal::objMethodWithArgsMethod):
2507         (WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
2508         (WebCore::TestObjV8Internal::overloadedMethod1Method):
2509         (WebCore::TestObjV8Internal::overloadedMethod2Method):
2510         (WebCore::TestObjV8Internal::overloadedMethod8Method):
2511         (WebCore::TestObjV8Internal::overloadedMethodMethod):
2512         (WebCore::TestObjV8Internal::convert1Method):
2513         (WebCore::TestObjV8Internal::convert2Method):
2514         (WebCore::TestObjV8Internal::convert4Method):
2515         (WebCore::TestObjV8Internal::convert5Method):
2516         (WebCore::TestObjV8Internal::variadicNodeMethodMethod):
2517         (WebCore::ConfigureV8TestObjTemplate):
2518         (WebCore::V8TestObj::GetTemplate):
2519         (WebCore::V8TestObj::HasInstance):
2520         (WebCore):
2521         (WebCore::V8TestObj::HasInstanceInAnyWorld):
2522         * bindings/scripts/test/V8/V8TestObj.h:
2523         (V8TestObj):
2524         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
2525         (WebCore::TestOverloadedConstructorsV8Internal::constructor1):
2526         (WebCore::TestOverloadedConstructorsV8Internal::constructor2):
2527         (WebCore::TestOverloadedConstructorsV8Internal::constructor3):
2528         (WebCore::TestOverloadedConstructorsV8Internal::constructor):
2529         (WebCore::V8TestOverloadedConstructors::GetTemplate):
2530         (WebCore::V8TestOverloadedConstructors::HasInstance):
2531         (WebCore):
2532         (WebCore::V8TestOverloadedConstructors::HasInstanceInAnyWorld):
2533         * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
2534         (V8TestOverloadedConstructors):
2535         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
2536         (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
2537         (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
2538         (WebCore):
2539         (WebCore::V8TestSerializedScriptValueInterface::HasInstanceInAnyWorld):
2540         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
2541         (V8TestSerializedScriptValueInterface):
2542         * bindings/scripts/test/V8/V8TestTypedefs.cpp:
2543         (WebCore::TestTypedefsV8Internal::funcMethod):
2544         (WebCore::ConfigureV8TestTypedefsTemplate):
2545         (WebCore::V8TestTypedefs::GetTemplate):
2546         (WebCore::V8TestTypedefs::HasInstance):
2547         (WebCore):
2548         (WebCore::V8TestTypedefs::HasInstanceInAnyWorld):
2549         * bindings/scripts/test/V8/V8TestTypedefs.h:
2550         (V8TestTypedefs):
2551         * bindings/v8/Dictionary.cpp:
2552         (WebCore::Dictionary::get):
2553         * bindings/v8/ScriptProfiler.cpp:
2554         (WebCore::ScriptProfiler::visitNodeWrappers):
2555         * bindings/v8/SerializedScriptValue.cpp:
2556         * bindings/v8/V8AdaptorFunction.cpp:
2557         (WebCore::V8AdaptorFunction::getTemplate):
2558         * bindings/v8/V8Binding.cpp:
2559         (WebCore::toDOMStringList):
2560         (WebCore::toXPathNSResolver):
2561         * bindings/v8/V8Binding.h:
2562         (WebCore):
2563         (WebCore::toRefPtrNativeArray):
2564         * bindings/v8/V8Collection.cpp:
2565         (WebCore::toOptionsCollectionSetter):
2566         * bindings/v8/V8GCController.cpp:
2567         * bindings/v8/V8NPObject.cpp:
2568         (WebCore::npObjectInvokeImpl):
2569         * bindings/v8/V8PerIsolateData.cpp:
2570         (WebCore::V8PerIsolateData::reportMemoryUsage):
2571         (WebCore::V8PerIsolateData::hasPrivateTemplate):
2572         (WebCore::V8PerIsolateData::privateTemplate):
2573         (WebCore::V8PerIsolateData::rawTemplate):
2574         (WebCore::V8PerIsolateData::hasInstance):
2575         * bindings/v8/V8PerIsolateData.h:
2576         (WebCore::V8PerIsolateData::rawTemplateMap):
2577         (V8PerIsolateData):
2578         (WebCore::V8PerIsolateData::templateMap):
2579         * bindings/v8/V8Utilities.cpp:
2580         (WebCore::extractTransferables):
2581         * bindings/v8/custom/V8ArrayBufferViewCustom.h:
2582         (WebCore::constructWebGLArray):
2583         (WebCore::setWebGLArrayHelper):
2584         * bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
2585         (WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
2586         * bindings/v8/custom/V8BlobCustom.cpp:
2587         (WebCore::V8Blob::constructorCustom):
2588         * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
2589         (WebCore::toCanvasStyle):
2590         * bindings/v8/custom/V8ClipboardCustom.cpp:
2591         (WebCore::V8Clipboard::setDragImageMethodCustom):
2592         * bindings/v8/custom/V8CryptoCustom.cpp:
2593         (WebCore::V8Crypto::getRandomValuesMethodCustom):
2594         * bindings/v8/custom/V8DOMFormDataCustom.cpp:
2595         (WebCore::V8DOMFormData::constructorCustom):
2596         (WebCore::V8DOMFormData::appendMethodCustom):
2597         * bindings/v8/custom/V8DataViewCustom.cpp:
2598         (WebCore::V8DataView::constructorCustom):
2599         * bindings/v8/custom/V8DocumentCustom.cpp:
2600         (WebCore::V8Document::evaluateMethodCustom):
2601         * bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
2602         (WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
2603         * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
2604         (WebCore::V8HTMLOptionsCollection::addMethodCustom):
2605         * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
2606         (WebCore::removeElement):
2607         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
2608         (WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
2609         (WebCore::V8InjectedScriptHost::typeMethodCustom):
2610         (WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
2611         * bindings/v8/custom/V8LocationCustom.cpp:
2612         (WebCore::V8Location::reloadAttrGetterCustom):
2613         (WebCore::V8Location::replaceAttrGetterCustom):
2614         (WebCore::V8Location::assignAttrGetterCustom):
2615         * bindings/v8/custom/V8NodeCustom.cpp:
2616         (WebCore::V8Node::insertBeforeMethodCustom):
2617         (WebCore::V8Node::replaceChildMethodCustom):
2618         (WebCore::V8Node::removeChildMethodCustom):
2619         (WebCore::V8Node::appendChildMethodCustom):
2620         * bindings/v8/custom/V8NodeListCustom.cpp:
2621         (WebCore::V8NodeList::opaqueRootForGC):
2622         * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
2623         (WebCore::toWebGLUniformLocation):
2624         (WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
2625         (WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
2626         (WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
2627         (WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
2628         (WebCore::vertexAttribAndUniformHelperf):
2629         (WebCore::uniformHelperi):
2630         (WebCore::uniformMatrixHelper):
2631         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
2632         (WebCore::isDocumentType):
2633         (WebCore::V8XMLHttpRequest::sendMethodCustom):
2634
2635 2013-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2636
2637         Unreviewed, rolling out r145802.
2638         http://trac.webkit.org/changeset/145802
2639         https://bugs.webkit.org/show_bug.cgi?id=112444
2640
2641         This broke Chrome. (Requested by marja____ on #webkit).
2642
2643         * bindings/scripts/CodeGeneratorV8.pm:
2644         (GenerateHeader):
2645         (GenerateDomainSafeFunctionGetter):
2646         (GenerateNormalAttrSetter):
2647         (GenerateParametersCheckExpression):
2648         (GenerateParametersCheck):
2649         (GenerateImplementation):
2650         (JSValueToNative):
2651         (CreateCustomSignature):
2652         * bindings/scripts/test/V8/V8Float64Array.cpp:
2653         (WebCore::Float64ArrayV8Internal::fooMethod):
2654         (WebCore::ConfigureV8Float64ArrayTemplate):
2655         (WebCore::V8Float64Array::GetTemplate):
2656         (WebCore::V8Float64Array::HasInstance):
2657         * bindings/scripts/test/V8/V8Float64Array.h:
2658         (V8Float64Array):
2659         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
2660         (WebCore::TestActiveDOMObjectV8Internal::excitingFunctionMethod):
2661         (WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
2662         (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
2663         (WebCore::V8TestActiveDOMObject::GetTemplate):
2664         (WebCore::V8TestActiveDOMObject::HasInstance):
2665         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
2666         (V8TestActiveDOMObject):
2667         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
2668         (WebCore::V8TestCustomNamedGetter::GetTemplate):
2669         (WebCore::V8TestCustomNamedGetter::HasInstance):
2670         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
2671         (V8TestCustomNamedGetter):
2672         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
2673         (WebCore::V8TestEventConstructor::GetTemplate):
2674         (WebCore::V8TestEventConstructor::HasInstance):
2675         * bindings/scripts/test/V8/V8TestEventConstructor.h:
2676         (V8TestEventConstructor):
2677         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
2678         (WebCore::TestEventTargetV8Internal::dispatchEventMethod):
2679         (WebCore::ConfigureV8TestEventTargetTemplate):
2680         (WebCore::V8TestEventTarget::GetTemplate):
2681         (WebCore::V8TestEventTarget::HasInstance):
2682         * bindings/scripts/test/V8/V8TestEventTarget.h:
2683         (V8TestEventTarget):
2684         * bindings/scripts/test/V8/V8TestException.cpp:
2685         (WebCore::V8TestException::GetTemplate):
2686         (WebCore::V8TestException::HasInstance):
2687         * bindings/scripts/test/V8/V8TestException.h:
2688         (V8TestException):
2689         * bindings/scripts/test/V8/V8TestInterface.cpp:
2690         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetter):
2691         (WebCore::TestInterfaceV8Internal::supplementalMethod2Method):
2692         (WebCore::ConfigureV8TestInterfaceTemplate):
2693         (WebCore::V8TestInterface::GetTemplate):
2694         (WebCore::V8TestInterface::HasInstance):
2695         * bindings/scripts/test/V8/V8TestInterface.h:
2696         (V8TestInterface):
2697         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
2698         (WebCore::V8TestMediaQueryListListener::GetTemplate):
2699         (WebCore::V8TestMediaQueryListListener::HasInstance):
2700         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
2701         (V8TestMediaQueryListListener):
2702         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
2703         (WebCore::V8TestNamedConstructor::GetTemplate):
2704         (WebCore::V8TestNamedConstructor::HasInstance):
2705         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
2706         (V8TestNamedConstructor):
2707         * bindings/scripts/test/V8/V8TestNode.cpp:
2708         (WebCore::V8TestNode::GetTemplate):
2709         (WebCore::V8TestNode::HasInstance):
2710         * bindings/scripts/test/V8/V8TestNode.h:
2711         (V8TestNode):
2712         * bindings/scripts/test/V8/V8TestObj.cpp:
2713         (WebCore::TestObjV8Internal::testObjAttrAttrSetter):
2714         (WebCore::TestObjV8Internal::XMLObjAttrAttrSetter):
2715         (WebCore::TestObjV8Internal::typedArrayAttrAttrSetter):
2716         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetter):
2717         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetter):
2718         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetter):
2719         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetter):
2720         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetter):
2721         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetter):
2722         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetter):
2723         (WebCore::TestObjV8Internal::mutablePointAttrSetter):
2724         (WebCore::TestObjV8Internal::immutablePointAttrSetter):
2725         (WebCore::TestObjV8Internal::voidMethodWithArgsMethod):
2726         (WebCore::TestObjV8Internal::longMethodWithArgsMethod):
2727         (WebCore::TestObjV8Internal::objMethodWithArgsMethod):
2728         (WebCore::TestObjV8Internal::methodThatRequiresAllArgsAndThrowsMethod):
2729         (WebCore::TestObjV8Internal::overloadedMethod1Method):
2730         (WebCore::TestObjV8Internal::overloadedMethod2Method):
2731         (WebCore::TestObjV8Internal::overloadedMethod8Method):
2732         (WebCore::TestObjV8Internal::overloadedMethodMethod):
2733         (WebCore::TestObjV8Internal::convert1Method):
2734         (WebCore::TestObjV8Internal::convert2Method):
2735         (WebCore::TestObjV8Internal::convert4Method):
2736         (WebCore::TestObjV8Internal::convert5Method):
2737         (WebCore::TestObjV8Internal::variadicNodeMethodMethod):
2738         (WebCore::ConfigureV8TestObjTemplate):
2739         (WebCore::V8TestObj::GetTemplate):
2740         (WebCore::V8TestObj::HasInstance):
2741         * bindings/scripts/test/V8/V8TestObj.h:
2742         (V8TestObj):
2743         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
2744         (WebCore::TestOverloadedConstructorsV8Internal::constructor1):
2745         (WebCore::TestOverloadedConstructorsV8Internal::constructor2):
2746         (WebCore::TestOverloadedConstructorsV8Internal::constructor3):
2747         (WebCore::TestOverloadedConstructorsV8Internal::constructor):
2748         (WebCore::V8TestOverloadedConstructors::GetTemplate):
2749         (WebCore::V8TestOverloadedConstructors::HasInstance):
2750         * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
2751         (V8TestOverloadedConstructors):
2752         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
2753         (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
2754         (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
2755         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
2756         (V8TestSerializedScriptValueInterface):
2757         * bindings/scripts/test/V8/V8TestTypedefs.cpp:
2758         (WebCore::TestTypedefsV8Internal::funcMethod):
2759         (WebCore::ConfigureV8TestTypedefsTemplate):
2760         (WebCore::V8TestTypedefs::GetTemplate):
2761         (WebCore::V8TestTypedefs::HasInstance):
2762         * bindings/scripts/test/V8/V8TestTypedefs.h:
2763         (V8TestTypedefs):
2764         * bindings/v8/Dictionary.cpp:
2765         (WebCore::Dictionary::get):
2766         * bindings/v8/ScriptProfiler.cpp:
2767         (WebCore::ScriptProfiler::visitNodeWrappers):
2768         * bindings/v8/SerializedScriptValue.cpp:
2769         * bindings/v8/V8AdaptorFunction.cpp:
2770         (WebCore::V8AdaptorFunction::getTemplate):
2771         * bindings/v8/V8Binding.cpp:
2772         (WebCore::toDOMStringList):
2773         (WebCore::toXPathNSResolver):
2774         * bindings/v8/V8Binding.h:
2775         (WebCore::toRefPtrNativeArray):
2776         (WebCore):
2777         * bindings/v8/V8Collection.cpp:
2778         (WebCore::toOptionsCollectionSetter):
2779         * bindings/v8/V8GCController.cpp:
2780         * bindings/v8/V8NPObject.cpp:
2781         (WebCore::npObjectInvokeImpl):
2782         * bindings/v8/V8PerIsolateData.cpp:
2783         (WebCore::V8PerIsolateData::reportMemoryUsage):
2784         (WebCore::V8PerIsolateData::hasPrivateTemplate):
2785         (WebCore::V8PerIsolateData::privateTemplate):
2786         (WebCore::V8PerIsolateData::rawTemplate):
2787         (WebCore::V8PerIsolateData::hasInstance):
2788         * bindings/v8/V8PerIsolateData.h:
2789         (WebCore::V8PerIsolateData::rawTemplateMap):
2790         (WebCore::V8PerIsolateData::templateMap):
2791         (V8PerIsolateData):
2792         * bindings/v8/V8Utilities.cpp:
2793         (WebCore::extractTransferables):
2794         * bindings/v8/custom/V8ArrayBufferViewCustom.h:
2795         (WebCore::constructWebGLArray):
2796         (WebCore::setWebGLArrayHelper):
2797         * bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp:
2798         (WebCore::V8AudioBufferSourceNode::bufferAttrSetterCustom):
2799         * bindings/v8/custom/V8BlobCustom.cpp:
2800         (WebCore::V8Blob::constructorCustom):
2801         * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
2802         (WebCore::toCanvasStyle):
2803         * bindings/v8/custom/V8ClipboardCustom.cpp:
2804         (WebCore::V8Clipboard::setDragImageMethodCustom):
2805         * bindings/v8/custom/V8CryptoCustom.cpp:
2806         (WebCore::V8Crypto::getRandomValuesMethodCustom):
2807         * bindings/v8/custom/V8DOMFormDataCustom.cpp:
2808         (WebCore::V8DOMFormData::constructorCustom):
2809         (WebCore::V8DOMFormData::appendMethodCustom):
2810         * bindings/v8/custom/V8DataViewCustom.cpp:
2811         (WebCore::V8DataView::constructorCustom):
2812         * bindings/v8/custom/V8DocumentCustom.cpp:
2813         (WebCore::V8Document::evaluateMethodCustom):
2814         * bindings/v8/custom/V8HTMLMediaElementCustom.cpp:
2815         (WebCore::V8HTMLMediaElement::controllerAttrSetterCustom):
2816         * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
2817         (WebCore::V8HTMLOptionsCollection::addMethodCustom):
2818         * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
2819         (WebCore::removeElement):
2820         * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
2821         (WebCore::V8InjectedScriptHost::isHTMLAllCollectionMethodCustom):
2822         (WebCore::V8InjectedScriptHost::typeMethodCustom):
2823         (WebCore::V8InjectedScriptHost::getEventListenersMethodCustom):
2824         * bindings/v8/custom/V8LocationCustom.cpp:
2825         (WebCore::V8Location::reloadAttrGetterCustom):
2826         (WebCore::V8Location::replaceAttrGetterCustom):
2827         (WebCore::V8Location::assignAttrGetterCustom):
2828         * bindings/v8/custom/V8NodeCustom.cpp:
2829         (WebCore::V8Node::insertBeforeMethodCustom):
2830         (WebCore::V8Node::replaceChildMethodCustom):
2831         (WebCore::V8Node::removeChildMethodCustom):
2832         (WebCore::V8Node::appendChildMethodCustom):
2833         * bindings/v8/custom/V8NodeListCustom.cpp:
2834         (WebCore::V8NodeList::opaqueRootForGC):
2835         * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
2836         (WebCore::toWebGLUniformLocation):
2837         (WebCore::V8WebGLRenderingContext::getAttachedShadersMethodCustom):
2838         (WebCore::V8WebGLRenderingContext::getProgramParameterMethodCustom):
2839         (WebCore::V8WebGLRenderingContext::getShaderParameterMethodCustom):
2840         (WebCore::V8WebGLRenderingContext::getUniformMethodCustom):
2841         (WebCore::vertexAttribAndUniformHelperf):
2842         (WebCore::uniformHelperi):
2843         (WebCore::uniformMatrixHelper):
2844         * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
2845         (WebCore::isDocumentType):
2846         (WebCore::V8XMLHttpRequest::sendMethodCustom):
2847
2848 2013-03-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2849
2850         Unreviewed, rolling out r145896.
2851         http://trac.webkit.org/changeset/145896
2852         https://bugs.webkit.org/show_bug.cgi?id=112443
2853
2854         Chrome broken by r145802 and this builds on top of it.
2855         (Requested by marja____ on #webkit).
2856
2857         * bindings/scripts/CodeGeneratorV8.pm:
2858         (GenerateHeader):
2859         (GenerateNormalAttrGetterCallback):
2860         (GenerateNormalAttrGetter):
2861         (GenerateNormalAttrSetterCallback):
2862         (GenerateNormalAttrSetter):
2863         (GenerateNamedConstructor):
2864         (GenerateBatchedAttributeData):
2865         (GenerateSingleBatchedAttribute):
2866         (GenerateImplementation):
2867         (GenerateCallbackImplementation):
2868         (GenerateFunctionCallString):
2869         (CreateCustomSignature):
2870         (NativeToJSValue):
2871         * bindings/scripts/test/V8/V8Float64Array.cpp:
2872         (WebCore::ConfigureV8Float64ArrayTemplate):
2873         (WebCore::V8Float64Array::GetTemplate):
2874         (WebCore::V8Float64Array::HasInstance):
2875         * bindings/scripts/test/V8/V8Float64Array.h:
2876         (WebCore):
2877         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
2878         (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
2879         (WebCore::V8TestActiveDOMObject::GetTemplate):
2880         (WebCore::V8TestActiveDOMObject::HasInstance):
2881         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
2882         (WebCore):
2883         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
2884         (WebCore::ConfigureV8TestCustomNamedGetterTemplate):
2885         (WebCore::V8TestCustomNamedGetter::GetTemplate):
2886         (WebCore::V8TestCustomNamedGetter::HasInstance):
2887         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
2888         (WebCore):
2889         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
2890         (WebCore):
2891         (WebCore::ConfigureV8TestEventConstructorTemplate):
2892         (WebCore::V8TestEventConstructor::GetTemplate):
2893         (WebCore::V8TestEventConstructor::HasInstance):
2894         * bindings/scripts/test/V8/V8TestEventConstructor.h:
2895         (WebCore):
2896         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
2897         (WebCore::ConfigureV8TestEventTargetTemplate):
2898         (WebCore::V8TestEventTarget::GetTemplate):
2899         (WebCore::V8TestEventTarget::HasInstance):
2900         * bindings/scripts/test/V8/V8TestEventTarget.h:
2901         (WebCore):
2902         * bindings/scripts/test/V8/V8TestException.cpp:
2903         (WebCore::ConfigureV8TestExceptionTemplate):
2904         (WebCore::V8TestException::GetTemplate):
2905         (WebCore::V8TestException::HasInstance):
2906         * bindings/scripts/test/V8/V8TestException.h:
2907         (WebCore):
2908         * bindings/scripts/test/V8/V8TestInterface.cpp:
2909         (TestInterfaceV8Internal):
2910         (WebCore):
2911         (WebCore::ConfigureV8TestInterfaceTemplate):
2912         (WebCore::V8TestInterface::GetTemplate):
2913         (WebCore::V8TestInterface::HasInstance):
2914         * bindings/scripts/test/V8/V8TestInterface.h:
2915         (WebCore):
2916         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
2917         (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
2918         (WebCore::V8TestMediaQueryListListener::GetTemplate):
2919         (WebCore::V8TestMediaQueryListListener::HasInstance):
2920         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
2921         (WebCore):
2922         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
2923         (WebCore::V8TestNamedConstructorConstructor::GetTemplate):
2924         (WebCore::ConfigureV8TestNamedConstructorTemplate):
2925         (WebCore::V8TestNamedConstructor::GetTemplate):
2926         (WebCore::V8TestNamedConstructor::HasInstance):
2927         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
2928         (WebCore):
2929         * bindings/scripts/test/V8/V8TestNode.cpp:
2930         (WebCore::ConfigureV8TestNodeTemplate):
2931         (WebCore::V8TestNode::GetTemplate):
2932         (WebCore::V8TestNode::HasInstance):
2933         * bindings/scripts/test/V8/V8TestNode.h:
2934         (WebCore):
2935         * bindings/scripts/test/V8/V8TestObj.cpp:
2936         (TestObjV8Internal):
2937         (WebCore):
2938         (WebCore::ConfigureV8TestObjTemplate):
2939         (WebCore::V8TestObj::GetTemplate):
2940         (WebCore::V8TestObj::HasInstance):
2941         * bindings/scripts/test/V8/V8TestObj.h:
2942         (WebCore):
2943         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
2944         (WebCore::ConfigureV8TestOverloadedConstructorsTemplate):
2945         (WebCore::V8TestOverloadedConstructors::GetTemplate):
2946         (WebCore::V8TestOverloadedConstructors::HasInstance):
2947         * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
2948         (WebCore):
2949         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
2950         (WebCore):
2951         (WebCore::ConfigureV8TestSerializedScriptValueInterfaceTemplate):
2952         (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
2953         (WebCore::V8TestSerializedScriptValueInterface::HasInstance):
2954         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
2955         (WebCore):
2956         * bindings/scripts/test/V8/V8TestTypedefs.cpp:
2957         (WebCore):
2958         (WebCore::ConfigureV8TestTypedefsTemplate):
2959         (WebCore::V8TestTypedefs::GetTemplate):
2960         (WebCore::V8TestTypedefs::HasInstance):
2961         * bindings/scripts/test/V8/V8TestTypedefs.h:
2962         (WebCore):
2963         * bindings/v8/DOMDataStore.h:
2964         (DOMDataStore):
2965         * bindings/v8/V8DOMConfiguration.cpp:
2966         * bindings/v8/V8DOMConfiguration.h:
2967         (V8DOMConfiguration):
2968         * bindings/v8/custom/V8DOMWindowCustom.cpp:
2969         * bindings/v8/custom/V8EventTargetCustom.cpp:
2970         * bindings/v8/custom/V8IDBAnyCustom.cpp:
2971         * bindings/v8/custom/V8MicroDataItemValueCustom.cpp:
2972         * bindings/v8/custom/V8WorkerContextCustom.cpp:
2973
2974 2013-03-15  Alberto Garcia  <agarcia@igalia.com>
2975
2976         [BlackBerry] Remove PlatformSupport
2977         https://bugs.webkit.org/show_bug.cgi?id=112438
2978
2979         Reviewed by Rob Buis.
2980
2981         This class only contains getFontFamilyForCharacters(), which was
2982         moved from PlatformSupport to FontCache in r129257.
2983
2984         This patch does the same for the BlackBerry port.
2985
2986         * platform/graphics/FontCache.h:
2987         (FontCache):
2988         * platform/graphics/blackberry/FontCacheBlackBerry.cpp:
2989         (WebCore::FontCache::getFontFamilyForCharacters):
2990         (WebCore):
2991         (WebCore::FontCache::getFontDataForCharacters):
2992         * platform/graphics/blackberry/PlatformSupport.cpp: Removed.
2993         * platform/graphics/blackberry/PlatformSupport.h: Removed.
2994
2995 2013-03-15  Alberto Garcia  <agarcia@igalia.com>
2996
2997         [BlackBerry] FontPlatformData: remove TextOrientation parameter
2998         https://bugs.webkit.org/show_bug.cgi?id=112135
2999
3000         Reviewed by Rob Buis.
3001
3002         I forgot to remove the #include "TextOrientation.h" line as
3003         well. This file no longer exists.
3004
3005         * platform/graphics/blackberry/FontCustomPlatformData.h:
3006
3007 2013-03-15  Sankeerth V S  <sankeerth.vs@samsung.com>
3008
3009         DataGrid should reveal and select next/previous DataGridNode upon deletion of selected node
3010         https://bugs.webkit.org/show_bug.cgi?id=112404
3011
3012         Reviewed by Vsevolod Vlasov.
3013
3014         No new tests as this is a UI related change.
3015
3016         While deleting the entries of the data grid by clicking on 'Delete'
3017         status bar button, deletion of selected node should trigger selection of
3018         next possible (backward/forward) DataGridNode.
3019
3020         * inspector/front-end/DOMStorageItemsView.js:
3021         (WebInspector.DOMStorageItemsView.prototype._deleteButtonClicked):
3022         * inspector/front-end/DataGrid.js:
3023         (WebInspector.DataGrid.prototype._keyDown):
3024         (WebInspector.DataGrid.prototype.changeNodeAfterDeletion):
3025
3026 2013-03-15  Ilya Tikhonovsky  <loislo@chromium.org>
3027
3028         Web Inspector: Flame Chart. Draw timeline grid over flame chart items.
3029         https://bugs.webkit.org/show_bug.cgi?id=112439
3030
3031         Reviewed by Pavel Feldman.
3032
3033         I've used WebInspector.TimelineGrid
3034
3035         * inspector/front-end/FlameChart.js:
3036         (WebInspector.FlameChart):
3037         (WebInspector.FlameChart.Calculator):
3038         (WebInspector.FlameChart.Calculator.prototype._updateBoundaries):
3039         (WebInspector.FlameChart.Calculator.prototype.computePosition):
3040         (WebInspector.FlameChart.Calculator.prototype.formatTime):
3041         (WebInspector.FlameChart.Calculator.prototype.maximumBoundary):
3042         (WebInspector.FlameChart.Calculator.prototype.minimumBoundary):
3043         (WebInspector.FlameChart.Calculator.prototype.boundarySpan):
3044         (WebInspector.FlameChart.prototype.update):
3045
3046 2013-03-15  Marja Hölttä  <marja@chromium.org>
3047
3048         [V8] Add machinery for generating specialized bindings for the main world
3049         https://bugs.webkit.org/show_bug.cgi?id=111417
3050
3051         Reviewed by Kentaro Hara.
3052
3053         The new specialized bindings will be faster, because they don't need to
3054         do the "main world, isolated world or a worker" check, but can right
3055         away assume that we're in the main world.
3056
3057         This patch generates main world bindings for getters and setters.
3058
3059         No new tests (updated existing bindings tests).
3060
3061         * bindings/scripts/CodeGeneratorV8.pm:
3062         (GenerateHeader):
3063         (GenerateNormalAttrGetterCallback):
3064         (GenerateNormalAttrGetter):
3065         (GenerateNormalAttrSetterCallback):
3066         (GenerateNormalAttrSetter):
3067         (GenerateNamedConstructor):
3068         (GenerateBatchedAttributeData):
3069         (GenerateSingleBatchedAttribute):
3070         (GenerateImplementation):
3071         (GenerateCallbackImplementation):
3072         (GenerateFunctionCallString):
3073         (CreateCustomSignature):
3074         (NativeToJSValue):
3075         * bindings/scripts/test/V8/V8Float64Array.cpp:
3076         (WebCore::ConfigureV8Float64ArrayTemplate):
3077         (WebCore::V8Float64Array::GetTemplate):
3078         (WebCore::V8Float64Array::HasInstance):
3079         * bindings/scripts/test/V8/V8Float64Array.h:
3080         (WebCore::toV8ForMainWorld):
3081         (WebCore):
3082         (WebCore::toV8FastForMainWorld):
3083         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
3084         (WebCore::TestActiveDOMObjectV8Internal::excitingAttrAttrGetterForMainWorld):
3085         (TestActiveDOMObjectV8Internal):
3086         (WebCore::TestActiveDOMObjectV8Internal::excitingAttrAttrGetterCallbackForMainWorld):
3087         (WebCore):
3088         (WebCore::ConfigureV8TestActiveDOMObjectTemplate):
3089         (WebCore::V8TestActiveDOMObject::GetTemplate):
3090         (WebCore::V8TestActiveDOMObject::HasInstance):
3091         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
3092         (WebCore::toV8ForMainWorld):
3093         (WebCore):
3094         (WebCore::toV8FastForMainWorld):
3095         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
3096         (WebCore::ConfigureV8TestCustomNamedGetterTemplate):
3097         (WebCore::V8TestCustomNamedGetter::GetTemplate):
3098         (WebCore::V8TestCustomNamedGetter::HasInstance):
3099         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
3100         (WebCore::toV8ForMainWorld):
3101         (WebCore):
3102         (WebCore::toV8FastForMainWorld):
3103         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
3104         (WebCore::TestEventConstructorV8Internal::attr1AttrGetterForMainWorld):
3105         (TestEventConstructorV8Internal):
3106         (WebCore::TestEventConstructorV8Internal::attr1AttrGetterCallbackForMainWorld):
3107         (WebCore::TestEventConstructorV8Internal::attr2AttrGetterForMainWorld):
3108         (WebCore::TestEventConstructorV8Internal::attr2AttrGetterCallbackForMainWorld):
3109         (WebCore):
3110         (WebCore::ConfigureV8TestEventConstructorTemplate):
3111         (WebCore::V8TestEventConstructor::GetTemplate):
3112         (WebCore::V8TestEventConstructor::HasInstance):
3113         * bindings/scripts/test/V8/V8TestEventConstructor.h:
3114         (WebCore::toV8ForMainWorld):
3115         (WebCore):
3116         (WebCore::toV8FastForMainWorld):
3117         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
3118         (WebCore::ConfigureV8TestEventTargetTemplate):
3119         (WebCore::V8TestEventTarget::GetTemplate):
3120         (WebCore::V8TestEventTarget::HasInstance):
3121         * bindings/scripts/test/V8/V8TestEventTarget.h:
3122         (WebCore::toV8ForMainWorld):
3123         (WebCore):
3124         (WebCore::toV8FastForMainWorld):
3125         * bindings/scripts/test/V8/V8TestException.cpp:
3126         (WebCore::TestExceptionV8Internal::nameAttrGetterForMainWorld):
3127         (TestExceptionV8Internal):
3128         (WebCore::TestExceptionV8Internal::nameAttrGetterCallbackForMainWorld):
3129         (WebCore):
3130         (WebCore::ConfigureV8TestExceptionTemplate):
3131         (WebCore::V8TestException::GetTemplate):
3132         (WebCore::V8TestException::HasInstance):
3133         * bindings/scripts/test/V8/V8TestException.h:
3134         (WebCore::toV8ForMainWorld):
3135         (WebCore):
3136         (WebCore::toV8FastForMainWorld):
3137         * bindings/scripts/test/V8/V8TestInterface.cpp:
3138         (WebCore::TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetterForMainWorld):
3139         (TestInterfaceV8Internal):
3140         (WebCore::TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetterCallbackForMainWorld):
3141         (WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrGetterForMainWorld):
3142         (WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrGetterCallbackForMainWorld):
3143         (WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrSetterForMainWorld):
3144         (WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrSetterCallbackForMainWorld):
3145         (WebCore::TestInterfaceV8Internal::supplementalStr1AttrGetterForMainWorld):
3146         (WebCore::TestInterfaceV8Internal::supplementalStr1AttrGetterCallbackForMainWorld):
3147         (WebCore::TestInterfaceV8Internal::supplementalStr2AttrGetterForMainWorld):
3148         (WebCore::TestInterfaceV8Internal::supplementalStr2AttrGetterCallbackForMainWorld):
3149         (WebCore::TestInterfaceV8Internal::supplementalStr2AttrSetterForMainWorld):
3150         (WebCore::TestInterfaceV8Internal::supplementalStr2AttrSetterCallbackForMainWorld):
3151         (WebCore::TestInterfaceV8Internal::supplementalStr3AttrGetterCallbackForMainWorld):
3152         (WebCore::TestInterfaceV8Internal::supplementalStr3AttrSetterCallbackForMainWorld):
3153         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrGetterForMainWorld):
3154         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrGetterCallbackForMainWorld):
3155         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetterForMainWorld):
3156         (WebCore::TestInterfaceV8Internal::supplementalNodeAttrSetterCallbackForMainWorld):
3157         (WebCore):
3158         (WebCore::ConfigureV8TestInterfaceTemplate):
3159         (WebCore::V8TestInterface::GetTemplate):
3160         (WebCore::V8TestInterface::HasInstance):
3161         * bindings/scripts/test/V8/V8TestInterface.h:
3162         (WebCore::toV8ForMainWorld):
3163         (WebCore):
3164         (WebCore::toV8FastForMainWorld):
3165         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
3166         (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
3167         (WebCore::V8TestMediaQueryListListener::GetTemplate):
3168         (WebCore::V8TestMediaQueryListListener::HasInstance):
3169         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
3170         (WebCore::toV8ForMainWorld):
3171         (WebCore):
3172         (WebCore::toV8FastForMainWorld):
3173         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
3174         (WebCore::V8TestNamedConstructorConstructor::GetTemplate):
3175         (WebCore::ConfigureV8TestNamedConstructorTemplate):
3176         (WebCore::V8TestNamedConstructor::GetTemplate):
3177         (WebCore::V8TestNamedConstructor::HasInstance):
3178         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
3179         (WebCore::toV8ForMainWorld):
3180         (WebCore):
3181         (WebCore::toV8FastForMainWorld):
3182         * bindings/scripts/test/V8/V8TestNode.cpp:
3183         (WebCore::ConfigureV8TestNodeTemplate):
3184         (WebCore::V8TestNode::GetTemplate):
3185         (WebCore::V8TestNode::HasInstance):
3186         * bindings/scripts/test/V8/V8TestNode.h:
3187         (WebCore::toV8ForMainWorld):
3188         (WebCore):
3189         (WebCore::toV8FastForMainWorld):
3190         * bindings/scripts/test/V8/V8TestObj.cpp:
3191         (WebCore::TestObjV8Internal::readOnlyLongAttrAttrGetterForMainWorld):
3192         (TestObjV8Internal):
3193         (WebCore::TestObjV8Internal::readOnlyLongAttrAttrGetterCallbackForMainWorld):
3194         (WebCore::TestObjV8Internal::readOnlyStringAttrAttrGetterForMainWorld):
3195         (WebCore::TestObjV8Internal::readOnlyStringAttrAttrGetterCallbackForMainWorld):
3196         (WebCore::TestObjV8Internal::readOnlyTestObjAttrAttrGetterForMainWorld):
3197         (WebCore::TestObjV8Internal::readOnlyTestObjAttrAttrGetterCallbackForMainWorld):
3198         (WebCore::TestObjV8Internal::staticReadOnlyLongAttrAttrGetterForMainWorld):
3199         (WebCore::TestObjV8Internal::staticReadOnlyLongAttrAttrGetterCallbackForMainWorld):
3200         (WebCore::TestObjV8Internal::staticStringAttrAttrGetterForMainWorld):
3201         (WebCore::TestObjV8Internal::staticStringAttrAttrGetterCallbackForMainWorld):
3202         (WebCore::TestObjV8Internal::staticStringAttrAttrSetterForMainWorld):
3203         (WebCore::TestObjV8Internal::staticStringAttrAttrSetterCallbackForMainWorld):
3204         (WebCore::TestObjV8Internal::enumAttrAttrGetterForMainWorld):
3205         (WebCore::TestObjV8Internal::enumAttrAttrGetterCallbackForMainWorld):
3206         (WebCore::TestObjV8Internal::enumAttrAttrSetterForMainWorld):
3207         (WebCore::TestObjV8Internal::enumAttrAttrSetterCallbackForMainWorld):
3208         (WebCore::TestObjV8Internal::shortAttrAttrGetterForMainWorld):
3209         (WebCore::TestObjV8Internal::shortAttrAttrGetterCallbackForMainWorld):
3210         (WebCore::TestObjV8Internal::shortAttrAttrSetterForMainWorld):
3211         (WebCore::TestObjV8Internal::shortAttrAttrSetterCallbackForMainWorld):
3212         (WebCore::TestObjV8Internal::unsignedShortAttrAttrGetterForMainWorld):
3213         (WebCore::TestObjV8Internal::unsignedShortAttrAttrGetterCallbackForMainWorld):
3214         (WebCore::TestObjV8Internal::unsignedShortAttrAttrSetterForMainWorld):
3215         (WebCore::TestObjV8Internal::unsignedShortAttrAttrSetterCallbackForMainWorld):
3216         (WebCore::TestObjV8Internal::longAttrAttrGetterForMainWorld):
3217         (WebCore::TestObjV8Internal::longAttrAttrGetterCallbackForMainWorld):
3218         (WebCore::TestObjV8Internal::longAttrAttrSetterForMainWorld):
3219         (WebCore::TestObjV8Internal::longAttrAttrSetterCallbackForMainWorld):
3220         (WebCore::TestObjV8Internal::longLongAttrAttrGetterForMainWorld):
3221         (WebCore::TestObjV8Internal::longLongAttrAttrGetterCallbackForMainWorld):
3222         (WebCore::TestObjV8Internal::longLongAttrAttrSetterForMainWorld):
3223         (WebCore::TestObjV8Internal::longLongAttrAttrSetterCallbackForMainWorld):
3224         (WebCore::TestObjV8Internal::unsignedLongLongAttrAttrGetterForMainWorld):
3225         (WebCore::TestObjV8Internal::unsignedLongLongAttrAttrGetterCallbackForMainWorld):
3226         (WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetterForMainWorld):
3227         (WebCore::TestObjV8Internal::unsignedLongLongAttrAttrSetterCallbackForMainWorld):
3228         (WebCore::TestObjV8Internal::stringAttrAttrGetterForMainWorld):
3229         (WebCore::TestObjV8Internal::stringAttrAttrGetterCallbackForMainWorld):
3230         (WebCore::TestObjV8Internal::stringAttrAttrSetterForMainWorld):
3231         (WebCore::TestObjV8Internal::stringAttrAttrSetterCallbackForMainWorld):
3232         (WebCore::TestObjV8Internal::testObjAttrAttrGetterForMainWorld):
3233         (WebCore::TestObjV8Internal::testObjAttrAttrGetterCallbackForMainWorld):
3234         (WebCore::TestObjV8Internal::testObjAttrAttrSetterForMainWorld):
3235         (WebCore::TestObjV8Internal::testObjAttrAttrSetterCallbackForMainWorld):
3236         (WebCore::TestObjV8Internal::XMLObjAttrAttrGetterForMainWorld):
3237         (WebCore::TestObjV8Internal::XMLObjAttrAttrGetterCallbackForMainWorld):
3238         (WebCore::TestObjV8Internal::XMLObjAttrAttrSetterForMainWorld):
3239         (WebCore::TestObjV8Internal::XMLObjAttrAttrSetterCallbackForMainWorld):
3240         (WebCore::TestObjV8Internal::createAttrGetterForMainWorld):
3241         (WebCore::TestObjV8Internal::createAttrGetterCallbackForMainWorld):
3242         (WebCore::TestObjV8Internal::createAttrSetterForMainWorld):
3243         (WebCore::TestObjV8Internal::createAttrSetterCallbackForMainWorld):
3244         (WebCore::TestObjV8Internal::reflectedStringAttrAttrGetterForMainWorld):
3245         (WebCore::TestObjV8Internal::reflectedStringAttrAttrGetterCallbackForMainWorld):
3246         (WebCore::TestObjV8Internal::reflectedStringAttrAttrSetterForMainWorld):
3247         (WebCore::TestObjV8Internal::reflectedStringAttrAttrSetterCallbackForMainWorld):
3248         (WebCore::TestObjV8Internal::reflectedIntegralAttrAttrGetterForMainWorld):
3249         (WebCore::TestObjV8Internal::reflectedIntegralAttrAttrGetterCallbackForMainWorld):
3250         (WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetter):
3251         (WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetterForMainWorld):
3252         (WebCore::TestObjV8Internal::reflectedIntegralAttrAttrSetterCallbackForMainWorld):
3253         (WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrGetterForMainWorld):
3254         (WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrGetterCallbackForMainWorld):
3255         (WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrSetterForMainWorld):
3256         (WebCore::TestObjV8Internal::reflectedUnsignedIntegralAttrAttrSetterCallbackForMainWorld):
3257         (WebCore::TestObjV8Internal::reflectedBooleanAttrAttrGetterForMainWorld):
3258         (WebCore::TestObjV8Internal::reflectedBooleanAttrAttrGetterCallbackForMainWorld):
3259         (WebCore::TestObjV8Internal::reflectedBooleanAttrAttrSetterForMainWorld):
3260         (WebCore::TestObjV8Internal::reflectedBooleanAttrAttrSetterCallbackForMainWorld):
3261         (WebCore::TestObjV8Internal::reflectedURLAttrAttrGetterForMainWorld):
3262         (WebCore::TestObjV8Internal::reflectedURLAttrAttrGetterCallbackForMainWorld):
3263         (WebCore::TestObjV8Internal::reflectedURLAttrAttrSetterForMainWorld):
3264         (WebCore::TestObjV8Internal::reflectedURLAttrAttrSetterCallbackForMainWorld):
3265         (WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrGetterForMainWorld):
3266         (WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrGetterCallbackForMainWorld):
3267         (WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrSetterForMainWorld):
3268         (WebCore::TestObjV8Internal::reflectedCustomIntegralAttrAttrSetterCallbackForMainWorld):
3269         (WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrGetterForMainWorld):
3270         (WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrGetterCallbackForMainWorld):
3271         (WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrSetterForMainWorld):
3272         (WebCore::TestObjV8Internal::reflectedCustomBooleanAttrAttrSetterCallbackForMainWorld):
3273         (WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrGetterForMainWorld):
3274         (WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrGetterCallbackForMainWorld):
3275         (WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrSetterForMainWorld):
3276         (WebCore::TestObjV8Internal::reflectedCustomURLAttrAttrSetterCallbackForMainWorld):
3277         (WebCore::TestObjV8Internal::typedArrayAttrAttrGetterForMainWorld):
3278         (WebCore::TestObjV8Internal::typedArrayAttrAttrGetterCallbackForMainWorld):
3279         (WebCore::TestObjV8Internal::typedArrayAttrAttrSetterForMainWorld):
3280         (WebCore::TestObjV8Internal::typedArrayAttrAttrSetterCallbackForMainWorld):
3281         (WebCore::TestObjV8Internal::attrWithGetterExceptionAttrGetterForMainWorld):
3282         (WebCore::TestObjV8Internal::attrWithGetterExceptionAttrGetterCallbackForMainWorld):
3283         (WebCore::TestObjV8Internal::attrWithGetterExceptionAttrSetterForMainWorld):
3284         (WebCore::TestObjV8Internal::attrWithGetterExceptionAttrSetterCallbackForMainWorld):
3285         (WebCore::TestObjV8Internal::attrWithSetterExceptionAttrGetterForMainWorld):
3286         (WebCore::TestObjV8Internal::attrWithSetterExceptionAttrGetterCallbackForMainWorld):
3287         (WebCore::TestObjV8Internal::attrWithSetterExceptionAttrSetterForMainWorld):
3288         (WebCore::TestObjV8Internal::attrWithSetterExceptionAttrSetterCallbackForMainWorld):
3289         (WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrGetterForMainWorld):
3290         (WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrGetterCallbackForMainWorld):
3291         (WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrSetterForMainWorld):
3292         (WebCore::TestObjV8Internal::stringAttrWithGetterExceptionAttrSetterCallbackForMainWorld):
3293         (WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrGetterForMainWorld):
3294         (WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrGetterCallbackForMainWorld):
3295         (WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrSetterForMainWorld):
3296         (WebCore::TestObjV8Internal::stringAttrWithSetterExceptionAttrSetterCallbackForMainWorld):
3297         (WebCore::TestObjV8Internal::customAttrAttrGetterCallbackForMainWorld):
3298         (WebCore::TestObjV8Internal::customAttrAttrSetterCallbackForMainWorld):
3299         (WebCore::TestObjV8Internal::withScriptStateAttributeAttrGetterForMainWorld):
3300         (WebCore::TestObjV8Internal::withScriptStateAttributeAttrGetterCallbackForMainWorld):
3301         (WebCore::TestObjV8Internal::withScriptStateAttributeAttrSetterForMainWorld):
3302         (WebCore::TestObjV8Internal::withScriptStateAttributeAttrSetterCallbackForMainWorld):
3303         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrGetterForMainWorld):
3304         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrGetterCallbackForMainWorld):
3305         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetterForMainWorld):
3306         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeAttrSetterCallbackForMainWorld):
3307         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrGetterForMainWorld):
3308         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrGetterCallbackForMainWorld):
3309         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetterForMainWorld):
3310         (WebCore::TestObjV8Internal::withScriptStateAttributeRaisesAttrSetterCallbackForMainWorld):
3311         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrGetterForMainWorld):
3312         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrGetterCallbackForMainWorld):
3313         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetterForMainWorld):
3314         (WebCore::TestObjV8Internal::withScriptExecutionContextAttributeRaisesAttrSetterCallbackForMainWorld):
3315         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrGetterForMainWorld):
3316         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrGetterCallbackForMainWorld):
3317         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetterForMainWorld):
3318         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeAttrSetterCallbackForMainWorld):
3319         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrGetterForMainWorld):
3320         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrGetterCallbackForMainWorld):
3321         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetterForMainWorld):
3322         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateAttributeRaisesAttrSetterCallbackForMainWorld):
3323         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrGetterForMainWorld):
3324         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrGetterCallbackForMainWorld):
3325         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetterForMainWorld):
3326         (WebCore::TestObjV8Internal::withScriptExecutionContextAndScriptStateWithSpacesAttributeAttrSetterCallbackForMainWorld):
3327         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrGetterForMainWorld):
3328         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrGetterCallbackForMainWorld):
3329         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetterForMainWorld):
3330         (WebCore::TestObjV8Internal::withScriptArgumentsAndCallStackAttributeAttrSetterCallbackForMainWorld):
3331         (WebCore::TestObjV8Internal::conditionalAttr1AttrGetterForMainWorld):
3332         (WebCore::TestObjV8Internal::conditionalAttr1AttrGetterCallbackForMainWorld):
3333         (WebCore::TestObjV8Internal::conditionalAttr1AttrSetterForMainWorld):
3334         (WebCore::TestObjV8Internal::conditionalAttr1AttrSetterCallbackForMainWorld):
3335         (WebCore::TestObjV8Internal::conditionalAttr2AttrGetterForMainWorld):
3336         (WebCore::TestObjV8Internal::conditionalAttr2AttrGetterCallbackForMainWorld):
3337         (WebCore::TestObjV8Internal::conditionalAttr2AttrSetterForMainWorld):
3338         (WebCore::TestObjV8Internal::conditionalAttr2AttrSetterCallbackForMainWorld):
3339         (WebCore::TestObjV8Internal::conditionalAttr3AttrGetterForMainWorld):
3340         (WebCore::TestObjV8Internal::conditionalAttr3AttrGetterCallbackForMainWorld):
3341         (WebCore::TestObjV8Internal::conditionalAttr3AttrSetterForMainWorld):
3342         (WebCore::TestObjV8Internal::conditionalAttr3AttrSetterCallbackForMainWorld):
3343         (WebCore::TestObjV8Internal::cachedAttribute1AttrGetterForMainWorld):
3344         (WebCore::TestObjV8Internal::cachedAttribute1AttrGetterCallbackForMainWorld):
3345         (WebCore::TestObjV8Internal::cachedAttribute2AttrGetterForMainWorld):
3346         (WebCore::TestObjV8Internal::cachedAttribute2AttrGetterCallbackForMainWorld):
3347         (WebCore::TestObjV8Internal::anyAttributeAttrGetterForMainWorld):
3348         (WebCore::TestObjV8Internal::anyAttributeAttrGetterCallbackForMainWorld):
3349         (WebCore::TestObjV8Internal::anyAttributeAttrSetterForMainWorld):
3350         (WebCore::TestObjV8Internal::anyAttributeAttrSetterCallbackForMainWorld):
3351         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrGetterForMainWorld):
3352         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrGetterCallbackForMainWorld):
3353         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrSetterForMainWorld):
3354         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr1AttrSetterCallbackForMainWorld):
3355         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrGetterForMainWorld):
3356         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrGetterCallbackForMainWorld):
3357         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrSetterForMainWorld):
3358         (WebCore::TestObjV8Internal::enabledAtRuntimeAttr2AttrSetterCallbackForMainWorld):
3359         (WebCore::TestObjV8Internal::floatArrayAttrGetterForMainWorld):
3360         (WebCore::TestObjV8Internal::floatArrayAttrGetterCallbackForMainWorld):
3361         (WebCore::TestObjV8Internal::floatArrayAttrSetterForMainWorld):
3362         (WebCore::TestObjV8Internal::floatArrayAttrSetterCallbackForMainWorld):
3363         (WebCore::TestObjV8Internal::doubleArrayAttrGetterForMainWorld):
3364         (WebCore::TestObjV8Internal::doubleArrayAttrGetterCallbackForMainWorld):
3365         (WebCore::TestObjV8Internal::doubleArrayAttrSetterForMainWorld):
3366         (WebCore::TestObjV8Internal::doubleArrayAttrSetterCallbackForMainWorld):
3367         (WebCore::TestObjV8Internal::contentDocumentAttrGetterForMainWorld):
3368         (WebCore::TestObjV8Internal::contentDocumentAttrGetterCallbackForMainWorld):
3369         (WebCore::TestObjV8Internal::mutablePointAttrGetterForMainWorld):
3370         (WebCore::TestObjV8Internal::mutablePointAttrGetterCallbackForMainWorld):
3371         (WebCore::TestObjV8Internal::mutablePointAttrSetterForMainWorld):
3372         (WebCore::TestObjV8Internal::mutablePointAttrSetterCallbackForMainWorld):
3373         (WebCore::TestObjV8Internal::immutablePointAttrGetterForMainWorld):
3374         (WebCore::TestObjV8Internal::immutablePointAttrGetterCallbackForMainWorld):
3375         (WebCore::TestObjV8Internal::immutablePointAttrSetterForMainWorld):
3376         (WebCore::TestObjV8Internal::immutablePointAttrSetterCallbackForMainWorld):
3377         (WebCore::TestObjV8Internal::strawberryAttrGetterForMainWorld):
3378         (WebCore::TestObjV8Internal::strawberryAttrGetterCallbackForMainWorld):
3379         (WebCore::TestObjV8Internal::strawberryAttrSetterForMainWorld):
3380         (WebCore::TestObjV8Internal::strawberryAttrSetterCallbackForMainWorld):
3381         (WebCore::TestObjV8Internal::strictFloatAttrGetterForMainWorld):
3382         (WebCore::TestObjV8Internal::strictFloatAttrGetterCallbackForMainWorld):
3383         (WebCore::TestObjV8Internal::strictFloatAttrSetterForMainWorld):
3384         (WebCore::TestObjV8Internal::strictFloatAttrSetterCallbackForMainWorld):
3385         (WebCore::TestObjV8Internal::descriptionAttrGetterForMainWorld):
3386         (WebCore::TestObjV8Internal::descriptionAttrGetterCallbackForMainWorld):
3387         (WebCore::TestObjV8Internal::idAttrGetterForMainWorld):
3388         (WebCore::TestObjV8Internal::idAttrGetterCallbackForMainWorld):
3389         (WebCore::TestObjV8Internal::idAttrSetterForMainWorld):
3390         (WebCore::TestObjV8Internal::idAttrSetterCallbackForMainWorld):
3391         (WebCore::TestObjV8Internal::hashAttrGetterForMainWorld):
3392         (WebCore::TestObjV8Internal::hashAttrGetterCallbackForMainWorld):
3393         (WebCore::TestObjV8Internal::replaceableAttributeAttrGetterForMainWorld):
3394         (WebCore::TestObjV8Internal::replaceableAttributeAttrGetterCallbackForMainWorld):
3395         (WebCore):
3396         (WebCore::ConfigureV8TestObjTemplate):
3397         (WebCore::V8TestObj::GetTemplate):
3398         (WebCore::V8TestObj::HasInstance):
3399         * bindings/scripts/test/V8/V8TestObj.h:
3400         (WebCore::toV8ForMainWorld):
3401         (WebCore):
3402         (WebCore::toV8FastForMainWorld):
3403         * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
3404         (WebCore::ConfigureV8TestOverloadedConstructorsTemplate):
3405         (WebCore::V8TestOverloadedConstructors::GetTemplate):
3406         (WebCore::V8TestOverloadedConstructors::HasInstance):
3407         * bindings/scripts/test/V8/V8TestOverloadedConstructors.h:
3408         (WebCore::toV8ForMainWorld):
3409         (WebCore):
3410         (WebCore::toV8FastForMainWorld):
3411         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
3412         (WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrGetterForMainWorld):
3413         (TestSerializedScriptValueInterfaceV8Internal):
3414         (WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrGetterCallbackForMainWorld):
3415         (WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrSetterForMainWorld):
3416         (WebCore::TestSerializedScriptValueInterfaceV8Internal::valueAttrSetterCallbackForMainWorld):
3417         (WebCore::TestSerializedScriptValueInterfaceV8Internal::readonlyValueAttrGetterForMainWorld):
3418         (WebCore::TestSerializedScriptValueInterfaceV8Internal::readonlyValueAttrGetterCallbackForMainWorld):
3419         (WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetterForMainWorld):
3420         (WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrGetterCallbackForMainWorld):
3421         (WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSetterForMainWorld):
3422         (WebCore::TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSetterCallbackForMainWorld):
3423 &