Rebaseline bindings tests.
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2014-03-19  Andreas Kling  <akling@apple.com>
2
3         Rebaseline bindings tests.
4
5         * bindings/scripts/test/JS/*:
6
7 2014-03-04  Jer Noble  <jer.noble@apple.com>
8
9         [iOS][MediaControls] Reverse-pinching using the built-in controls should enter full screen
10         https://bugs.webkit.org/show_bug.cgi?id=129707
11
12         Reviewed by Eric Carlson.
13
14         The default controls on iOS should respond to a pinch gesture by entering fullscreen. Add a gesture
15         event listener, and enter full screen if the user does a quick (>2 velocity) reverse (>1.25 scale) pinch.
16
17         * Modules/mediacontrols/mediaControlsiOS.js:
18         (ControllerIOS.prototype.createBase):
19         (ControllerIOS.prototype.handlePlayButtonTouchEnd):
20         (ControllerIOS.prototype.handleBaseGestureStart):
21         (ControllerIOS.prototype.handleBaseGestureChange):
22         (ControllerIOS.prototype.handleBaseGestureEnd):
23
24 2014-03-19  Ryosuke Niwa  <rniwa@webkit.org>
25
26         REGRESSION(r156316): Scrollbar on a large document is broken
27         https://bugs.webkit.org/show_bug.cgi?id=130474
28         <rdar://problem/16371523>
29
30         Reviewed by Anders Carlsson.
31
32         The bug was caused by updateArrowPlacement() doing the work even though Scrollbar Overlay API is available.
33         Prior to r156316, this function exited early:
34         http://trac.webkit.org/browser/trunk/Source/WebCore/platform/mac/ScrollbarThemeMac.mm?rev=156315#L147
35
36         Fixed the bug by deleting updateArrowPlacement() entirely.
37
38         * platform/mac/ScrollbarThemeMac.mm:
39         (WebCore::ScrollbarThemeMac::preferencesChanged):
40
41 2014-03-19  Jer Noble  <jer.noble@apple.com>
42
43         [Mac][EME] Query whether decoder support exists before creating a new MediaKeys object.
44         https://bugs.webkit.org/show_bug.cgi?id=130459
45
46         Reviewed by Eric Carlson.
47
48         * WebCore.exp.in: Export the new WCSI method.
49         * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
50         (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsKeySystem): Bail early if we have no decoder support.
51         * platform/mac/WebCoreSystemInterface.h: Provide a WCSI wrapper for WKSI.
52         * platform/mac/WebCoreSystemInterface.mm: Ditto.
53
54 2014-03-19  Eric Carlson  <eric.carlson@apple.com>
55
56         Make Remote Control commands testable
57         https://bugs.webkit.org/show_bug.cgi?id=130358
58
59         Reviewed by Jer Noble.
60
61         Test: media/video-remote-control-playpause.html
62
63         * html/HTMLMediaElement.cpp:
64         (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Call session->clientWillPausePlayback.
65         (WebCore::HTMLMediaElement::didReceiveRemoteControlCommand): Log the command.
66
67         * platform/audio/MediaSession.cpp:
68         (WebCore::MediaSessionClient::mediaSessionTitle): Move from header file.
69         (WebCore::MediaSessionClient::mediaSessionDuration): Ditto.
70         (WebCore::MediaSessionClient::mediaSessionCurrentTime): Ditto.
71         * platform/audio/MediaSession.h:
72
73         * platform/audio/MediaSessionManager.cpp:
74         (WebCore::MediaSessionManager::MediaSessionManager): Get rid of m_activeSession.
75         (WebCore::MediaSessionManager::removeSession): No need to clear m_activeSession because 
76             we use the m_sessions vector.
77         (WebCore::MediaSessionManager::sessionWillBeginPlayback): setCurrentSession takes a 
78             MediaSession&.
79         (WebCore::MediaSessionManager::sessionWillEndPlayback): Keep m_sessions sorted so playing
80             sessions are before paused sessions.
81         (WebCore::MediaSessionManager::setCurrentSession): Move the session that is beginning to
82             play to the head of m_sessions.
83         (WebCore::MediaSessionManager::currentSession): Return m_sessions[0] or nullptr.
84         (WebCore::MediaSessionManager::didReceiveRemoteControlCommand):
85         * platform/audio/MediaSessionManager.h:
86
87         * platform/audio/ios/MediaSessionManagerIOS.mm: Include MediaPlayer.h.
88
89         * testing/Internals.cpp:
90         (WebCore::Internals::postRemoteControlCommand): New.
91         * testing/Internals.h:
92         * testing/Internals.idl:
93
94 2014-03-19  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
95
96         Improving webkitGetUserMedia error handling and error messages
97         https://bugs.webkit.org/show_bug.cgi?id=130452
98
99         Reviewed by Eric Carlson.
100
101         Checking if first argument of webkitGetUserMedia is a valid Dictionary. If not, throw an exception with a
102         clearer message of the error.
103
104         Test updated.
105
106         * Modules/mediastream/NavigatorMediaStream.idl:
107         * UseJSC.cmake:
108         * bindings/js/JSNavigatorCustom.cpp: Added.
109
110 2014-03-19  Andreas Kling  <akling@apple.com>
111
112         JSC bindings should use the passed-in global object for wrapper caching.
113         <https://webkit.org/b/130458>
114
115         Take a shorter path to the DOMWrapperWorld by using the passed-in
116         global object instead of getting the lexical global from ExecState.
117         Removed an old FIXME that no longer applies since JSObjects can
118         always find the right global object these days.
119
120         Reviewed by Geoff Garen.
121
122         * bindings/js/JSCSSRuleCustom.cpp:
123         (WebCore::toJS):
124         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
125         (WebCore::JSCSSStyleDeclaration::getPropertyCSSValue):
126         * bindings/js/JSCSSValueCustom.cpp:
127         (WebCore::toJS):
128         * bindings/js/JSDOMBinding.h:
129         (WebCore::createWrapper):
130         (WebCore::wrap):
131         (WebCore::getExistingWrapper):
132         (WebCore::createNewWrapper):
133         (WebCore::toJS):
134         * bindings/js/JSDOMWindowCustom.cpp:
135         (WebCore::JSDOMWindow::setTimeout):
136         (WebCore::JSDOMWindow::setInterval):
137         (WebCore::JSDOMWindow::addEventListener):
138         (WebCore::JSDOMWindow::removeEventListener):
139         * bindings/js/JSDocumentCustom.cpp:
140         (WebCore::JSDocument::location):
141         (WebCore::toJS):
142         * bindings/js/JSElementCustom.cpp:
143         (WebCore::toJSNewlyCreated):
144         * bindings/js/JSEventCustom.cpp:
145         (WebCore::toJS):
146         * bindings/js/JSHTMLCollectionCustom.cpp:
147         (WebCore::toJS):
148         * bindings/js/JSHTMLTemplateElementCustom.cpp:
149         (WebCore::JSHTMLTemplateElement::content):
150         * bindings/js/JSImageDataCustom.cpp:
151         (WebCore::toJS):
152         * bindings/js/JSNodeCustom.cpp:
153         (WebCore::createWrapperInline):
154         * bindings/js/JSNodeCustom.h:
155         (WebCore::toJS):
156         * bindings/js/JSSVGPathSegCustom.cpp:
157         (WebCore::toJS):
158         * bindings/js/JSStyleSheetCustom.cpp:
159         (WebCore::toJS):
160         * bindings/js/JSTextTrackCueCustom.cpp:
161         (WebCore::toJS):
162         * bindings/js/JSTrackCustom.cpp:
163         (WebCore::toJS):
164         * bindings/js/JSWorkerGlobalScopeCustom.cpp:
165         (WebCore::JSWorkerGlobalScope::setTimeout):
166         (WebCore::JSWorkerGlobalScope::setInterval):
167         * bindings/scripts/CodeGeneratorJS.pm:
168         (GenerateImplementation):
169
170 2014-03-19  Benjamin Poulain  <bpoulain@apple.com>
171
172         Page::setPageScaleFactor should not force the scroll view position when using delegatesScrolling()
173         https://bugs.webkit.org/show_bug.cgi?id=130429
174
175         Reviewed by Simon Fraser.
176
177         When setting the same scale mutliple time (for example on load), Page was asking the top scrollview
178         to scroll to the origin. This is bogus since the scroll view is driving Page::setDeviceScaleFactor,
179         not the other way around.
180
181         Simon fixed the general case in http://trac.webkit.org/changeset/165652/trunk/Source/WebCore/page/Page.cpp
182         but this branch was still scrolling content.
183
184         * page/Page.cpp:
185         (WebCore::Page::setPageScaleFactor):
186
187 2014-03-19  Brady Eidson  <beidson@apple.com>
188
189         Filter out editable services from image menu for non-contenteditable images
190         <rdar://problem/16319645> and https://bugs.webkit.org/show_bug.cgi?id=130437
191
192         Reviewed by Tim Horton.
193
194         * WebCore.exp.in:
195
196 2014-03-19  Dirk Schulze  <krit@webkit.org>
197
198         Implement method addPath for Path2D
199         https://bugs.webkit.org/show_bug.cgi?id=130461
200
201         Reviewed by Dean Jackson.
202
203         Add support for the Path2D method addPath. The method allows
204         to append and existing Path2D object to another one. It can be
205         combined with a transformation matrix SVGMatrix.
206
207         Test: fast/canvas/canvas-path-addPath.html
208
209         * html/canvas/DOMPath.h: Add new method addPath().
210         (WebCore::DOMPath::addPath):
211         * html/canvas/DOMPath.idl:
212         * platform/graphics/Path.h: Add support for appending paths.
213         * platform/graphics/cairo/PathCairo.cpp:
214         (WebCore::Path::addPath):
215         * platform/graphics/cg/PathCG.cpp:
216         (WebCore::Path::addPath):
217         * platform/graphics/wince/PathWinCE.cpp:
218         (WebCore::Path::addPath):
219
220 2014-03-19  Yongjun Zhang  <yongjun_zhang@apple.com>
221
222         [iOS] WebKit2 Quicklook.
223         https://bugs.webkit.org/show_bug.cgi?id=130360
224
225         Reviewed by Tim Horton.
226
227         Since ResourceLoaders using WebKit2 network process don't have ResourceHandle any more, we
228         need to make it possible to create QuickLookHandle from ResourceLoader.
229
230         * WebCore.exp.in: Make some QuickLookHandle methods visible from WebKit2.
231         * loader/ResourceLoader.h: Add m_quickLookHandle data member to ResourceLoader.
232         (WebCore::ResourceLoader::quickLookHandle):
233         (WebCore::ResourceLoader::setQuickLookHandle):
234         * platform/network/ios/QuickLook.h: Add a new method to create QuickLookHandle from ResourceLoader.
235         * platform/network/ios/QuickLook.mm:
236         (WebCore::QuickLookHandle::create):
237
238 2014-03-19  Brent Fulgham  <bfulgham@apple.com>
239
240         Fix cue rendering test and include support for left/right alignment
241         https://bugs.webkit.org/show_bug.cgi?id=130406
242
243         Reviewed by Eric Carlson.
244
245         Merged from Blink (patch by vcarbune@chromium.org):
246         https://chromium.googlesource.com/chromium/blink/+/e695703cb603421c741e59a557a7989113c13b94
247         http://crbug.com/25155003
248
249         No new tests. Covered by media/track/track-cue-rendering-snap-to-lines-not-set.html.
250
251         * html/track/VTTCue.cpp:
252         (WebCore::leftKeyword): Added.
253         (WebCore::rightKeyword): Added.
254         (WebCore::VTTCueBox::applyCSSProperties): Added.
255         (WebCore::VTTCue::VTTCue):
256         (WebCore::VTTCue::align): Handle left/right alignment.
257         (WebCore::VTTCue::setAlign): Ditto.
258         (WebCore::VTTCue::calculateDisplayParameters): Refactored and revised for left/right tokens.
259         (WebCore::VTTCue::setCueSettings): Ditto.
260         (WebCore::VTTCue::getCSSAlignment): Added.
261         (WebCore::VTTCue::getCSSWritingMode): Added.
262         * html/track/VTTCue.h:
263
264 2014-03-18  Anders Carlsson  <andersca@apple.com>
265
266         Add new functionality that will be required by the history item decoding
267         https://bugs.webkit.org/show_bug.cgi?id=130433
268
269         Reviewed by Sam Weinig.
270
271         * platform/KeyedCoding.h:
272         (WebCore::KeyedDecoder::decodeConditionalObject):
273
274 2014-03-19  Tim Horton  <timothy_horton@apple.com>
275
276         Fix the iOS build.
277
278         * html/BaseDateAndTimeInputType.cpp:
279         (WebCore::BaseDateAndTimeInputType::parseToDateComponents):
280         Missing a StringView().
281
282 2014-03-19  Antti Koivisto  <antti@apple.com>
283
284         Tighten ElementRuleCollector::m_matchedRuleList typing
285         https://bugs.webkit.org/show_bug.cgi?id=130446
286
287         Reviewed by Anders Carlsson.
288
289         StyleRuleBase -> StyleRule.
290
291         * css/ElementRuleCollector.cpp:
292         (WebCore::ElementRuleCollector::matchedRuleList):
293         * css/ElementRuleCollector.h:
294         * css/StyleResolver.cpp:
295         (WebCore::StyleResolver::styleRulesForElement):
296         (WebCore::StyleResolver::pseudoStyleRulesForElement):
297         * css/StyleResolver.h:
298         * editing/EditingStyle.cpp:
299         (WebCore::styleFromMatchedRulesForElement):
300         * inspector/InspectorCSSAgent.cpp:
301         (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
302         (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
303         * inspector/InspectorCSSAgent.h:
304         * page/DOMWindow.cpp:
305         (WebCore::DOMWindow::getMatchedCSSRules):
306
307 2014-03-19  Mihnea Ovidenie  <mihnea@adobe.com>
308
309         [CSSRegions] An unsplittable box is always displayed in a single region
310         https://bugs.webkit.org/show_bug.cgi?id=130451
311
312         Reviewed by Andrei Bucur.
313
314         Add an ASSERT stating that an unsplittable box region range always contains 1 region.
315         No new functionality, no new tests.
316
317         * rendering/RenderFlowThread.cpp:
318         (WebCore::RenderFlowThread::getRegionRangeForBox):
319
320 2014-03-19  Zalan Bujtas  <zalan@apple.com>
321
322         Subpixel rendering: Transform origin is miscalculated when RenderLayer's
323         offsetfromRenderer has device pixel fraction value.
324         https://bugs.webkit.org/show_bug.cgi?id=129859
325
326         Reviewed by Simon Fraser.
327
328         We need to calculate the transformed origin using the painting coordinates to produce
329         pixel precise result.
330
331         * rendering/RenderLayerBacking.cpp:
332         (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
333         (WebCore::RenderLayerBacking::computeTransformOriginForPainting):
334         * rendering/RenderLayerBacking.h:
335
336 2014-03-19  Claudio Saavedra  <csaavedra@igalia.com>
337
338         [GStreamer] Clean timeout source ids
339         https://bugs.webkit.org/show_bug.cgi?id=130450
340
341         Reviewed by Philippe Normand.
342
343         Sources IDs need to be cleaned up if the callback removes the
344         source, otherwise we'll be attempting to remove an empty source at
345         some point.
346
347         * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:
348         (webKitMediaVideoSrcStart): Clean the source id.
349         (webKitMediaAudioSrcStart): Ditto.
350         (webKitMediaVideoSrcSeekMainCb): Ditto.
351         (webKitMediaAudioSrcSeekMainCb): Ditto.
352
353 2014-03-19  Mihnea Ovidenie  <mihnea@adobe.com>
354
355         [CSSRegions] Compute region ranges for children of inline blocks
356         https://bugs.webkit.org/show_bug.cgi?id=130392
357
358         Reviewed by Andrei Bucur.
359
360         Extend the region ranges computation for children of inline blocks.
361         When we cannot retrieve the region range for a box using cached information,
362         either from region range map or from the region cached on the RootInlineBox,
363         try to find the top most unsplittable box up to the flow thread boundary.
364         If we find such unsplittable box and the box has a region range, then return
365         this range.
366
367         Before this patch, method getRegionRangeForBox did not return true/false
368         if it was able to retrieve the range and the caller checked the returned
369         region values. I modified the method to return true if we were able to compute
370         the range.
371
372         Tests: fast/regions/inline-block-inline-children-flowed-in-regions.html
373                fast/regions/inline-blocks-dyn-enlarged-regions.html
374                fast/regions/inline-blocks-dyn-shrunk-regions.html
375                fast/regions/inline-blocks-in-two-regions.html
376
377         * inspector/InspectorOverlay.cpp:
378         (WebCore::buildObjectForRendererFragments):
379         * rendering/RenderBlock.cpp:
380         (WebCore::RenderBlock::updateRegionRangeForBoxChild):
381         * rendering/RenderBlockFlow.cpp:
382         (WebCore::RenderBlockFlow::hasNextPage):
383         * rendering/RenderBox.cpp:
384         (WebCore::RenderBox::clampToStartAndEndRegions):
385         (WebCore::RenderBox::borderBoxRectInRegion):
386         (WebCore::RenderBox::computeRectForRepaint):
387         (WebCore::RenderBox::layoutOverflowRectForPropagation):
388         * rendering/RenderBoxModelObject.cpp:
389         (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
390         * rendering/RenderFlowThread.cpp:
391         (WebCore::RenderFlowThread::regionForCompositedLayer):
392         (WebCore::RenderFlowThread::adjustedPositionRelativeToOffsetParent):
393         (WebCore::RenderFlowThread::removeRenderBoxRegionInfo):
394         (WebCore::RenderFlowThread::logicalWidthChangedInRegionsForBlock):
395         (WebCore::RenderFlowThread::getRegionRangeForBoxFromCachedInfo):
396         (WebCore::RenderFlowThread::getRegionRangeForBox):
397         (WebCore::RenderFlowThread::objectShouldPaintInFlowRegion):
398         (WebCore::RenderFlowThread::objectInFlowRegion):
399         (WebCore::RenderFlowThread::addRegionsVisualEffectOverflow):
400         (WebCore::RenderFlowThread::addRegionsVisualOverflowFromTheme):
401         (WebCore::RenderFlowThread::addRegionsOverflowFromChild):
402         (WebCore::RenderFlowThread::addRegionsLayoutOverflow):
403         (WebCore::RenderFlowThread::addRegionsVisualOverflow):
404         (WebCore::RenderFlowThread::clearRegionsOverflow):
405         * rendering/RenderFlowThread.h:
406         * rendering/RenderNamedFlowThread.cpp:
407         (WebCore::RenderNamedFlowThread::fragmentFromAbsolutePointAndBox):
408         * rendering/RenderObject.cpp:
409         (WebCore::RenderObject::locateFlowThreadContainingBlock):
410         Make sure we return the right render flow thread in the case of
411         region-based multicolumn inside named flows.
412         * rendering/RenderRegion.cpp:
413         (WebCore::RenderRegion::rectFlowPortionForBox):
414
415 2014-03-19  Krzysztof Wolanski  <k.wolanski@samsung.com>
416
417         [EFL] vibration/cancelVibration-during-pattern-vibrating.html is failing after r165598
418         https://bugs.webkit.org/show_bug.cgi?id=130333
419
420         Reviewed by Gyuyoung Kim.
421
422         Added setting m_state when calling Vibration::vibrate. It was missing after
423         refactoring Vibration (r165598).
424
425         * Modules/vibration/Vibration.cpp:
426         (WebCore::Vibration::vibrate):
427
428 2014-03-19  Sam Weinig  <sam@webkit.org>
429
430         Rewrite WebHTMLConverter::_colorForNode in C++
431         https://bugs.webkit.org/show_bug.cgi?id=130443
432
433         Reviewed by Andreas Kling.
434
435         * platform/mac/HTMLConverter.mm:
436         (_platformColor):
437         Rename from _colorForRGBColor and simplify to just do the platform conversion.
438
439         (normalizedColor):
440         Extract normalization out of _colorForRGBColor and remove cases that are impossible to hit
441         due to us only ever using the device color space.
442
443         (HTMLConverterCaches::colorPropertyValueForNode):
444         (-[WebHTMLConverter _colorForNode:property:]):
445         Convert to C++.
446
447         (-[WebHTMLConverter dealloc]):
448         (-[WebHTMLConverter init]):
449         Remove caches, we already cache in ColorMac.
450
451 2014-03-18  Andrei Bucur  <abucur@adobe.com>
452
453         [CSS Regions] Strange layout for content with region breaks
454         https://bugs.webkit.org/show_bug.cgi?id=121318
455
456         Reviewed by Mihnea Ovidenie.
457
458         When break-inside: avoid is used on an element, the implementation tries to
459         force it inside a single fragmentation container even though the descendants
460         of the element specify forced breaks. This leads to unexpected results and
461         unstable layout.
462
463         The change extends the definition of unsplittable elements for flow threads
464         using the same conditions found inside RenderBlockFlow::adjustForUnsplittableChild.
465         This change forces elements that require break avoidance to have a single region
466         in the region range. As a result, forced breaks have no effect inside them.
467
468         It should be noted this may not the behavior defined by the CSS3 Fragmentation spec.
469         From my understanding of the text, forced breaks override any avoidance specified
470         by ancestor elements. However, implementing this is a larger change that will require
471         a fundamental new approach in handling break avoidance. This patch just brings
472         consistency to the API.
473
474         Test: fast/regions/forced-break-inside-avoid-break.html
475
476         * rendering/RenderBlock.cpp:
477         (WebCore::RenderBlock::childBoxIsUnsplittableForFragmentation):
478         (WebCore::RenderBlock::computeRegionRangeForBoxChild):
479         (WebCore::RenderBlock::estimateRegionRangeForBoxChild):
480         * rendering/RenderBlock.h:
481         * rendering/RenderBlockFlow.cpp:
482         (WebCore::RenderBlockFlow::adjustForUnsplittableChild): Move the avoidance conditions inside
483         a helper method RenderBlock::childBoxIsUnsplittableForFragmentation.
484
485 2014-03-18  Samuel White  <samuel_white@apple.com>
486
487         AX: Not able to use arrow keys to read text with VoiceOver before selection is set someplace (anyplace).
488         https://bugs.webkit.org/show_bug.cgi?id=130250
489
490         Reviewed by Chris Fleizach.
491
492         If initial selection isn't set when we handle selection movement for accessibility, we need to set it. If we don't, using arrow
493         keys to read text with VoiceOver doesn't work as expected. Things will only start working after the user holds shift and arrows
494         around to select any arbitrary thing to force selection to get set. This logic handles that special case more gracefully.
495
496         Test: platform/mac/accessibility/selection-initial.html
497
498         * page/EventHandler.cpp:
499         (WebCore::handleKeyboardSelectionMovement):
500         (WebCore::EventHandler::handleKeyboardSelectionMovementForAccessibility):
501         * testing/Internals.cpp:
502         (WebCore::Internals::resetToConsistentState):
503
504 2014-03-18  Brent Fulgham  <bfulgham@apple.com>
505
506         TextTrackRegion Not Implemented
507         https://bugs.webkit.org/show_bug.cgi?id=116546
508
509         Reviewed by Eric Carlson.
510
511         Merged from Blink (patch by vcarbune@chromium.org):
512         https://chromium.googlesource.com/chromium/blink/+/4940f89a087fea5b5ea628e98d0b355d398a9eea
513         http://crbug.com/25798003
514
515         Tests: media/track/regions-webvtt/text-track-region-display.html
516                media/track/regions-webvtt/text-track-region-dom-layout.html
517
518         * html/HTMLMediaElement.cpp:
519         (WebCore::HTMLMediaElement::parseAttribute):
520         * html/track/LoadableTextTrack.cpp:
521         (WebCore::LoadableTextTrack::newRegionsAvailable):
522         * html/track/TextTrack.cpp:
523         * html/track/TextTrack.h:
524         * html/track/TextTrackRegion.cpp:
525         (WebCore::TextTrackRegion::TextTrackRegion):
526         (WebCore::TextTrackRegion::appendTextTrackCueBox):
527         * html/track/TextTrackRegion.h:
528         * html/track/VTTCue.cpp:
529         (WebCore::VTTCue::VTTCue):
530         (WebCore::VTTCue::notifyRegionWhenRemovingDisplayTree):
531         (WebCore::VTTCue::removeDisplayTree):
532         * html/track/VTTCue.h:
533         * html/track/WebVTTParser.cpp:
534         (WebCore::WebVTTParser::parseBytes):
535         (WebCore::WebVTTParser::collectMetadataHeader):
536         * html/track/WebVTTParser.h:
537
538 2014-03-18  Andreas Kling  <akling@apple.com>
539
540         Share MemoryPressureHandler::releaseMemory() between platforms.
541         <https://webkit.org/b/130416>
542
543         Move the code that scours WebKit for things we can free up right now
544         to the common part of MemoryPressureHandler. This will enable other
545         platforms to do the same thing under pressure.
546
547         There's now also a platformReleaseMemory() where platform-specific
548         pressure relief stuff can go.
549
550         Reviewed by Antti Koivisto.
551
552         * platform/MemoryPressureHandler.cpp:
553         (WebCore::MemoryPressureHandler::releaseMemory):
554         (WebCore::MemoryPressureHandler::platformReleaseMemory):
555         * platform/MemoryPressureHandler.h:
556         * platform/mac/MemoryPressureHandlerMac.mm:
557         (WebCore::MemoryPressureHandler::respondToMemoryPressure):
558         (WebCore::MemoryPressureHandler::platformReleaseMemory):
559
560 2014-03-18  Dean Jackson  <dino@apple.com>
561
562         [WebGL] Destroy EAGLContext's backing store
563         https://bugs.webkit.org/show_bug.cgi?id=130439
564         <rdar://problem/16295217>
565
566         Reviewed by Tim Horton.
567
568         When a GraphicsContext3D is being destroyed, we should
569         also remove any EAGLContext backing store.
570
571         * platform/graphics/mac/GraphicsContext3DMac.mm:
572         (WebCore::GraphicsContext3D::~GraphicsContext3D):
573
574 2014-03-18  Tim Horton  <timothy_horton@apple.com>
575
576         [iOS][WebKit2] Mark layer contents as being opaque if they are
577         https://bugs.webkit.org/show_bug.cgi?id=130427
578         <rdar://problem/15540434>
579
580         Reviewed by Simon Fraser.
581
582         * platform/graphics/GraphicsLayerClient.h:
583         (WebCore::GraphicsLayerClient::paintsOpaquelyAtNonIntegralScales):
584         * platform/graphics/ca/GraphicsLayerCA.cpp:
585         (WebCore::GraphicsLayerCA::updateContentsOpaque):
586         * rendering/RenderLayerBacking.cpp:
587         (WebCore::RenderLayerBacking::paintsOpaquelyAtNonIntegralScales):
588         * rendering/RenderLayerBacking.h:
589         r159463 stopped us from setting layers opaque if they were being painted
590         at non-integral scale. This makes sense for compositing layers, which
591         are painted by arbitrary elements, but the main frame's RenderView
592         will always paint its entire contents. To restore the opaque contents
593         optimization to the main frame's tiles, don't de-opaquify layers
594         belonging to the main frame's RenderView.
595
596 2014-03-18  Jeffrey Pfau  <jpfau@apple.com>
597
598         Unify <media> element callback registration and unregistration
599         https://bugs.webkit.org/show_bug.cgi?id=130417
600
601         Reviewed by Eric Carlson.
602
603         * html/HTMLMediaElement.cpp:
604         (WebCore::HTMLMediaElement::HTMLMediaElement):
605         (WebCore::HTMLMediaElement::~HTMLMediaElement):
606         (WebCore::HTMLMediaElement::registerWithDocument):
607         (WebCore::HTMLMediaElement::unregisterWithDocument):
608         (WebCore::HTMLMediaElement::didMoveToNewDocument):
609         * html/HTMLMediaElement.h:
610
611 2014-03-18  Jer Noble  <jer.noble@apple.com>
612
613         MediaDocument should set a max-width on its <video> element.
614         https://bugs.webkit.org/show_bug.cgi?id=114691
615
616         Reviewed by Eric Carlson.
617
618         Set a style attribute containing max-width:100% and max-height:100% so that large videos
619         are entirely visible within the browser window bounds.
620
621         * html/MediaDocument.cpp:
622         (WebCore::MediaDocumentParser::createDocumentStructure):
623
624 2014-03-18  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
625
626         [WebRTC] Fix layering violation in RTCStatsRequest
627         https://bugs.webkit.org/show_bug.cgi?id=130426
628
629         Reviewed by Eric Carlson.
630
631         RTCStatsRequest::track() should return a MediaStreamTrackPrivate*.
632
633         No new tests needed.
634
635         * Modules/mediastream/RTCPeerConnection.cpp:
636         (WebCore::RTCPeerConnection::getStats):
637         * Modules/mediastream/RTCStatsRequestImpl.cpp:
638         (WebCore::RTCStatsRequestImpl::create):
639         (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
640         (WebCore::RTCStatsRequestImpl::track):
641         * Modules/mediastream/RTCStatsRequestImpl.h:
642         * platform/mediastream/RTCStatsRequest.h:
643
644 2014-03-18  Anders Carlsson  <andersca@apple.com>
645
646         Fix a trivial FIXME
647         https://bugs.webkit.org/show_bug.cgi?id=130432
648
649         Reviewed by Tim Horton.
650
651         * history/HistoryItem.cpp:
652         (WebCore::HistoryItem::encodeBackForwardTreeNode):
653
654 2014-03-18  Anders Carlsson  <andersca@apple.com>
655
656         Begin cleaning up KeyedDecoder and KeyedEncoder
657         https://bugs.webkit.org/show_bug.cgi?id=130431
658
659         Reviewed by Tim Horton.
660
661         Rename KeyedDecoder::decodeVerifiedEnum to decodeEnum to match the encode function,
662         and sort the decode functions to be in the same logical order as the encode functions.
663
664         * Modules/indexeddb/IDBKeyData.cpp:
665         (WebCore::IDBKeyData::decode):
666         * Modules/indexeddb/IDBKeyPath.cpp:
667         (WebCore::IDBKeyPath::decode):
668         * platform/KeyedCoding.h:
669         (WebCore::KeyedDecoder::decodeEnum):
670
671 2014-03-18  Darin Adler  <darin@apple.com>
672
673         Reduce use of deprecatedCharacters in WebCore
674         https://bugs.webkit.org/show_bug.cgi?id=130318
675
676         Reviewed by Andreas Kling.
677
678         * Modules/indexeddb/IDBKeyPath.cpp:
679         (WebCore::IDBKeyPathLexer::IDBKeyPathLexer): Use StringView for parsing.
680         (WebCore::IDBKeyPathLexer::lex): Ditto.
681         (WebCore::IDBKeyPathLexer::lexIdentifier): Ditto.
682
683         * Modules/indexeddb/leveldb/IDBLevelDBCoding.cpp:
684         (WebCore::IDBLevelDBCoding::encodeString): Index directly into string instead of
685         using deprecatedCharacters.
686
687         * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
688         (WebCore::ThreadableWebSocketChannelClientWrapper::setSubprotocol): Use
689         StringView::getCharactersWithUpconvert.
690         (WebCore::ThreadableWebSocketChannelClientWrapper::setExtensions): Ditto.
691
692         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
693         (-[WebAccessibilityObjectWrapper arrayOfTextForTextMarkers:attributed:]):
694         Use operator NSString * instead of explicitly creating an NSString.
695
696         * bindings/js/SerializedScriptValue.cpp:
697         (WebCore::writeLittleEndianUInt16): Added.
698         (WebCore::CloneSerializer::serialize): Added a separate code path for 8-bit strings.
699         (WebCore::CloneSerializer::write): Ditto.
700
701         * bindings/objc/WebScriptObject.mm:
702         (+[WebScriptObject _convertValueToObjcValue:JSC::originRootObject:rootObject:]):
703         Use operator NSString * instead of explicitly creating an NSString.
704
705         * dom/Document.cpp:
706         (WebCore::Document::parseQualifiedName): Index directly into string instead of
707         using deprecatedCharacters.
708         * editing/CompositeEditCommand.cpp:
709         (WebCore::containsOnlyWhitespace): Ditto.
710         * editing/SmartReplace.cpp:
711         (WebCore::addAllCodePoints): Ditto.
712         (WebCore::getSmartSet): Use StringView::upconvertedCharacters.
713
714         * editing/TextIterator.cpp:
715         (WebCore::foldQuoteMarksAndSoftHyphens): Changed to return a value so it can be
716         used in initialization rather than assignment.
717         (WebCore::SearchBuffer::SearchBuffer): Use StringView::upconvertedCharacters.
718
719         * editing/TypingCommand.cpp:
720         (WebCore::TypingCommand::insertText): Index directly into string instead of using
721         deprecatedCharacters.
722         * editing/VisiblePosition.cpp:
723         (WebCore::VisiblePosition::characterAfter): Ditto.
724         * editing/VisibleUnits.cpp:
725         (WebCore::startOfParagraph): Ditto.
726         (WebCore::endOfParagraph): Ditto.
727
728         * fileapi/WebKitBlobBuilder.cpp:
729         (WebCore::BlobBuilder::append): Pass a StringView to TextEncoding::encode.
730
731         * html/BaseDateAndTimeInputType.cpp:
732         (WebCore::BaseDateAndTimeInputType::parseToDateComponents): Use
733         StringView::upconvertedCharacters.
734
735         * html/FormDataList.cpp:
736         (WebCore::FormDataList::appendString): Pass a StringView to TextEncoding::encode.
737
738         * html/canvas/CanvasRenderingContext2D.cpp:
739         (WebCore::normalizeSpaces): Use StringView::getCharactersWithUpconvert.
740
741         * html/parser/HTMLParserIdioms.cpp:
742         (WebCore::stripLeadingAndTrailingHTMLSpaces): Use characters16 for a code path
743         that already handled 8-bit characters separately.
744         (WebCore::parseHTMLNonNegativeInteger): Ditto.
745         (WebCore::parseDescriptors): Added an 8-bit code path.
746
747         * inspector/InspectorStyleSheet.cpp:
748         (WebCore::InspectorStyle::newLineAndWhitespaceDelimiters): Index directly into
749         string instead of using deprecatedCharacters.
750         * inspector/InspectorStyleTextEditor.cpp:
751         (WebCore::InspectorStyleTextEditor::insertProperty): Ditto.
752         (WebCore::InspectorStyleTextEditor::internalReplaceProperty): Ditto.
753
754         * page/ContentSecurityPolicy.cpp:
755         (WebCore::isSourceListNone): Use StringView::upconvertedCharacters.
756         (WebCore::CSPSourceList::parse): Ditto.
757         (WebCore::NonceDirective::parse): Ditto.
758         (WebCore::MediaListDirective::parse): Ditto.
759         (WebCore::CSPDirectiveList::parse): Ditto.
760         (WebCore::CSPDirectiveList::parseReportURI): Ditto.
761         (WebCore::CSPDirectiveList::parseReflectedXSS): Ditto.
762         (WebCore::ContentSecurityPolicy::didReceiveHeader): Ditto.
763
764         * page/PageSerializer.cpp:
765         (WebCore::PageSerializer::serializeFrame): Pass a StringView into
766         TextEncoding::encode.
767         (WebCore::PageSerializer::serializeCSSStyleSheet): Ditto.
768
769         * platform/Length.cpp:
770         (WebCore::countCharacter): Index directly into string instead of using
771         deprecatedCharacters. Also changed to take a StringImpl&.
772         (WebCore::newCoordsArray): Ditto. Call countCharacter the new way, and
773         use StringView::upconvertedCharacters.
774         (WebCore::newLengthArray): Ditto.
775
776         * platform/LinkHash.cpp:
777         (WebCore::visitedLinkHash): Use characters16 for the 16-bit path.
778         Also removed unused visitedURL function.
779         * platform/LinkHash.h: Removed unused visitedURL function.
780
781         * platform/SharedBuffer.cpp:
782         (WebCore::utf8Buffer): Added an 8-bit code path.
783         * platform/URL.cpp:
784         (WebCore::URL::port): Ditto.
785         (WebCore::encodeRelativeString): Use StringView to call TextEncoding::encode.
786
787         * platform/graphics/Color.cpp:
788         (WebCore::Color::parseHexColor): Use characters16 in the 16-bit path.
789         (WebCore::Color::Color): Ditto.
790
791         * platform/graphics/harfbuzz/HarfBuzzFaceCairo.cpp:
792         (WebCore::harfBuzzGetGlyph): Use StringView to call TextEncoding::encode.
793
794         * platform/graphics/StringTruncator.cpp:
795         (WebCore::centerTruncateToBuffer): Use StringView::getCharactersWithUpconvert.
796         (WebCore::rightTruncateToBuffer): Ditto.
797         (WebCore::rightClipToCharacterBuffer): Ditto.
798         (WebCore::rightClipToWordBuffer): Ditto.
799         (WebCore::leftTruncateToBuffer): Ditto.
800         (WebCore::truncateString): Ditto.
801
802         * platform/graphics/TextRun.h:
803         (WebCore::TextRun::TextRun): Use characters16 in the 16-bit code path.
804
805         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
806         (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource):
807         Use StringView::upconvertedCharacters.
808
809         * platform/network/DataURL.cpp:
810         (WebCore::handleDataURL): Use StringView to call TextEncoding::encode.
811         * platform/network/FormDataBuilder.cpp:
812         (WebCore::FormDataBuilder::addFilenameToMultiPartHeader): Ditto.
813
814         * platform/sql/SQLiteStatement.cpp:
815         (WebCore::SQLiteStatement::bindBlob): Use StringView::upconvertedCharacters.
816         (WebCore::SQLiteStatement::bindText): Ditto.
817
818         * platform/text/DecodeEscapeSequences.h:
819         (WebCore::Unicode16BitEscapeSequence::decodeRun): Changed to take a StringView.
820         (WebCore::URLEscapeSequence::decodeRun): Ditto.
821         (WebCore::decodeEscapeSequences): Pass StringView to decodeRun.
822
823         * platform/text/Hyphenation.cpp:
824         (WebCore::lastHyphenLocation): Take a StringView.
825         * platform/text/Hyphenation.h: Make lastHyphenLocation take a StringView.
826
827         * platform/text/TextBreakIterator.cpp:
828         (WebCore::initializeIteratorWithRules): Use StringView::upconvertedCharacters.
829
830         * platform/text/TextEncoding.cpp:
831         (WebCore::TextEncoding::encode): Use StringView::upconvertedCharacters.
832         Change argument type to StringView.
833         * platform/text/TextEncoding.h: Ditto.
834
835         * platform/text/TextEncodingRegistry.cpp:
836         (WebCore::atomicCanonicalTextEncodingName): Use characters16 for the 16-bit path.
837
838         * platform/text/cf/HyphenationCF.cpp:
839         (WebCore::lastHyphenLocation): Use StringView::text.createCFStringWithoutCopying.
840         Change argument type to StringView.
841
842         * rendering/RenderBlock.cpp:
843         (WebCore::RenderBlock::constructTextRun): Use characters16 for the 16-bit path.
844
845         * rendering/RenderCombineText.cpp:
846         (WebCore::RenderCombineText::width): Removed check for null characters pointer,
847         since the pointer will never be null, and even if it was there would be no need
848         for an early exit.
849
850         * rendering/RenderText.cpp:
851         (WebCore::maxWordFragmentWidth): Take a StringView.
852         (WebCore::RenderText::computePreferredLogicalWidths): Pass in a StringView.
853         * rendering/line/BreakingContextInlineHeaders.h:
854         (WebCore::tryHyphenating): Ditto.
855
856         * rendering/svg/SVGTextLayoutEngine.cpp:
857         (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath): Use
858         StringView::upconvertedCharacters.
859
860         * rendering/svg/SVGTextMetrics.cpp:
861         (WebCore::SVGTextMetrics::SVGTextMetrics): Use String::substring.
862
863         * svg/SVGAngle.cpp:
864         (WebCore::SVGAngle::setValueAsString): Use StringView::upconvertedCharacters.
865         * svg/SVGAnimateMotionElement.cpp:
866         (WebCore::parsePoint): Ditto.
867         * svg/SVGAnimationElement.cpp:
868         (WebCore::parseKeySplines): Ditto.
869         * svg/SVGFitToViewBox.cpp:
870         (WebCore::SVGFitToViewBox::parseViewBox): Ditto.
871
872         * svg/SVGFontData.cpp:
873         (WebCore::SVGFontData::applySVGGlyphSelection): Pass StringView to
874         createStringWIthMirroredCharacters.
875         (WebCore::createStringWithMirroredCharacters): Changed to use StringView and
876         use indexing into that instead of a characters pointer.
877
878         * svg/SVGFontData.h: Removed createStringWithMirroredCharacters member function,
879         since it has nothing to do with the SVGFontData object. Now it's just a private
880         helper function in the SVGFontData.cpp source file.
881
882         * svg/SVGFontElement.cpp:
883         (WebCore::SVGFontElement::registerLigaturesInGlyphCache): Index into the string
884         instead of using deprecatedCharacters.
885
886         * svg/SVGGlyphMap.h:
887         (WebCore::SVGGlyphMap::addGlyph): Use StringView::upconvertedCharacters.
888         (WebCore::SVGGlyphMap::collectGlyphsForString): Ditto.
889         * svg/SVGGlyphRefElement.cpp:
890         (WebCore::SVGGlyphRefElement::parseAttribute): Ditto.
891         * svg/SVGLength.cpp:
892         (WebCore::SVGLength::setValueAsString): Ditto.
893         * svg/SVGLengthList.cpp:
894         (WebCore::SVGLengthList::parse): Ditto.
895         * svg/SVGNumberList.cpp:
896         (WebCore::SVGNumberList::parse): Ditto.
897         * svg/SVGParserUtilities.cpp:
898         (WebCore::parseNumberFromString): Ditto.
899         (WebCore::parseNumberOptionalNumber): Ditto.
900         (WebCore::parseRect): Ditto.
901         (WebCore::pointsListFromSVGData): Ditto.
902         (WebCore::parseGlyphName): Ditto.
903         (WebCore::parseKerningUnicodeString): Ditto.
904         (WebCore::parseDelimitedString): Ditto.
905         * svg/SVGPreserveAspectRatio.cpp:
906         (WebCore::SVGPreserveAspectRatio::parse): Ditto.
907         * svg/SVGStringList.cpp:
908         (WebCore::SVGStringList::parse): Ditto.
909         * svg/SVGTransformList.cpp:
910         (WebCore::SVGTransformList::parse): Ditto.
911         * svg/SVGTransformable.cpp:
912         (WebCore::SVGTransformable::parseTransformType): Ditto.
913         * svg/SVGViewSpec.cpp:
914         (WebCore::SVGViewSpec::parseViewSpec): Ditto.
915         * svg/SVGZoomAndPan.h:
916         (WebCore::SVGZoomAndPan::parseAttribute): Ditto.
917
918         * xml/XMLHttpRequest.cpp:
919         (WebCore::XMLHttpRequest::send): Pass a StringView to TextEncoding::encode.
920
921         * xml/XSLStyleSheetLibxslt.cpp:
922         (WebCore::XSLStyleSheet::parseString): Use StringView::upconvertedCharacters.
923
924 2014-03-18  Bem Jones-Bey  <bjonesbe@adobe.com>
925
926         LayoutBox is a terrible name
927         https://bugs.webkit.org/show_bug.cgi?id=130351
928
929         Reviewed by Simon Fraser.
930
931         Rename LayoutBox to CSSBoxType. Also rename the functions and methods
932         that mention "LayoutBox" to something that makes sense for each
933         specific situation.
934
935         No new tests, no behavior change.
936
937         * css/BasicShapeFunctions.cpp:
938         (WebCore::valueForBasicShape):
939         (WebCore::basicShapeForValue):
940         * css/CSSBasicShapes.cpp:
941         (WebCore::CSSBasicShapeCircle::cssText):
942         (WebCore::CSSBasicShapeCircle::equals):
943         (WebCore::CSSBasicShapeEllipse::cssText):
944         (WebCore::CSSBasicShapeEllipse::equals):
945         (WebCore::CSSBasicShapePolygon::cssText):
946         (WebCore::CSSBasicShapePolygon::equals):
947         (WebCore::CSSBasicShapeInset::cssText):
948         * css/CSSBasicShapes.h:
949         (WebCore::CSSBasicShape::referenceBox):
950         (WebCore::CSSBasicShape::setReferenceBox):
951         * css/CSSComputedStyleDeclaration.cpp:
952         (WebCore::shapePropertyValue):
953         * css/CSSPrimitiveValueMappings.h:
954         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
955         (WebCore::CSSPrimitiveValue::operator CSSBoxType):
956         * css/DeprecatedStyleBuilder.cpp:
957         (WebCore::ApplyPropertyClipPath::applyValue):
958         (WebCore::ApplyPropertyShape::applyValue):
959         * page/animation/CSSPropertyAnimation.cpp:
960         (WebCore::blendFunc):
961         * rendering/ClipPathOperation.h:
962         (WebCore::ShapeClipPathOperation::setReferenceBox):
963         (WebCore::ShapeClipPathOperation::referenceBox):
964         (WebCore::BoxClipPathOperation::create):
965         (WebCore::BoxClipPathOperation::referenceBox):
966         (WebCore::BoxClipPathOperation::BoxClipPathOperation):
967         * rendering/shapes/Shape.cpp:
968         (WebCore::Shape::createBoxShape):
969         * rendering/shapes/Shape.h:
970         * rendering/shapes/ShapeInfo.cpp:
971         (WebCore::ShapeInfo<RenderType>::computedShape):
972         * rendering/shapes/ShapeInfo.h:
973         * rendering/shapes/ShapeInsideInfo.h:
974         * rendering/shapes/ShapeOutsideInfo.h:
975         * rendering/style/BasicShapes.cpp:
976         (WebCore::BasicShape::canBlend):
977         * rendering/style/BasicShapes.h:
978         (WebCore::BasicShape::referenceBox):
979         (WebCore::BasicShape::setReferenceBox):
980         (WebCore::BasicShape::BasicShape):
981         * rendering/style/RenderStyleConstants.h:
982         * rendering/style/ShapeValue.h:
983         (WebCore::ShapeValue::createShapeValue):
984         (WebCore::ShapeValue::createBoxShapeValue):
985         (WebCore::ShapeValue::cssBox):
986         (WebCore::ShapeValue::ShapeValue):
987
988 2014-03-18  Daniel Bates  <dabates@apple.com>
989
990         REGRESSION (r162334): RenderTableCol::styleDidChange uses out-of-date table information
991         https://bugs.webkit.org/show_bug.cgi?id=129561
992
993         Reviewed by Antti Koivisto.
994
995         Test: fast/table/update-col-width-and-remove-table-cell-crash.html
996
997         Fixes an issue where a table column or table column group may query an out-
998         of-date model of its associated table as part of its process to propagate
999         style changes to affected table cells.
1000
1001         * rendering/RenderTableCol.cpp:
1002         (WebCore::RenderTableCol::styleDidChange): Ensure that all sections in the table
1003         are up-to-date before querying for a table cell.
1004         * rendering/RenderTableSection.cpp:
1005         (WebCore::RenderTableSection::recalcCells): Update comment to read well. In
1006         particular, remove the reference to RenderTableSection::fillRowsWithDefaultStartingAtPosition()
1007         as this function was removed in <http://trac.webkit.org/changeset/99919>.
1008         (WebCore::RenderTableSection::setNeedsCellRecalc): Clear the grid preemptively to
1009         to ensure that accessors cannot access stale data. We'll build the grid again
1010         in RenderTableSection::recalcCells().
1011         (WebCore::RenderTableSection::numColumns): Add ASSERT(!m_needsCellRecalc) to assert
1012         that the grid cells are up-to-date. That is, we don't need to calculate them again.
1013         * rendering/RenderTableSection.h: Add ASSERT(!m_needsCellRecalc) or call recalcCellsIfNeeded()
1014         before accessing the grid to ensure that it's up-to-date.
1015
1016 2014-03-18  Daniel Bates  <dabates@apple.com>
1017
1018         REGRESSION (r163560): ASSERTION FAILED: childrenInline() in WebCore::RenderSVGText::layout
1019         https://bugs.webkit.org/show_bug.cgi?id=130346
1020
1021         Reviewed by Andreas Kling.
1022
1023         Following <http://trac.webkit.org/changeset/163560>, SVG inline elements may be treated as block-
1024         level elements depending on their CSS styles (e.g. display: block). But such elements should always
1025         be treated as inline-level elements.
1026
1027         Partially revert <http://trac.webkit.org/changeset/164368> as it addressed a similar issue for
1028         <tspan> and <tref>. Instead we should implement RenderSVGInline::updateFromStyle() to ensure that
1029         RenderSVGInline and any derived classes (e.g. RenderSVGTSpan) are always treated as inline elements
1030         regardless of their CSS style because the SVG text layout code depends on this assumption as part
1031         of a performance optimization. We may want to revaluate the benefits of this optimization with respect
1032         to code clarity and ensuring the code is less error prone.
1033
1034         Test: svg/text/a-display-block.html
1035               svg/text/tref-display-inherit.html
1036
1037         * css/StyleResolver.cpp:
1038         (WebCore::StyleResolver::adjustRenderStyle): Revert changes from <http://trac.webkit.org/changeset/164368>.
1039         * rendering/RenderInline.h:
1040         * rendering/svg/RenderSVGInline.cpp:
1041         (WebCore::RenderSVGInline::updateFromStyle): Added; ensure that RenderSVGInline and any derived
1042         classes are treated as inline elements because the SVG text layout code depends on this assumption.
1043         * rendering/svg/RenderSVGInline.h:
1044
1045 2014-03-18  Hans Muller  <hmuller@adobe.com>
1046
1047         [CSS Shapes] shape-outside: ellipse(50% 50% at) causes crash
1048         https://bugs.webkit.org/show_bug.cgi?id=130366
1049
1050         Reviewed by Andreas Kling.
1051
1052         The BasicShape ellipse and circle functions now report a syntax error
1053         if the "at" keyword is not followed by a position.
1054
1055         The existing parsing tests have been updated to include this case.
1056
1057         * css/CSSParser.cpp:
1058         (WebCore::CSSParser::parseBasicShapeCircle):
1059         (WebCore::CSSParser::parseBasicShapeEllipse):
1060
1061 2014-03-18  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
1062
1063         Removing MediaStreamVector typedef
1064         https://bugs.webkit.org/show_bug.cgi?id=130402
1065
1066         Reviewed by Eric Carlson.
1067
1068         * Modules/mediastream/MediaStream.h:
1069         * Modules/mediastream/RTCPeerConnection.cpp:
1070         (WebCore::RTCPeerConnection::getLocalStreams):
1071         (WebCore::RTCPeerConnection::getRemoteStreams):
1072         (WebCore::RTCPeerConnection::getStreamById):
1073         (WebCore::RTCPeerConnection::hasLocalStreamWithTrackId):
1074         * Modules/mediastream/RTCPeerConnection.h:
1075
1076 2014-03-18  Commit Queue  <commit-queue@webkit.org>
1077
1078         Unreviewed, rolling out r165815.
1079         https://bugs.webkit.org/show_bug.cgi?id=130410
1080
1081         Broke many VTT tests (Requested by bfulgham on #webkit).
1082
1083         Reverted changeset:
1084
1085         "TextTrackRegion Not Implemented"
1086         https://bugs.webkit.org/show_bug.cgi?id=116546
1087         http://trac.webkit.org/changeset/165815
1088
1089 2014-03-18  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
1090
1091         Bad cast with toRenderBox in WebCore::RenderView::repaintViewRectangle
1092         https://bugs.webkit.org/show_bug.cgi?id=129104
1093
1094         Reviewed by Simon Fraser.
1095
1096         We should not cast the renderer of a RenderView's owner to RenderBox
1097         unless we are sure it is one.
1098
1099         Test: plugins/crash-invalid-data-reference.html
1100
1101         * rendering/RenderView.cpp:
1102         (WebCore::RenderView::repaintViewRectangle):
1103
1104 2014-03-18  Andreas Kling  <akling@apple.com>
1105
1106         Micro-optimize element descendant iterator.
1107         <https://webkit.org/b/130384>
1108
1109         Add a slightly more efficient ElementDescendantIterator that keeps a stack
1110         of relevant ancestor siblings instead of walking up the parent chain every
1111         time we run out of children.
1112
1113         Reviewed by Antti Koivisto.
1114
1115         * WebCore.xcodeproj/project.pbxproj:
1116         * dom/ElementDescendantIterator.h: Added.
1117         (WebCore::ElementDescendantIterator::ElementDescendantIterator):
1118         (WebCore::ElementDescendantIterator::operator++):
1119         (WebCore::ElementDescendantConstIterator::ElementDescendantConstIterator):
1120         (WebCore::ElementDescendantConstIterator::operator++):
1121         (WebCore::ElementDescendantIteratorAdapter::ElementDescendantIteratorAdapter):
1122         (WebCore::ElementDescendantIteratorAdapter::begin):
1123         (WebCore::ElementDescendantIteratorAdapter::end):
1124         (WebCore::ElementDescendantConstIteratorAdapter::ElementDescendantConstIteratorAdapter):
1125         (WebCore::ElementDescendantConstIteratorAdapter::begin):
1126         (WebCore::ElementDescendantConstIteratorAdapter::end):
1127         (WebCore::elementDescendants):
1128         * dom/ElementIterator.h:
1129         * dom/SelectorQuery.cpp:
1130         (WebCore::elementsForLocalName):
1131         (WebCore::anyElement):
1132         (WebCore::SelectorDataList::executeSingleTagNameSelectorData):
1133         (WebCore::SelectorDataList::executeSingleClassNameSelectorData):
1134         (WebCore::SelectorDataList::executeSingleSelectorData):
1135         (WebCore::SelectorDataList::executeSingleMultiSelectorData):
1136         (WebCore::SelectorDataList::executeCompiledSimpleSelectorChecker):
1137
1138 2014-03-18  Antti Koivisto  <antti@apple.com>
1139
1140         Mutating rules returned by getMatchedCSSRules can result in crash
1141         https://bugs.webkit.org/show_bug.cgi?id=130209
1142
1143         Reviewed by Andreas Kling.
1144         
1145         The non-standard getMatchedCSSRules API returns CSSStyleRule objects that don't
1146         have parent stylesheet pointer (as we don't know which sheet the rule originated from).
1147         Mutating the rule via such wrapper can lead to crashes later as we fail to invalidate
1148         the underlying stylesheet.
1149         
1150         Fix by disallowing mutation of style rules that don't have parent sheet pointer. CSSStyleRule
1151         has two mutable properties selectorText and style. The latter gives back CSSStyleDeclaration.
1152         This patch disallows mutations in both cases for CSSStyleRules that don't have parent stylesheet
1153         pointer.
1154         
1155         While it is technically possible to have CSSRules that are legitimately disconnected
1156         from stylesheet (by removing rule from sheet while holding a reference to it) it never
1157         makes sense to mutate such rule as there is no way to do anything with it afterwards.
1158
1159         Tests: fast/css/getMatchedCSSProperties-rule-mutation.html
1160                fast/css/getMatchedCSSRules-crash.html
1161
1162         * css/CSSStyleRule.cpp:
1163         (WebCore::CSSStyleRule::setSelectorText):
1164
1165             Bail out if parent stylesheet is null.
1166
1167         * css/PropertySetCSSStyleDeclaration.cpp:
1168         (WebCore::PropertySetCSSStyleDeclaration::setCssText):
1169         (WebCore::PropertySetCSSStyleDeclaration::setProperty):
1170         (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
1171         (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
1172         
1173             Allow StyleRuleCSSStyleDeclaration subclass cancel the mutation via
1174             boolean return value from willMutate.
1175
1176         (WebCore::StyleRuleCSSStyleDeclaration::willMutate):
1177         
1178             Disallow mutation if the owning CSSStyleRule is null or has null stylesheet.
1179
1180         (WebCore::StyleRuleCSSStyleDeclaration::didMutate):
1181         
1182             We never get here with null rule or stylesheet anymore.
1183
1184         * css/PropertySetCSSStyleDeclaration.h:
1185         (WebCore::PropertySetCSSStyleDeclaration::willMutate):
1186
1187 2014-03-17  Jeffrey Pfau  <jpfau@apple.com>
1188
1189         <media> elements are not properly moved to new documents' visibility callback lists
1190         https://bugs.webkit.org/show_bug.cgi?id=127711
1191
1192         Reviewed by David Kilzer.
1193
1194         * html/HTMLMediaElement.cpp:
1195         (WebCore::HTMLMediaElement::didMoveToNewDocument):
1196
1197 2014-03-18  Filip Pizlo  <fpizlo@apple.com>
1198
1199         More FTL enabling.
1200
1201         Rubber stamped by Dan Bernstein and Mark Hahnenberg.
1202
1203         No new tests.
1204
1205         * Configurations/FeatureDefines.xcconfig:
1206
1207 2014-03-18  Brent Fulgham  <bfulgham@apple.com>
1208
1209         TextTrackRegion Not Implemented
1210         https://bugs.webkit.org/show_bug.cgi?id=116546
1211
1212         Reviewed by Eric Carlson.
1213
1214         Merged from Blink (patch by vcarbune@chromium.org):
1215         https://chromium.googlesource.com/chromium/blink/+/4940f89a087fea5b5ea628e98d0b355d398a9eea
1216         http://crbug.com/25798003
1217
1218         Tests: media/track/regions-webvtt/text-track-region-display.html
1219                media/track/regions-webvtt/text-track-region-dom-layout.html
1220
1221         * html/HTMLMediaElement.cpp:
1222         (WebCore::HTMLMediaElement::parseAttribute):
1223         * html/track/LoadableTextTrack.cpp:
1224         (WebCore::LoadableTextTrack::newRegionsAvailable):
1225         * html/track/TextTrack.cpp:
1226         * html/track/TextTrack.h:
1227         * html/track/TextTrackRegion.cpp:
1228         (WebCore::TextTrackRegion::TextTrackRegion):
1229         (WebCore::TextTrackRegion::appendTextTrackCueBox):
1230         * html/track/TextTrackRegion.h:
1231         * html/track/VTTCue.cpp:
1232         (WebCore::VTTCue::VTTCue):
1233         (WebCore::VTTCue::notifyRegionWhenRemovingDisplayTree):
1234         (WebCore::VTTCue::removeDisplayTree):
1235         * html/track/VTTCue.h:
1236         * html/track/WebVTTParser.cpp:
1237         (WebCore::WebVTTParser::parseBytes):
1238         (WebCore::WebVTTParser::collectMetadataHeader):
1239         * html/track/WebVTTParser.h:
1240
1241 2014-03-18  Philippe Normand  <pnormand@igalia.com>
1242
1243         [GTK] ResourceLoaderSoup.cpp was added by mistake
1244         https://bugs.webkit.org/show_bug.cgi?id=130396
1245
1246         Reviewed by Carlos Garcia Campos.
1247
1248         This file was committed by mistake in r152778 and is not built by
1249         any port.
1250
1251         * loader/soup/ResourceLoaderSoup.cpp: Removed.
1252
1253 2014-03-18  Andreas Kling  <akling@apple.com>
1254
1255         Rename ElementDescendantIterator to TypedElementDescendantIterator.
1256         Romper-stubbed by Antti "Latte Lung" Koivisto.
1257
1258         * GNUmakefile.list.am:
1259         * WebCore.vcxproj/WebCore.vcxproj:
1260         * WebCore.vcxproj/WebCore.vcxproj.filters:
1261         * WebCore.xcodeproj/project.pbxproj:
1262         * dom/ElementDescendantIterator.h: Removed.
1263         * dom/ElementIterator.h:
1264         * dom/TypedElementDescendantIterator.h: Added.
1265         (WebCore::TypedElementDescendantIterator<ElementType>::TypedElementDescendantIterator):
1266         (WebCore::TypedElementDescendantIterator<ElementType>::operator):
1267         (WebCore::TypedElementDescendantConstIterator<ElementType>::TypedElementDescendantConstIterator):
1268         (WebCore::TypedElementDescendantConstIterator<ElementType>::operator):
1269         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::TypedElementDescendantIteratorAdapter):
1270         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::begin):
1271         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::end):
1272         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::beginAt):
1273         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::from):
1274         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::first):
1275         (WebCore::TypedElementDescendantIteratorAdapter<ElementType>::last):
1276         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::TypedElementDescendantConstIteratorAdapter):
1277         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::begin):
1278         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::end):
1279         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::beginAt):
1280         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::from):
1281         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::first):
1282         (WebCore::TypedElementDescendantConstIteratorAdapter<ElementType>::last):
1283         (WebCore::descendantsOfType):
1284
1285 2014-03-18  Ion Rosca  <rosca@adobe.com>
1286
1287         Add blend mode property to dumped information in GraphicsLayer.
1288         https://bugs.webkit.org/show_bug.cgi?id=130331
1289
1290         Reviewed by Simon Fraser.
1291
1292         Functionality is not changed, therefore no new tests added.
1293         I adjusted the affected test results generated with layerTreeAsText.
1294
1295         * platform/graphics/GraphicsLayer.cpp:
1296         (WebCore::GraphicsLayer::dumpProperties):
1297
1298 2014-03-17  Sergio Villar Senin  <svillar@igalia.com>
1299
1300         webdatabase: Replace DEPRECATED_DEFINE_STATIC_LOCAL by static NeverDestroyed<T>
1301         https://bugs.webkit.org/show_bug.cgi?id=130347
1302
1303         Reviewed by Darin Adler.
1304
1305         * Modules/webdatabase/DatabaseTracker.cpp:
1306         (WebCore::DatabaseTracker::openDatabaseMutex):
1307         (WebCore::notificationMutex):
1308         (WebCore::notificationQueue):
1309
1310 2014-03-17  Jer Noble  <jer.noble@apple.com>
1311
1312         Add RemoteCommandListener support to MediaSessionManager.
1313         https://bugs.webkit.org/show_bug.cgi?id=130354
1314
1315         Reviewed by Eric Carlson.
1316
1317         Listen for remote commands in MediaSessionManager.
1318
1319         * platform/audio/MediaSessionManager.cpp:
1320         (WebCore::MediaSessionManager::addSession):
1321         (WebCore::MediaSessionManager::removeSession):
1322         * platform/audio/MediaSessionManager.h:
1323
1324         Add RemoteCommandListener to the project files:
1325         * CMakeLists.txt:
1326         * GNUmakefile.list.am:
1327         * WebCore.vcxproj/WebCore.vcxproj:
1328         * WebCore.vcxproj/WebCore.vcxproj.filters:
1329
1330 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1331
1332         Rewrite WebHTMLConverter::_elementHasOwnBackgroundColor in C++
1333         https://bugs.webkit.org/show_bug.cgi?id=130291
1334
1335         Reviewed by Andreas Kling.
1336
1337         Extracted HTMLConverterCaches::elementHasOwnBackgroundColor.
1338
1339         * platform/mac/HTMLConverter.mm:
1340         (HTMLConverterCaches::elementHasOwnBackgroundColor):
1341         (-[WebHTMLConverter _elementHasOwnBackgroundColor:]):
1342
1343 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1344
1345         Rewrite WebHTMLConverter::_elementIsBlockLevel in C++
1346         https://bugs.webkit.org/show_bug.cgi?id=130287
1347
1348         Reviewed by Andreas Kling.
1349
1350         Rewrote _elementIsBlockLevel as HTMLConverterCaches::isBlockElement. Also removed the code to update
1351         _elementIsBlockLevel in _traverseNode as computing the value of _elementIsBlockLevel is now fast.
1352
1353         * platform/mac/HTMLConverter.h:
1354         * platform/mac/HTMLConverter.mm:
1355         (HTMLConverterCaches::isBlockElement):
1356         (-[WebHTMLConverter _elementIsBlockLevel:]):
1357         (-[WebHTMLConverter _traverseNode:depth:embedded:]):
1358         (-[WebHTMLConverter dealloc]):
1359         (-[WebHTMLConverter init]):
1360
1361 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1362
1363         Rewrite WebHTMLConverter::_getComputedFloat in C++
1364         https://bugs.webkit.org/show_bug.cgi?id=130284
1365
1366         Reviewed by Andreas Kling.
1367
1368         Rewrote _getComputedFloat as HTMLConverterCaches::floatPropertyValueForNode.
1369
1370         * platform/mac/HTMLConverter.h:
1371         * platform/mac/HTMLConverter.mm:
1372         (HTMLConverterCaches::floatPropertyValueForNode):
1373         (-[WebHTMLConverter _getFloat:forNode:property:]): Now that computing the float value is fast, we don't need to
1374         store it in the cache.
1375         (-[WebHTMLConverter dealloc]):
1376         (-[WebHTMLConverter init]):
1377
1378 2014-03-16  Andreas Kling  <akling@apple.com>
1379
1380         HTMLInputElement::defaultEventHandler() shouldn't force style updates.
1381         <https://webkit.org/b/130303>
1382
1383         Move the updateStyleIfNeeded() call down to TextFieldInputType instead
1384         of doing it for every HTMLInputEvent.
1385
1386         There might be a better way to do this; we only want to know about this
1387         specific element's renderer, and don't need the rest of the tree.
1388         This is still an easy hack to avoid a lot of unnecessary work.
1389
1390         Reviewed by Anders Carlsson.
1391
1392         * html/HTMLInputElement.cpp:
1393         (WebCore::HTMLInputElement::defaultEventHandler):
1394         * html/TextFieldInputType.cpp:
1395         (WebCore::TextFieldInputType::forwardEvent):
1396
1397 2014-03-17  Brent Fulgham  <bfulgham@apple.com>
1398
1399         [WebVTT] Extending WebVTT Rendering with Regions
1400         https://bugs.webkit.org/show_bug.cgi?id=109822
1401
1402         Reviewed by Eric Carlson.
1403
1404         Merged from Blink (patch by Victor Carbune vcarbune@chromium.org):
1405         https://chromium.googlesource.com/chromium/blink/+/0cdebc1d76d41bfcb9c4b022e54a4fbff132225d
1406
1407         No new tests, as this feature is not active in default builds. New tests will be added
1408         in an upcoming bug.
1409
1410         * css/mediaControls.css:
1411         (video::-webkit-media-text-track-region):
1412         (video::-webkit-media-text-track-region-container):
1413         (video::-webkit-media-text-track-region-container.scrolling):
1414         (video::-webkit-media-text-track-display):
1415         * html/shadow/MediaControlElements.cpp:
1416         (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
1417         * html/track/TextTrack.cpp:
1418         (WebCore::TextTrack::~TextTrack):
1419         * html/track/TextTrackCue.cpp:
1420         * html/track/TextTrackRegion.cpp:
1421         (WebCore::TextTrackRegion::TextTrackRegion):
1422         (WebCore::TextTrackRegion::textTrackCueContainerScrollingClass):
1423         (WebCore::TextTrackRegion::textTrackCueContainerShadowPseudoId):
1424         (WebCore::TextTrackRegion::textTrackRegionShadowPseudoId):
1425         (WebCore::TextTrackRegion::appendTextTrackCueBox):
1426         (WebCore::TextTrackRegion::displayLastTextTrackCueBox):
1427         (WebCore::TextTrackRegion::willRemoveTextTrackCueBox):
1428         (WebCore::TextTrackRegion::getDisplayTree):
1429         (WebCore::TextTrackRegion::prepareRegionDisplayTree):
1430         (WebCore::TextTrackRegion::startTimer):
1431         (WebCore::TextTrackRegion::stopTimer):
1432         (WebCore::TextTrackRegion::scrollTimerFired):
1433         * html/track/TextTrackRegion.h:
1434         (WebCore::TextTrackRegion::create):
1435         (WebCore::TextTrackRegion::isScrollingRegion):
1436         (WebCore::TextTrackRegion::ownerDocument):
1437         * html/track/TextTrackRegion.idl:
1438         * html/track/TextTrackRegionList.cpp:
1439         (WebCore::TextTrackRegionList::getRegionById):
1440         * html/track/VTTCue.cpp:
1441         (WebCore::VTTCueBox::applyCSSProperties):
1442         (WebCore::VTTCue::~VTTCue):
1443         (WebCore::VTTCue::setIsActive):
1444         (WebCore::VTTCue::removeDisplayTree):
1445         * html/track/WebVTTParser.cpp:
1446         (WebCore::WebVTTParser::createNewRegion):
1447         * rendering/RenderVTTCue.cpp:
1448         (WebCore::RenderVTTCue::layout):
1449
1450 2014-03-17  Brendan Long  <b.long@cablelabs.com>
1451
1452         [GStreamer] human readable language code for tracks
1453         https://bugs.webkit.org/show_bug.cgi?id=124514
1454
1455         Reviewed by Martin Robinson.
1456
1457         * PlatformEfl.cmake: Add GSTREAMER_TAG_INCLUDE_DIRS and GSTREAMER_TAG_LIBRARIES.
1458         * PlatformGTK.cmake: Same.
1459         * platform/graphics/gstreamer/TrackPrivateBaseGStreamer.cpp:
1460         (WebCore::TrackPrivateBaseGStreamer::getLanguageCode): Run language codes though gst_tag_get_language_code_iso_639_1() to make sure they're valid.
1461         (WebCore::TrackPrivateBaseGStreamer::notifyTrackOfTagsChanged): Use getLanguageCode() for languages instead of just getTag().
1462
1463 2014-03-17  Ryosuke Niwa  <rniwa@webkit.org>
1464
1465         [Mac] Rewrite WebHTMLConverter::_computedStringForNode in C++
1466         https://bugs.webkit.org/show_bug.cgi?id=130274
1467
1468         Reviewed by Andreas Kling.
1469
1470         Rewrote WebHTMLConverter::_computedStringForNode as HTMLConverterCaches::propertyValueForNode.
1471
1472         * platform/mac/HTMLConverter.h: Removed unused caches.
1473         * platform/mac/HTMLConverter.mm:
1474         (HTMLConverterCaches::computedStylePropertyForElement): Added use const String& instead of String& on property name.
1475         (HTMLConverterCaches::inlineStylePropertyForElement): Ditto.
1476         (HTMLConverterCaches::propertyValueForNode): Renamed and rewritten from _computedStringForNode.
1477         (-[WebHTMLConverter _stringForNode:property:]): Simply return the computed value instead of storing it in the cache
1478         now that the computing the value is fast.
1479         (-[WebHTMLConverter dealloc]):
1480         (-[WebHTMLConverter init]):
1481
1482 2014-03-17  Andreas Kling  <akling@apple.com>
1483
1484         Remove unnecessary JSC::Handle null checks in bindings code.
1485         <https://webkit.org/b/130356>
1486
1487         Use Handle::slot() directly instead of going through Handle::get().
1488         This avoids null checking the HandleSlot, which isn't necessary here
1489         anyway, and the code already assumes it'll never be null.
1490
1491         Reviewed by Gavin Barraclough.
1492
1493         * bindings/js/JSCSSRuleListCustom.cpp:
1494         (WebCore::JSCSSRuleListOwner::isReachableFromOpaqueRoots):
1495         * bindings/js/JSCSSValueCustom.cpp:
1496         (WebCore::JSCSSValueOwner::isReachableFromOpaqueRoots):
1497         (WebCore::JSCSSValueOwner::finalize):
1498         * bindings/js/JSMutationObserverCustom.cpp:
1499         (WebCore::JSMutationObserverOwner::isReachableFromOpaqueRoots):
1500         * bindings/js/JSNodeCustom.cpp:
1501         (WebCore::JSNodeOwner::isReachableFromOpaqueRoots):
1502         * bindings/js/JSNodeListCustom.cpp:
1503         (WebCore::JSNodeListOwner::isReachableFromOpaqueRoots):
1504         * bindings/js/JSTextTrackCueCustom.cpp:
1505         (WebCore::JSTextTrackCueOwner::isReachableFromOpaqueRoots):
1506         * bindings/js/WebCoreTypedArrayController.cpp:
1507         (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::isReachableFromOpaqueRoots):
1508         (WebCore::WebCoreTypedArrayController::JSArrayBufferOwner::finalize):
1509         * bindings/scripts/CodeGeneratorJS.pm:
1510         (GenerateImplementation):
1511         * bridge/runtime_root.cpp:
1512         (JSC::Bindings::RootObject::finalize):
1513
1514 2014-03-17  Krzysztof Czech  <k.czech@samsung.com>
1515
1516         AX: Reducing some code by using helper function ariaElementsFromAttribute
1517         https://bugs.webkit.org/show_bug.cgi?id=130344
1518
1519         Reviewed by Chris Fleizach.
1520
1521         Change visibility of ariaElementsFromAttribute function from private to protected
1522         so that other classes that derives from AccessibilityRenderObject can use it.
1523
1524         No new tests. No behaviour change.
1525
1526         * accessibility/AccessibilityRenderObject.h:
1527         * accessibility/AccessibilityTableCell.cpp:
1528         (WebCore::AccessibilityTableCell::columnHeaders):
1529
1530 2014-03-16  Brent Fulgham  <bfulgham@apple.com>
1531
1532         Provide preference to enable additional AVFoundation options
1533         https://bugs.webkit.org/show_bug.cgi?id=130275
1534
1535         Reviewed by Eric Carlson.
1536
1537         * html/HTMLMediaElement.cpp:
1538         (WebCore::HTMLMediaElement::doesHaveAttribute): Added.
1539         * html/HTMLMediaElement.h:
1540         * page/Settings.in: Add new attribute.
1541         * platform/graphics/MediaPlayer.cpp:
1542         (WebCore::MediaPlayer::doesHaveAttribute): Added stub to call private player object's
1543         implementation of doesHaveAttribute.
1544         * platform/graphics/MediaPlayer.h:
1545         (WebCore::MediaPlayerClient::doesHaveAttribute):
1546         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
1547         (WebCore::MediaPlayerPrivateAVFoundationCF::AVFWrapper::createAssetForURL): Check the <media> object,
1548         and notify AVFoundationCF to use URI option if relevant.
1549         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
1550         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Check the <media> object,
1551         and notify AVFoundation to use URI option if relevant.
1552
1553 2014-03-17  Jer Noble  <jer.noble@apple.com>
1554
1555         [EME] Add NULL protections in SourceBuffer and MediaSource.
1556         https://bugs.webkit.org/show_bug.cgi?id=130266
1557
1558         Reviewed by Eric Carlson.
1559
1560         Add NULL checks in places which may be called after a SourceBuffer has been removed:
1561
1562         * Modules/mediasource/MediaSource.cpp:
1563         (WebCore::MediaSource::monitorSourceBuffers): Protect against a SourceBuffer being removed
1564             (and thus activeSourceBuffers being empty) when monitoring source buffer state.
1565         * Modules/mediasource/SourceBuffer.cpp:
1566         (WebCore::SourceBuffer::appendBufferTimerFired): Protect against SourceBuffer being removed.
1567         (WebCore::SourceBuffer::videoTracks): Ditto.
1568         (WebCore::SourceBuffer::audioTracks): Ditto.
1569         (WebCore::SourceBuffer::textTracks): Ditto.
1570         (WebCore::SourceBuffer::setActive): Ditto.
1571         (WebCore::SourceBuffer::sourceBufferPrivateDidEndStream): Ditto.
1572         (WebCore::SourceBuffer::hasCurrentTime): Ditto.
1573         (WebCore::SourceBuffer::canPlayThrough): Ditto.
1574         (WebCore::SourceBuffer::hasFutureTime): Ditto, and check for an empty buffered ranges.
1575
1576 2014-03-17  Tim Horton  <timothy_horton@apple.com>
1577
1578         WKThumbnailView should support snapshots
1579         https://bugs.webkit.org/show_bug.cgi?id=130335
1580         <rdar://problem/16255139>
1581
1582         Reviewed by Simon Fraser.
1583
1584         * WebCore.exp.in:
1585
1586 2014-01-29  Sergio Villar Senin  <svillar@igalia.com>
1587
1588         [CSS Grid Layout] getComputedStyle() not using author's order when showing named grid lines
1589         https://bugs.webkit.org/show_bug.cgi?id=127837
1590
1591         Reviewed by David Hyatt.
1592
1593         Added a couple of new Vectors to store the names of the grid lines
1594         respecting their order. They will be used to get the right outcome
1595         for getComputedStyle().
1596
1597         * css/CSSComputedStyleDeclaration.cpp:
1598         (WebCore::addValuesForNamedGridLinesAtIndex):
1599         (WebCore::valueForGridTrackList):
1600         * css/StyleResolver.cpp:
1601         (WebCore::createGridTrackList):
1602         (WebCore::StyleResolver::applyProperty):
1603         * rendering/style/RenderStyle.h:
1604         * rendering/style/StyleGridData.cpp:
1605         (WebCore::StyleGridData::StyleGridData):
1606         * rendering/style/StyleGridData.h:
1607         (WebCore::StyleGridData::operator==):
1608
1609 2014-03-17  Zsolt Borbely  <borbezs@inf.u-szeged.hu>
1610
1611         Fix the !ENABLE(PROMISES) build
1612         https://bugs.webkit.org/show_bug.cgi?id=130328
1613
1614         Reviewed by Darin Adler.
1615
1616         Add missing ENABLE(PROMISES) guards.
1617
1618         * bindings/js/JSDOMPromise.cpp:
1619         * bindings/js/JSDOMPromise.h:
1620
1621 2014-03-17  Gurpreet Kaur  <k.gurpreet@samsung.com>
1622
1623         Safari should not render a cell if the <td> is empty
1624         https://bugs.webkit.org/show_bug.cgi?id=15273
1625
1626         Reviewed by Darin Adler.
1627
1628         When table cell has no children and the doctype is not present or not
1629         correct the border for that cell should not be drawn. Firefox also
1630         follows the same behaviour hence making the changes to make it similiar
1631         to Firefox behaviour.
1632
1633         Tests: fast/table/table-cell-border-doctype.html
1634                fast/table/table-cell-border-no-doctype.html
1635
1636         * rendering/RenderTableCell.cpp:
1637         (WebCore::RenderTableCell::paintBoxDecorations):
1638         Added condition for not drawing the border when table cell has no child
1639         and doctype.
1640
1641
1642 2014-03-17  Frédéric Wang  <fred.wang@free.fr>
1643
1644         Fix handling of <annotation> in MathMLTextElement.
1645         https://bugs.webkit.org/show_bug.cgi?id=124128.
1646
1647         Reviewed by Darin Adler.
1648
1649         No new tests.
1650
1651         * mathml/MathMLTextElement.cpp:
1652         (WebCore::MathMLTextElement::createElementRenderer): do not create the special RenderMathMLToken for the <annotation> tag.
1653         (WebCore::MathMLTextElement::childShouldCreateRenderer): only allow text inside <annotation>.
1654
1655 2014-03-17  Martin Robinson  <mrobinson@igalia.com>
1656
1657         [GTK][CMake] Credential storage is not enabled
1658         https://bugs.webkit.org/show_bug.cgi?id=130149
1659
1660         Reviewed by Philippe Normand.
1661
1662         * PlatformGTK.cmake: Add the libsecret include directories and link line to the build.
1663
1664 2014-03-17  Zan Dobersek  <zdobersek@igalia.com>
1665
1666         Unreviewed.
1667
1668         Addressing reviewing comments by Darin in bug #130310 that I forgot
1669         to address before landing the changes in r165732.
1670         https://bugs.webkit.org/show_bug.cgi?id=130310
1671
1672         * rendering/InlineTextBox.cpp:
1673         * rendering/RenderLayer.cpp:
1674         * rendering/RenderObject.cpp:
1675
1676 2014-03-17  Jessie Berlin  <jberlin@apple.com>
1677
1678         Speculative build fix for ENABLE(TELEPHONE_NUMBER_DETECTION) after r165724.
1679
1680         * html/parser/HTMLTreeBuilder.cpp:
1681         (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers):
1682
1683 2014-03-17  Zan Dobersek  <zdobersek@igalia.com>
1684
1685         Only supplement Page with UserMediaController once
1686         https://bugs.webkit.org/show_bug.cgi?id=130311
1687
1688         Reviewed by Darin Adler.
1689
1690         Don't supplement the Page with an UserMediaController object if that Page was
1691         already supplemented with one. This avoids triggering an assertion in
1692         Supplementable::provideSupplement() that ensures no supplement with the same key
1693         exists yet. The cause of this is calling provideUserMediaTo() in the Internals
1694         constructor that's using the same Page for two subsequent tests.
1695
1696         * Modules/mediastream/UserMediaController.cpp:
1697         (WebCore::provideUserMediaTo):
1698
1699 2014-03-17  Zan Dobersek  <zdobersek@igalia.com>
1700
1701         Explicitly include cstdio header for debug builds in InlineTextBox, RenderLayer, RenderObject
1702         https://bugs.webkit.org/show_bug.cgi?id=130310
1703
1704         Reviewed by Darin Adler.
1705
1706         Building the GTK port with Clang through CMake falls into a configuration where
1707         the cstdio header is not indirectly included in InlineTextBox, RenderLayer and
1708         RenderObject source files. fprintf() is required for helper functions that print
1709         out helpful debugging information in debug builds, so the cstdio header should
1710         be included explicitly in that case.
1711
1712         * rendering/InlineTextBox.cpp:
1713         * rendering/RenderLayer.cpp:
1714         * rendering/RenderObject.cpp:
1715
1716 2014-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
1717
1718         [GTK] Cleanup WebKitDOMObject
1719         https://bugs.webkit.org/show_bug.cgi?id=130246
1720
1721         Reviewed by Martin Robinson.
1722
1723         Remove unneeded getter and fix coding style.
1724
1725         * bindings/gobject/WebKitDOMObject.cpp:
1726         (webkitDOMObjectSetProperty):
1727         (webkit_dom_object_class_init):
1728
1729 2014-03-17  Darin Adler  <darin@apple.com>
1730
1731         Stop using deprecatedCharacters in HTMLTreeBuilder
1732         https://bugs.webkit.org/show_bug.cgi?id=130323
1733
1734         Reviewed by Andreas Kling.
1735
1736         Keeping this separate from other patches because of concern that this could affect
1737         page load performance.
1738
1739         * html/parser/HTMLTreeBuilder.cpp:
1740         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::ExternalCharacterTokenBuffer):
1741         Use a StringView instead of a character pointer.
1742         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::isEmpty): Ditto.
1743         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::skipAtMostOneLeadingNewline):
1744         Ditto.
1745         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeRemaining): Ditto.
1746         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::giveRemainingTo): Ditto.
1747         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeRemainingWhitespace): Ditto.
1748         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::skipLeading): Ditto.
1749         (WebCore::HTMLTreeBuilder::ExternalCharacterTokenBuffer::takeLeading): Ditto.
1750         (WebCore::HTMLTreeBuilder::linkifyPhoneNumbers): Use StringView::upconvertedCharacters.
1751
1752 2014-03-17  Jinwoo Song  <jinwoo7.song@samsung.com>
1753
1754         Make some Module class constructors return PassRef.
1755         https://bugs.webkit.org/show_bug.cgi?id=130282
1756
1757         Reviewed by Andreas Kling.
1758
1759         Make the constructor helpers for the following classes return PassRef
1760         instead of PassRefPtr since they will never return null.
1761          - GamepadList
1762          - Geolocation
1763          - NavigatorContentUtils
1764          - NetworkInfoConnection
1765          - Notification
1766          - NotificationCenter
1767          - DeviceProximityEvent
1768
1769         * Modules/gamepad/GamepadList.h:
1770         (WebCore::GamepadList::create):
1771         * Modules/geolocation/Geolocation.cpp:
1772         (WebCore::Geolocation::create):
1773         * Modules/geolocation/Geolocation.h:
1774         (WebCore::Geolocation::GeoNotifier::create):
1775         * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
1776         (WebCore::NavigatorContentUtils::create):
1777         * Modules/navigatorcontentutils/NavigatorContentUtils.h:
1778         * Modules/networkinfo/NetworkInfoConnection.cpp:
1779         (WebCore::NetworkInfoConnection::create):
1780         * Modules/networkinfo/NetworkInfoConnection.h:
1781         * Modules/notifications/Notification.cpp:
1782         (WebCore::Notification::create):
1783         * Modules/notifications/Notification.h:
1784         * Modules/notifications/NotificationCenter.cpp:
1785         (WebCore::NotificationCenter::create):
1786         * Modules/notifications/NotificationCenter.h:
1787         * Modules/proximity/DeviceProximityEvent.h:
1788         (WebCore::DeviceProximityEvent::create):
1789
1790 2014-03-16  Mihnea Ovidenie  <mihnea@adobe.com>
1791
1792         [CSSRegions]Do not compute region range for a box unless the parent has one
1793         https://bugs.webkit.org/show_bug.cgi?id=130249
1794
1795         Reviewed by Andrei Bucur.
1796
1797         If the containing block does not have a region range computed, do not attempt to compute
1798         a region range for a child. In such cases, the range computation for a child can lead to
1799         a result that is wrong, possibly leading to an incorrect clipping.
1800
1801         Test: fast/regions/inline-block-flowed-in-regions.html
1802
1803         * rendering/RenderBlock.cpp:
1804         (WebCore::canComputeRegionRangeForBox):
1805         (WebCore::RenderBlock::computeRegionRangeForBoxChild):
1806         (WebCore::RenderBlock::estimateRegionRangeForBoxChild):
1807         (WebCore::RenderBlock::updateRegionRangeForBoxChild):
1808         * rendering/RenderFlowThread.h:
1809
1810 2014-03-16  Andreas Kling  <akling@apple.com>
1811
1812         CSSValueList should assert that no null values are added to it.
1813         <https://webkit.org/b/130315>
1814
1815         Add assertions in CSSValueList's append() and prepend() that we are
1816         not adding a null value. This caught a single place in CSSParser
1817         that was appending an alread-released RefPtr to a CSSValueList.
1818         That list was eventually discarded anyway (due to "foundClip" now
1819         being true), so the fix is simply to remove the adding.
1820
1821         Eventually we should use Ref and PassRef all over for CSSValueList,
1822         this is just a first step on the way.
1823
1824         Reviewed by Darin Adler.
1825
1826         * css/CSSParser.cpp:
1827         (WebCore::CSSParser::parseFillShorthand):
1828         * css/CSSValueList.h:
1829         (WebCore::CSSValueList::append):
1830         (WebCore::CSSValueList::prepend):
1831
1832 2014-03-16  Praveen R Jadhav  <praveen.j@samsung.com>
1833
1834         AudioBufferSourceNode stop attribute shouldn't throw exception in finished state.
1835         https://bugs.webkit.org/show_bug.cgi?id=130000.
1836
1837         Reviewed by Jer Noble.
1838
1839         AudioBufferSourceNode may go to FINISHED_STATE even before "stop" method is called 
1840         as silence rendered after audio data is played out when its not looping.
1841         A call to "stop" method after this shouldn't throw exception.
1842
1843         * Modules/webaudio/AudioScheduledSourceNode.cpp:
1844         (WebCore::AudioScheduledSourceNode::stop):
1845
1846 2014-03-16  Brian Burg  <bburg@apple.com>
1847
1848         Web Inspector: generated backend commands should reflect build system ENABLE settings
1849         https://bugs.webkit.org/show_bug.cgi?id=130111
1850
1851         Reviewed by Timothy Hatcher.
1852
1853         Add guards for conditional inspector domains.
1854
1855         For Makefile-based build systems, force regeneration of the
1856         combined file if the list of domains has changed.
1857
1858         Combine only the Inspector domains listed in INSPECTOR_DOMAINS,
1859         instead of globbing any .json file.
1860
1861         * CMakeLists.txt:
1862         * DerivedSources.make:
1863         * GNUmakefile.am:
1864
1865 2014-03-16  David Kilzer  <ddkilzer@apple.com>
1866
1867         Follow-up: Double values passed to fabsf() in maxScaleFromTransform()
1868         <http://webkit.org/b/130297>
1869
1870         Reviewed by Darin Adler.
1871
1872         * platform/graphics/ca/GraphicsLayerCA.cpp:
1873         (WebCore::maxScaleFromTransform): Use narrowPrecisionToFloat()
1874         instead of static_cast<float>().
1875
1876 2014-03-16  Andreas Kling  <akling@apple.com>
1877
1878         ScriptExecutionContext::vm() should return a reference.
1879         <https://webkit.org/b/129611>
1880
1881         Every ScriptExecutionContext has a VM, so this can never return null.
1882         Made WorkerScriptController::vm() return a reference as well, since
1883         that was needed for this change.
1884
1885         Reviewed by Geoffrey Garen.
1886
1887         * bindings/js/WorkerScriptController.h:
1888         (WebCore::WorkerScriptController::vm):
1889         * bindings/js/WorkerScriptDebugServer.cpp:
1890         (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
1891         * css/ElementRuleCollector.cpp:
1892         (WebCore::ElementRuleCollector::ruleMatches):
1893         * dom/ScriptExecutionContext.cpp:
1894         (WebCore::ScriptExecutionContext::vm):
1895         * dom/ScriptExecutionContext.h:
1896         * dom/SelectorQuery.cpp:
1897         (WebCore::SelectorDataList::execute):
1898         * html/HTMLCanvasElement.cpp:
1899         (WebCore::HTMLCanvasElement::createImageBuffer):
1900         * xml/XMLHttpRequest.cpp:
1901         (WebCore::XMLHttpRequest::dropProtection):
1902         * testing/Internals.cpp:
1903         (WebCore::Internals::parserMetaData):
1904
1905 2014-03-16  Zan Dobersek  <zdobersek@igalia.com>
1906
1907         Remove OwnPtr.h, PassOwnPtr.h header inclusions in Source/WebCore/html/parser/ code
1908         https://bugs.webkit.org/show_bug.cgi?id=129667
1909
1910         Reviewed by Anders Carlsson.
1911
1912         Remove unnecessary inclusions of the OwnPtr.h and PassOwnPtr.h headers
1913         in the code under Source/WebCore/html/parser/.
1914
1915         * html/parser/HTMLParserScheduler.h:
1916         * html/parser/HTMLToken.h:
1917         * html/parser/HTMLTreeBuilder.h:
1918         * html/parser/XSSAuditor.h:
1919         * html/parser/XSSAuditorDelegate.h:
1920
1921 2014-03-16  Darin Adler  <darin@apple.com>
1922
1923         Remove uses of "cat" in DerivedSources.make outside platform-specific rules
1924         https://bugs.webkit.org/show_bug.cgi?id=130307
1925
1926         Reviewed by Anders Carlsson.
1927
1928         * DerivedSources.make: Use "perl -pe ''" instead of "cat".
1929
1930 2014-03-16  Brian Burg  <bburg@apple.com>
1931
1932         Web Inspector: vended backend commands file should be generated as part of the build
1933         https://bugs.webkit.org/show_bug.cgi?id=130110
1934
1935         Reviewed by Timothy Hatcher.
1936
1937         * WebCore.xcodeproj/project.pbxproj: Copy InspectorWebBackendCommands.js to the
1938         private headers directory.
1939
1940 2014-03-16  Frédéric Wang  <fred.wang@free.fr>
1941
1942         [regression] foreign content not displayed in MathML
1943         <https://webkit.org/b/124128>
1944
1945         Reviewed by Chris Fleizach.
1946
1947         This restores foreign content in <mtext>, <mn> and <mi> elements, but only when it is "phrasing content" as defined per the HTML5 specification. Other token elements are not handled here. This change makes mspace-units.html work again on Linux.
1948
1949         Tests: mathml/presentation/foreign-mi-dynamic.html
1950                mathml/presentation/foreign-mi.html
1951                mathml/presentation/foreign-mn.html
1952                mathml/presentation/foreign-mtext-rejected.html
1953                mathml/presentation/foreign-mtext.html
1954
1955         * mathml/MathMLTextElement.cpp:
1956         (WebCore::MathMLTextElement::createElementRenderer): create a RenderMathMLToken for mn, ms and mtext.
1957         (WebCore::isPhrasingContent): helper function to check phrasing content, as defined by the HTML spec.
1958         (WebCore::MathMLTextElement::childShouldCreateRenderer): <mi>, <mn>, <mtext> and, <ms> now accepts phrasing content.
1959         * rendering/mathml/RenderMathMLToken.cpp:
1960         (WebCore::RenderMathMLToken::RenderMathMLToken):
1961         (WebCore::RenderMathMLToken::updateTokenContent): initialize the m_containsElement boolean when updating the token content.
1962         (WebCore::RenderMathMLToken::updateStyle): move <mi> specific handling in its own section and only apply the single-char rule when it does not contain elements.
1963         * rendering/mathml/RenderMathMLToken.h: add an m_containsElement boolean to handle token element specifically.
1964
1965 2014-03-16  David Kilzer  <ddkilzer@apple.com>
1966
1967         PlatformTimeRanges::nearest() truncates closestDelta values from double to float
1968         <http://webkit.org/b/130298>
1969
1970         Reviewed by Darin Adler.
1971
1972         Fixes the following build failures using trunk clang:
1973
1974             WebCore/platform/graphics/PlatformTimeRanges.cpp:210:28: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
1975                         closestDelta = fabsf(startTime - time);
1976                                        ^
1977             WebCore/platform/graphics/PlatformTimeRanges.cpp:210:28: note: use function 'fabs' instead
1978                         closestDelta = fabsf(startTime - time);
1979                                        ^~~~~
1980                                        fabs
1981             WebCore/platform/graphics/PlatformTimeRanges.cpp:214:28: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
1982                         closestDelta = fabsf(endTime - time);
1983                                        ^
1984             WebCore/platform/graphics/PlatformTimeRanges.cpp:214:28: note: use function 'fabs' instead
1985                         closestDelta = fabsf(endTime - time);
1986                                        ^~~~~
1987                                        fabs
1988
1989         * platform/graphics/PlatformTimeRanges.cpp:
1990         (WebCore::PlatformTimeRanges::nearest): Extract start and end
1991         time deltas into local variables so they don't have to be
1992         computed twice, using fabs() instead of fabsf().
1993
1994 2014-03-16  Darin Adler  <darin@apple.com>
1995
1996         Optimize hasTagName when called on an HTMLElement
1997         https://bugs.webkit.org/show_bug.cgi?id=130090
1998
1999         Reviewed by Antti Koivisto.
2000
2001         Added new hasTagName functions that have the efficiency of hasLocalName.
2002         but are safe.
2003
2004         Now we can always use hasTagName, and we'll get a compile time error if
2005         we try to use an SVG tag name with an HTML element. All call sites that
2006         use the more specific tag name types are more efficient, and call sites
2007         that have a specific pointer type will get even more efficient checking
2008         that is exactly what we used to get by calling hasLocalName.
2009
2010         * accessibility/AccessibilityObject.cpp:
2011         (WebCore::AccessibilityObject::hasTagName): Cast explicitly to Element
2012         since Node::hasTagName no longer works on a general QualifiedName.
2013         * accessibility/AccessibilityRenderObject.cpp:
2014         (WebCore::AccessibilityRenderObject::isDescendantOfElementType): Use
2015         more specific type, RenderElement, so we can call hasTagName on Element
2016         instead of Node; eliminates an unnecessary branch.
2017
2018         * accessibility/AccessibilityTableColumn.cpp: Added now-needed include.
2019         * accessibility/atk/AccessibilityObjectAtk.cpp: Ditto.
2020
2021         * dom/DocumentStyleSheetCollection.cpp:
2022         (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets): Use
2023         new for loop and full words for variable names. Also use nullptr instead
2024         of 0. Call toHTMLElement and toSVGElement in code that checks hasTagName
2025         since it's already checking isHTMLElement and isSVGElement.
2026
2027         * dom/Element.cpp:
2028         (WebCore::attrNodeListMap): Use NeverDestroyed and put the vectors into
2029         the map rather than putting pointers to a vector into the map.
2030         (WebCore::attrNodeListForElement): Take a reference rather than a pointer,
2031         and update for the change above.
2032         (WebCore::ensureAttrNodeListForElement): Ditto.
2033         (WebCore::removeAttrNodeListForElement): Ditto.
2034         (WebCore::findAttrNodeInList): Ditto.
2035         (WebCore::Element::isFocusable): Use lineageOfType<HTMLCanvasElement>
2036         to fine the canvas rather than a hand-written loop.
2037         (WebCore::Element::attrNodeList): Update for above changes.
2038         (WebCore::Element::setAttributeNode): Ditto.
2039         (WebCore::Element::attrIfExists): Ditto.
2040         (WebCore::Element::ensureAttr): Ditto.
2041         (WebCore::Element::detachAttrNodeFromElementWithValue): Ditto.
2042         (WebCore::Element::detachAllAttrNodesFromElement): Ditto.
2043
2044         * dom/Element.h: Removed the overload of hasLocalName that takes a
2045         QualifiedName and ignores the non-local-name parts of it. Callers should
2046         use hasTagName instead, now that it's optimized appropriately. Added
2047         overloads of hasTagName for all the specific qualified name types. It's
2048         more efficient to use the Node versions of these functions rather than
2049         using QualifiedName::matches to do the check. Removed the hasTagName and
2050         hasLocalName functions from the Node class; the only convenience functions
2051         needed in Node are the specific checks for tags from HTML, MathML, and SVG,
2052         not the general purpose ones.
2053
2054         * dom/Node.h: Removed hasLocalName and replaced the single hasTagName
2055         that takes a QualifiedName with three faster ones that take HTML, MathML,
2056         and SVG qualified names instead. Also updated to use nullptr instead of 0.
2057
2058         * dom/PositionIterator.cpp: Added now-needed include.
2059         * dom/Text.cpp: Ditto.
2060
2061         * dom/make_names.pl:
2062         (printHeaderHead): Renamed an argument for clarity and added a definitions
2063         argument, which is where we insert the classes derived from QualifiedName.
2064         (printCppHead): Renamed an argument for clarity.
2065         (printTypeHelpers): Use hasTagName rather than hasLocalName, since the
2066         former is now optimized to be the same as what the latter was.
2067         (printNamesHeaderFile): Define a class derived from QualifiedName that can
2068         be used at compile time to avoid having to check the namespace.
2069         (printNamesCppFile): Use the new more-specific type as needed.
2070
2071         * editing/ApplyStyleCommand.cpp:
2072         (WebCore::isLegacyAppleStyleSpan): Use hasTagName instead of hasLocalName,
2073         and references instead of pointers.
2074         (WebCore::ApplyStyleCommand::ApplyStyleCommand): Removed uneeded explicit
2075         construction of a smart pointer.
2076         (WebCore::ApplyStyleCommand::shouldApplyInlineStyleToRun): Updated to use
2077         the enclosingElementWithTag function by its new name.
2078
2079         * editing/Editor.cpp:
2080         (WebCore::Editor::selectionUnorderedListState): Updated to use the
2081         enclosingElementWithTag function by its new name.
2082         (WebCore::Editor::selectionOrderedListState): Ditto.
2083
2084         * editing/InsertListCommand.cpp:
2085         (WebCore::InsertListCommand::doApply): Use a more-specific type for the list tag.
2086         (WebCore::InsertListCommand::doApplyForSingleParagraph): Ditto.
2087         * editing/InsertListCommand.h: Ditto.
2088
2089         * editing/MarkupAccumulator.cpp:
2090         (WebCore::MarkupAccumulator::serializeNodesWithNamespaces): Added an explicit
2091         cast to Element in the loop that is already guarded by an isElementNode check.
2092         Also use a modern C++ for loop.
2093
2094         * editing/ReplaceSelectionCommand.cpp:
2095         (WebCore::ReplaceSelectionCommand::makeInsertedContentRoundTrippableWithHTMLTreeBuilder):
2096         Updated to use the enclosingElementWithTag function by its new name.
2097         (WebCore::ReplaceSelectionCommand::removeUnrenderedTextNodesAtEnds): Ditto.
2098         (WebCore::ReplaceSelectionCommand::positionAtEndOfInsertedContent): Ditto.
2099
2100         * editing/TypingCommand.cpp: Added now-needed includes.
2101         * editing/VisibleUnits.cpp: Ditto.
2102
2103         * editing/htmlediting.cpp:
2104         (WebCore::enclosingElementWithTag): Changed to return an Element instead of a Node,
2105         since nodes other than elements do not have tags.
2106         * editing/htmlediting.h: Ditto.
2107
2108         * editing/mac/EditorMac.mm:
2109         (WebCore::Editor::adjustedSelectionRange): Updated to use the enclosingElementWithTag
2110         function by its new name.
2111         * editing/markup.cpp:
2112         (WebCore::StyledMarkupAccumulator::appendText): Ditto.
2113         (WebCore::StyledMarkupAccumulator::traverseNodesForSerialization): Ditto.
2114         (WebCore::highestAncestorToWrapMarkup): Ditto.
2115         (WebCore::createMarkupInternal): Ditto.
2116         (WebCore::createContextualFragment): Ditto. Use hasTagName instead of hasLocalName,
2117         since the former is now optimized to be the same as the latter was before.
2118
2119         * html/HTMLCollection.cpp:
2120         (WebCore::isMatchingElement): Use hasTagName instead of hasLocalName,
2121         since the former is now optimized to be the same as the latter was before.
2122         (WebCore::nameShouldBeVisibleInDocumentAll): Ditto.
2123         * html/HTMLElement.cpp:
2124         (WebCore::HTMLElement::ieForbidsInsertHTML): Ditto.
2125         (WebCore::unicodeBidiAttributeForDirAuto): Ditto.
2126         (WebCore::HTMLElement::parseBorderWidthAttribute): Ditto.
2127         (WebCore::HTMLElement::setInnerHTML): Ditto.
2128         (WebCore::shouldProhibitSetInnerOuterText): Ditto. Added this to share code between
2129         setInnerText and setOuterText.
2130         (WebCore::HTMLElement::setInnerText): Ditto.
2131         (WebCore::HTMLElement::setOuterText): Ditto.
2132         (WebCore::HTMLElement::rendererIsNeeded): Ditto.
2133         (WebCore::HTMLElement::createElementRenderer): Ditto.
2134
2135         * html/HTMLElement.h: Added hasTagName, which hides the one inherited from Element
2136         and takes the more-specific HTMLQualifiedName type. This means we don't need to check
2137         the namespace at runtime because it's known at compile time. Also put the
2138         implementation of Node::hasTagName for HTMLQualifiedName into this header.
2139
2140         * html/HTMLObjectElement.cpp:
2141         (WebCore::isRecognizedTagName): Updated for change in return type of
2142         HTMLNames::getHTMLTags.
2143
2144         * html/HTMLSelectElement.cpp:
2145         (WebCore::HTMLSelectElement::add): Use hasTagName inastead of hasLocalName.
2146         (WebCore::HTMLSelectElement::value): Use isHTMLOptionElement instead of hasTagName.
2147         Also use a new style for loop and emptyString() instead of "".
2148         (WebCore::HTMLSelectElement::setValue): Ditto.
2149         (WebCore::HTMLSelectElement::setLength): Ditto.
2150         (WebCore::HTMLSelectElement::searchOptionsForValue): Ditto.
2151         (WebCore::HTMLSelectElement::restoreFormControlState): Ditto.
2152
2153         * html/HTMLTableColElement.cpp:
2154         (WebCore::HTMLTableColElement::additionalPresentationAttributeStyle): Use hasTagName
2155         instead of hasLocalName.
2156
2157         * html/HTMLTableRowsCollection.cpp:
2158         (WebCore::isInSection): Updated to use hasTagName and take a reference.
2159         (WebCore::HTMLTableRowsCollection::rowAfter): Pass a reference.
2160
2161         * html/parser/HTMLConstructionSite.cpp: Added now-needed include.
2162
2163         * html/parser/HTMLTreeBuilder.cpp:
2164         (WebCore::createCaseMap): Updated to return a map rather than filling one in, and to
2165         be flxible about the type of the table being used.
2166         (WebCore::adjustSVGTagNameCase): Updated to use NeverDestroyed.
2167         (WebCore::adjustAttributes): Added new helper so we can share more code. Updated
2168         template argument names for clarity.
2169         (WebCore::adjustSVGAttributes): Marked this inline, since it just turns around and
2170         calls a single non-inline function.
2171         (WebCore::adjustMathMLAttributes): Ditto.
2172         (WebCore::addNamesWithPrefix): Changed to take argument by reference instead of pointer.
2173         (WebCore::createForeignAttributesMap): Added. Factors out the map creation from the
2174         function below.
2175         (WebCore::adjustForeignAttributes): Updated for above changes.
2176         (WebCore::HTMLTreeBuilder::processStartTagForInBody): Updated to pass reference.
2177         (WebCore::HTMLTreeBuilder::processTokenInForeignContent): Ditto.
2178
2179         * inspector/InspectorStyleSheet.cpp: Added now-needed include.
2180
2181         * mathml/MathMLElement.h: Added hasTagName, which hides the one inherited from Element
2182         and takes the more-specific MathMLQualifiedName type. This means we don't need to check
2183         the namespace at runtime because it's known at compile time. Also put the
2184         implementation of Node::hasTagName for MathMLQualifiedName into this header.
2185
2186         * mathml/MathMLInlineContainerElement.cpp:
2187         (WebCore::MathMLInlineContainerElement::createElementRenderer): Use hasTagName.
2188
2189         * mathml/MathMLSelectElement.cpp:
2190         (WebCore::MathMLSelectElement::attributeChanged): Use hasTagName.
2191         (WebCore::MathMLSelectElement::getSelectedActionChildAndIndex): Ditto.
2192         (WebCore::MathMLSelectElement::getSelectedActionChild): Ditto.
2193         (WebCore::MathMLSelectElement::getSelectedSemanticsChild): Ditto.
2194         (WebCore::MathMLSelectElement::updateSelectedChild): Ditto.
2195         * mathml/MathMLTextElement.cpp:
2196         (WebCore::MathMLTextElement::createElementRenderer): Ditto.
2197         (WebCore::MathMLTextElement::childShouldCreateRenderer): Ditto.
2198
2199         * platform/gtk/PasteboardGtk.cpp: Added now-needed include.
2200         * platform/mac/HTMLConverter.mm: Ditto.
2201         * rendering/RenderBlockFlow.cpp: Ditto.
2202
2203         * rendering/RenderBoxModelObject.cpp:
2204         (WebCore::RenderBoxModelObject::paintFillLayerExtended): Use hasTagName.
2205         * rendering/RenderElement.cpp:
2206         (WebCore::RenderElement::rendererForRootBackground): Ditto.
2207         * rendering/RenderLayerBacking.cpp:
2208         (WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer): Ditto.
2209
2210         * rendering/RenderReplaced.cpp: Added now-needed include.
2211
2212         * rendering/mathml/RenderMathMLScripts.cpp:
2213         (WebCore::RenderMathMLScripts::RenderMathMLScripts): Use hasTagName.
2214         * rendering/mathml/RenderMathMLUnderOver.cpp:
2215         (WebCore::RenderMathMLUnderOver::RenderMathMLUnderOver): Ditto.
2216
2217         * svg/SVGElement.h: Added hasTagName, which hides the one inherited from Element
2218         and takes the more-specific SVGQualifiedName type. This means we don't need to check
2219         the namespace at runtime because it's known at compile time. Also put the
2220         implementation of Node::hasTagName for SVGQualifiedName into this header.
2221
2222         * svg/SVGFontFaceSrcElement.cpp:
2223         (WebCore::SVGFontFaceSrcElement::childrenChanged): Use isSVGFontFaceElement instead
2224         of calling hasTagName.
2225
2226         * svg/SVGUseElement.cpp:
2227         (WebCore::isDirectReference): Changed to take a reference and a more specific type.
2228         (WebCore::SVGUseElement::toClipPath): Added a type cast.
2229         (WebCore::SVGUseElement::rendererClipChild): Use more specific types so we don't
2230         need a type cast.
2231
2232         * xml/parser/XMLDocumentParser.cpp:
2233         (WebCore::XMLDocumentParser::parseDocumentFragment): Added explicit calls to this
2234         unusual call site that has a good reason to use hasLocalName instead of hasTagName.
2235
2236 2014-03-16  Andreas Kling  <akling@apple.com>
2237
2238         Stop pulling in JSDOMBinding.h via JSEventListener.h
2239         <https://webkit.org/b/130299>
2240
2241         Just chippin' away at the compile time monster.
2242
2243         Reviewed by Darin Adler.
2244
2245         * bindings/js/IDBBindingUtilities.cpp:
2246         * bindings/js/JSEventListener.h:
2247
2248 2014-03-16  David Kilzer  <ddkilzer@apple.com>
2249
2250         Double values passed to fabsf() in maxScaleFromTransform()
2251         <http://webkit.org/b/130297>
2252
2253         Reviewed by Darin Adler.
2254
2255         Fixes the following build failures using trunk clang:
2256
2257             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:21: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
2258                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2259                                 ^
2260             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:21: note: use function 'fabs' instead
2261                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2262                                 ^~~~~
2263                                 fabs
2264             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:50: error: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Werror,-Wabsolute-value]
2265                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2266                                                              ^
2267             WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:287:50: note: use function 'fabs' instead
2268                 return std::max(fabsf(decomposeData.scaleX), fabsf(decomposeData.scaleY));
2269                                                              ^~~~~
2270                                                              fabs
2271
2272         * platform/graphics/ca/GraphicsLayerCA.cpp:
2273         (WebCore::maxScaleFromTransform): Use static_cast<float>() to
2274         convert float values to double values.
2275
2276 2014-03-15  Zalan Bujtas  <zalan@apple.com>
2277
2278         Move BorderEdge class to its own file.
2279         https://bugs.webkit.org/show_bug.cgi?id=130294
2280
2281         Reviewed by Sam Weinig.
2282
2283         This is in preparation to have better encapsulation for border box decoration painting.
2284
2285         No change in functionality.
2286
2287         * CMakeLists.txt:
2288         * GNUmakefile.list.am:
2289         * WebCore.vcxproj/WebCore.vcxproj:
2290         * WebCore.vcxproj/WebCore.vcxproj.filters:
2291         * WebCore.xcodeproj/project.pbxproj:
2292         * rendering/BorderEdge.cpp: Added.
2293         (WebCore::BorderEdge::BorderEdge):
2294         (WebCore::BorderEdge::getBorderEdgeInfo):
2295         (WebCore::BorderEdge::includesAdjacentEdges):
2296         (WebCore::BorderEdge::obscuresBackgroundEdge):
2297         (WebCore::BorderEdge::obscuresBackground):
2298         (WebCore::BorderEdge::getDoubleBorderStripeWidths):
2299         * rendering/BorderEdge.h: Added.
2300         (WebCore::BorderEdge::edgeFlagForSide):
2301         (WebCore::BorderEdge::includesEdge):
2302         (WebCore::BorderEdge::edgesShareColor):
2303         (WebCore::BorderEdge::hasVisibleColorAndStyle):
2304         (WebCore::BorderEdge::shouldRender):
2305         (WebCore::BorderEdge::presentButInvisible):
2306         (WebCore::BorderEdge::widthForPainting):
2307         (WebCore::BorderEdge::borderWidthInDevicePixel):
2308         * rendering/RenderBoxModelObject.cpp:
2309         (WebCore::borderStyleHasUnmatchedColorsAtCorner):
2310         (WebCore::colorsMatchAtCorner):
2311         (WebCore::colorNeedsAntiAliasAtCorner):
2312         (WebCore::willBeOverdrawn):
2313         (WebCore::joinRequiresMitre):
2314         (WebCore::RenderBoxModelObject::paintBorderSides):
2315         (WebCore::RenderBoxModelObject::paintTranslucentBorderSides):
2316         (WebCore::RenderBoxModelObject::paintBorder):
2317         (WebCore::RenderBoxModelObject::borderObscuresBackgroundEdge):
2318         (WebCore::RenderBoxModelObject::borderObscuresBackground):
2319         * rendering/RenderBoxModelObject.h:
2320
2321 2014-03-15  Martin Robinson  <mrobinson@igalia.com>
2322
2323         Fix WebCore unused parameter warnings for WebKitGTK+ CMake build
2324         https://bugs.webkit.org/show_bug.cgi?id=130252
2325
2326         Reviewed by Carlos Garcia Campos.
2327
2328         * Modules/mediastream/HTMLMediaElementMediaStream.cpp: Fix unused parameters.
2329         * html/RangeInputType.cpp: Ditto.
2330         * page/gtk/EventHandlerGtk.cpp: Ditto.
2331         * platform/graphics/cairo/GraphicsContextCairo.cpp: Ditto.
2332         * platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp: Ditto.
2333         * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: Ditto.
2334         * platform/graphics/opengl/Extensions3DOpenGLES.cpp: Ditto.
2335         * platform/gtk/GamepadsGtk.cpp: Ditto.
2336         * platform/gtk/GtkClickCounter.cpp: Ditto.
2337         * platform/gtk/GtkPopupMenu.cpp: Ditto.
2338         * platform/gtk/GtkTouchContextHelper.cpp: Ditto.
2339         * platform/gtk/GtkVersioning.c: Ditto.
2340         * platform/gtk/MainFrameScrollbarGtk.cpp: Ditto.
2341         * platform/gtk/PasteboardGtk.cpp: Ditto.
2342         * platform/gtk/PasteboardHelper.cpp: Ditto.
2343         * platform/gtk/RedirectedXCompositeWindow.cpp: Ditto.
2344         * platform/gtk/RenderThemeGtk.cpp: Ditto.
2345         * platform/gtk/RenderThemeGtk.h: Ditto.
2346         * platform/gtk/RenderThemeGtk2.cpp: Ditto.
2347         * platform/gtk/ScrollbarThemeGtk.cpp: Ditto.
2348         * platform/gtk/ScrollbarThemeGtk2.cpp: Ditto.
2349         * platform/gtk/WidgetGtk.cpp: Ditto.
2350         * platform/network/gtk/CredentialBackingStore.cpp: Ditto.
2351         * platform/soup/SharedBufferSoup.cpp: Ditto.
2352         * plugins/gtk/PluginViewGtk.cpp: Ditto.
2353         * plugins/gtk/gtk2xtbin.c: Ditto.
2354         * rendering/InlineTextBox.cpp: Ditto.
2355
2356 2014-03-14  Myles C. Maxfield  <mmaxfield@apple.com>
2357
2358         RenderTextControl::hasValidAvgCharWidth doesn't detect System Font
2359         https://bugs.webkit.org/show_bug.cgi?id=130168
2360
2361         Reviewed by Dean Jackson.
2362
2363         No new tests.
2364
2365         * platform/graphics/Font.cpp: Moved functions from RenderTextControl
2366         (WebCore::Font::hasValidAverageCharWidth):
2367         (WebCore::Font::fastAverageCharWidthIfAvailable):
2368         * platform/graphics/Font.h:
2369         * rendering/RenderTextControl.cpp: Moved functions to Font.cpp
2370         (WebCore::RenderTextControl::getAverageCharWidth): Removed redundant function argument
2371         (WebCore::RenderTextControl::computeIntrinsicLogicalWidths):
2372         * rendering/RenderTextControl.h:
2373         * rendering/RenderTextControlMultiLine.cpp:
2374         (WebCore::RenderTextControlMultiLine::getAverageCharWidth): Removed redundant function argument
2375         * rendering/RenderTextControlMultiLine.h:
2376         * rendering/RenderTextControlSingleLine.cpp:
2377         (WebCore::RenderTextControlSingleLine::getAverageCharWidth): Removed redundant function argument
2378         (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth):
2379         * rendering/RenderTextControlSingleLine.h:
2380
2381 2014-03-15  David Kilzer  <ddkilzer@apple.com>
2382
2383         [iOS] Define SYSTEM_VERSION_PREFIX consistently
2384         <http://webkit.org/b/130293>
2385         <rdar://problem/15926359>
2386
2387         Reviewed by Dan Bernstein.
2388
2389         * Configurations/Version.xcconfig:
2390         (SYSTEM_VERSION_PREFIX_iphoneos): Sync with
2391         Source/WebKit/mac/Version.xcconfig.
2392
2393 2014-03-14  Mark Rowe  <mrowe@apple.com>
2394
2395         Fix the production build.
2396
2397         Don't rely on USE_INTERNAL_SDK being set for the Production configuration since UseInternalSDK.xcconfig won't
2398         be at the expected relative path when working from installed source.
2399
2400         * Configurations/Base.xcconfig:
2401
2402 2014-03-14  Maciej Stachowiak  <mjs@apple.com>
2403
2404         Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers
2405         https://bugs.webkit.org/show_bug.cgi?id=130276
2406         <rdar://problem/16266927>
2407
2408         Reviewed by Simon Fraser.
2409
2410         No new tests because no behavior changes.
2411
2412         * DerivedSources.make:
2413         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp:
2414         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
2415         * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl:
2416         * Modules/encryptedmedia/MediaKeyMessageEvent.cpp:
2417         * Modules/encryptedmedia/MediaKeyMessageEvent.h:
2418         * Modules/encryptedmedia/MediaKeyMessageEvent.idl:
2419         * Modules/encryptedmedia/MediaKeyNeededEvent.cpp:
2420         * Modules/encryptedmedia/MediaKeyNeededEvent.h:
2421         * Modules/encryptedmedia/MediaKeyNeededEvent.idl:
2422         * Modules/encryptedmedia/MediaKeySession.idl:
2423         * Modules/encryptedmedia/MediaKeys.idl:
2424         * Modules/geolocation/NavigatorGeolocation.cpp:
2425         * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
2426         * Modules/indexeddb/IDBCallbacks.h:
2427         * Modules/indexeddb/IDBDatabaseException.cpp:
2428         * Modules/indexeddb/IDBDatabaseMetadata.h:
2429         * Modules/indexeddb/IDBEventDispatcher.cpp:
2430         * Modules/indexeddb/IDBEventDispatcher.h:
2431         * Modules/indexeddb/IDBFactory.cpp:
2432         * Modules/indexeddb/IDBFactory.h:
2433         * Modules/indexeddb/IDBFactoryBackendInterface.cpp:
2434         * Modules/indexeddb/IDBFactoryBackendInterface.h:
2435         * Modules/indexeddb/IDBHistograms.h:
2436         * Modules/indexeddb/IDBIndexMetadata.h:
2437         * Modules/indexeddb/IDBObjectStoreMetadata.h:
2438         * Modules/indexeddb/IDBRecordIdentifier.h:
2439         * Modules/indexeddb/IDBRequest.cpp:
2440         * Modules/indexeddb/IDBRequest.h:
2441         * Modules/indexeddb/IDBRequest.idl:
2442         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp:
2443         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h:
2444         * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl:
2445         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
2446         * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.h:
2447         * Modules/mediacontrols/MediaControlsHost.cpp:
2448         * Modules/mediacontrols/MediaControlsHost.h:
2449         * Modules/mediacontrols/MediaControlsHost.idl:
2450         * Modules/mediacontrols/mediaControlsApple.css:
2451         * Modules/mediacontrols/mediaControlsiOS.css:
2452         * Modules/mediasource/AudioTrackMediaSource.h:
2453         * Modules/mediasource/AudioTrackMediaSource.idl:
2454         * Modules/mediasource/TextTrackMediaSource.h:
2455         * Modules/mediasource/TextTrackMediaSource.idl:
2456         * Modules/mediasource/VideoTrackMediaSource.h:
2457         * Modules/mediasource/VideoTrackMediaSource.idl:
2458         * Modules/mediastream/AllAudioCapabilities.h:
2459         * Modules/mediastream/AllAudioCapabilities.idl:
2460         * Modules/mediastream/AllVideoCapabilities.h:
2461         * Modules/mediastream/AllVideoCapabilities.idl:
2462         * Modules/mediastream/AudioStreamTrack.cpp:
2463         * Modules/mediastream/AudioStreamTrack.h:
2464         * Modules/mediastream/AudioStreamTrack.idl:
2465         * Modules/mediastream/CapabilityRange.cpp:
2466         * Modules/mediastream/CapabilityRange.h:
2467         * Modules/mediastream/CapabilityRange.idl:
2468         * Modules/mediastream/MediaSourceStates.cpp:
2469         * Modules/mediastream/MediaSourceStates.h:
2470         * Modules/mediastream/MediaSourceStates.idl:
2471         * Modules/mediastream/MediaStreamCapabilities.cpp:
2472         * Modules/mediastream/MediaStreamCapabilities.h:
2473         * Modules/mediastream/MediaStreamCapabilities.idl:
2474         * Modules/mediastream/MediaTrackConstraint.cpp:
2475         * Modules/mediastream/MediaTrackConstraint.h:
2476         * Modules/mediastream/MediaTrackConstraint.idl:
2477         * Modules/mediastream/MediaTrackConstraintSet.cpp:
2478         * Modules/mediastream/MediaTrackConstraintSet.h:
2479         * Modules/mediastream/MediaTrackConstraints.cpp:
2480         * Modules/mediastream/MediaTrackConstraints.h:
2481         * Modules/mediastream/MediaTrackConstraints.idl:
2482         * Modules/mediastream/NavigatorMediaStream.cpp:
2483         * Modules/mediastream/NavigatorUserMediaError.cpp:
2484         * Modules/mediastream/RTCConfiguration.idl:
2485         * Modules/mediastream/RTCIceServer.idl:
2486         * Modules/mediastream/RTCOfferAnswerOptions.cpp:
2487         * Modules/mediastream/RTCOfferAnswerOptions.h:
2488         * Modules/mediastream/VideoStreamTrack.cpp:
2489         * Modules/mediastream/VideoStreamTrack.h:
2490         * Modules/mediastream/VideoStreamTrack.idl:
2491         * Modules/networkinfo/NetworkInfo.cpp:
2492         * Modules/networkinfo/NetworkInfo.h:
2493         * Modules/networkinfo/NetworkInfoConnection.cpp:
2494         * Modules/networkinfo/NetworkInfoConnection.h:
2495         * Modules/networkinfo/NetworkInfoController.cpp:
2496         * Modules/notifications/DOMWindowNotifications.cpp:
2497         * Modules/notifications/DOMWindowNotifications.h:
2498         * Modules/notifications/DOMWindowNotifications.idl:
2499         * Modules/notifications/NotificationController.cpp:
2500         * Modules/notifications/NotificationController.h:
2501         * Modules/notifications/NotificationPermissionCallback.h:
2502         * Modules/notifications/NotificationPermissionCallback.idl:
2503         * Modules/notifications/WorkerGlobalScopeNotifications.cpp:
2504         * Modules/notifications/WorkerGlobalScopeNotifications.h:
2505         * Modules/notifications/WorkerGlobalScopeNotifications.idl:
2506         * Modules/plugins/PluginReplacement.h:
2507         * Modules/plugins/QuickTimePluginReplacement.cpp:
2508         * Modules/plugins/QuickTimePluginReplacement.css:
2509         * Modules/plugins/QuickTimePluginReplacement.h:
2510         * Modules/plugins/QuickTimePluginReplacement.idl:
2511         * Modules/quota/DOMWindowQuota.idl:
2512         * Modules/speech/DOMWindowSpeechSynthesis.h:
2513         * Modules/speech/DOMWindowSpeechSynthesis.idl:
2514         * Modules/speech/SpeechSynthesis.cpp:
2515         * Modules/speech/SpeechSynthesis.h:
2516         * Modules/speech/SpeechSynthesis.idl:
2517         * Modules/speech/SpeechSynthesisEvent.cpp:
2518         * Modules/speech/SpeechSynthesisEvent.h:
2519         * Modules/speech/SpeechSynthesisEvent.idl:
2520         * Modules/speech/SpeechSynthesisUtterance.cpp:
2521         * Modules/speech/SpeechSynthesisUtterance.h:
2522         * Modules/speech/SpeechSynthesisUtterance.idl:
2523         * Modules/speech/SpeechSynthesisVoice.cpp:
2524         * Modules/speech/SpeechSynthesisVoice.h:
2525         * Modules/speech/SpeechSynthesisVoice.idl:
2526         * Modules/webaudio/AudioBuffer.cpp:
2527         * Modules/webaudio/AudioBuffer.h:
2528         * Modules/webaudio/AudioBuffer.idl:
2529         * Modules/webaudio/AudioListener.cpp:
2530         * Modules/webaudio/AudioListener.h:
2531         * Modules/webaudio/AudioListener.idl:
2532         * Modules/webaudio/AudioParam.h:
2533         * Modules/webaudio/AudioParam.idl:
2534         * Modules/webaudio/AudioParamTimeline.h:
2535         * Modules/webaudio/AudioScheduledSourceNode.h:
2536         * Modules/webaudio/ChannelMergerNode.cpp:
2537         * Modules/webaudio/ChannelMergerNode.h:
2538         * Modules/webaudio/ChannelMergerNode.idl:
2539         * Modules/webaudio/MediaStreamAudioSource.cpp:
2540         * Modules/webaudio/MediaStreamAudioSource.h:
2541         * Modules/webaudio/PeriodicWave.cpp:
2542         * Modules/webaudio/PeriodicWave.h:
2543         * Modules/webdatabase/ChangeVersionWrapper.cpp:
2544         * Modules/webdatabase/ChangeVersionWrapper.h:
2545         * Modules/webdatabase/DOMWindowWebDatabase.cpp:
2546         * Modules/webdatabase/DOMWindowWebDatabase.h:
2547         * Modules/webdatabase/DOMWindowWebDatabase.idl:
2548         * Modules/webdatabase/Database.cpp:
2549         * Modules/webdatabase/Database.h:
2550         * Modules/webdatabase/Database.idl:
2551         * Modules/webdatabase/DatabaseAuthorizer.cpp:
2552         * Modules/webdatabase/DatabaseAuthorizer.h:
2553         * Modules/webdatabase/DatabaseBackendBase.cpp:
2554         * Modules/webdatabase/DatabaseBackendBase.h:
2555         * Modules/webdatabase/DatabaseCallback.idl:
2556         * Modules/webdatabase/DatabaseContext.cpp:
2557         * Modules/webdatabase/DatabaseContext.h:
2558         * Modules/webdatabase/DatabaseDetails.h:
2559         * Modules/webdatabase/DatabaseTask.cpp:
2560         * Modules/webdatabase/DatabaseTask.h:
2561         * Modules/webdatabase/DatabaseThread.cpp:
2562         * Modules/webdatabase/DatabaseThread.h:
2563         * Modules/webdatabase/DatabaseTracker.cpp:
2564         * Modules/webdatabase/DatabaseTracker.h:
2565         * Modules/webdatabase/SQLCallbackWrapper.h:
2566         * Modules/webdatabase/SQLError.h:
2567         * Modules/webdatabase/SQLError.idl:
2568         * Modules/webdatabase/SQLException.cpp:
2569         * Modules/webdatabase/SQLResultSet.cpp:
2570         * Modules/webdatabase/SQLResultSet.h:
2571         * Modules/webdatabase/SQLResultSet.idl:
2572         * Modules/webdatabase/SQLResultSetRowList.cpp:
2573         * Modules/webdatabase/SQLResultSetRowList.h:
2574         * Modules/webdatabase/SQLResultSetRowList.idl:
2575         * Modules/webdatabase/SQLStatement.cpp:
2576         * Modules/webdatabase/SQLStatement.h:
2577         * Modules/webdatabase/SQLStatementBackend.cpp:
2578         * Modules/webdatabase/SQLStatementBackend.h:
2579         * Modules/webdatabase/SQLStatementCallback.h:
2580         * Modules/webdatabase/SQLStatementCallback.idl:
2581         * Modules/webdatabase/SQLStatementErrorCallback.h:
2582         * Modules/webdatabase/SQLStatementErrorCallback.idl:
2583         * Modules/webdatabase/SQLStatementSync.cpp:
2584         * Modules/webdatabase/SQLTransaction.cpp:
2585         * Modules/webdatabase/SQLTransaction.h:
2586         * Modules/webdatabase/SQLTransaction.idl:
2587         * Modules/webdatabase/SQLTransactionBackend.cpp:
2588         * Modules/webdatabase/SQLTransactionBackend.h:
2589         * Modules/webdatabase/SQLTransactionCallback.h:
2590         * Modules/webdatabase/SQLTransactionCallback.idl:
2591         * Modules/webdatabase/SQLTransactionErrorCallback.h:
2592         * Modules/webdatabase/SQLTransactionErrorCallback.idl:
2593         * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp:
2594         * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h:
2595         * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl:
2596         * Resources/deleteButton.tiff:
2597         * Resources/deleteButtonPressed.tiff:
2598         * WebCore.vcxproj/MigrateScripts:
2599         * WebCorePrefix.cpp:
2600         * accessibility/AXObjectCache.cpp:
2601         * accessibility/AXObjectCache.h:
2602         * accessibility/AccessibilityARIAGrid.cpp:
2603         * accessibility/AccessibilityARIAGrid.h:
2604         * accessibility/AccessibilityARIAGridCell.cpp:
2605         * accessibility/AccessibilityARIAGridCell.h:
2606         * accessibility/AccessibilityARIAGridRow.cpp:
2607         * accessibility/AccessibilityARIAGridRow.h:
2608         * accessibility/AccessibilityImageMapLink.cpp:
2609         * accessibility/AccessibilityImageMapLink.h:
2610         * accessibility/AccessibilityList.cpp:
2611         * accessibility/AccessibilityList.h:
2612         * accessibility/AccessibilityListBox.cpp:
2613         * accessibility/AccessibilityListBox.h:
2614         * accessibility/AccessibilityListBoxOption.cpp:
2615         * accessibility/AccessibilityListBoxOption.h:
2616         * accessibility/AccessibilityMediaControls.cpp:
2617         * accessibility/AccessibilityMediaControls.h:
2618         * accessibility/AccessibilityNodeObject.cpp:
2619         * accessibility/AccessibilityNodeObject.h:
2620         * accessibility/AccessibilityObject.cpp:
2621         * accessibility/AccessibilityObject.h:
2622         * accessibility/AccessibilityRenderObject.cpp:
2623         * accessibility/AccessibilityRenderObject.h:
2624         * accessibility/AccessibilitySVGRoot.cpp:
2625         * accessibility/AccessibilitySVGRoot.h:
2626         * accessibility/AccessibilityScrollbar.cpp:
2627         * accessibility/AccessibilityScrollbar.h:
2628         * accessibility/AccessibilitySlider.cpp:
2629         * accessibility/AccessibilitySlider.h:
2630         * accessibility/AccessibilityTable.cpp:
2631         * accessibility/AccessibilityTable.h:
2632         * accessibility/AccessibilityTableCell.cpp:
2633         * accessibility/AccessibilityTableCell.h:
2634         * accessibility/AccessibilityTableColumn.cpp:
2635         * accessibility/AccessibilityTableColumn.h:
2636         * accessibility/AccessibilityTableHeaderContainer.cpp:
2637         * accessibility/AccessibilityTableHeaderContainer.h:
2638         * accessibility/AccessibilityTableRow.cpp:
2639         * accessibility/AccessibilityTableRow.h:
2640         * accessibility/ios/AXObjectCacheIOS.mm:
2641         * accessibility/ios/AccessibilityObjectIOS.mm:
2642         * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
2643         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
2644         * accessibility/mac/AXObjectCacheMac.mm:
2645         * accessibility/mac/AccessibilityObjectMac.mm:
2646         * accessibility/mac/WebAccessibilityObjectWrapperBase.h:
2647         * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
2648         * accessibility/mac/WebAccessibilityObjectWrapperMac.h:
2649         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
2650         * bindings/gobject/WebKitDOMEventTarget.cpp:
2651         * bindings/gobject/WebKitDOMHTMLPrivate.cpp:
2652         * bindings/gobject/WebKitDOMHTMLPrivate.h:
2653         * bindings/js/Dictionary.cpp:
2654         * bindings/js/GCController.cpp:
2655         * bindings/js/GCController.h:
2656         * bindings/js/JSAttrCustom.cpp:
2657         * bindings/js/JSAudioTrackCustom.cpp:
2658         * bindings/js/JSAudioTrackListCustom.cpp:
2659         * bindings/js/JSCSSRuleCustom.cpp:
2660         * bindings/js/JSCSSRuleCustom.h:
2661         * bindings/js/JSCSSRuleListCustom.cpp:
2662         * bindings/js/JSCSSStyleDeclarationCustom.cpp:
2663         * bindings/js/JSCSSValueCustom.cpp:
2664         * bindings/js/JSCallbackData.cpp:
2665         * bindings/js/JSCallbackData.h:
2666         * bindings/js/JSCanvasRenderingContextCustom.cpp:
2667         * bindings/js/JSClipboardCustom.cpp:
2668         * bindings/js/JSCustomSQLStatementErrorCallback.cpp:
2669         * bindings/js/JSCustomXPathNSResolver.cpp:
2670         * bindings/js/JSCustomXPathNSResolver.h:
2671         * bindings/js/JSDOMGlobalObject.cpp:
2672         * bindings/js/JSDOMGlobalObject.h:
2673         * bindings/js/JSDOMWindowShell.cpp:
2674         * bindings/js/JSDOMWindowShell.h:
2675         * bindings/js/JSElementCustom.cpp:
2676         * bindings/js/JSEventCustom.cpp:
2677         * bindings/js/JSHTMLAppletElementCustom.cpp:
2678         * bindings/js/JSHTMLCanvasElementCustom.cpp:
2679         * bindings/js/JSHTMLDocumentCustom.cpp:
2680         * bindings/js/JSHTMLElementCustom.cpp:
2681         * bindings/js/JSHTMLEmbedElementCustom.cpp:
2682         * bindings/js/JSHTMLFormElementCustom.cpp:
2683         * bindings/js/JSHTMLFrameElementCustom.cpp:
2684         * bindings/js/JSHTMLFrameSetElementCustom.cpp:
2685         * bindings/js/JSHTMLObjectElementCustom.cpp:
2686         * bindings/js/JSHTMLSelectElementCustom.h:
2687         * bindings/js/JSHistoryCustom.cpp:
2688         * bindings/js/JSMediaListCustom.h:
2689         * bindings/js/JSMediaSourceStatesCustom.cpp:
2690         * bindings/js/JSMediaStreamCapabilitiesCustom.cpp:
2691         * bindings/js/JSNamedNodeMapCustom.cpp:
2692         * bindings/js/JSNodeCustom.cpp:
2693         * bindings/js/JSNodeCustom.h:
2694         * bindings/js/JSNodeFilterCustom.cpp:
2695         * bindings/js/JSNodeListCustom.cpp:
2696         * bindings/js/JSSQLResultSetRowListCustom.cpp:
2697         * bindings/js/JSSQLTransactionCustom.cpp:
2698         * bindings/js/JSSQLTransactionSyncCustom.cpp:
2699         * bindings/js/JSSVGElementInstanceCustom.cpp:
2700         * bindings/js/JSStyleSheetCustom.cpp:
2701         * bindings/js/JSStyleSheetCustom.h:
2702         * bindings/js/JSStyleSheetListCustom.cpp:
2703         * bindings/js/JSTextTrackCueCustom.cpp:
2704         * bindings/js/JSTextTrackCustom.cpp:
2705         * bindings/js/JSTextTrackListCustom.cpp:
2706         * bindings/js/JSTouchCustom.cpp:
2707         * bindings/js/JSTouchListCustom.cpp:
2708         * bindings/js/JSTrackCustom.cpp:
2709         * bindings/js/JSTrackCustom.h:
2710         * bindings/js/JSTrackEventCustom.cpp:
2711         * bindings/js/JSVideoTrackCustom.cpp:
2712         * bindings/js/JSVideoTrackListCustom.cpp:
2713         * bindings/js/JSWebGLRenderingContextCustom.cpp:
2714         * bindings/js/JSWebKitPointCustom.cpp:
2715         * bindings/js/JSWorkerGlobalScopeBase.cpp:
2716         * bindings/js/JSWorkerGlobalScopeBase.h:
2717         * bindings/js/JSXMLHttpRequestCustom.cpp:
2718         * bindings/js/JSXSLTProcessorCustom.cpp:
2719         * bindings/js/ScriptControllerMac.mm:
2720         * bindings/js/ScriptProfile.cpp:
2721         * bindings/js/ScriptProfile.h:
2722         * bindings/js/ScriptProfileNode.h:
2723         * bindings/js/ScriptProfiler.cpp:
2724         * bindings/js/ScriptProfiler.h:
2725         * bindings/js/SerializedScriptValue.cpp:
2726         * bindings/js/SerializedScriptValue.h:
2727         * bindings/js/WorkerScriptController.cpp:
2728         * bindings/js/WorkerScriptController.h:
2729         * bindings/objc/DOM.h:
2730         * bindings/objc/DOM.mm:
2731         * bindings/objc/DOMAbstractView.mm:
2732         * bindings/objc/DOMAbstractViewFrame.h:
2733         * bindings/objc/DOMCSS.h:
2734         * bindings/objc/DOMCSS.mm:
2735         * bindings/objc/DOMCore.h:
2736         * bindings/objc/DOMCustomXPathNSResolver.h:
2737         * bindings/objc/DOMCustomXPathNSResolver.mm:
2738         * bindings/objc/DOMEventException.h:
2739         * bindings/objc/DOMEvents.h:
2740         * bindings/objc/DOMEvents.mm:
2741         * bindings/objc/DOMException.h:
2742         * bindings/objc/DOMExtensions.h:
2743         * bindings/objc/DOMHTML.h:
2744         * bindings/objc/DOMHTML.mm:
2745         * bindings/objc/DOMInternal.h:
2746         * bindings/objc/DOMInternal.mm:
2747         * bindings/objc/DOMObject.h:
2748         * bindings/objc/DOMObject.mm:
2749         * bindings/objc/DOMPrivate.h:
2750         * bindings/objc/DOMRangeException.h:
2751         * bindings/objc/DOMRanges.h:
2752         * bindings/objc/DOMStylesheets.h:
2753         * bindings/objc/DOMTraversal.h:
2754         * bindings/objc/DOMUIKitExtensions.h:
2755         * bindings/objc/DOMUIKitExtensions.mm:
2756         * bindings/objc/DOMUtility.mm:
2757         * bindings/objc/DOMViews.h:
2758         * bindings/objc/DOMXPath.h:
2759         * bindings/objc/DOMXPath.mm:
2760         * bindings/objc/DOMXPathException.h:
2761         * bindings/objc/ExceptionHandlers.h:
2762         * bindings/objc/ExceptionHandlers.mm:
2763         * bindings/objc/ObjCEventListener.h:
2764         * bindings/objc/ObjCEventListener.mm:
2765         * bindings/objc/ObjCNodeFilterCondition.h:
2766         * bindings/objc/ObjCNodeFilterCondition.mm:
2767         * bindings/objc/PublicDOMInterfaces.h:
2768         * bindings/objc/WebScriptObject.mm:
2769         * bindings/scripts/CodeGeneratorObjC.pm:
2770         * bindings/scripts/InFilesCompiler.pm:
2771         (license):
2772         * bindings/scripts/InFilesParser.pm:
2773         * bindings/scripts/generate-bindings.pl:
2774         * bindings/scripts/test/ObjC/DOMFloat64Array.h:
2775         * bindings/scripts/test/ObjC/DOMFloat64Array.mm:
2776         * bindings/scripts/test/ObjC/DOMFloat64ArrayInternal.h:
2777         * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.h:
2778         * bindings/scripts/test/ObjC/DOMTestActiveDOMObject.mm:
2779         * bindings/scripts/test/ObjC/DOMTestActiveDOMObjectInternal.h:
2780         * bindings/scripts/test/ObjC/DOMTestCallback.h:
2781         * bindings/scripts/test/ObjC/DOMTestCallback.mm:
2782         * bindings/scripts/test/ObjC/DOMTestCallbackInternal.h:
2783         * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.h:
2784         * bindings/scripts/test/ObjC/DOMTestCustomNamedGetter.mm:
2785         * bindings/scripts/test/ObjC/DOMTestCustomNamedGetterInternal.h:
2786         * bindings/scripts/test/ObjC/DOMTestEventConstructor.h:
2787         * bindings/scripts/test/ObjC/DOMTestEventConstructor.mm:
2788         * bindings/scripts/test/ObjC/DOMTestEventConstructorInternal.h:
2789         * bindings/scripts/test/ObjC/DOMTestEventTarget.h:
2790         * bindings/scripts/test/ObjC/DOMTestEventTarget.mm:
2791         * bindings/scripts/test/ObjC/DOMTestEventTargetInternal.h:
2792         * bindings/scripts/test/ObjC/DOMTestException.h:
2793         * bindings/scripts/test/ObjC/DOMTestException.mm:
2794         * bindings/scripts/test/ObjC/DOMTestExceptionInternal.h:
2795         * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h:
2796         * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm:
2797         * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h:
2798         * bindings/scripts/test/ObjC/DOMTestInterface.h:
2799         * bindings/scripts/test/ObjC/DOMTestInterface.mm:
2800         * bindings/scripts/test/ObjC/DOMTestInterfaceInternal.h:
2801         * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.h:
2802         * bindings/scripts/test/ObjC/DOMTestMediaQueryListListener.mm:
2803         * bindings/scripts/test/ObjC/DOMTestMediaQueryListListenerInternal.h:
2804         * bindings/scripts/test/ObjC/DOMTestNamedConstructor.h:
2805         * bindings/scripts/test/ObjC/DOMTestNamedConstructor.mm:
2806         * bindings/scripts/test/ObjC/DOMTestNamedConstructorInternal.h:
2807         * bindings/scripts/test/ObjC/DOMTestNode.h:
2808         * bindings/scripts/test/ObjC/DOMTestNode.mm:
2809         * bindings/scripts/test/ObjC/DOMTestNodeInternal.h:
2810         * bindings/scripts/test/ObjC/DOMTestObj.h:
2811         * bindings/scripts/test/ObjC/DOMTestObj.mm:
2812         * bindings/scripts/test/ObjC/DOMTestObjInternal.h:
2813         * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.h:
2814         * bindings/scripts/test/ObjC/DOMTestOverloadedConstructors.mm:
2815         * bindings/scripts/test/ObjC/DOMTestOverloadedConstructorsInternal.h:
2816         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.h:
2817         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterface.mm:
2818         * bindings/scripts/test/ObjC/DOMTestSerializedScriptValueInterfaceInternal.h:
2819         * bindings/scripts/test/ObjC/DOMTestTypedefs.h:
2820         * bindings/scripts/test/ObjC/DOMTestTypedefs.mm:
2821         * bindings/scripts/test/ObjC/DOMTestTypedefsInternal.h:
2822         * bindings/scripts/test/ObjC/DOMattribute.h:
2823         * bindings/scripts/test/ObjC/DOMattribute.mm:
2824         * bindings/scripts/test/ObjC/DOMattributeInternal.h:
2825         * bindings/scripts/test/ObjC/DOMreadonly.h:
2826         * bindings/scripts/test/ObjC/DOMreadonly.mm:
2827         * bindings/scripts/test/ObjC/DOMreadonlyInternal.h:
2828         * bindings/scripts/test/TestCallback.idl:
2829         * bindings/scripts/test/TestCustomNamedGetter.idl:
2830         * bindings/scripts/test/TestDomainSecurity.idl:
2831         * bindings/scripts/test/TestEventConstructor.idl:
2832         * bindings/scripts/test/TestEventTarget.idl:
2833         * bindings/scripts/test/TestException.idl:
2834         * bindings/scripts/test/TestImplements.idl:
2835         * bindings/scripts/test/TestInterface.idl:
2836         * bindings/scripts/test/TestMediaQueryListListener.idl:
2837         * bindings/scripts/test/TestNamedConstructor.idl:
2838         * bindings/scripts/test/TestObj.idl:
2839         * bindings/scripts/test/TestOverloadedConstructors.idl:
2840         * bindings/scripts/test/TestSupplemental.idl:
2841         * bridge/Bridge.h:
2842         * bridge/IdentifierRep.cpp:
2843         * bridge/IdentifierRep.h:
2844         * bridge/NP_jsobject.cpp:
2845         * bridge/NP_jsobject.h:
2846         * bridge/c/CRuntimeObject.cpp:
2847         * bridge/c/CRuntimeObject.h:
2848         * bridge/c/c_class.cpp:
2849         * bridge/c/c_class.h:
2850         * bridge/c/c_instance.cpp:
2851         * bridge/c/c_instance.h:
2852         * bridge/c/c_runtime.cpp:
2853         * bridge/c/c_runtime.h:
2854         * bridge/c/c_utility.cpp:
2855         * bridge/c/c_utility.h:
2856         * bridge/jsc/BridgeJSC.cpp:
2857         * bridge/jsc/BridgeJSC.h:
2858         * bridge/npruntime.cpp:
2859         * bridge/npruntime_impl.h:
2860         * bridge/npruntime_priv.h:
2861         * bridge/objc/ObjCRuntimeObject.h:
2862         * bridge/objc/ObjCRuntimeObject.mm:
2863         * bridge/objc/WebScriptObject.h:
2864         * bridge/objc/objc_class.h:
2865         * bridge/objc/objc_class.mm:
2866         * bridge/objc/objc_header.h:
2867         * bridge/objc/objc_instance.h:
2868         * bridge/objc/objc_instance.mm:
2869         * bridge/objc/objc_runtime.h:
2870         * bridge/objc/objc_runtime.mm:
2871         * bridge/objc/objc_utility.h:
2872         * bridge/objc/objc_utility.mm:
2873         * bridge/runtime_array.cpp:
2874         * bridge/runtime_array.h:
2875         * bridge/runtime_method.cpp:
2876         * bridge/runtime_method.h:
2877         * bridge/runtime_object.cpp:
2878         * bridge/runtime_object.h:
2879         * bridge/runtime_root.cpp:
2880         * bridge/runtime_root.h:
2881         * bridge/testbindings.mm:
2882         * css/CSSAllInOne.cpp:
2883         * css/CSSAspectRatioValue.cpp:
2884         * css/CSSAspectRatioValue.h:
2885         * css/CSSBorderImageSliceValue.cpp:
2886         * css/CSSBorderImageSliceValue.h:
2887         * css/CSSCanvasValue.cpp:
2888         * css/CSSCanvasValue.h:
2889         * css/CSSCrossfadeValue.cpp:
2890         * css/CSSCrossfadeValue.h:
2891         * css/CSSFontFace.cpp:
2892         * css/CSSFontFace.h:
2893         * css/CSSFontFaceSource.cpp:
2894         * css/CSSFontFaceSource.h:
2895         * css/CSSFontFaceSrcValue.cpp:
2896         * css/CSSFontFaceSrcValue.h:
2897         * css/CSSFontFeatureValue.cpp:
2898         * css/CSSFontFeatureValue.h:
2899         * css/CSSFontSelector.cpp:
2900         * css/CSSFontSelector.h:
2901         * css/CSSFontValue.cpp:
2902         * css/CSSGradientValue.cpp:
2903         * css/CSSGradientValue.h:
2904         * css/CSSImageGeneratorValue.cpp:
2905         * css/CSSImageGeneratorValue.h:
2906         * css/CSSMediaRule.cpp:
2907         * css/CSSProperty.cpp:
2908         * css/CSSProperty.h:
2909         * css/CSSReflectValue.cpp:
2910         * css/CSSReflectValue.h:
2911         * css/CSSReflectionDirection.h:
2912         * css/CSSRuleList.cpp:
2913         * css/CSSRuleList.h:
2914         * css/CSSRuleList.idl:
2915         * css/CSSSegmentedFontFace.cpp:
2916         * css/CSSSegmentedFontFace.h:
2917         * css/CSSShadowValue.cpp:
2918         * css/CSSTimingFunctionValue.cpp:
2919         * css/CSSTimingFunctionValue.h:
2920         * css/CSSUnicodeRangeValue.cpp:
2921         * css/CSSUnicodeRangeValue.h:
2922         * css/CSSUnknownRule.idl:
2923         * css/CSSValue.cpp:
2924         * css/CSSValueList.idl:
2925         * css/MediaAllInOne.cpp:
2926         * css/MediaFeatureNames.cpp:
2927         * css/MediaList.idl:
2928         * css/MediaQuery.cpp:
2929         * css/MediaQuery.h:
2930         * css/MediaQueryEvaluator.cpp:
2931         * css/MediaQueryEvaluator.h:
2932         * css/MediaQueryExp.cpp:
2933         * css/MediaQueryExp.h:
2934         * css/Pair.h:
2935         * css/PropertySetCSSStyleDeclaration.h:
2936         * css/RGBColor.cpp:
2937         * css/RGBColor.h:
2938         * css/SVGCSSParser.cpp:
2939         * css/SVGCSSStyleSelector.cpp:
2940         * css/StyleInvalidationAnalysis.cpp:
2941         * css/StyleInvalidationAnalysis.h:
2942         * css/StyleMedia.cpp:
2943         * css/StyleMedia.h:
2944         * css/StyleMedia.idl:
2945         * css/StyleSheet.cpp:
2946         * css/WebKitCSSFilterValue.cpp:
2947         * css/WebKitCSSFilterValue.h:
2948         * css/WebKitCSSFilterValue.idl:
2949         * css/WebKitCSSKeyframeRule.cpp:
2950         * css/WebKitCSSKeyframeRule.h:
2951         * css/WebKitCSSKeyframeRule.idl:
2952         * css/WebKitCSSKeyframesRule.cpp:
2953         * css/WebKitCSSKeyframesRule.h:
2954         * css/WebKitCSSKeyframesRule.idl:
2955         * css/WebKitCSSTransformValue.cpp:
2956         * css/WebKitCSSTransformValue.h:
2957         * css/WebKitCSSTransformValue.idl:
2958         * css/make-css-file-arrays.pl:
2959         * css/mediaControls.css:
2960         * css/mediaControlsEfl.css:
2961         * css/mediaControlsEflFullscreen.css:
2962         * css/mediaControlsGtk.css:
2963         * css/mediaControlsiOS.css:
2964         * css/svg.css:
2965         * dom/ActiveDOMObject.cpp:
2966         * dom/ActiveDOMObject.h:
2967         * dom/BeforeLoadEvent.h:
2968         * dom/BeforeLoadEvent.idl:
2969         * dom/BeforeTextInsertedEvent.cpp:
2970         * dom/BeforeTextInsertedEvent.h:
2971         * dom/BeforeUnloadEvent.cpp:
2972         * dom/BeforeUnloadEvent.h:
2973         * dom/BeforeUnloadEvent.idl:
2974         * dom/ClassNodeList.cpp:
2975         * dom/ClassNodeList.h:
2976         * dom/ClientRect.cpp:
2977         * dom/ClientRect.h:
2978         * dom/ClientRect.idl:
2979         * dom/ClientRectList.cpp:
2980         * dom/ClientRectList.h:
2981         * dom/ClientRectList.idl:
2982         * dom/Clipboard.cpp:
2983         * dom/Clipboard.idl:
2984         * dom/ClipboardAccessPolicy.h:
2985         * dom/ClipboardMac.mm:
2986         * dom/CompositionEvent.cpp:
2987         * dom/CompositionEvent.h:
2988         * dom/CompositionEvent.idl:
2989         * dom/ContextDestructionObserver.cpp:
2990         * dom/ContextDestructionObserver.h:
2991         * dom/CurrentScriptIncrementer.h:
2992         * dom/CustomEvent.cpp:
2993         * dom/CustomEvent.h:
2994         * dom/CustomEvent.idl:
2995         * dom/DOMCoreException.cpp:
2996         * dom/DOMCoreException.h:
2997         * dom/DOMCoreException.idl:
2998         * dom/DOMError.idl:
2999         * dom/DeviceMotionEvent.cpp:
3000         * dom/DeviceMotionEvent.h:
3001         * dom/DeviceMotionEvent.idl:
3002         * dom/DocumentEventQueue.cpp:
3003         * dom/DocumentEventQueue.h:
3004         * dom/DocumentMarker.h:
3005         * dom/DocumentParser.h:
3006         * dom/DocumentSharedObjectPool.cpp:
3007         * dom/DocumentSharedObjectPool.h:
3008         * dom/Entity.idl:
3009         * dom/EventContext.cpp:
3010         * dom/EventContext.h:
3011         * dom/EventException.cpp:
3012         * dom/EventException.h:
3013         * dom/EventException.idl:
3014         * dom/EventListener.idl:
3015         * dom/EventListenerMap.cpp:
3016         * dom/EventListenerMap.h:
3017         * dom/EventNames.cpp:
3018         * dom/EventQueue.h:
3019         * dom/EventTarget.cpp:
3020         * dom/EventTarget.h:
3021         * dom/ExceptionBase.cpp:
3022         * dom/ExceptionBase.h:
3023         * dom/GenericEventQueue.cpp:
3024         * dom/GenericEventQueue.h:
3025         * dom/KeyboardEvent.idl:
3026         * dom/MessageChannel.cpp:
3027         * dom/MessageChannel.h:
3028         * dom/MessageChannel.idl:
3029         * dom/MessageEvent.cpp:
3030         * dom/MessageEvent.h:
3031         * dom/MessageEvent.idl:
3032         * dom/MessagePort.cpp:
3033         * dom/MessagePort.h:
3034         * dom/MessagePort.idl:
3035         * dom/MouseRelatedEvent.h:
3036         * dom/MutationEvent.idl:
3037         * dom/Notation.idl:
3038         * dom/OverflowEvent.cpp:
3039         * dom/OverflowEvent.h:
3040         * dom/OverflowEvent.idl:
3041         * dom/PopStateEvent.cpp:
3042         * dom/PopStateEvent.h:
3043         * dom/PopStateEvent.idl:
3044         * dom/Position.cpp:
3045         * dom/Position.h:
3046         * dom/ProcessingInstruction.idl:
3047         * dom/ProgressEvent.cpp:
3048         * dom/ProgressEvent.h:
3049         * dom/ProgressEvent.idl:
3050         * dom/Range.idl:
3051         * dom/RangeException.cpp:
3052         * dom/RangeException.h:
3053         * dom/ScriptExecutionContext.cpp:
3054         * dom/ScriptExecutionContext.h:
3055         * dom/SecurityContext.cpp:
3056         * dom/SecurityContext.h:
3057         * dom/StaticNodeList.cpp:
3058         * dom/StaticNodeList.h:
3059         * dom/Text.idl:
3060         * dom/TextEvent.cpp:
3061         * dom/TextEvent.h:
3062         * dom/TextEvent.idl:
3063         * dom/Touch.cpp:
3064         * dom/Touch.h:
3065         * dom/Touch.idl:
3066         * dom/TouchEvent.cpp:
3067         * dom/TouchEvent.h:
3068         * dom/TouchEvent.idl:
3069         * dom/TouchList.cpp:
3070         * dom/TouchList.h:
3071         * dom/TouchList.idl:
3072         * dom/TransitionEvent.cpp:
3073         * dom/TransitionEvent.h:
3074         * dom/TransitionEvent.idl:
3075         * dom/TreeWalker.idl:
3076         * dom/UIEvent.idl:
3077         * dom/UIEventWithKeyState.cpp:
3078         * dom/WebKitAnimationEvent.cpp:
3079         * dom/WebKitAnimationEvent.h:
3080         * dom/WebKitAnimationEvent.idl:
3081         * dom/WebKitTransitionEvent.cpp:
3082         * dom/WebKitTransitionEvent.h:
3083         * dom/WebKitTransitionEvent.idl:
3084         * dom/make_dom_exceptions.pl:
3085         * dom/make_event_factory.pl:
3086         * dom/make_names.pl:
3087         (printLicenseHeader):
3088         * editing/AlternativeTextController.cpp:
3089         * editing/AlternativeTextController.h:
3090         * editing/AppendNodeCommand.cpp:
3091         * editing/AppendNodeCommand.h:
3092         * editing/ApplyStyleCommand.cpp:
3093         * editing/ApplyStyleCommand.h:
3094         * editing/BreakBlockquoteCommand.cpp:
3095         * editing/BreakBlockquoteCommand.h:
3096         * editing/CompositeEditCommand.cpp:
3097         * editing/CompositeEditCommand.h:
3098         * editing/CreateLinkCommand.cpp:
3099         * editing/CreateLinkCommand.h:
3100         * editing/DeleteButton.cpp:
3101         * editing/DeleteButton.h:
3102         * editing/DeleteButtonController.cpp:
3103         * editing/DeleteButtonController.h:
3104         * editing/DeleteFromTextNodeCommand.cpp:
3105         * editing/DeleteFromTextNodeCommand.h:
3106         * editing/DeleteSelectionCommand.cpp:
3107         * editing/DeleteSelectionCommand.h:
3108         * editing/EditAction.h:
3109         * editing/EditCommand.cpp:
3110         * editing/EditCommand.h:
3111         * editing/EditingBoundary.h:
3112         * editing/EditingStyle.cpp:
3113         * editing/Editor.cpp:
3114         * editing/Editor.h:
3115         * editing/EditorCommand.cpp:
3116         * editing/EditorDeleteAction.h:
3117         * editing/EditorInsertAction.h:
3118         * editing/FormatBlockCommand.cpp:
3119         * editing/FormatBlockCommand.h:
3120         * editing/FrameSelection.cpp:
3121         * editing/FrameSelection.h:
3122         * editing/HTMLInterchange.cpp:
3123         * editing/HTMLInterchange.h:
3124         * editing/IndentOutdentCommand.cpp:
3125         * editing/IndentOutdentCommand.h:
3126         * editing/InsertIntoTextNodeCommand.cpp:
3127         * editing/InsertIntoTextNodeCommand.h:
3128         * editing/InsertLineBreakCommand.cpp:
3129         * editing/InsertLineBreakCommand.h:
3130         * editing/InsertListCommand.cpp:
3131         * editing/InsertListCommand.h:
3132         * editing/InsertNodeBeforeCommand.cpp:
3133         * editing/InsertNodeBeforeCommand.h:
3134         * editing/InsertParagraphSeparatorCommand.cpp:
3135         * editing/InsertParagraphSeparatorCommand.h:
3136         * editing/InsertTextCommand.cpp:
3137         * editing/InsertTextCommand.h:
3138         * editing/MarkupAccumulator.h:
3139         * editing/MergeIdenticalElementsCommand.cpp:
3140         * editing/MergeIdenticalElementsCommand.h:
3141         * editing/ModifySelectionListLevel.cpp:
3142         * editing/ModifySelectionListLevel.h:
3143         * editing/MoveSelectionCommand.cpp:
3144         * editing/MoveSelectionCommand.h:
3145         * editing/RemoveCSSPropertyCommand.cpp:
3146         * editing/RemoveCSSPropertyCommand.h:
3147         * editing/RemoveFormatCommand.cpp:
3148         * editing/RemoveFormatCommand.h:
3149         * editing/RemoveNodeCommand.cpp:
3150         * editing/RemoveNodeCommand.h:
3151         * editing/RemoveNodePreservingChildrenCommand.cpp:
3152         * editing/RemoveNodePreservingChildrenCommand.h:
3153         * editing/ReplaceSelectionCommand.cpp:
3154         * editing/ReplaceSelectionCommand.h:
3155         * editing/SetNodeAttributeCommand.cpp:
3156         * editing/SetNodeAttributeCommand.h:
3157         * editing/SetSelectionCommand.cpp:
3158         * editing/SetSelectionCommand.h:
3159         * editing/SimplifyMarkupCommand.cpp:
3160         * editing/SimplifyMarkupCommand.h:
3161         * editing/SmartReplace.cpp:
3162         * editing/SmartReplace.h:
3163         * editing/SmartReplaceCF.cpp:
3164         * editing/SpellChecker.cpp:
3165         * editing/SpellChecker.h:
3166         * editing/SpellingCorrectionCommand.cpp:
3167         * editing/SpellingCorrectionCommand.h:
3168         * editing/SplitElementCommand.cpp:
3169         * editing/SplitElementCommand.h:
3170         * editing/SplitTextNodeCommand.cpp:
3171         * editing/SplitTextNodeCommand.h:
3172         * editing/SplitTextNodeContainingElementCommand.cpp:
3173         * editing/SplitTextNodeContainingElementCommand.h:
3174         * editing/TextAffinity.h:
3175         * editing/TextCheckingHelper.cpp:
3176         * editing/TextGranularity.h:
3177         * editing/TextIterator.cpp:
3178         * editing/TextIterator.h:
3179         * editing/TextIteratorBehavior.h:
3180         * editing/TypingCommand.cpp:
3181         * editing/TypingCommand.h:
3182         * editing/UnlinkCommand.cpp:
3183         * editing/UnlinkCommand.h:
3184         * editing/VisiblePosition.cpp:
3185         * editing/VisiblePosition.h:
3186         * editing/VisibleSelection.cpp:
3187         * editing/VisibleSelection.h:
3188         * editing/VisibleUnits.cpp:
3189         * editing/VisibleUnits.h:
3190         * editing/WrapContentsInDummySpanCommand.cpp:
3191         * editing/WrapContentsInDummySpanCommand.h:
3192         * editing/WritingDirection.h:
3193         * editing/efl/EditorEfl.cpp:
3194         * editing/htmlediting.cpp:
3195         * editing/htmlediting.h:
3196         * editing/mac/EditorMac.mm:
3197         * editing/mac/FrameSelectionMac.mm:
3198         * editing/markup.cpp:
3199         * editing/markup.h:
3200         * extract-localizable-strings.pl:
3201         * fileapi/FileException.cpp:
3202         * history/BackForwardClient.h:
3203         * history/BackForwardList.cpp:
3204         * history/BackForwardList.h:
3205         * history/CachedFrame.cpp:
3206         * history/CachedFrame.h:
3207         * history/CachedFramePlatformData.h:
3208         * history/CachedPage.cpp:
3209         * history/CachedPage.h:
3210         * history/HistoryItem.cpp:
3211         * history/HistoryItem.h:
3212         * history/PageCache.cpp:
3213         * history/PageCache.h:
3214         * history/mac/HistoryItemMac.mm:
3215         * html/FTPDirectoryDocument.cpp:
3216         * html/FTPDirectoryDocument.h:
3217         * html/HTMLAudioElement.cpp:
3218         * html/HTMLAudioElement.h:
3219         * html/HTMLAudioElement.idl:
3220         * html/HTMLCanvasElement.cpp:
3221         * html/HTMLCanvasElement.h:
3222         * html/HTMLCanvasElement.idl:
3223         * html/HTMLFieldSetElement.idl:
3224         * html/HTMLImageLoader.h:
3225         * html/HTMLMediaElement.cpp:
3226         * html/HTMLMediaElement.h:
3227         * html/HTMLMediaElement.idl:
3228         * html/HTMLOptionsCollection.cpp:
3229         * html/HTMLPlugInElement.cpp:
3230         * html/HTMLSourceElement.cpp:
3231         * html/HTMLSourceElement.h:
3232         * html/HTMLSourceElement.idl:
3233         * html/HTMLTablePartElement.cpp:
3234         * html/HTMLTableRowsCollection.cpp:
3235         * html/HTMLTableRowsCollection.h:
3236         * html/HTMLTitleElement.idl:
3237         * html/HTMLTrackElement.cpp:
3238         * html/HTMLTrackElement.h:
3239         * html/HTMLTrackElement.idl:
3240         * html/HTMLVideoElement.cpp:
3241         * html/HTMLVideoElement.h:
3242         * html/HTMLVideoElement.idl:
3243         * html/ImageData.cpp:
3244         * html/ImageData.h:
3245         * html/ImageData.idl:
3246         * html/ImageDocument.cpp:
3247         * html/ImageDocument.h:
3248         * html/MediaController.cpp:
3249         * html/MediaController.h:
3250         * html/MediaController.idl:
3251         * html/MediaControllerInterface.h:
3252         * html/MediaError.h:
3253         * html/MediaError.idl:
3254         * html/MediaFragmentURIParser.cpp:
3255         * html/MediaFragmentURIParser.h:
3256         * html/MediaKeyError.h:
3257         * html/MediaKeyError.idl:
3258         * html/MediaKeyEvent.cpp:
3259         * html/MediaKeyEvent.h:
3260         * html/MediaKeyEvent.idl:
3261         * html/PluginDocument.cpp:
3262         * html/PluginDocument.h:
3263         * html/TextDocument.cpp:
3264         * html/TextDocument.h:
3265         * html/TimeRanges.cpp:
3266         * html/TimeRanges.h:
3267         * html/TimeRanges.idl:
3268         * html/VoidCallback.h:
3269         * html/VoidCallback.idl:
3270         * html/canvas/CanvasGradient.cpp:
3271         * html/canvas/CanvasGradient.h:
3272         * html/canvas/CanvasGradient.idl:
3273         * html/canvas/CanvasPattern.cpp:
3274         * html/canvas/CanvasPattern.h:
3275         * html/canvas/CanvasPattern.idl:
3276         * html/canvas/CanvasRenderingContext.cpp:
3277         * html/canvas/CanvasRenderingContext.h:
3278         * html/canvas/CanvasRenderingContext.idl:
3279         * html/canvas/CanvasRenderingContext2D.cpp:
3280         * html/canvas/CanvasRenderingContext2D.h:
3281         * html/canvas/CanvasRenderingContext2D.idl:
3282         * html/canvas/CanvasStyle.cpp:
3283         * html/canvas/CanvasStyle.h:
3284         * html/canvas/DOMPath.idl:
3285         * html/canvas/OESVertexArrayObject.cpp:
3286         * html/canvas/OESVertexArrayObject.h:
3287         * html/canvas/OESVertexArrayObject.idl:
3288         * html/canvas/WebGLBuffer.cpp:
3289         * html/canvas/WebGLBuffer.h:
3290         * html/canvas/WebGLBuffer.idl:
3291         * html/canvas/WebGLContextGroup.cpp:
3292         * html/canvas/WebGLContextGroup.h:
3293         * html/canvas/WebGLContextObject.cpp:
3294         * html/canvas/WebGLContextObject.h:
3295         * html/canvas/WebGLFramebuffer.cpp:
3296         * html/canvas/WebGLFramebuffer.h:
3297         * html/canvas/WebGLFramebuffer.idl:
3298         * html/canvas/WebGLObject.cpp:
3299         * html/canvas/WebGLObject.h:
3300         * html/canvas/WebGLProgram.cpp:
3301         * html/canvas/WebGLProgram.h:
3302         * html/canvas/WebGLProgram.idl:
3303         * html/canvas/WebGLRenderbuffer.cpp:
3304         * html/canvas/WebGLRenderbuffer.h:
3305         * html/canvas/WebGLRenderbuffer.idl:
3306         * html/canvas/WebGLRenderingContext.cpp:
3307         * html/canvas/WebGLRenderingContext.h:
3308         * html/canvas/WebGLRenderingContext.idl:
3309         * html/canvas/WebGLShader.cpp:
3310         * html/canvas/WebGLShader.h:
3311         * html/canvas/WebGLShader.idl:
3312         * html/canvas/WebGLSharedObject.cpp:
3313         * html/canvas/WebGLSharedObject.h:
3314         * html/canvas/WebGLTexture.cpp:
3315         * html/canvas/WebGLTexture.h:
3316         * html/canvas/WebGLTexture.idl:
3317         * html/canvas/WebGLUniformLocation.cpp:
3318         * html/canvas/WebGLUniformLocation.h:
3319         * html/canvas/WebGLUniformLocation.idl:
3320         * html/canvas/WebGLVertexArrayObjectOES.cpp:
3321         * html/canvas/WebGLVertexArrayObjectOES.h:
3322         * html/canvas/WebGLVertexArrayObjectOES.idl:
3323         * html/forms/FileIconLoader.cpp:
3324         * html/forms/FileIconLoader.h:
3325         * html/parser/TextDocumentParser.cpp:
3326         * html/parser/TextDocumentParser.h:
3327         * html/shadow/MediaControlElementTypes.cpp:
3328         * html/shadow/MediaControlElementTypes.h:
3329         * html/shadow/MediaControlElements.cpp:
3330         * html/shadow/MediaControlElements.h:
3331         * html/shadow/MediaControls.cpp:
3332         * html/shadow/MediaControls.h:
3333         * html/shadow/MediaControlsApple.cpp:
3334         * html/shadow/MediaControlsApple.h:
3335         * html/shadow/MediaControlsGtk.cpp:
3336         * html/shadow/MediaControlsGtk.h:
3337         * html/shadow/SpinButtonElement.cpp:
3338         * html/shadow/SpinButtonElement.h:
3339         * html/shadow/TextControlInnerElements.cpp:
3340         * html/shadow/TextControlInnerElements.h:
3341         * html/track/AudioTrack.h:
3342         * html/track/AudioTrack.idl:
3343         * html/track/AudioTrackList.cpp:
3344         * html/track/AudioTrackList.h:
3345         * html/track/AudioTrackList.idl:
3346         * html/track/DataCue.cpp:
3347         * html/track/DataCue.h:
3348         * html/track/DataCue.idl:
3349         * html/track/InbandGenericTextTrack.cpp:
3350         * html/track/InbandGenericTextTrack.h:
3351         * html/track/InbandTextTrack.cpp:
3352         * html/track/InbandTextTrack.h:
3353         * html/track/InbandWebVTTTextTrack.cpp:
3354         * html/track/InbandWebVTTTextTrack.h:
3355         * html/track/LoadableTextTrack.cpp:
3356         * html/track/LoadableTextTrack.h:
3357         * html/track/TextTrack.h:
3358         * html/track/TextTrack.idl:
3359         * html/track/TextTrackCue.idl:
3360         * html/track/TextTrackCueGeneric.cpp:
3361         * html/track/TextTrackCueGeneric.h:
3362         * html/track/TextTrackCueList.cpp:
3363         * html/track/TextTrackCueList.h:
3364         * html/track/TextTrackCueList.idl:
3365         * html/track/TextTrackList.cpp:
3366         * html/track/TextTrackList.h:
3367         * html/track/TextTrackList.idl:
3368         * html/track/TextTrackRegion.idl:
3369         * html/track/TextTrackRegionList.cpp:
3370         * html/track/TextTrackRegionList.h:
3371         * html/track/TextTrackRegionList.idl:
3372         * html/track/TrackBase.cpp:
3373         * html/track/TrackBase.h:
3374         * html/track/TrackEvent.cpp:
3375         * html/track/TrackEvent.h:
3376         * html/track/TrackEvent.idl:
3377         * html/track/TrackListBase.cpp:
3378         * html/track/TrackListBase.h:
3379         * html/track/VTTCue.idl:
3380         * html/track/VideoTrack.h:
3381         * html/track/VideoTrack.idl:
3382         * html/track/VideoTrackList.cpp:
3383         * html/track/VideoTrackList.h:
3384         * html/track/VideoTrackList.idl:
3385         * html/track/WebVTTElement.cpp:
3386         * html/track/WebVTTElement.h:
3387         * inspector/CommandLineAPIHost.cpp:
3388         * inspector/CommandLineAPIHost.h:
3389         * inspector/CommandLineAPIModuleSource.js:
3390         * inspector/InspectorAllInOne.cpp:
3391         * inspector/InspectorClient.h:
3392         * inspector/InspectorDOMAgent.cpp:
3393         * inspector/InspectorDOMAgent.h:
3394         * inspector/InspectorDOMStorageAgent.cpp:
3395         * inspector/InspectorDOMStorageAgent.h:
3396         * inspector/InspectorDatabaseAgent.cpp:
3397         * inspector/InspectorDatabaseAgent.h:
3398         * inspector/InspectorDatabaseResource.cpp:
3399         * inspector/InspectorDatabaseResource.h:
3400         * inspector/InspectorForwarding.h:
3401         * inspector/InspectorFrontendHost.cpp:
3402         * inspector/InspectorFrontendHost.h:
3403         * inspector/InspectorLayerTreeAgent.h:
3404         * inspector/InspectorNodeFinder.cpp:
3405         * inspector/InspectorNodeFinder.h:
3406         * inspector/InspectorOverlay.cpp:
3407         * inspector/InspectorOverlay.h:
3408         * inspector/InspectorOverlayPage.html:
3409         * inspector/InspectorProfilerAgent.cpp:
3410         * inspector/InspectorProfilerAgent.h:
3411         * inspector/ScriptProfile.idl:
3412         * inspector/ScriptProfileNode.idl:
3413         * loader/CookieJar.h:
3414         * loader/CrossOriginAccessControl.cpp:
3415         * loader/CrossOriginAccessControl.h:
3416         * loader/CrossOriginPreflightResultCache.cpp:
3417         * loader/CrossOriginPreflightResultCache.h:
3418         * loader/DocumentLoader.cpp:
3419         * loader/DocumentLoader.h:
3420         * loader/DocumentWriter.cpp:
3421         * loader/EmptyClients.h:
3422         * loader/FormState.cpp:
3423         * loader/FormState.h:
3424         * loader/FrameLoadRequest.h:
3425         * loader/FrameLoader.cpp:
3426         * loader/FrameLoader.h:
3427         * loader/FrameLoaderClient.h:
3428         * loader/FrameLoaderTypes.h:
3429         * loader/HistoryController.cpp:
3430         * loader/HistoryController.h:
3431         * loader/MixedContentChecker.cpp:
3432         * loader/NavigationAction.cpp:
3433         * loader/NavigationAction.h:
3434         * loader/NavigationScheduler.cpp:
3435         * loader/NavigationScheduler.h:
3436         * loader/NetscapePlugInStreamLoader.cpp:
3437         * loader/NetscapePlugInStreamLoader.h:
3438         * loader/PolicyCallback.cpp:
3439         * loader/PolicyCallback.h:
3440         * loader/PolicyChecker.cpp:
3441         * loader/PolicyChecker.h:
3442         * loader/ProgressTracker.cpp:
3443         * loader/ProgressTracker.h:
3444         * loader/ResourceBuffer.cpp:
3445         * loader/ResourceBuffer.h: