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