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