https://bugs.webkit.org/show_bug.cgi?id=99204
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2012-10-12  Beth Dakin  <bdakin@apple.com>
2
3         https://bugs.webkit.org/show_bug.cgi?id=99204
4         ScrollingStateNodes should keep track of their IDs
5
6         Reviewed by Simon Fraser.
7
8         There is a HashMap in ScrollingCoordinatorMac that maps 
9         ScrollingNodeIDs to ScrollingStateNodes. The nodes themselves should 
10         keep track of this id. Then the id can be used to make sure 
11         ScrollingStateNodes remove themselves from the HashMap when they are 
12         destroyed, and it will also be useful for associating 
13         ScrollingStateNodes with ScrollingTreeNodes over on the scrolling 
14         thread.
15   
16         This patch only has the ScrollingStateNodes cache the id. I will 
17         actually make use of the id in follow-up patches.
18
19         * page/scrolling/ScrollingStateNode.cpp:
20         (WebCore::ScrollingStateNode::ScrollingStateNode):
21         * page/scrolling/ScrollingStateNode.h:
22         (ScrollingStateNode):
23         (WebCore::ScrollingStateNode::scrollingNodeID):
24         * page/scrolling/ScrollingStateScrollingNode.cpp:
25         (WebCore::ScrollingStateScrollingNode::create):
26         (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
27         * page/scrolling/ScrollingStateScrollingNode.h:
28         (ScrollingStateScrollingNode):
29         * page/scrolling/mac/ScrollingCoordinatorMac.mm:
30         (WebCore::ScrollingCoordinatorMac::attachToStateTree):
31
32 2012-10-01  Jer Noble  <jer.noble@apple.com>
33
34         Add LSKD support to MediaPlayerPrivateAVFoundation.
35         https://bugs.webkit.org/show_bug.cgi?id=98090
36
37         Reviewed by Anders Carlsson.
38
39         Add support for LSKD key system to MediaPlayerPrivateAVFoundation.
40
41         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
42         (MediaPlayerPrivateAVFoundationObjC): Add m_loaderDelegate, m_keyURIToRequestMap, and m_sessionToRequestMap.
43         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
44         (globalLoaderDelegateQueue): Static accessor for the dispatch queue to use for the loader delegate.
45         (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
46         (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Add the loader delegate to the AVURLAsset.
47         (WebCore::keySystemIsSupported): Convenience function; checks that the key system matches "com.apple.lskd"
48         (WebCore::MediaPlayerPrivateAVFoundationObjC::extendedSupportsType): Check the key system matches.
49         (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForLoadingOfResource): Fire a needkey event with an initData containing
50             the key URI.
51         (WebCore::extractKeyURIKeyIdAndCertificateFromInitData): Extract the keyURI, keyID, and the app certificate from the initData.
52         (WebCore::MediaPlayerPrivateAVFoundationObjC::generateKeyRequest): Generate a streaming key request from AVFoundation and 
53             fire a keymessage event.
54         (WebCore::MediaPlayerPrivateAVFoundationObjC::addKey): Pass to AVFoundation through the AVAssetResourceLoader.
55         (WebCore::MediaPlayerPrivateAVFoundationObjC::cancelKeyRequest): Release the loader delegate.
56         (-[WebCoreAVFLoaderDelegate initWithCallback:]): Simple constructor.
57         (-[WebCoreAVFLoaderDelegate resourceLoader:shouldWaitForLoadingOfRequestedResource:]): Pass to the MediaPlayerPrivateAVFoundationObjC.
58
59 2012-10-12  James Simonsen  <simonjam@chromium.org>
60
61         [RequestAnimationFrame] Remove vendor prefix
62         https://bugs.webkit.org/show_bug.cgi?id=99116
63
64         Reviewed by Adam Barth.
65
66         Test: Existing rAF tests without prefix.
67
68         * dom/Document.cpp:
69         (WebCore::Document::requestAnimationFrame):
70         (WebCore::Document::cancelAnimationFrame):
71         * dom/Document.h:
72         (Document):
73         * page/DOMWindow.cpp:
74         (WebCore::DOMWindow::requestAnimationFrame):
75         (WebCore::DOMWindow::cancelAnimationFrame):
76         * page/DOMWindow.h:
77         (DOMWindow):
78         * page/DOMWindow.idl:
79
80 2012-10-12  Andreas Kling  <kling@webkit.org>
81
82         REGRESSION: Rapid memory growth calling DOM APIs with large strings.
83         <http://webkit.org/b/98498>
84         <rdar://problem/12443926>
85
86         Reviewed by Geöff Gären and Änders Cärlssön.
87
88         Prevent the selector query cache from growing indefinitely by setting a relaxed limit of 256 entries.
89         If the cache fills up, remove a random entry before inserting a new one.
90
91         While this is unlikely to be a problem on real websites, we definitely shouldn't be adding boundless
92         caches to WebKit.
93
94         * dom/SelectorQuery.cpp:
95         (WebCore::SelectorQueryCache::add):
96
97 2012-10-12  Roger Fong  <roger_fong@apple.com>
98
99         Update method signature for platformCALayerShowRepaintCounter in MediaPlayerPlayerPrivateAVFoundationCF's LayerClient class.
100         https://bugs.webkit.org/show_bug.cgi?id=99190
101
102         Reviewed by Simon Fraser.
103
104         LayerClient's base class (PlatformCALayerClient) method signature for abstract method platformCALayerShowRepaintCounter
105         was updated in http://trac.webkit.org/changeset/130676 so it needs to be changed in LayerClient as well.
106
107         * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
108         (WebCore::LayerClient::platformCALayerShowRepaintCounter):
109
110 2012-10-12  Scott Graham  <scottmg@chromium.org>
111
112         Local disable of stack corruption warning when compiling on VS2012
113         https://bugs.webkit.org/show_bug.cgi?id=99106
114
115         Reviewed by Ryosuke Niwa.
116
117         Warning is:
118
119         ...\FEConvolveMatrix.cpp(274) : warning C4789: buffer 'totals' of size 12 bytes will be overrun; 4 bytes will be written starting at offset 12.
120
121         And similar at lines 281, 355, and 365. This appears to be incorrect
122         as the writes at offset 12 occur only when preserveAlphaValues is
123         false, and when it's false, totals will be 16 bytes long.
124
125         No new tests.
126
127         * platform/graphics/filters/FEConvolveMatrix.cpp:
128         (WebCore):
129
130 2012-10-11  Emil A Eklund  <eae@chromium.org>
131
132         [Sub pixel layout] Change RenderBox to not round logicalTop/Left for RenderReplaced
133         https://bugs.webkit.org/show_bug.cgi?id=99108
134
135         Reviewed by Levi Weintraub.
136
137         Change RenderBox::computePositionedLogicalHeightReplaced and
138         computePositionedLogicalWidthReplaced to not round position.
139
140         Covered by existing tests.
141
142         * rendering/InlineFlowBox.cpp:
143         (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
144         Floor baselinePosition for replaced elements to match logic in
145         RootInlineBox::ascentAndDescentForBox where the ascent is
146         computed from the floored baselinePosition.
147         
148         * rendering/RenderBox.cpp:
149         (WebCore::RenderBox::computePositionedLogicalWidthReplaced):
150         (WebCore::RenderBox::computePositionedLogicalHeightReplaced):
151         Remove .round() call for m_position, preserving precision.
152
153 2012-10-01  Jer Noble  <jer.noble@apple.com>
154
155         Enable ENCRYPTED_MEDIA support on Mac.
156         https://bugs.webkit.org/show_bug.cgi?id=98044
157
158         Reviewed by Anders Carlsson.
159
160         Enable the ENCRYPTED_MEDIA conditional on the Mac port.
161
162         No new tests; Existing media/encrypted-media tests require org.w3.clearkey support, which is not implemented.
163
164         * Configurations/FeatureDefines.xcconfig: Enable the ENCRYPTED_MEDIA flag.
165         * DerivedSources.make: Add the MediaKeyError and MediaKeyEvent classes.
166         * WebCore.xcodeproj/project.pbxproj: Ditto.
167         * bindings/js/JSDictionary.cpp:
168         (WebCore::JSDictionary::convertValue): Add convertValue functions for Uint8Array and MediaKeyError.
169         * bindings/js/JSDictionary.h:
170         * html/HTMLMediaElement.cpp:
171         (WebCore::HTMLMediaElement::mediaPlayerKeyNeeded): Throw an error if no "needkey"
172             handler is registered.
173         * html/HTMLMediaElement.h:
174         * html/HTMLMediaElement.idl: Change keySystem to DefaultIsUndefined.
175         * platform/graphics/MediaPlayer.cpp:
176         (WebCore::MediaPlayer::keyNeeded): Return a bool indicating whether the process was aborted
177             due to a lack of "needkey" listener.
178         * platform/graphics/MediaPlayer.h:
179         (WebCore::MediaPlayerClient::mediaPlayerKeyAdded): Remove unused parameter names.
180         (WebCore::MediaPlayerClient::mediaPlayerKeyError): Ditto.
181         (WebCore::MediaPlayerClient::mediaPlayerKeyMessage): Ditto.
182         (WebCore::MediaPlayerClient::mediaPlayerKeyNeeded): Ditto.
183         * platform/graphics/MediaPlayerPrivate.h:
184         (WebCore::MediaPlayerPrivateInterface::addKey): Ditto.
185         (WebCore::MediaPlayerPrivateInterface::generateKeyRequest): Ditto.
186         (WebCore::MediaPlayerPrivateInterface::cancelKeyRequest): Ditto.
187         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
188         * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
189         (WebCore::MediaPlayerPrivateAVFoundationObjC::registerMediaEngine): Call extendedSupportsType.
190         (WebCore::MediaPlayerPrivateAVFoundationObjC::extendedSupportsType): Stub. Pass through to supportsType.
191         * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
192         * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
193         (WebCore::MediaPlayerPrivateQTKit::registerMediaEngine): Call extendedSupportsType.
194         (WebCore::MediaPlayerPrivateQTKit::extendedSupportsType): Stub. Pass through to supportsType.
195
196 2012-10-12  Jaehun Lim  <ljaehun.lim@samsung.com>
197
198         Check parameter's safety first
199         https://bugs.webkit.org/show_bug.cgi?id=99136
200
201         Reviewed by Chris Rogers.
202
203         Pointer parameter was used before NULL checking.
204         This patch moves safety checking statements to the head of the function.
205
206         No new tests. No behavior change.
207
208         * platform/audio/AudioChannel.cpp:
209         (WebCore::AudioChannel::copyFromRange):
210         (WebCore::AudioChannel::sumFrom):
211         * platform/audio/EqualPowerPanner.cpp:
212         (WebCore::EqualPowerPanner::pan):
213
214 2012-10-12  Andreas Kling  <kling@webkit.org>
215
216         RenderBR should share its constant newline string between instances.
217         <http://webkit.org/b/99121>
218
219         Reviewed by Anders Carlsson.
220
221         * rendering/RenderBR.cpp:
222         (WebCore::newlineString):
223         (WebCore::RenderBR::RenderBR):
224
225 2012-10-12  Alexander Pavlov  <apavlov@chromium.org>
226
227         Web Inspector: [Styles] !important priority not honored inside the same declaration
228         https://bugs.webkit.org/show_bug.cgi?id=99170
229
230         Reviewed by Yury Semikhatsky.
231
232         Property priorities were not considered inside the same CSS rule. !important properties should stay active
233         even if followed by non-!important properties with the same name.
234
235         * inspector/InspectorStyleSheet.cpp:
236         (WebCore::InspectorStyle::styleWithProperties):
237         * inspector/front-end/StylesSidebarPane.js:
238         (WebInspector.StylePropertiesSection.prototype.onpopulate):
239         (WebInspector.ComputedStylePropertiesSection.prototype.rebuildComputedTrace):
240
241 2012-10-12  Pavel Feldman  <pfeldman@chromium.org>
242
243         Web Inspector: use hard-coded zoom factors instead of 1.2 powers.
244         https://bugs.webkit.org/show_bug.cgi?id=99173
245
246         Reviewed by Vsevolod Vlasov.
247
248         Overwise we step too fast.
249
250         * inspector/front-end/inspector.js:
251         (WebInspector._zoomIn):
252         (WebInspector._zoomOut):
253         (WebInspector):
254
255 2012-10-12  Yury Semikhatsky  <yurys@chromium.org>
256
257         Web Inspector: move delete watch expression farther from the expand triangle
258         https://bugs.webkit.org/show_bug.cgi?id=99166
259
260         Reviewed by Pavel Feldman.
261
262         Aligned 'delete watch expression' button on the right side (was on the left) so
263         that it is hard to click it when expanding watched value.
264
265         * inspector/front-end/inspector.css:
266         (.properties-tree.watch-expressions):
267         (.section .properties .delete-button):
268
269 2012-10-12  Pavel Feldman  <pfeldman@chromium.org>
270
271         Web Inspector: trim filename in the call stack sidebar
272         https://bugs.webkit.org/show_bug.cgi?id=99169
273
274         Reviewed by Yury Semikhatsky.
275
276         Otherwise long file names are rendered poorly.
277
278         * inspector/front-end/CallStackSidebarPane.js:
279         (WebInspector.CallStackSidebarPane.Placard.prototype._update):
280         * inspector/front-end/inspector.css:
281         (.placard .subtitle):
282
283 2012-10-12  Vsevolod Vlasov  <vsevik@chromium.org>
284
285         Web Inspector: Resume button in element inspector -> scripts has tooltip 'pause script execution'
286         https://bugs.webkit.org/show_bug.cgi?id=99165
287
288         Reviewed by Pavel Feldman.
289
290         Pause/resume button title is now updated when debugger is paused/resumed.
291
292         * English.lproj/localizedStrings.js:
293         * inspector/front-end/ScriptsPanel.js:
294         (WebInspector.ScriptsPanel.prototype._updateDebuggerButtons):
295         (WebInspector.ScriptsPanel.prototype._createDebugToolbar):
296         (WebInspector.ScriptsPanel.prototype._updateButtonTitle):
297         (WebInspector.ScriptsPanel.prototype._createButtonAndRegisterShortcuts):
298
299 2012-10-12  Kentaro Hara  <haraken@chromium.org>
300
301         Unreviewed. Fix run-binding-tests failures introduced in r131167.
302
303         * bindings/scripts/CodeGeneratorV8.pm:
304         (GenerateConstructorGetter):
305         * bindings/scripts/test/V8/V8TestObj.cpp:
306         (WebCore):
307         (WebCore::TestObjV8Internal::TestObjConstructorGetter):
308         (WebCore::V8TestObj::installPerContextProperties):
309         (WebCore::V8TestObj::installPerContextPrototypeProperties):
310         (WebCore::V8TestObj::wrapSlow):
311         * bindings/scripts/test/V8/V8TestObj.h:
312         (V8TestObj):
313
314 2012-10-12  Pavel Feldman  <pfeldman@chromium.org>
315
316         Web Inspector: relies on current Function.prototype.bind in the frame
317         https://bugs.webkit.org/show_bug.cgi?id=99164
318
319         Reviewed by Yury Semikhatsky.
320
321         InjectedScriptSource should not depend on the bind override.
322
323         Test: inspector/console/console-bind-fake.html
324
325         * inspector/InjectedScriptSource.js:
326         (.):
327
328 2012-10-12  Alexander Pavlov  <apavlov@chromium.org>
329
330         Web Inspector: [Styles] Colors should be "As authored" by default
331         https://bugs.webkit.org/show_bug.cgi?id=99017
332
333         Reviewed by Vsevolod Vlasov.
334
335         Use "original" as the default value of WebInspector.settings.colorFormat.
336
337         * inspector/front-end/Settings.js:
338
339 2012-10-12  Takashi Sakamoto  <tasak@google.com>
340
341         [WebKit IDL] move extended attributes to left of interface, exception...
342         https://bugs.webkit.org/show_bug.cgi?id=99012
343
344         Reviewed by Kentaro Hara.
345
346         According to WebIDL spec, moved all extended attributes to the left
347         of interface / attribute / readonly attribute / exception.
348
349         No new tests. I ran run-bindings-tests and all tests passed.
350
351         * Modules/battery/BatteryManager.idl:
352         * Modules/battery/NavigatorBattery.idl:
353         * Modules/filesystem/DOMFileSystem.idl:
354         * Modules/filesystem/DOMFileSystemSync.idl:
355         * Modules/filesystem/DOMWindowFileSystem.idl:
356         * Modules/filesystem/DataTransferItemFileSystem.idl:
357         * Modules/filesystem/DirectoryEntry.idl:
358         * Modules/filesystem/DirectoryEntrySync.idl:
359         * Modules/filesystem/DirectoryReader.idl:
360         * Modules/filesystem/DirectoryReaderSync.idl:
361         * Modules/filesystem/EntriesCallback.idl:
362         * Modules/filesystem/Entry.idl:
363         * Modules/filesystem/EntryArray.idl:
364         * Modules/filesystem/EntryArraySync.idl:
365         * Modules/filesystem/EntryCallback.idl:
366         * Modules/filesystem/EntrySync.idl:
367         * Modules/filesystem/ErrorCallback.idl:
368         * Modules/filesystem/FileCallback.idl:
369         * Modules/filesystem/FileEntry.idl:
370         * Modules/filesystem/FileEntrySync.idl:
371         * Modules/filesystem/FileSystemCallback.idl:
372         * Modules/filesystem/FileWriter.idl:
373         * Modules/filesystem/FileWriterCallback.idl:
374         * Modules/filesystem/FileWriterSync.idl:
375         * Modules/filesystem/HTMLInputElementFileSystem.idl:
376         * Modules/filesystem/Metadata.idl:
377         * Modules/filesystem/MetadataCallback.idl:
378         * Modules/filesystem/WorkerContextFileSystem.idl:
379         * Modules/gamepad/Gamepad.idl:
380         * Modules/gamepad/GamepadList.idl:
381         * Modules/gamepad/NavigatorGamepad.idl:
382         * Modules/geolocation/Geolocation.idl:
383         * Modules/geolocation/Geoposition.idl:
384         * Modules/geolocation/NavigatorGeolocation.idl:
385         * Modules/geolocation/PositionCallback.idl:
386         * Modules/geolocation/PositionError.idl:
387         * Modules/geolocation/PositionErrorCallback.idl:
388         * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
389         * Modules/indexeddb/IDBAny.idl:
390         * Modules/indexeddb/IDBCursor.idl:
391         * Modules/indexeddb/IDBCursorWithValue.idl:
392         * Modules/indexeddb/IDBDatabase.idl:
393         * Modules/indexeddb/IDBDatabaseException.idl:
394         * Modules/indexeddb/IDBFactory.idl:
395         * Modules/indexeddb/IDBIndex.idl:
396         * Modules/indexeddb/IDBKey.idl:
397         * Modules/indexeddb/IDBKeyRange.idl:
398         * Modules/indexeddb/IDBObjectStore.idl:
399         * Modules/indexeddb/IDBOpenDBRequest.idl:
400         * Modules/indexeddb/IDBRequest.idl:
401         * Modules/indexeddb/IDBTransaction.idl:
402         * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
403         * Modules/indexeddb/IDBVersionChangeEvent.idl:
404         * Modules/indexeddb/IDBVersionChangeRequest.idl:
405         * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
406         * Modules/intents/DOMWindowIntents.idl:
407         * Modules/intents/DeliveredIntent.idl:
408         * Modules/intents/NavigatorIntents.idl:
409         * Modules/mediasource/MediaSource.idl:
410         * Modules/mediasource/SourceBuffer.idl:
411         * Modules/mediasource/SourceBufferList.idl:
412         * Modules/mediastream/DOMWindowMediaStream.idl:
413         * Modules/mediastream/IceCallback.idl:
414         * Modules/mediastream/IceCandidate.idl:
415         * Modules/mediastream/LocalMediaStream.idl:
416         * Modules/mediastream/MediaStream.idl:
417         * Modules/mediastream/MediaStreamEvent.idl:
418         * Modules/mediastream/MediaStreamList.idl:
419         * Modules/mediastream/MediaStreamTrack.idl:
420         * Modules/mediastream/MediaStreamTrackEvent.idl:
421         * Modules/mediastream/MediaStreamTrackList.idl:
422         * Modules/mediastream/NavigatorMediaStream.idl:
423         * Modules/mediastream/NavigatorUserMediaError.idl:
424         * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
425         * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
426         * Modules/mediastream/PeerConnection00.idl:
427         * Modules/mediastream/RTCErrorCallback.idl:
428         * Modules/mediastream/RTCIceCandidate.idl:
429         * Modules/mediastream/RTCIceCandidateEvent.idl:
430         * Modules/mediastream/RTCPeerConnection.idl:
431         * Modules/mediastream/RTCSessionDescription.idl:
432         * Modules/mediastream/RTCSessionDescriptionCallback.idl:
433         * Modules/mediastream/RTCStatsCallback.idl:
434         * Modules/mediastream/RTCStatsElement.idl:
435         * Modules/mediastream/RTCStatsReport.idl:
436         * Modules/mediastream/RTCStatsResponse.idl:
437         * Modules/mediastream/SessionDescription.idl:
438         * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
439         * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
440         * Modules/networkinfo/NetworkInfoConnection.idl:
441         * Modules/notifications/DOMWindowNotifications.idl:
442         * Modules/notifications/Notification.idl:
443         * Modules/notifications/NotificationCenter.idl:
444         * Modules/notifications/NotificationPermissionCallback.idl:
445         * Modules/notifications/WorkerContextNotifications.idl:
446         * Modules/proximity/DeviceProximityEvent.idl:
447         * Modules/quota/DOMWindowQuota.idl:
448         * Modules/quota/StorageInfo.idl:
449         * Modules/quota/StorageInfoErrorCallback.idl:
450         * Modules/quota/StorageInfoQuotaCallback.idl:
451         * Modules/quota/StorageInfoUsageCallback.idl:
452         * Modules/speech/DOMWindowSpeech.idl:
453         * Modules/speech/SpeechGrammar.idl:
454         * Modules/speech/SpeechGrammarList.idl:
455         * Modules/speech/SpeechRecognition.idl:
456         * Modules/speech/SpeechRecognitionAlternative.idl:
457         * Modules/speech/SpeechRecognitionError.idl:
458         * Modules/speech/SpeechRecognitionEvent.idl:
459         * Modules/speech/SpeechRecognitionResult.idl:
460         * Modules/speech/SpeechRecognitionResultList.idl:
461         * Modules/vibration/NavigatorVibration.idl:
462         * Modules/webaudio/AudioBuffer.idl:
463         * Modules/webaudio/AudioBufferCallback.idl:
464         * Modules/webaudio/AudioBufferSourceNode.idl:
465         * Modules/webaudio/AudioChannelMerger.idl:
466         * Modules/webaudio/AudioChannelSplitter.idl:
467         * Modules/webaudio/AudioContext.idl:
468         * Modules/webaudio/AudioDestinationNode.idl:
469         * Modules/webaudio/AudioGain.idl:
470         * Modules/webaudio/AudioGainNode.idl:
471         * Modules/webaudio/AudioListener.idl:
472         * Modules/webaudio/AudioNode.idl:
473         * Modules/webaudio/AudioPannerNode.idl:
474         * Modules/webaudio/AudioParam.idl:
475         * Modules/webaudio/AudioProcessingEvent.idl:
476         * Modules/webaudio/AudioSourceNode.idl:
477         * Modules/webaudio/BiquadFilterNode.idl:
478         * Modules/webaudio/ConvolverNode.idl:
479         * Modules/webaudio/DOMWindowWebAudio.idl:
480         * Modules/webaudio/DelayNode.idl:
481         * Modules/webaudio/DynamicsCompressorNode.idl:
482         * Modules/webaudio/JavaScriptAudioNode.idl:
483         * Modules/webaudio/MediaElementAudioSourceNode.idl:
484         * Modules/webaudio/MediaStreamAudioSourceNode.idl:
485         * Modules/webaudio/OfflineAudioCompletionEvent.idl:
486         * Modules/webaudio/Oscillator.idl:
487         * Modules/webaudio/RealtimeAnalyserNode.idl:
488         * Modules/webaudio/WaveShaperNode.idl:
489         * Modules/webaudio/WaveTable.idl:
490         * Modules/webdatabase/DOMWindowWebDatabase.idl:
491         * Modules/webdatabase/Database.idl:
492         * Modules/webdatabase/DatabaseCallback.idl:
493         * Modules/webdatabase/DatabaseSync.idl:
494         * Modules/webdatabase/SQLError.idl:
495         * Modules/webdatabase/SQLException.idl:
496         * Modules/webdatabase/SQLResultSet.idl:
497         * Modules/webdatabase/SQLResultSetRowList.idl:
498         * Modules/webdatabase/SQLStatementCallback.idl:
499         * Modules/webdatabase/SQLStatementErrorCallback.idl:
500         * Modules/webdatabase/SQLTransaction.idl:
501         * Modules/webdatabase/SQLTransactionCallback.idl:
502         * Modules/webdatabase/SQLTransactionErrorCallback.idl:
503         * Modules/webdatabase/SQLTransactionSync.idl:
504         * Modules/webdatabase/SQLTransactionSyncCallback.idl:
505         * Modules/webdatabase/WorkerContextWebDatabase.idl:
506         * Modules/websockets/CloseEvent.idl:
507         * Modules/websockets/DOMWindowWebSocket.idl:
508         * Modules/websockets/WebSocket.idl:
509         * Modules/websockets/WorkerContextWebSocket.idl:
510         * bindings/scripts/test/TestCallback.idl:
511         * bindings/scripts/test/TestCustomNamedGetter.idl:
512         * bindings/scripts/test/TestDomainSecurity.idl:
513         * bindings/scripts/test/TestEventConstructor.idl:
514         * bindings/scripts/test/TestEventTarget.idl:
515         * bindings/scripts/test/TestInterface.idl:
516         * bindings/scripts/test/TestNamedConstructor.idl:
517         * bindings/scripts/test/TestNode.idl:
518         * bindings/scripts/test/TestObj.idl:
519         * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
520         * bindings/scripts/test/TestSupplemental.idl:
521         * bindings/scripts/test/TestTypedArray.idl:
522         * css/CSSCharsetRule.idl:
523         * css/CSSImportRule.idl:
524         * css/CSSPageRule.idl:
525         * css/CSSRule.idl:
526         * css/CSSRuleList.idl:
527         * css/CSSStyleDeclaration.idl:
528         * css/CSSStyleRule.idl:
529         * css/CSSStyleSheet.idl:
530         * css/CSSUnknownRule.idl:
531         * css/CSSValue.idl:
532         * css/CSSValueList.idl:
533         * css/MediaList.idl:
534         * css/MediaQueryListListener.idl:
535         * css/StyleMedia.idl:
536         * css/StyleSheet.idl:
537         * css/StyleSheetList.idl:
538         * css/WebKitCSSFilterValue.idl:
539         * css/WebKitCSSKeyframesRule.idl:
540         * css/WebKitCSSMatrix.idl:
541         * css/WebKitCSSRegionRule.idl:
542         * css/WebKitCSSTransformValue.idl:
543         * dom/Attr.idl:
544         * dom/BeforeLoadEvent.idl:
545         * dom/CharacterData.idl:
546         * dom/ClientRectList.idl:
547         * dom/Clipboard.idl:
548         * dom/CustomEvent.idl:
549         * dom/DOMCoreException.idl:
550         * dom/DOMImplementation.idl:
551         * dom/DOMNamedFlowCollection.idl:
552         * dom/DOMStringList.idl:
553         * dom/DOMStringMap.idl:
554         * dom/DataTransferItem.idl:
555         * dom/DataTransferItemList.idl:
556         * dom/DeviceMotionEvent.idl:
557         * dom/DeviceOrientationEvent.idl:
558         * dom/Document.idl:
559         * dom/DocumentType.idl:
560         * dom/Element.idl:
561         * dom/Entity.idl:
562         * dom/ErrorEvent.idl:
563         * dom/Event.idl:
564         * dom/EventException.idl:
565         * dom/EventListener.idl:
566         * dom/EventTarget.idl:
567         * dom/HashChangeEvent.idl:
568         * dom/MessageChannel.idl:
569         * dom/MessageEvent.idl:
570         * dom/MessagePort.idl:
571         * dom/MouseEvent.idl:
572         * dom/MutationCallback.idl:
573         * dom/MutationObserver.idl:
574         * dom/MutationRecord.idl:
575         * dom/NamedNodeMap.idl:
576         * dom/Node.idl:
577         * dom/NodeFilter.idl:
578         * dom/NodeIterator.idl:
579         * dom/NodeList.idl:
580         * dom/Notation.idl:
581         * dom/OverflowEvent.idl:
582         * dom/PageTransitionEvent.idl:
583         * dom/PopStateEvent.idl:
584         * dom/ProcessingInstruction.idl:
585         * dom/ProgressEvent.idl:
586         * dom/PropertyNodeList.idl:
587         * dom/RangeException.idl:
588         * dom/RequestAnimationFrameCallback.idl:
589         * dom/ShadowRoot.idl:
590         * dom/StringCallback.idl:
591         * dom/Touch.idl:
592         * dom/TouchEvent.idl:
593         * dom/TouchList.idl:
594         * dom/TreeWalker.idl:
595         * dom/WebKitAnimationEvent.idl:
596         * dom/WebKitNamedFlow.idl:
597         * dom/WebKitTransitionEvent.idl:
598         * editing/DOMTransaction.idl:
599         * editing/UndoManager.idl:
600         * fileapi/Blob.idl:
601         * fileapi/File.idl:
602         * fileapi/FileError.idl:
603         * fileapi/FileException.idl:
604         * fileapi/FileList.idl:
605         * fileapi/FileReader.idl:
606         * fileapi/FileReaderSync.idl:
607         * html/DOMFormData.idl:
608         * html/DOMSettableTokenList.idl:
609         * html/DOMTokenList.idl:
610         * html/DOMURL.idl:
611         * html/HTMLAllCollection.idl:
612         * html/HTMLAnchorElement.idl:
613         * html/HTMLAppletElement.idl:
614         * html/HTMLAreaElement.idl:
615         * html/HTMLAudioElement.idl:
616         * html/HTMLBRElement.idl:
617         * html/HTMLBaseElement.idl:
618         * html/HTMLBaseFontElement.idl:
619         * html/HTMLBodyElement.idl:
620         * html/HTMLButtonElement.idl:
621         * html/HTMLCanvasElement.idl:
622         * html/HTMLCollection.idl:
623         * html/HTMLDListElement.idl:
624         * html/HTMLDataListElement.idl:
625         * html/HTMLDetailsElement.idl:
626         * html/HTMLDialogElement.idl:
627         * html/HTMLDirectoryElement.idl:
628         * html/HTMLDivElement.idl:
629         * html/HTMLDocument.idl:
630         * html/HTMLElement.idl:
631         * html/HTMLEmbedElement.idl:
632         * html/HTMLFieldSetElement.idl:
633         * html/HTMLFontElement.idl:
634         * html/HTMLFormElement.idl:
635         * html/HTMLFrameElement.idl:
636         * html/HTMLFrameSetElement.idl:
637         * html/HTMLHRElement.idl:
638         * html/HTMLHeadElement.idl:
639         * html/HTMLHeadingElement.idl:
640         * html/HTMLHtmlElement.idl:
641         * html/HTMLIFrameElement.idl:
642         * html/HTMLImageElement.idl:
643         * html/HTMLInputElement.idl:
644         * html/HTMLIntentElement.idl:
645         * html/HTMLKeygenElement.idl:
646         * html/HTMLLIElement.idl:
647         * html/HTMLLabelElement.idl:
648         * html/HTMLLegendElement.idl:
649         * html/HTMLLinkElement.idl:
650         * html/HTMLMapElement.idl:
651         * html/HTMLMarqueeElement.idl:
652         * html/HTMLMediaElement.idl:
653         * html/HTMLMenuElement.idl:
654         * html/HTMLMetaElement.idl:
655         * html/HTMLMeterElement.idl:
656         * html/HTMLModElement.idl:
657         * html/HTMLOListElement.idl:
658         * html/HTMLObjectElement.idl:
659         * html/HTMLOptGroupElement.idl:
660         * html/HTMLOptionElement.idl:
661         * html/HTMLOptionsCollection.idl:
662         * html/HTMLOutputElement.idl:
663         * html/HTMLParagraphElement.idl:
664         * html/HTMLParamElement.idl:
665         * html/HTMLPreElement.idl:
666         * html/HTMLProgressElement.idl:
667         * html/HTMLPropertiesCollection.idl:
668         * html/HTMLQuoteElement.idl:
669         * html/HTMLScriptElement.idl:
670         * html/HTMLSelectElement.idl:
671         * html/HTMLSourceElement.idl:
672         * html/HTMLStyleElement.idl:
673         * html/HTMLTableCaptionElement.idl:
674         * html/HTMLTableCellElement.idl:
675         * html/HTMLTableColElement.idl:
676         * html/HTMLTableElement.idl:
677         * html/HTMLTableRowElement.idl:
678         * html/HTMLTableSectionElement.idl:
679         * html/HTMLTextAreaElement.idl:
680         * html/HTMLTitleElement.idl:
681         * html/HTMLTrackElement.idl:
682         * html/HTMLUListElement.idl:
683         * html/HTMLVideoElement.idl:
684         * html/ImageData.idl:
685         * html/MediaController.idl:
686         * html/MediaError.idl:
687         * html/MediaKeyError.idl:
688         * html/MediaKeyEvent.idl:
689         * html/MicroDataItemValue.idl:
690         * html/RadioNodeList.idl:
691         * html/TimeRanges.idl:
692         * html/ValidityState.idl:
693         * html/VoidCallback.idl:
694         * html/canvas/ArrayBuffer.idl:
695         * html/canvas/ArrayBufferView.idl:
696         * html/canvas/CanvasRenderingContext.idl:
697         * html/canvas/CanvasRenderingContext2D.idl:
698         * html/canvas/DataView.idl:
699         * html/canvas/EXTTextureFilterAnisotropic.idl:
700         * html/canvas/Float32Array.idl:
701         * html/canvas/Float64Array.idl:
702         * html/canvas/Int16Array.idl:
703         * html/canvas/Int32Array.idl:
704         * html/canvas/Int8Array.idl:
705         * html/canvas/OESStandardDerivatives.idl:
706         * html/canvas/OESTextureFloat.idl:
707         * html/canvas/OESVertexArrayObject.idl:
708         * html/canvas/Uint16Array.idl:
709         * html/canvas/Uint32Array.idl:
710         * html/canvas/Uint8Array.idl:
711         * html/canvas/Uint8ClampedArray.idl:
712         * html/canvas/WebGLActiveInfo.idl:
713         * html/canvas/WebGLBuffer.idl:
714         * html/canvas/WebGLCompressedTextureS3TC.idl:
715         * html/canvas/WebGLContextAttributes.idl:
716         * html/canvas/WebGLContextEvent.idl:
717         * html/canvas/WebGLDebugRendererInfo.idl:
718         * html/canvas/WebGLDebugShaders.idl:
719         * html/canvas/WebGLDepthTexture.idl:
720         * html/canvas/WebGLFramebuffer.idl:
721         * html/canvas/WebGLLoseContext.idl:
722         * html/canvas/WebGLProgram.idl:
723         * html/canvas/WebGLRenderbuffer.idl:
724         * html/canvas/WebGLRenderingContext.idl:
725         * html/canvas/WebGLShader.idl:
726         * html/canvas/WebGLShaderPrecisionFormat.idl:
727         * html/canvas/WebGLTexture.idl:
728         * html/canvas/WebGLUniformLocation.idl:
729         * html/canvas/WebGLVertexArrayObjectOES.idl:
730         * html/shadow/HTMLContentElement.idl:
731         * html/shadow/HTMLShadowElement.idl:
732         * html/track/TextTrack.idl:
733         * html/track/TextTrackCue.idl:
734         * html/track/TextTrackCueList.idl:
735         * html/track/TextTrackList.idl:
736         * html/track/TrackEvent.idl:
737         * inspector/InjectedScriptHost.idl:
738         * inspector/InspectorFrontendHost.idl:
739         * inspector/JavaScriptCallFrame.idl:
740         * inspector/ScriptProfile.idl:
741         * inspector/ScriptProfileNode.idl:
742         * loader/appcache/DOMApplicationCache.idl:
743         * page/AbstractView.idl:
744         * page/BarInfo.idl:
745         * page/Console.idl:
746         * page/Coordinates.idl:
747         * page/Crypto.idl:
748         * page/DOMSecurityPolicy.idl:
749         * page/DOMSelection.idl:
750         * page/DOMWindow.idl:
751         * page/DOMWindowPagePopup.idl:
752         * page/EventSource.idl:
753         * page/History.idl:
754         * page/Location.idl:
755         * page/MemoryInfo.idl:
756         * page/Navigator.idl:
757         * page/PagePopupController.idl:
758         * page/Performance.idl:
759         * page/PerformanceEntry.idl:
760         * page/PerformanceEntryList.idl:
761         * page/PerformanceNavigation.idl:
762         * page/PerformanceResourceTiming.idl:
763         * page/PerformanceTiming.idl:
764         * page/Screen.idl:
765         * page/SpeechInputEvent.idl:
766         * page/SpeechInputResult.idl:
767         * page/SpeechInputResultList.idl:
768         * page/WebKitAnimation.idl:
769         * page/WebKitAnimationList.idl:
770         * page/WebKitPoint.idl:
771         * page/WorkerNavigator.idl:
772         * plugins/DOMMimeType.idl:
773         * plugins/DOMMimeTypeArray.idl:
774         * plugins/DOMPlugin.idl:
775         * plugins/DOMPluginArray.idl:
776         * storage/Storage.idl:
777         * storage/StorageEvent.idl:
778         * svg/ElementTimeControl.idl:
779         * svg/SVGAElement.idl:
780         * svg/SVGAltGlyphDefElement.idl:
781         * svg/SVGAltGlyphElement.idl:
782         * svg/SVGAltGlyphItemElement.idl:
783         * svg/SVGAngle.idl:
784         * svg/SVGAnimateColorElement.idl:
785         * svg/SVGAnimateElement.idl:
786         * svg/SVGAnimateMotionElement.idl:
787         * svg/SVGAnimateTransformElement.idl:
788         * svg/SVGAnimatedAngle.idl:
789         * svg/SVGAnimatedBoolean.idl:
790         * svg/SVGAnimatedEnumeration.idl:
791         * svg/SVGAnimatedInteger.idl:
792         * svg/SVGAnimatedLength.idl:
793         * svg/SVGAnimatedLengthList.idl:
794         * svg/SVGAnimatedNumber.idl:
795         * svg/SVGAnimatedNumberList.idl:
796         * svg/SVGAnimatedPreserveAspectRatio.idl:
797         * svg/SVGAnimatedRect.idl:
798         * svg/SVGAnimatedString.idl:
799         * svg/SVGAnimatedTransformList.idl:
800         * svg/SVGAnimationElement.idl:
801         * svg/SVGCircleElement.idl:
802         * svg/SVGClipPathElement.idl:
803         * svg/SVGColor.idl:
804         * svg/SVGComponentTransferFunctionElement.idl:
805         * svg/SVGCursorElement.idl:
806         * svg/SVGDefsElement.idl:
807         * svg/SVGDescElement.idl:
808         * svg/SVGDocument.idl:
809         * svg/SVGElement.idl:
810         * svg/SVGElementInstance.idl:
811         * svg/SVGElementInstanceList.idl:
812         * svg/SVGEllipseElement.idl:
813         * svg/SVGException.idl:
814         * svg/SVGExternalResourcesRequired.idl:
815         * svg/SVGFEBlendElement.idl:
816         * svg/SVGFEColorMatrixElement.idl:
817         * svg/SVGFEComponentTransferElement.idl:
818         * svg/SVGFECompositeElement.idl:
819         * svg/SVGFEConvolveMatrixElement.idl:
820         * svg/SVGFEDiffuseLightingElement.idl:
821         * svg/SVGFEDisplacementMapElement.idl:
822         * svg/SVGFEDistantLightElement.idl:
823         * svg/SVGFEDropShadowElement.idl:
824         * svg/SVGFEFloodElement.idl:
825         * svg/SVGFEFuncAElement.idl:
826         * svg/SVGFEFuncBElement.idl:
827         * svg/SVGFEFuncGElement.idl:
828         * svg/SVGFEFuncRElement.idl:
829         * svg/SVGFEGaussianBlurElement.idl:
830         * svg/SVGFEImageElement.idl:
831         * svg/SVGFEMergeElement.idl:
832         * svg/SVGFEMergeNodeElement.idl:
833         * svg/SVGFEMorphologyElement.idl:
834         * svg/SVGFEOffsetElement.idl:
835         * svg/SVGFEPointLightElement.idl:
836         * svg/SVGFESpecularLightingElement.idl:
837         * svg/SVGFESpotLightElement.idl:
838         * svg/SVGFETileElement.idl:
839         * svg/SVGFETurbulenceElement.idl:
840         * svg/SVGFilterElement.idl:
841         * svg/SVGFilterPrimitiveStandardAttributes.idl:
842         * svg/SVGFitToViewBox.idl:
843         * svg/SVGFontElement.idl:
844         * svg/SVGFontFaceElement.idl:
845         * svg/SVGFontFaceFormatElement.idl:
846         * svg/SVGFontFaceNameElement.idl:
847         * svg/SVGFontFaceSrcElement.idl:
848         * svg/SVGFontFaceUriElement.idl:
849         * svg/SVGForeignObjectElement.idl:
850         * svg/SVGGElement.idl:
851         * svg/SVGGlyphElement.idl:
852         * svg/SVGGlyphRefElement.idl:
853         * svg/SVGGradientElement.idl:
854         * svg/SVGHKernElement.idl:
855         * svg/SVGImageElement.idl:
856         * svg/SVGLangSpace.idl:
857         * svg/SVGLength.idl:
858         * svg/SVGLengthList.idl:
859         * svg/SVGLineElement.idl:
860         * svg/SVGLinearGradientElement.idl:
861         * svg/SVGLocatable.idl:
862         * svg/SVGMPathElement.idl:
863         * svg/SVGMarkerElement.idl:
864         * svg/SVGMaskElement.idl:
865         * svg/SVGMatrix.idl:
866         * svg/SVGMetadataElement.idl:
867         * svg/SVGMissingGlyphElement.idl:
868         * svg/SVGNumber.idl:
869         * svg/SVGNumberList.idl:
870         * svg/SVGPaint.idl:
871         * svg/SVGPathElement.idl:
872         * svg/SVGPathSeg.idl:
873         * svg/SVGPathSegArcAbs.idl:
874         * svg/SVGPathSegArcRel.idl:
875         * svg/SVGPathSegClosePath.idl:
876         * svg/SVGPathSegCurvetoCubicAbs.idl:
877         * svg/SVGPathSegCurvetoCubicRel.idl:
878         * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
879         * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
880         * svg/SVGPathSegCurvetoQuadraticAbs.idl:
881         * svg/SVGPathSegCurvetoQuadraticRel.idl:
882         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
883         * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
884         * svg/SVGPathSegLinetoAbs.idl:
885         * svg/SVGPathSegLinetoHorizontalAbs.idl:
886         * svg/SVGPathSegLinetoHorizontalRel.idl:
887         * svg/SVGPathSegLinetoRel.idl:
888         * svg/SVGPathSegLinetoVerticalAbs.idl:
889         * svg/SVGPathSegLinetoVerticalRel.idl:
890         * svg/SVGPathSegList.idl:
891         * svg/SVGPathSegMovetoAbs.idl:
892         * svg/SVGPathSegMovetoRel.idl:
893         * svg/SVGPatternElement.idl:
894         * svg/SVGPoint.idl:
895         * svg/SVGPointList.idl:
896         * svg/SVGPolygonElement.idl:
897         * svg/SVGPolylineElement.idl:
898         * svg/SVGPreserveAspectRatio.idl:
899         * svg/SVGRadialGradientElement.idl:
900         * svg/SVGRect.idl:
901         * svg/SVGRectElement.idl:
902         * svg/SVGRenderingIntent.idl:
903         * svg/SVGSVGElement.idl:
904         * svg/SVGScriptElement.idl:
905         * svg/SVGSetElement.idl:
906         * svg/SVGStopElement.idl:
907         * svg/SVGStringList.idl:
908         * svg/SVGStylable.idl:
909         * svg/SVGStyleElement.idl:
910         * svg/SVGSwitchElement.idl:
911         * svg/SVGSymbolElement.idl:
912         * svg/SVGTRefElement.idl:
913         * svg/SVGTSpanElement.idl:
914         * svg/SVGTests.idl:
915         * svg/SVGTextContentElement.idl:
916         * svg/SVGTextElement.idl:
917         * svg/SVGTextPathElement.idl:
918         * svg/SVGTextPositioningElement.idl:
919         * svg/SVGTitleElement.idl:
920         * svg/SVGTransform.idl:
921         * svg/SVGTransformList.idl:
922         * svg/SVGTransformable.idl:
923         * svg/SVGURIReference.idl:
924         * svg/SVGUnitTypes.idl:
925         * svg/SVGUseElement.idl:
926         * svg/SVGVKernElement.idl:
927         * svg/SVGViewElement.idl:
928         * svg/SVGViewSpec.idl:
929         * svg/SVGZoomAndPan.idl:
930         * svg/SVGZoomEvent.idl:
931         * testing/InternalSettings.idl:
932         * testing/Internals.idl:
933         * testing/MallocStatistics.idl:
934         * workers/AbstractWorker.idl:
935         * workers/DedicatedWorkerContext.idl:
936         * workers/SharedWorker.idl:
937         * workers/SharedWorkerContext.idl:
938         * workers/Worker.idl:
939         * workers/WorkerContext.idl:
940         * workers/WorkerLocation.idl:
941         * xml/DOMParser.idl:
942         * xml/XMLHttpRequest.idl:
943         * xml/XMLHttpRequestException.idl:
944         * xml/XMLHttpRequestProgressEvent.idl:
945         * xml/XMLHttpRequestUpload.idl:
946         * xml/XMLSerializer.idl:
947         * xml/XPathEvaluator.idl:
948         * xml/XPathException.idl:
949         * xml/XPathNSResolver.idl:
950         * xml/XPathResult.idl:
951         * xml/XSLTProcessor.idl:
952         Moved extended attributes.
953
954 2012-10-12  Pavel Feldman  <pfeldman@chromium.org>
955
956         Web Inspector: never expand global scope automatically
957         https://bugs.webkit.org/show_bug.cgi?id=99159
958
959         Reviewed by Vsevolod Vlasov.
960
961         Otherwise, stepping is slow.
962
963         * inspector/front-end/ScopeChainSidebarPane.js:
964         (WebInspector.ScopeChainSidebarPane.prototype.update):
965
966 2012-10-10  Vsevolod Vlasov  <vsevik@chromium.org>
967
968         Web Inspector: Refactor UISourceCode, make it possible to distinguish working copy changes/commits from formatting.
969         https://bugs.webkit.org/show_bug.cgi?id=98911
970
971         Reviewed by Pavel Feldman.
972
973         ContentChanged was dispatched both when working copy was committed and UISourceCode was formatted before.
974         WorkingCopyChanged event was dispatched when working copy was set.
975         Now there are three explicit events: WorkingCopyChanged, WorkingCopyCommitted, FormattedChanged.
976         No events are dispatched now during revisions restoring.
977         Reverting to revisions is now implemented based on the working copy editing.
978
979         * inspector/front-end/JavaScriptSourceFrame.js:
980         (WebInspector.JavaScriptSourceFrame):
981         (WebInspector.JavaScriptSourceFrame.prototype._onFormattedChanged):
982         (WebInspector.JavaScriptSourceFrame.prototype._onWorkingCopyChanged):
983         (WebInspector.JavaScriptSourceFrame.prototype._onWorkingCopyCommitted):
984         (WebInspector.JavaScriptSourceFrame.prototype._innerSetContent):
985         (WebInspector.JavaScriptSourceFrame.prototype.onTextChanged):
986         * inspector/front-end/NavigatorView.js:
987         (WebInspector.NavigatorView.prototype._uiSourceCodeWorkingCopyCommitted):
988         (WebInspector.NavigatorView.prototype._uiSourceCodeFormattedChanged):
989         (WebInspector.NavigatorView.prototype._addUISourceCodeListeners):
990         (WebInspector.NavigatorView.prototype._removeUISourceCodeListeners):
991         * inspector/front-end/TabbedEditorContainer.js:
992         (WebInspector.TabbedEditorContainer.prototype._addUISourceCodeListeners):
993         (WebInspector.TabbedEditorContainer.prototype._removeUISourceCodeListeners):
994         (WebInspector.TabbedEditorContainer.prototype._uiSourceCodeWorkingCopyCommitted):
995         (WebInspector.TabbedEditorContainer.prototype._uiSourceCodeFormattedChanged):
996         * inspector/front-end/UISourceCode.js:
997         (WebInspector.UISourceCode):
998         (WebInspector.UISourceCode.prototype._commitContent):
999         (WebInspector.UISourceCode.prototype.addRevision):
1000         (WebInspector.UISourceCode.prototype._restoreRevisionHistory):
1001         (WebInspector.UISourceCode.prototype.revertToOriginal):
1002         (WebInspector.UISourceCode.prototype.revertAndClearHistory):
1003         (WebInspector.UISourceCode.prototype.setWorkingCopy):
1004         (WebInspector.UISourceCode.prototype.commitWorkingCopy):
1005         (WebInspector.UISourceCode.prototype.setFormatted.didGetContent.formattedChanged):
1006         (WebInspector.UISourceCode.prototype.setFormatted.didGetContent):
1007         (WebInspector.UISourceCode.prototype.setFormatted):
1008         (WebInspector.Revision.prototype.revertToThis):
1009         * inspector/front-end/UISourceCodeFrame.js:
1010         (WebInspector.UISourceCodeFrame):
1011         (WebInspector.UISourceCodeFrame.prototype.onTextChanged):
1012         (WebInspector.UISourceCodeFrame.prototype._onFormattedChanged):
1013         (WebInspector.UISourceCodeFrame.prototype._onWorkingCopyChanged):
1014         (WebInspector.UISourceCodeFrame.prototype._onWorkingCopyCommitted):
1015         (WebInspector.UISourceCodeFrame.prototype._innerSetContent):
1016
1017 2012-10-12  Balazs Kelemen  <kbalazs@webkit.org>
1018
1019         [WK2] Serialization of Resource[Request,Response,Error] should be shared across ports
1020         https://bugs.webkit.org/show_bug.cgi?id=90142
1021
1022         Reviewed by Simon Hausmann.
1023
1024         Added a setter for the certificate of ResourceError.
1025
1026         No change in behavior so no new tests.
1027
1028         * platform/network/cf/ResourceError.h:
1029         (ResourceError):
1030         * platform/network/cf/ResourceErrorCF.cpp:
1031         (WebCore):
1032         (WebCore::ResourceError::setCertificate):
1033
1034 2012-10-12  MORITA Hajime  <morrita@google.com>
1035
1036         [V8] PerContextEnabled methods should be installed when the constructor is created
1037         https://bugs.webkit.org/show_bug.cgi?id=99129
1038
1039         Reviewed by Kentaro Hara.
1040
1041         Before this change, generated installPerContextProperties() method
1042         injected both per-context attributes and functions, and functions
1043         were injected into the prototye object.  This means that the
1044         functions are injected into the prototype repeatedly for each
1045         intance creation.  This injection can be happened only once per
1046         prototype object, which is clearer and is faster.
1047
1048         This change introduces installPerContextPrototypeProperties()
1049         generated method, which is designed to be called for each time when the prototype
1050         object is created.
1051
1052         To do that, WrapperTypeInfo is extended to hold an additional
1053         function pointer to an installPerContextPrototypeProperties()
1054         implementation so that we call it from V8PerContextData::constructorForTypeSlowCase(),
1055         where the prototype instance is created.
1056
1057         Other changes:
1058         - Added some modification to pass around the parameter to constructorForTypeSlowCase().
1059         - installPerContextProperties() are now always generated for simplicity. Empty implementations are inlined thus
1060           no speed penalty.
1061
1062         No new tests. Covered by existing tests.
1063
1064         * Modules/notifications/NotificationCenter.cpp:
1065         (WebCore::NotificationCenter::document):
1066         * Modules/notifications/NotificationCenter.h:
1067         (NotificationCenter):
1068         * bindings/scripts/CodeGeneratorV8.pm:
1069         (GenerateHeader):
1070         (GenerateConstructorGetter):
1071         (GenerateNamedConstructorCallback):
1072         (GenerateImplementation): Extracted per-context function additions to new installPerContextPrototypeProperties() function.
1073         (GenerateToV8Converters):
1074         * bindings/scripts/test/V8/V8Float64Array.cpp:
1075         (WebCore):
1076         (WebCore::V8Float64Array::wrapSlow):
1077         * bindings/scripts/test/V8/V8Float64Array.h:
1078         (WebCore::V8Float64Array::installPerContextProperties):
1079         (WebCore::V8Float64Array::installPerContextPrototypeProperties):
1080         * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
1081         (WebCore):
1082         (WebCore::V8TestActiveDOMObject::wrapSlow):
1083         * bindings/scripts/test/V8/V8TestActiveDOMObject.h:
1084         (WebCore::V8TestActiveDOMObject::installPerContextProperties):
1085         (WebCore::V8TestActiveDOMObject::installPerContextPrototypeProperties):
1086         * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
1087         (WebCore):
1088         (WebCore::V8TestCustomNamedGetter::wrapSlow):
1089         * bindings/scripts/test/V8/V8TestCustomNamedGetter.h:
1090         (WebCore::V8TestCustomNamedGetter::installPerContextProperties):
1091         (WebCore::V8TestCustomNamedGetter::installPerContextPrototypeProperties):
1092         * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
1093         (WebCore):
1094         (WebCore::V8TestEventConstructor::wrapSlow):
1095         * bindings/scripts/test/V8/V8TestEventConstructor.h:
1096         (WebCore::V8TestEventConstructor::installPerContextProperties):
1097         (WebCore::V8TestEventConstructor::installPerContextPrototypeProperties):
1098         * bindings/scripts/test/V8/V8TestEventTarget.cpp:
1099         (WebCore):
1100         (WebCore::V8TestEventTarget::wrapSlow):
1101         * bindings/scripts/test/V8/V8TestEventTarget.h:
1102         (WebCore::V8TestEventTarget::installPerContextProperties):
1103         (WebCore::V8TestEventTarget::installPerContextPrototypeProperties):
1104         * bindings/scripts/test/V8/V8TestException.cpp:
1105         (WebCore):
1106         (WebCore::V8TestException::wrapSlow):
1107         * bindings/scripts/test/V8/V8TestException.h:
1108         (WebCore::V8TestException::installPerContextProperties):
1109         (WebCore::V8TestException::installPerContextPrototypeProperties):
1110         * bindings/scripts/test/V8/V8TestInterface.cpp:
1111         (WebCore):
1112         (WebCore::V8TestInterface::wrapSlow):
1113         * bindings/scripts/test/V8/V8TestInterface.h:
1114         (WebCore::V8TestInterface::installPerContextProperties):
1115         (WebCore::V8TestInterface::installPerContextPrototypeProperties):
1116         * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
1117         (WebCore):
1118         (WebCore::V8TestMediaQueryListListener::wrapSlow):
1119         * bindings/scripts/test/V8/V8TestMediaQueryListListener.h:
1120         (WebCore::V8TestMediaQueryListListener::installPerContextProperties):
1121         (WebCore::V8TestMediaQueryListListener::installPerContextPrototypeProperties):
1122         * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
1123         (WebCore):
1124         (WebCore::V8TestNamedConstructor::wrapSlow):
1125         * bindings/scripts/test/V8/V8TestNamedConstructor.h:
1126         (WebCore::V8TestNamedConstructor::installPerContextProperties):
1127         (WebCore::V8TestNamedConstructor::installPerContextPrototypeProperties):
1128         * bindings/scripts/test/V8/V8TestNode.cpp:
1129         (WebCore):
1130         (WebCore::V8TestNode::wrapSlow):
1131         * bindings/scripts/test/V8/V8TestNode.h:
1132         (WebCore::V8TestNode::installPerContextProperties):
1133         (WebCore::V8TestNode::installPerContextPrototypeProperties):
1134         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
1135         (WebCore):
1136         (WebCore::V8TestSerializedScriptValueInterface::wrapSlow):
1137         * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
1138         (WebCore::V8TestSerializedScriptValueInterface::installPerContextProperties):
1139         (WebCore::V8TestSerializedScriptValueInterface::installPerContextPrototypeProperties):
1140         * bindings/v8/NPV8Object.cpp:
1141         (WebCore::npObjectTypeInfo):
1142         * bindings/v8/V8DOMWindowShell.cpp:
1143         (WebCore::V8DOMWindowShell::installDOMWindow):
1144         * bindings/v8/V8DOMWrapper.cpp:
1145         (WebCore::V8DOMWrapper::instantiateV8Object):
1146         * bindings/v8/V8PerContextData.cpp:
1147         (WebCore::V8PerContextData::createWrapperFromCacheSlowCase):
1148         (WebCore::V8PerContextData::constructorForTypeSlowCase): Now invokes installPerContextPrototypeProperties()
1149         * bindings/v8/V8PerContextData.h:
1150         (WebCore::V8PerContextData::createWrapperFromCache):
1151         (WebCore::V8PerContextData::constructorForType):
1152         (V8PerContextData):
1153         * bindings/v8/WorkerContextExecutionProxy.cpp:
1154         (WebCore::WorkerContextExecutionProxy::initializeIfNeeded):
1155         * bindings/v8/WrapperTypeInfo.h:
1156         (WebCore):
1157         (WebCore::WrapperTypeInfo::installPerContextPrototypeProperties): Added.
1158         (WrapperTypeInfo):
1159         * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
1160         (WebCore):
1161
1162 2012-10-12  Pavel Feldman  <pfeldman@chromium.org>
1163
1164         Web Inspector: Add "goto tab 1,2,3" hotkeys
1165         https://bugs.webkit.org/show_bug.cgi?id=99157
1166
1167         Reviewed by Alexander Pavlov.
1168
1169         Ctrl/Cmd + digit shortcuts should select corresponding tabs
1170
1171         * inspector/front-end/InspectorView.js:
1172         (WebInspector.InspectorView.prototype._keyDown):
1173         (WebInspector.InspectorView.prototype._keyDownInternal):
1174
1175 2012-10-12  Vsevolod Vlasov  <vsevik@chromium.org>
1176
1177         Web Inspector: Extract domain specific editing handling logic from UISourceCode descendants (step 1).
1178         https://bugs.webkit.org/show_bug.cgi?id=98912
1179
1180         Reviewed by Pavel Feldman.
1181
1182         This is the first step that introduces StyleFile and ScriptFile and extracts domain specific editing handling logic.
1183         StyleFile and ScriptFile should listen for the UISourceCode events and process them, this will be done in the next patch.
1184
1185         * inspector/front-end/BreakpointManager.js:
1186         (WebInspector.BreakpointManager.Breakpoint.prototype._updateBreakpoint):
1187         * inspector/front-end/JavaScriptSource.js:
1188         * inspector/front-end/JavaScriptSourceFrame.js:
1189         (WebInspector.JavaScriptSourceFrame):
1190         (WebInspector.JavaScriptSourceFrame.prototype.onTextChanged):
1191         * inspector/front-end/ResourceScriptMapping.js:
1192         (WebInspector.ResourceScriptMapping.prototype.rawLocationToUILocation):
1193         (WebInspector.ResourceScriptMapping.prototype._hasDivergedFromVMChanged):
1194         (WebInspector.ResourceScriptMapping.prototype._bindUISourceCodeToScripts):
1195         (WebInspector.ScriptFile):
1196         (WebInspector.ScriptFile.prototype.hasDivergedFromVM):
1197         (WebInspector.ScriptFile.prototype.isDivergingFromVM):
1198         (WebInspector.ScriptFile.prototype.addEventListener):
1199         (WebInspector.ScriptFile.prototype.removeEventListener):
1200         (WebInspector.ResourceScriptFile):
1201         (WebInspector.ResourceScriptFile.prototype.workingCopyCommitted):
1202         (WebInspector.ResourceScriptFile.prototype.workingCopyChanged):
1203         (WebInspector.ResourceScriptFile.prototype.fireHasDivergedFromVMChanged):
1204         (WebInspector.ResourceScriptFile.prototype.hasDivergedFromVM):
1205         (WebInspector.ResourceScriptFile.prototype.isDivergingFromVM):
1206         * inspector/front-end/ScriptSnippetModel.js:
1207         (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
1208         (WebInspector.SnippetScriptFile):
1209         (WebInspector.SnippetScriptFile.prototype.hasDivergedFromVM):
1210         (WebInspector.SnippetScriptFile.prototype.setHasDivergedFromVM):
1211         (WebInspector.SnippetScriptFile.prototype.isDivergingFromVM):
1212         (WebInspector.SnippetScriptFile.prototype.setIsDivergingFromVM):
1213         (WebInspector.SnippetScriptFile.prototype.workingCopyCommitted):
1214         (WebInspector.SnippetScriptFile.prototype.workingCopyChanged):
1215         * inspector/front-end/ScriptsPanel.js:
1216         (WebInspector.ScriptsPanel.prototype._revealExecutionLine):
1217         * inspector/front-end/StyleSource.js:
1218         * inspector/front-end/StylesSourceMapping.js:
1219         (WebInspector.StylesSourceMapping.prototype._uiSourceCodeAddedToWorkspace):
1220         (WebInspector.StylesSourceMapping.prototype._addUISourceCode):
1221         (WebInspector.StyleFile):
1222         (WebInspector.StyleFile.prototype.workingCopyCommitted):
1223         (WebInspector.StyleFile.prototype.workingCopyChanged):
1224         (WebInspector.StyleFile.prototype._callOrSetTimeout):
1225         (WebInspector.StyleFile.prototype._commitIncrementalEdit):
1226         (WebInspector.StyleFile.prototype._clearIncrementalUpdateTimer):
1227         * inspector/front-end/UISourceCode.js:
1228         (WebInspector.UISourceCode.prototype.scriptFile):
1229         (WebInspector.UISourceCode.prototype.setScriptFile):
1230         (WebInspector.UISourceCode.prototype.styleFile):
1231         (WebInspector.UISourceCode.prototype.setStyleFile):
1232         (WebInspector.UISourceCode.prototype.setWorkingCopy):
1233         (WebInspector.UISourceCode.prototype.commitWorkingCopy):
1234
1235 2012-10-12  Zeno Albisser  <zeno@webkit.org>
1236
1237         [Qt][WK2] GraphicsSurfaceGLX should keep track of previous GL context.
1238         https://bugs.webkit.org/show_bug.cgi?id=99076
1239
1240         In GraphicsSurfaceGLX/GraphicsSurfacePrivate we create a new
1241         QOpenGLContext for resolving GL methods.
1242         This context is implicitly made current on creation.
1243         Therefore we need to keep track of the previously bound context
1244         and make that one current again after calling create.
1245
1246         Reviewed by Kenneth Rohde Christiansen.
1247
1248         * platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
1249         (WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
1250
1251 2012-10-12  Balazs Kelemen  <kbalazs@webkit.org>
1252
1253         Unreviewed, rolling out r130389.
1254         http://trac.webkit.org/changeset/130389
1255         https://bugs.webkit.org/show_bug.cgi?id=98048
1256
1257         It broke chromium
1258
1259         * WebCore.exp.in:
1260         * page/Settings.cpp:
1261         (WebCore::Settings::setAcceleratedCompositingEnabled):
1262         * page/Settings.h:
1263         (WebCore::Settings::setForceCompositingMode):
1264         (WebCore::Settings::forceCompositingMode):
1265
1266 2012-10-12  Vsevolod Vlasov  <vsevik@chromium.org>
1267
1268         Web Inspector: Show request body source in request headers view.
1269         https://bugs.webkit.org/show_bug.cgi?id=99145
1270
1271         Reviewed by Pavel Feldman.
1272
1273         Added view source toggle to query parameters and form data elements.
1274
1275         * inspector/front-end/NetworkPanel.js: fixed queryString getter usage.
1276         (WebInspector.NetworkDataGridNode.prototype._fileName):
1277         (WebInspector.NetworkDataGridNode.NameComparator):
1278         * inspector/front-end/NetworkRequest.js: Extracted queryString getter.
1279         (WebInspector.NetworkRequest.prototype.queryString):
1280         (WebInspector.NetworkRequest.prototype.get queryParameters):
1281         * inspector/front-end/RequestHeadersView.js:
1282         (WebInspector.RequestHeadersView.prototype._refreshQueryString):
1283         (WebInspector.RequestHeadersView.prototype._refreshFormData):
1284         (WebInspector.RequestHeadersView.prototype._populateTreeElementWithSourceText):
1285         extracted common method to populate elememnt with raw source text.
1286         (WebInspector.RequestHeadersView.prototype._refreshParams.toggleViewSource):
1287         (WebInspector.RequestHeadersView.prototype._refreshParams):
1288         (WebInspector.RequestHeadersView.prototype._toggleURLDecoding):
1289         (WebInspector.RequestHeadersView.prototype._refreshHeadersText):
1290         * inspector/front-end/networkPanel.css:A removed redundant raw-form-data style rule.
1291
1292 2012-10-12  Shinya Kawanaka  <shinyak@chromium.org>
1293
1294         Optimzie SelectorCheckingContext memory layout
1295         https://bugs.webkit.org/show_bug.cgi?id=99139
1296
1297         Reviewed by Hajime Morita.
1298
1299         Since VisitedMatchType and PseudoId are both enum, we can make SelectorChecker more compact
1300         if these two fields are continuously placed.
1301
1302         No new tests, no change in behavior.
1303
1304         * css/SelectorChecker.h:
1305         (WebCore::SelectorChecker::SelectorCheckingContext::SelectorCheckingContext):
1306         (SelectorCheckingContext):
1307
1308 2012-10-12  Kenichi Ishibashi  <bashi@chromium.org>
1309
1310         [WebSocket] Add "Cache-Control: no-cache" to handshake request
1311         https://bugs.webkit.org/show_bug.cgi?id=98000
1312
1313         Reviewed by Yuta Kitamura.
1314
1315         Add no-cache headers to opening handshake.
1316         This is for compatibility improvement.
1317         Some proxies rewrite "Connection: upgrade" to "Connection: close"
1318         when a request doesn't contain no-cache headers.
1319
1320         Test: http/tests/websocket/tests/hybi/nocache.html
1321
1322         * Modules/websockets/WebSocketHandshake.cpp:
1323         (WebCore::WebSocketHandshake::clientHandshakeMessage):
1324         (WebCore::WebSocketHandshake::clientHandshakeRequest):
1325
1326 2012-10-11  Andy Estes  <aestes@apple.com>
1327
1328         Add some basic methods and properties to the injected bundle Objective-C DOM API
1329         https://bugs.webkit.org/show_bug.cgi?id=99137
1330
1331         Reviewed by Sam Weinig.
1332
1333         Export needed symbols.
1334
1335         * WebCore.exp.in:
1336
1337 2012-10-11  Rik Cabanier  <cabanier@adobe.com>
1338
1339         Bad copy constructor in StyleRareNonInheritedData
1340         https://bugs.webkit.org/show_bug.cgi?id=98950
1341
1342         Reviewed by Eric Seidel.
1343
1344         Typo in copy constructor caused blendmode to always be the default.
1345
1346         * rendering/style/StyleRareNonInheritedData.cpp:
1347         (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
1348
1349 2012-10-11  Takashi Sakamoto  <tasak@google.com>
1350
1351         [WebKit IDL] remove all module from idl files.
1352         https://bugs.webkit.org/show_bug.cgi?id=99007
1353
1354         Reviewed by Kentaro Hara.
1355
1356         Since current WebIDL spec doesn't support "module", remove
1357         module from all idl files.
1358
1359         No new tests. I ran run-bindings-tests and no error was reported.
1360
1361         * Modules/battery/BatteryManager.idl:
1362         * Modules/battery/NavigatorBattery.idl:
1363         * Modules/filesystem/DOMFileSystem.idl:
1364         * Modules/filesystem/DOMFileSystemSync.idl:
1365         * Modules/filesystem/DOMWindowFileSystem.idl:
1366         * Modules/filesystem/DataTransferItemFileSystem.idl:
1367         * Modules/filesystem/DirectoryEntry.idl:
1368         * Modules/filesystem/DirectoryEntrySync.idl:
1369         * Modules/filesystem/DirectoryReader.idl:
1370         * Modules/filesystem/DirectoryReaderSync.idl:
1371         * Modules/filesystem/EntriesCallback.idl:
1372         * Modules/filesystem/Entry.idl:
1373         * Modules/filesystem/EntryArray.idl:
1374         * Modules/filesystem/EntryArraySync.idl:
1375         * Modules/filesystem/EntryCallback.idl:
1376         * Modules/filesystem/EntrySync.idl:
1377         * Modules/filesystem/ErrorCallback.idl:
1378         * Modules/filesystem/FileCallback.idl:
1379         * Modules/filesystem/FileEntry.idl:
1380         * Modules/filesystem/FileEntrySync.idl:
1381         * Modules/filesystem/FileSystemCallback.idl:
1382         * Modules/filesystem/FileWriter.idl:
1383         * Modules/filesystem/FileWriterCallback.idl:
1384         * Modules/filesystem/FileWriterSync.idl:
1385         * Modules/filesystem/HTMLInputElementFileSystem.idl:
1386         * Modules/filesystem/Metadata.idl:
1387         * Modules/filesystem/MetadataCallback.idl:
1388         * Modules/filesystem/WorkerContextFileSystem.idl:
1389         * Modules/gamepad/Gamepad.idl:
1390         * Modules/gamepad/GamepadList.idl:
1391         * Modules/gamepad/NavigatorGamepad.idl:
1392         * Modules/geolocation/Geolocation.idl:
1393         * Modules/geolocation/Geoposition.idl:
1394         * Modules/geolocation/NavigatorGeolocation.idl:
1395         * Modules/geolocation/PositionCallback.idl:
1396         * Modules/geolocation/PositionError.idl:
1397         * Modules/geolocation/PositionErrorCallback.idl:
1398         * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
1399         * Modules/indexeddb/IDBAny.idl:
1400         * Modules/indexeddb/IDBCursor.idl:
1401         * Modules/indexeddb/IDBCursorWithValue.idl:
1402         * Modules/indexeddb/IDBDatabase.idl:
1403         * Modules/indexeddb/IDBDatabaseException.idl:
1404         * Modules/indexeddb/IDBFactory.idl:
1405         * Modules/indexeddb/IDBIndex.idl:
1406         * Modules/indexeddb/IDBKey.idl:
1407         * Modules/indexeddb/IDBKeyRange.idl:
1408         * Modules/indexeddb/IDBObjectStore.idl:
1409         * Modules/indexeddb/IDBOpenDBRequest.idl:
1410         * Modules/indexeddb/IDBRequest.idl:
1411         * Modules/indexeddb/IDBTransaction.idl:
1412         * Modules/indexeddb/IDBUpgradeNeededEvent.idl:
1413         * Modules/indexeddb/IDBVersionChangeEvent.idl:
1414         * Modules/indexeddb/IDBVersionChangeRequest.idl:
1415         * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
1416         * Modules/intents/DOMWindowIntents.idl:
1417         * Modules/intents/DeliveredIntent.idl:
1418         * Modules/intents/Intent.idl:
1419         * Modules/intents/IntentResultCallback.idl:
1420         * Modules/intents/NavigatorIntents.idl:
1421         * Modules/mediasource/MediaSource.idl:
1422         * Modules/mediasource/SourceBuffer.idl:
1423         * Modules/mediasource/SourceBufferList.idl:
1424         * Modules/mediastream/DOMWindowMediaStream.idl:
1425         * Modules/mediastream/IceCallback.idl:
1426         * Modules/mediastream/IceCandidate.idl:
1427         * Modules/mediastream/LocalMediaStream.idl:
1428         * Modules/mediastream/MediaStream.idl:
1429         * Modules/mediastream/MediaStreamEvent.idl:
1430         * Modules/mediastream/MediaStreamList.idl:
1431         * Modules/mediastream/MediaStreamTrack.idl:
1432         * Modules/mediastream/MediaStreamTrackEvent.idl:
1433         * Modules/mediastream/MediaStreamTrackList.idl:
1434         * Modules/mediastream/NavigatorMediaStream.idl:
1435         * Modules/mediastream/NavigatorUserMediaError.idl:
1436         * Modules/mediastream/NavigatorUserMediaErrorCallback.idl:
1437         * Modules/mediastream/NavigatorUserMediaSuccessCallback.idl:
1438         * Modules/mediastream/PeerConnection00.idl:
1439         * Modules/mediastream/RTCErrorCallback.idl:
1440         * Modules/mediastream/RTCIceCandidate.idl:
1441         * Modules/mediastream/RTCIceCandidateEvent.idl:
1442         * Modules/mediastream/RTCPeerConnection.idl:
1443         * Modules/mediastream/RTCSessionDescription.idl:
1444         * Modules/mediastream/RTCSessionDescriptionCallback.idl:
1445         * Modules/mediastream/RTCStatsCallback.idl:
1446         * Modules/mediastream/RTCStatsElement.idl:
1447         * Modules/mediastream/RTCStatsReport.idl:
1448         * Modules/mediastream/RTCStatsResponse.idl:
1449         * Modules/mediastream/SessionDescription.idl:
1450         * Modules/navigatorcontentutils/NavigatorContentUtils.idl:
1451         * Modules/networkinfo/NavigatorNetworkInfoConnection.idl:
1452         * Modules/networkinfo/NetworkInfoConnection.idl:
1453         * Modules/notifications/DOMWindowNotifications.idl:
1454         * Modules/notifications/Notification.idl:
1455         * Modules/notifications/NotificationCenter.idl:
1456         * Modules/notifications/NotificationPermissionCallback.idl:
1457         * Modules/notifications/WorkerContextNotifications.idl:
1458         * Modules/proximity/DeviceProximityEvent.idl:
1459         * Modules/quota/DOMWindowQuota.idl:
1460         * Modules/quota/StorageInfo.idl:
1461         * Modules/quota/StorageInfoErrorCallback.idl:
1462         * Modules/quota/StorageInfoQuotaCallback.idl:
1463         * Modules/quota/StorageInfoUsageCallback.idl:
1464         * Modules/speech/DOMWindowSpeech.idl:
1465         * Modules/speech/SpeechGrammar.idl:
1466         * Modules/speech/SpeechGrammarList.idl:
1467         * Modules/speech/SpeechRecognition.idl:
1468         * Modules/speech/SpeechRecognitionAlternative.idl:
1469         * Modules/speech/SpeechRecognitionError.idl:
1470         * Modules/speech/SpeechRecognitionEvent.idl:
1471         * Modules/speech/SpeechRecognitionResult.idl:
1472         * Modules/speech/SpeechRecognitionResultList.idl:
1473         * Modules/vibration/NavigatorVibration.idl:
1474         * Modules/webaudio/AudioBuffer.idl:
1475         * Modules/webaudio/AudioBufferCallback.idl:
1476         * Modules/webaudio/AudioBufferSourceNode.idl:
1477         * Modules/webaudio/AudioChannelMerger.idl:
1478         * Modules/webaudio/AudioChannelSplitter.idl:
1479         * Modules/webaudio/AudioContext.idl:
1480         * Modules/webaudio/AudioDestinationNode.idl:
1481         * Modules/webaudio/AudioGain.idl:
1482         * Modules/webaudio/AudioGainNode.idl:
1483         * Modules/webaudio/AudioListener.idl:
1484         * Modules/webaudio/AudioNode.idl:
1485         * Modules/webaudio/AudioPannerNode.idl:
1486         * Modules/webaudio/AudioParam.idl:
1487         * Modules/webaudio/AudioProcessingEvent.idl:
1488         * Modules/webaudio/AudioSourceNode.idl:
1489         * Modules/webaudio/BiquadFilterNode.idl:
1490         * Modules/webaudio/ConvolverNode.idl:
1491         * Modules/webaudio/DOMWindowWebAudio.idl:
1492         * Modules/webaudio/DelayNode.idl:
1493         * Modules/webaudio/DynamicsCompressorNode.idl:
1494         * Modules/webaudio/JavaScriptAudioNode.idl:
1495         * Modules/webaudio/MediaElementAudioSourceNode.idl:
1496         * Modules/webaudio/MediaStreamAudioSourceNode.idl:
1497         * Modules/webaudio/OfflineAudioCompletionEvent.idl:
1498         * Modules/webaudio/Oscillator.idl:
1499         * Modules/webaudio/RealtimeAnalyserNode.idl:
1500         * Modules/webaudio/WaveShaperNode.idl:
1501         * Modules/webaudio/WaveTable.idl:
1502         * Modules/webdatabase/DOMWindowWebDatabase.idl:
1503         * Modules/webdatabase/Database.idl:
1504         * Modules/webdatabase/DatabaseCallback.idl:
1505         * Modules/webdatabase/DatabaseSync.idl:
1506         * Modules/webdatabase/SQLError.idl:
1507         * Modules/webdatabase/SQLException.idl:
1508         * Modules/webdatabase/SQLResultSet.idl:
1509         * Modules/webdatabase/SQLResultSetRowList.idl:
1510         * Modules/webdatabase/SQLStatementCallback.idl:
1511         * Modules/webdatabase/SQLStatementErrorCallback.idl:
1512         * Modules/webdatabase/SQLTransaction.idl:
1513         * Modules/webdatabase/SQLTransactionCallback.idl:
1514         * Modules/webdatabase/SQLTransactionErrorCallback.idl:
1515         * Modules/webdatabase/SQLTransactionSync.idl:
1516         * Modules/webdatabase/SQLTransactionSyncCallback.idl:
1517         * Modules/webdatabase/WorkerContextWebDatabase.idl:
1518         * Modules/websockets/CloseEvent.idl:
1519         * Modules/websockets/DOMWindowWebSocket.idl:
1520         * Modules/websockets/WebSocket.idl:
1521         * Modules/websockets/WorkerContextWebSocket.idl:
1522         * bindings/scripts/test/TestCallback.idl:
1523         * bindings/scripts/test/TestCustomNamedGetter.idl:
1524         * bindings/scripts/test/TestDomainSecurity.idl:
1525         * bindings/scripts/test/TestEventConstructor.idl:
1526         * bindings/scripts/test/TestEventTarget.idl:
1527         * bindings/scripts/test/TestException.idl:
1528         * bindings/scripts/test/TestInterface.idl:
1529         * bindings/scripts/test/TestMediaQueryListListener.idl:
1530         * bindings/scripts/test/TestNamedConstructor.idl:
1531         * bindings/scripts/test/TestNode.idl:
1532         * bindings/scripts/test/TestObj.idl:
1533         * bindings/scripts/test/TestSerializedScriptValueInterface.idl:
1534         * bindings/scripts/test/TestSupplemental.idl:
1535         * bindings/scripts/test/TestTypedArray.idl:
1536         * css/CSSCharsetRule.idl:
1537         * css/CSSFontFaceRule.idl:
1538         * css/CSSImportRule.idl:
1539         * css/CSSMediaRule.idl:
1540         * css/CSSPageRule.idl:
1541         * css/CSSPrimitiveValue.idl:
1542         * css/CSSRule.idl:
1543         * css/CSSRuleList.idl:
1544         * css/CSSStyleDeclaration.idl:
1545         * css/CSSStyleRule.idl:
1546         * css/CSSStyleSheet.idl:
1547         * css/CSSUnknownRule.idl:
1548         * css/CSSValue.idl:
1549         * css/CSSValueList.idl:
1550         * css/Counter.idl:
1551         * css/MediaList.idl:
1552         * css/MediaQueryList.idl:
1553         * css/MediaQueryListListener.idl:
1554         * css/RGBColor.idl:
1555         * css/Rect.idl:
1556         * css/StyleMedia.idl:
1557         * css/StyleSheet.idl:
1558         * css/StyleSheetList.idl:
1559         * css/WebKitCSSFilterValue.idl:
1560         * css/WebKitCSSKeyframeRule.idl:
1561         * css/WebKitCSSKeyframesRule.idl:
1562         * css/WebKitCSSMatrix.idl:
1563         * css/WebKitCSSRegionRule.idl:
1564         * css/WebKitCSSTransformValue.idl:
1565         * dom/Attr.idl:
1566         * dom/BeforeLoadEvent.idl:
1567         * dom/CDATASection.idl:
1568         * dom/CharacterData.idl:
1569         * dom/ClientRect.idl:
1570         * dom/ClientRectList.idl:
1571         * dom/Clipboard.idl:
1572         * dom/Comment.idl:
1573         * dom/CompositionEvent.idl:
1574         * dom/CustomEvent.idl:
1575         * dom/DOMCoreException.idl:
1576         * dom/DOMError.idl:
1577         * dom/DOMImplementation.idl:
1578         * dom/DOMNamedFlowCollection.idl:
1579         * dom/DOMStringList.idl:
1580         * dom/DOMStringMap.idl:
1581         * dom/DataTransferItem.idl:
1582         * dom/DataTransferItemList.idl:
1583         * dom/DeviceMotionEvent.idl:
1584         * dom/DeviceOrientationEvent.idl:
1585         * dom/Document.idl:
1586         * dom/DocumentFragment.idl:
1587         * dom/DocumentType.idl:
1588         * dom/Element.idl:
1589         * dom/Entity.idl:
1590         * dom/EntityReference.idl:
1591         * dom/ErrorEvent.idl:
1592         * dom/Event.idl:
1593         * dom/EventException.idl:
1594         * dom/EventListener.idl:
1595         * dom/EventTarget.idl:
1596         * dom/HashChangeEvent.idl:
1597         * dom/KeyboardEvent.idl:
1598         * dom/MessageChannel.idl:
1599         * dom/MessageEvent.idl:
1600         * dom/MessagePort.idl:
1601         * dom/MouseEvent.idl:
1602         * dom/MutationCallback.idl:
1603         * dom/MutationEvent.idl:
1604         * dom/MutationObserver.idl:
1605         * dom/MutationRecord.idl:
1606         * dom/NamedNodeMap.idl:
1607         * dom/Node.idl:
1608         * dom/NodeFilter.idl:
1609         * dom/NodeIterator.idl:
1610         * dom/NodeList.idl:
1611         * dom/Notation.idl:
1612         * dom/OverflowEvent.idl:
1613         * dom/PageTransitionEvent.idl:
1614         * dom/PopStateEvent.idl:
1615         * dom/ProcessingInstruction.idl:
1616         * dom/ProgressEvent.idl:
1617         * dom/PropertyNodeList.idl:
1618         * dom/Range.idl:
1619         * dom/RangeException.idl:
1620         * dom/RequestAnimationFrameCallback.idl:
1621         * dom/ShadowRoot.idl:
1622         * dom/StringCallback.idl:
1623         * dom/Text.idl:
1624         * dom/TextEvent.idl:
1625         * dom/Touch.idl:
1626         * dom/TouchEvent.idl:
1627         * dom/TouchList.idl:
1628         * dom/TreeWalker.idl:
1629         * dom/UIEvent.idl:
1630         * dom/WebKitAnimationEvent.idl:
1631         * dom/WebKitNamedFlow.idl:
1632         * dom/WebKitTransitionEvent.idl:
1633         * dom/WheelEvent.idl:
1634         * editing/DOMTransaction.idl:
1635         * editing/UndoManager.idl:
1636         * fileapi/Blob.idl:
1637         * fileapi/File.idl:
1638         * fileapi/FileError.idl:
1639         * fileapi/FileException.idl:
1640         * fileapi/FileList.idl:
1641         * fileapi/FileReader.idl:
1642         * fileapi/FileReaderSync.idl:
1643         * html/DOMFormData.idl:
1644         * html/DOMSettableTokenList.idl:
1645         * html/DOMTokenList.idl:
1646         * html/DOMURL.idl:
1647         * html/HTMLAllCollection.idl:
1648         * html/HTMLAnchorElement.idl:
1649         * html/HTMLAppletElement.idl:
1650         * html/HTMLAreaElement.idl:
1651         * html/HTMLAudioElement.idl:
1652         * html/HTMLBRElement.idl:
1653         * html/HTMLBaseElement.idl:
1654         * html/HTMLBaseFontElement.idl:
1655         * html/HTMLBodyElement.idl:
1656         * html/HTMLButtonElement.idl:
1657         * html/HTMLCanvasElement.idl:
1658         * html/HTMLCollection.idl:
1659         * html/HTMLDListElement.idl:
1660         * html/HTMLDataListElement.idl:
1661         * html/HTMLDetailsElement.idl:
1662         * html/HTMLDialogElement.idl:
1663         * html/HTMLDirectoryElement.idl:
1664         * html/HTMLDivElement.idl:
1665         * html/HTMLDocument.idl:
1666         * html/HTMLElement.idl:
1667         * html/HTMLEmbedElement.idl:
1668         * html/HTMLFieldSetElement.idl:
1669         * html/HTMLFontElement.idl:
1670         * html/HTMLFormElement.idl:
1671         * html/HTMLFrameElement.idl:
1672         * html/HTMLFrameSetElement.idl:
1673         * html/HTMLHRElement.idl:
1674         * html/HTMLHeadElement.idl:
1675         * html/HTMLHeadingElement.idl:
1676         * html/HTMLHtmlElement.idl:
1677         * html/HTMLIFrameElement.idl:
1678         * html/HTMLImageElement.idl:
1679         * html/HTMLInputElement.idl:
1680         * html/HTMLIntentElement.idl:
1681         * html/HTMLKeygenElement.idl:
1682         * html/HTMLLIElement.idl:
1683         * html/HTMLLabelElement.idl:
1684         * html/HTMLLegendElement.idl:
1685         * html/HTMLLinkElement.idl:
1686         * html/HTMLMapElement.idl:
1687         * html/HTMLMarqueeElement.idl:
1688         * html/HTMLMediaElement.idl:
1689         * html/HTMLMenuElement.idl:
1690         * html/HTMLMetaElement.idl:
1691         * html/HTMLMeterElement.idl:
1692         * html/HTMLModElement.idl:
1693         * html/HTMLOListElement.idl:
1694         * html/HTMLObjectElement.idl:
1695         * html/HTMLOptGroupElement.idl:
1696         * html/HTMLOptionElement.idl:
1697         * html/HTMLOptionsCollection.idl:
1698         * html/HTMLOutputElement.idl:
1699         * html/HTMLParagraphElement.idl:
1700         * html/HTMLParamElement.idl:
1701         * html/HTMLPreElement.idl:
1702         * html/HTMLProgressElement.idl:
1703         * html/HTMLPropertiesCollection.idl:
1704         * html/HTMLQuoteElement.idl:
1705         * html/HTMLScriptElement.idl:
1706         * html/HTMLSelectElement.idl:
1707         * html/HTMLSourceElement.idl:
1708         * html/HTMLSpanElement.idl:
1709         * html/HTMLStyleElement.idl:
1710         * html/HTMLTableCaptionElement.idl:
1711         * html/HTMLTableCellElement.idl:
1712         * html/HTMLTableColElement.idl:
1713         * html/HTMLTableElement.idl:
1714         * html/HTMLTableRowElement.idl:
1715         * html/HTMLTableSectionElement.idl:
1716         * html/HTMLTextAreaElement.idl:
1717         * html/HTMLTitleElement.idl:
1718         * html/HTMLTrackElement.idl:
1719         * html/HTMLUListElement.idl:
1720         * html/HTMLUnknownElement.idl:
1721         * html/HTMLVideoElement.idl:
1722         * html/ImageData.idl:
1723         * html/MediaController.idl:
1724         * html/MediaError.idl:
1725         * html/MediaKeyError.idl:
1726         * html/MediaKeyEvent.idl:
1727         * html/MicroDataItemValue.idl:
1728         * html/RadioNodeList.idl:
1729         * html/TextMetrics.idl:
1730         * html/TimeRanges.idl:
1731         * html/ValidityState.idl:
1732         * html/VoidCallback.idl:
1733         * html/canvas/ArrayBuffer.idl:
1734         * html/canvas/ArrayBufferView.idl:
1735         * html/canvas/CanvasGradient.idl:
1736         * html/canvas/CanvasPattern.idl:
1737         * html/canvas/CanvasRenderingContext.idl:
1738         * html/canvas/CanvasRenderingContext2D.idl:
1739         * html/canvas/DataView.idl:
1740         * html/canvas/EXTTextureFilterAnisotropic.idl:
1741         * html/canvas/Float32Array.idl:
1742         * html/canvas/Float64Array.idl:
1743         * html/canvas/Int16Array.idl:
1744         * html/canvas/Int32Array.idl:
1745         * html/canvas/Int8Array.idl:
1746         * html/canvas/OESStandardDerivatives.idl:
1747         * html/canvas/OESTextureFloat.idl:
1748         * html/canvas/OESVertexArrayObject.idl:
1749         * html/canvas/Uint16Array.idl:
1750         * html/canvas/Uint32Array.idl:
1751         * html/canvas/Uint8Array.idl:
1752         * html/canvas/Uint8ClampedArray.idl:
1753         * html/canvas/WebGLActiveInfo.idl:
1754         * html/canvas/WebGLBuffer.idl:
1755         * html/canvas/WebGLCompressedTextureS3TC.idl:
1756         * html/canvas/WebGLContextAttributes.idl:
1757         * html/canvas/WebGLContextEvent.idl:
1758         * html/canvas/WebGLDebugRendererInfo.idl:
1759         * html/canvas/WebGLDebugShaders.idl:
1760         * html/canvas/WebGLDepthTexture.idl:
1761         * html/canvas/WebGLFramebuffer.idl:
1762         * html/canvas/WebGLLoseContext.idl:
1763         * html/canvas/WebGLProgram.idl:
1764         * html/canvas/WebGLRenderbuffer.idl:
1765         * html/canvas/WebGLRenderingContext.idl:
1766         * html/canvas/WebGLShader.idl:
1767         * html/canvas/WebGLShaderPrecisionFormat.idl:
1768         * html/canvas/WebGLTexture.idl:
1769         * html/canvas/WebGLUniformLocation.idl:
1770         * html/canvas/WebGLVertexArrayObjectOES.idl:
1771         * html/shadow/HTMLContentElement.idl:
1772         * html/shadow/HTMLShadowElement.idl:
1773         * html/track/TextTrack.idl:
1774         * html/track/TextTrackCue.idl:
1775         * html/track/TextTrackCueList.idl:
1776         * html/track/TextTrackList.idl:
1777         * html/track/TrackEvent.idl:
1778         * inspector/InjectedScriptHost.idl:
1779         * inspector/InspectorFrontendHost.idl:
1780         * inspector/JavaScriptCallFrame.idl:
1781         * inspector/ScriptProfile.idl:
1782         * inspector/ScriptProfileNode.idl:
1783         * loader/appcache/DOMApplicationCache.idl:
1784         * page/AbstractView.idl:
1785         * page/BarInfo.idl:
1786         * page/Console.idl:
1787         * page/Coordinates.idl:
1788         * page/Crypto.idl:
1789         * page/DOMSecurityPolicy.idl:
1790         * page/DOMSelection.idl:
1791         * page/DOMWindow.idl:
1792         * page/DOMWindowPagePopup.idl:
1793         * page/EventSource.idl:
1794         * page/History.idl:
1795         * page/Location.idl:
1796         * page/MemoryInfo.idl:
1797         * page/Navigator.idl:
1798         * page/PagePopupController.idl:
1799         * page/Performance.idl:
1800         * page/PerformanceEntry.idl:
1801         * page/PerformanceEntryList.idl:
1802         * page/PerformanceNavigation.idl:
1803         * page/PerformanceResourceTiming.idl:
1804         * page/PerformanceTiming.idl:
1805         * page/Screen.idl:
1806         * page/SpeechInputEvent.idl:
1807         * page/SpeechInputResult.idl:
1808         * page/SpeechInputResultList.idl:
1809         * page/WebKitAnimation.idl:
1810         * page/WebKitAnimationList.idl:
1811         * page/WebKitPoint.idl:
1812         * page/WorkerNavigator.idl:
1813         * plugins/DOMMimeType.idl:
1814         * plugins/DOMMimeTypeArray.idl:
1815         * plugins/DOMPlugin.idl:
1816         * plugins/DOMPluginArray.idl:
1817         * storage/Storage.idl:
1818         * storage/StorageEvent.idl:
1819         * svg/ElementTimeControl.idl:
1820         * svg/SVGAElement.idl:
1821         * svg/SVGAltGlyphDefElement.idl:
1822         * svg/SVGAltGlyphElement.idl:
1823         * svg/SVGAltGlyphItemElement.idl:
1824         * svg/SVGAngle.idl:
1825         * svg/SVGAnimateColorElement.idl:
1826         * svg/SVGAnimateElement.idl:
1827         * svg/SVGAnimateMotionElement.idl:
1828         * svg/SVGAnimateTransformElement.idl:
1829         * svg/SVGAnimatedAngle.idl:
1830         * svg/SVGAnimatedBoolean.idl:
1831         * svg/SVGAnimatedEnumeration.idl:
1832         * svg/SVGAnimatedInteger.idl:
1833         * svg/SVGAnimatedLength.idl:
1834         * svg/SVGAnimatedLengthList.idl:
1835         * svg/SVGAnimatedNumber.idl:
1836         * svg/SVGAnimatedNumberList.idl:
1837         * svg/SVGAnimatedPreserveAspectRatio.idl:
1838         * svg/SVGAnimatedRect.idl:
1839         * svg/SVGAnimatedString.idl:
1840         * svg/SVGAnimatedTransformList.idl:
1841         * svg/SVGAnimationElement.idl:
1842         * svg/SVGCircleElement.idl:
1843         * svg/SVGClipPathElement.idl:
1844         * svg/SVGColor.idl:
1845         * svg/SVGComponentTransferFunctionElement.idl:
1846         * svg/SVGCursorElement.idl:
1847         * svg/SVGDefsElement.idl:
1848         * svg/SVGDescElement.idl:
1849         * svg/SVGDocument.idl:
1850         * svg/SVGElement.idl:
1851         * svg/SVGElementInstance.idl:
1852         * svg/SVGElementInstanceList.idl:
1853         * svg/SVGEllipseElement.idl:
1854         * svg/SVGException.idl:
1855         * svg/SVGExternalResourcesRequired.idl:
1856         * svg/SVGFEBlendElement.idl:
1857         * svg/SVGFEColorMatrixElement.idl:
1858         * svg/SVGFEComponentTransferElement.idl:
1859         * svg/SVGFECompositeElement.idl:
1860         * svg/SVGFEConvolveMatrixElement.idl:
1861         * svg/SVGFEDiffuseLightingElement.idl:
1862         * svg/SVGFEDisplacementMapElement.idl:
1863         * svg/SVGFEDistantLightElement.idl:
1864         * svg/SVGFEDropShadowElement.idl:
1865         * svg/SVGFEFloodElement.idl:
1866         * svg/SVGFEFuncAElement.idl:
1867         * svg/SVGFEFuncBElement.idl:
1868         * svg/SVGFEFuncGElement.idl:
1869         * svg/SVGFEFuncRElement.idl:
1870         * svg/SVGFEGaussianBlurElement.idl:
1871         * svg/SVGFEImageElement.idl:
1872         * svg/SVGFEMergeElement.idl:
1873         * svg/SVGFEMergeNodeElement.idl:
1874         * svg/SVGFEMorphologyElement.idl:
1875         * svg/SVGFEOffsetElement.idl:
1876         * svg/SVGFEPointLightElement.idl:
1877         * svg/SVGFESpecularLightingElement.idl:
1878         * svg/SVGFESpotLightElement.idl:
1879         * svg/SVGFETileElement.idl:
1880         * svg/SVGFETurbulenceElement.idl:
1881         * svg/SVGFilterElement.idl:
1882         * svg/SVGFilterPrimitiveStandardAttributes.idl:
1883         * svg/SVGFitToViewBox.idl:
1884         * svg/SVGFontElement.idl:
1885         * svg/SVGFontFaceElement.idl:
1886         * svg/SVGFontFaceFormatElement.idl:
1887         * svg/SVGFontFaceNameElement.idl:
1888         * svg/SVGFontFaceSrcElement.idl:
1889         * svg/SVGFontFaceUriElement.idl:
1890         * svg/SVGForeignObjectElement.idl:
1891         * svg/SVGGElement.idl:
1892         * svg/SVGGlyphElement.idl:
1893         * svg/SVGGlyphRefElement.idl:
1894         * svg/SVGGradientElement.idl:
1895         * svg/SVGHKernElement.idl:
1896         * svg/SVGImageElement.idl:
1897         * svg/SVGLangSpace.idl:
1898         * svg/SVGLength.idl:
1899         * svg/SVGLengthList.idl:
1900         * svg/SVGLineElement.idl:
1901         * svg/SVGLinearGradientElement.idl:
1902         * svg/SVGLocatable.idl:
1903         * svg/SVGMPathElement.idl:
1904         * svg/SVGMarkerElement.idl:
1905         * svg/SVGMaskElement.idl:
1906         * svg/SVGMatrix.idl:
1907         * svg/SVGMetadataElement.idl:
1908         * svg/SVGMissingGlyphElement.idl:
1909         * svg/SVGNumber.idl:
1910         * svg/SVGNumberList.idl:
1911         * svg/SVGPaint.idl:
1912         * svg/SVGPathElement.idl:
1913         * svg/SVGPathSeg.idl:
1914         * svg/SVGPathSegArcAbs.idl:
1915         * svg/SVGPathSegArcRel.idl:
1916         * svg/SVGPathSegClosePath.idl:
1917         * svg/SVGPathSegCurvetoCubicAbs.idl:
1918         * svg/SVGPathSegCurvetoCubicRel.idl:
1919         * svg/SVGPathSegCurvetoCubicSmoothAbs.idl:
1920         * svg/SVGPathSegCurvetoCubicSmoothRel.idl:
1921         * svg/SVGPathSegCurvetoQuadraticAbs.idl:
1922         * svg/SVGPathSegCurvetoQuadraticRel.idl:
1923         * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl:
1924         * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl:
1925         * svg/SVGPathSegLinetoAbs.idl:
1926         * svg/SVGPathSegLinetoHorizontalAbs.idl:
1927         * svg/SVGPathSegLinetoHorizontalRel.idl:
1928         * svg/SVGPathSegLinetoRel.idl:
1929         * svg/SVGPathSegLinetoVerticalAbs.idl:
1930         * svg/SVGPathSegLinetoVerticalRel.idl:
1931         * svg/SVGPathSegList.idl:
1932         * svg/SVGPathSegMovetoAbs.idl:
1933         * svg/SVGPathSegMovetoRel.idl:
1934         * svg/SVGPatternElement.idl:
1935         * svg/SVGPoint.idl:
1936         * svg/SVGPointList.idl:
1937         * svg/SVGPolygonElement.idl:
1938         * svg/SVGPolylineElement.idl:
1939         * svg/SVGPreserveAspectRatio.idl:
1940         * svg/SVGRadialGradientElement.idl:
1941         * svg/SVGRect.idl:
1942         * svg/SVGRectElement.idl:
1943         * svg/SVGRenderingIntent.idl:
1944         * svg/SVGSVGElement.idl:
1945         * svg/SVGScriptElement.idl:
1946         * svg/SVGSetElement.idl:
1947         * svg/SVGStopElement.idl:
1948         * svg/SVGStringList.idl:
1949         * svg/SVGStylable.idl:
1950         * svg/SVGStyleElement.idl:
1951         * svg/SVGSwitchElement.idl:
1952         * svg/SVGSymbolElement.idl:
1953         * svg/SVGTRefElement.idl:
1954         * svg/SVGTSpanElement.idl:
1955         * svg/SVGTests.idl:
1956         * svg/SVGTextContentElement.idl:
1957         * svg/SVGTextElement.idl:
1958         * svg/SVGTextPathElement.idl:
1959         * svg/SVGTextPositioningElement.idl:
1960         * svg/SVGTitleElement.idl:
1961         * svg/SVGTransform.idl:
1962         * svg/SVGTransformList.idl:
1963         * svg/SVGTransformable.idl:
1964         * svg/SVGURIReference.idl:
1965         * svg/SVGUnitTypes.idl:
1966         * svg/SVGUseElement.idl:
1967         * svg/SVGVKernElement.idl:
1968         * svg/SVGViewElement.idl:
1969         * svg/SVGViewSpec.idl:
1970         * svg/SVGZoomAndPan.idl:
1971         * svg/SVGZoomEvent.idl:
1972         * testing/InternalSettings.idl:
1973         * testing/Internals.idl:
1974         * testing/MallocStatistics.idl:
1975         * workers/AbstractWorker.idl:
1976         * workers/DedicatedWorkerContext.idl:
1977         * workers/SharedWorker.idl:
1978         * workers/SharedWorkerContext.idl:
1979         * workers/Worker.idl:
1980         * workers/WorkerContext.idl:
1981         * workers/WorkerLocation.idl:
1982         * xml/DOMParser.idl:
1983         * xml/XMLHttpRequest.idl:
1984         * xml/XMLHttpRequestException.idl:
1985         * xml/XMLHttpRequestProgressEvent.idl:
1986         * xml/XMLHttpRequestUpload.idl:
1987         * xml/XMLSerializer.idl:
1988         * xml/XPathEvaluator.idl:
1989         * xml/XPathException.idl:
1990         * xml/XPathExpression.idl:
1991         * xml/XPathNSResolver.idl:
1992         * xml/XPathResult.idl:
1993         * xml/XSLTProcessor.idl:
1994         Removed "module".
1995
1996 2012-10-11  Beth Dakin  <bdakin@apple.com>
1997
1998         https://bugs.webkit.org/show_bug.cgi?id=98700
1999         ScrollingCoordinator is a hot mess of if-defs
2000
2001         Reviewed by Anders Carlsson.
2002
2003         This patch moves all of the threaded scrolling code in 
2004         ScrollingCoordinator into a new class called ScrollingCoordinatorMac 
2005         which inherits from ScrollingCoordinator. 
2006
2007         It also adds ScrollingCoordinatorChromium to do Chromium-specific work. 
2008         ScrollingCoordinator itself does work that is cross-platform. 
2009         
2010         Finally, this patch also eliminates ScrollingCoordinatorNone. 
2011         ScrollingCoordinator is now sufficient for platforms that relied on 
2012         ScrollingCoordinatorNone to build.
2013
2014         * CMakeLists.txt:
2015         * GNUmakefile.list.am:
2016         * Target.pri:
2017         * WebCore.exp.in:
2018         * WebCore.xcodeproj/project.pbxproj:
2019         * page/scrolling/ScrollingCoordinator.cpp:
2020         (WebCore::ScrollingCoordinator::create):
2021         (WebCore):
2022         (WebCore::ScrollingCoordinator::ScrollingCoordinator):
2023         (WebCore::ScrollingCoordinator::~ScrollingCoordinator):
2024         (WebCore::ScrollingCoordinator::pageDestroyed):
2025         (WebCore::ScrollingCoordinator::computeNonFastScrollableRegion):
2026         (WebCore::ScrollingCoordinator::computeCurrentWheelEventHandlerCount):
2027         (WebCore::ScrollingCoordinator::scrollLayerForFrameView):
2028         (WebCore::ScrollingCoordinator::frameViewRootLayerDidChange):
2029         * page/scrolling/ScrollingCoordinator.h:
2030         (WebCore):
2031         (ScrollingCoordinator):
2032         (WebCore::ScrollingCoordinator::scrollingTree):
2033         (WebCore::ScrollingCoordinator::commitTreeStateIfNeeded):
2034         (WebCore::ScrollingCoordinator::frameViewLayoutUpdated):
2035         (WebCore::ScrollingCoordinator::supportsFixedPositionLayers):
2036         (WebCore::ScrollingCoordinator::requestScrollPositionUpdate):
2037         (WebCore::ScrollingCoordinator::handleWheelEvent):
2038         (WebCore::ScrollingCoordinator::updateMainFrameScrollPositionAndScrollLayerPosition):
2039         (WebCore::ScrollingCoordinator::attachToStateTree):
2040         (WebCore::ScrollingCoordinator::detachFromStateTree):
2041         (WebCore::ScrollingCoordinator::clearStateTree):
2042         (WebCore::ScrollingCoordinator::frameViewHorizontalScrollbarLayerDidChange):
2043         (WebCore::ScrollingCoordinator::frameViewVerticalScrollbarLayerDidChange):
2044         (WebCore::ScrollingCoordinator::scrollableAreaScrollLayerDidChange):
2045         (WebCore::ScrollingCoordinator::setLayerIsContainerForFixedPositionLayers):
2046         (WebCore::ScrollingCoordinator::setLayerIsFixedToContainerLayer):
2047         (WebCore::ScrollingCoordinator::recomputeWheelEventHandlerCountForFrameView):
2048         (WebCore::ScrollingCoordinator::setShouldUpdateScrollLayerPositionOnMainThread):
2049         * page/scrolling/ScrollingCoordinatorNone.cpp: Removed.
2050         * page/scrolling/chromium/ScrollingCoordinatorChromium.cpp:
2051         (WebCore::ScrollingCoordinatorChromium::ScrollingCoordinatorChromium):
2052         (WebCore::ScrollingCoordinatorChromium::~ScrollingCoordinatorChromium):
2053         (WebCore::ScrollingCoordinatorChromium::frameViewLayoutUpdated):
2054         (WebCore):
2055         (WebCore::ScrollingCoordinatorChromium::frameViewRootLayerDidChange):
2056         (WebCore::ScrollingCoordinatorChromium::frameViewHorizontalScrollbarLayerDidChange):
2057         (WebCore::ScrollingCoordinatorChromium::frameViewVerticalScrollbarLayerDidChange):
2058         (WebCore::ScrollingCoordinatorChromium::setScrollLayer):
2059         (WebCore::ScrollingCoordinatorChromium::setNonFastScrollableRegion):
2060         (WebCore::ScrollingCoordinatorChromium::setWheelEventHandlerCount):
2061         (WebCore::ScrollingCoordinatorChromium::setShouldUpdateScrollLayerPositionOnMainThread):
2062         (WebCore::ScrollingCoordinatorChromium::setLayerIsContainerForFixedPositionLayers):
2063         (WebCore::ScrollingCoordinatorChromium::setLayerIsFixedToContainerLayer):
2064         (WebCore::ScrollingCoordinatorChromium::scrollableAreaScrollLayerDidChange):
2065         (WebCore::ScrollingCoordinatorChromium::recomputeWheelEventHandlerCountForFrameView):
2066         * page/scrolling/chromium/ScrollingCoordinatorChromium.h: Added.
2067         (WebCore):
2068         (ScrollingCoordinatorChromium):
2069         (WebCore::ScrollingCoordinatorChromium::supportsFixedPositionLayers):
2070         * page/scrolling/mac/ScrollingCoordinatorMac.h: Added.
2071         (WebCore):
2072         (ScrollingCoordinatorMac):
2073         (ScrollParameters):
2074         * page/scrolling/mac/ScrollingCoordinatorMac.mm:
2075         (WebCore::ScrollingCoordinatorMac::ScrollingCoordinatorMac):
2076         (WebCore::ScrollingCoordinatorMac::~ScrollingCoordinatorMac):
2077         (WebCore::ScrollingCoordinatorMac::pageDestroyed):
2078         (WebCore):
2079         (WebCore::ScrollingCoordinatorMac::scrollingTree):
2080         (WebCore::ScrollingCoordinatorMac::commitTreeStateIfNeeded):
2081         (WebCore::ScrollingCoordinatorMac::frameViewLayoutUpdated):
2082         (WebCore::ScrollingCoordinatorMac::recomputeWheelEventHandlerCountForFrameView):
2083         (WebCore::ScrollingCoordinatorMac::frameViewRootLayerDidChange):
2084         (WebCore::ScrollingCoordinatorMac::frameViewHorizontalScrollbarLayerDidChange):
2085         (WebCore::ScrollingCoordinatorMac::frameViewVerticalScrollbarLayerDidChange):
2086         (WebCore::ScrollingCoordinatorMac::requestScrollPositionUpdate):
2087         (WebCore::ScrollingCoordinatorMac::handleWheelEvent):
2088         (WebCore::ScrollingCoordinatorMac::updateMainFrameScrollPositionAndScrollLayerPosition):
2089         (WebCore::ScrollingCoordinatorMac::attachToStateTree):
2090         (WebCore::ScrollingCoordinatorMac::detachFromStateTree):
2091         (WebCore::ScrollingCoordinatorMac::clearStateTree):
2092         (WebCore::ScrollingCoordinatorMac::stateNodeForID):
2093         (WebCore::ScrollingCoordinatorMac::ensureRootStateNodeForFrameView):
2094         (WebCore::ScrollingCoordinatorMac::setScrollLayerForNode):
2095         (WebCore::ScrollingCoordinatorMac::setNonFastScrollableRegionForNode):
2096         (WebCore::ScrollingCoordinatorMac::setScrollParametersForNode):
2097         (WebCore::ScrollingCoordinatorMac::setWheelEventHandlerCountForNode):
2098         (WebCore::ScrollingCoordinatorMac::setShouldUpdateScrollLayerPositionOnMainThread):
2099         (WebCore::ScrollingCoordinatorMac::updateMainFrameScrollLayerPosition):
2100         (WebCore::ScrollingCoordinatorMac::scheduleTreeStateCommit):
2101         (WebCore::ScrollingCoordinatorMac::scrollingStateTreeCommitterTimerFired):
2102         (WebCore::ScrollingCoordinatorMac::commitTreeState):
2103
2104 2012-10-11  Takashi Sakamoto  <tasak@google.com>
2105
2106         [Shadow DOM] Insertion points need resetStyleInheritance
2107         https://bugs.webkit.org/show_bug.cgi?id=93922
2108
2109         Reviewed by Dimitri Glazkov.
2110
2111         Implemented resetStyleInheritance of insertion points.
2112         Its spec link is http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#api-html-content-element-reset-style-inheritance
2113
2114         Test: fast/dom/shadow/insertion-point-resetStyleInheritance.html
2115
2116         * css/StyleResolver.cpp:
2117         (WebCore::isResetStyleInheritance):
2118         Added a new function to check whether there exists any insertion
2119         point which has reset-style-inhertiance flag set to be true.
2120         (WebCore::StyleResolver::initForStyleResolve):
2121         Modified to use the above function to check reset-style-inheritance.
2122         * html/shadow/HTMLContentElement.idl:
2123         * html/shadow/HTMLShadowElement.idl:
2124         Added a new attribute for reset-style-inheritance.
2125         * html/shadow/InsertionPoint.cpp:
2126         (WebCore::InsertionPoint::InsertionPoint):
2127         Initialized a new member variable for reset-style-inheritance.
2128         (WebCore::InsertionPoint::resetStyleInheritance):
2129         (WebCore::InsertionPoint::setResetStyleInheritance):
2130         Implemented setter/getter for reset-style-inheritance.
2131         * html/shadow/InsertionPoint.h:
2132         (InsertionPoint):
2133         Added a new member variable for reset-style-inheritance.
2134
2135 2012-10-11  Anders Carlsson  <andersca@apple.com>
2136
2137         Attempt to fix build broken by r131125.
2138
2139         * page/PageSerializer.cpp:
2140         (WebCore::PageSerializer::addImageToResources):
2141         KURL::utf8String() is apparently a USE(GOOGLEURL) feature. Call url.string().utf8() instead.
2142
2143 2012-10-11  Kenichi Ishibashi  <bashi@chromium.org>
2144
2145         [Chromium] Use harfbuzz-ng by default on Linux
2146         https://bugs.webkit.org/show_bug.cgi?id=97281
2147
2148         Reviewed by Tony Chang.
2149
2150         Switch old harfbuzz to harfbuzz-ng on chromium linux port.
2151
2152         No new tests. Existing tests should cover this switch.
2153         Test expectations will be updated.
2154
2155         * WebCore.gyp/WebCore.gyp:
2156
2157 2012-10-11  Nat Duca  <nduca@chromium.org>
2158
2159         Expose high-resolution on requestAnimationFrame callback
2160         https://bugs.webkit.org/show_bug.cgi?id=66683
2161
2162         This changes requestAnimationFrame's animationStartTime argument
2163         to be a high resolution DOM timestamp, per disucssion here:
2164         http://lists.w3.org/Archives/Public/public-web-perf/2012Apr/0004.html
2165
2166         Reviewed by James Robinson.
2167
2168         Covered by existing requestAnimationFrame tests.
2169
2170         * dom/Document.cpp:
2171         (WebCore::Document::serviceScriptedAnimations):
2172         * dom/Document.h:
2173         (Document):
2174         * dom/ScriptedAnimationController.cpp:
2175         (WebCore::ScriptedAnimationController::ScriptedAnimationController):
2176         (WebCore::ScriptedAnimationController::serviceScriptedAnimations):
2177         (WebCore):
2178         (WebCore::ScriptedAnimationController::windowScreenDidChange):
2179         (WebCore::ScriptedAnimationController::scheduleAnimation):
2180         (WebCore::ScriptedAnimationController::animationTimerFired):
2181         (WebCore::ScriptedAnimationController::displayRefreshFired):
2182         * dom/ScriptedAnimationController.h:
2183         (ScriptedAnimationController):
2184         * page/FrameView.cpp:
2185         (WebCore::FrameView::serviceScriptedAnimations):
2186         * page/FrameView.h:
2187         (FrameView):
2188         * platform/graphics/DisplayRefreshMonitor.cpp:
2189         (WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor):
2190         (WebCore::DisplayRefreshMonitor::notifyClients):
2191         * platform/graphics/DisplayRefreshMonitor.h:
2192         (DisplayRefreshMonitor):
2193         * platform/graphics/blackberry/DisplayRefreshMonitorBlackBerry.cpp:
2194         (WebCore::DisplayRefreshMonitor::displayLinkFired):
2195         * platform/graphics/mac/DisplayRefreshMonitorMac.cpp:
2196         (WebCore):
2197         (WebCore::DisplayRefreshMonitor::requestRefreshCallback):
2198         (WebCore::DisplayRefreshMonitor::displayLinkFired):
2199
2200 2012-10-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2201
2202         Unreviewed, rolling out r131100.
2203         http://trac.webkit.org/changeset/131100
2204         https://bugs.webkit.org/show_bug.cgi?id=99127
2205
2206         Caused an ASSERT (Requested by abarth|gardening on #webkit).
2207
2208         * platform/graphics/filters/CustomFilterValidatedProgram.cpp:
2209         (WebCore::CustomFilterValidatedProgram::compositeFunctionString):
2210
2211 2012-10-11  Kenichi Ishibashi  <bashi@chromium.org>
2212
2213         [Chromium] Improve vertical text rendering of HarfBuzzShaper (Re-land)
2214         https://bugs.webkit.org/show_bug.cgi?id=98979
2215
2216         Reviewed by Tony Chang.
2217
2218         - Specify 'vert' and 'vrt2' features when we render vertical text.
2219         - Set appropriate script so that harfbuzz-ng can use the features.
2220
2221         No new tests. fast/text/international/text-spliced-font.html should cover this change.
2222         This change will affect after switching to harfbuzz-ng.
2223
2224         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
2225         (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
2226         (WebCore::findScriptForVerticalGlyphSubstitution): Added.
2227         (WebCore):
2228         (WebCore::HarfBuzzNGFace::setScriptForVerticalGlyphSubstitution): Added.
2229         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:
2230         (HarfBuzzNGFace): Added m_scriptForVerticalText.
2231         * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
2232         (WebCore::HarfBuzzShaper::setFontFeatures):
2233         Set 'vert' and 'vrt2' features when orientation() == Vertical.
2234         (WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
2235         Call setScriptForVerticalGlyphSubstitution() when orientation() == Vertical.
2236
2237 2012-10-11  Jay Civelli  <jcivelli@chromium.org>
2238
2239         Fix for a crasher when generating MHTML for a page containing SVG images.
2240         https://bugs.webkit.org/show_bug.cgi?id=99105
2241
2242         Reviewed by Adam Barth.
2243
2244         * page/PageSerializer.cpp:
2245         (WebCore::PageSerializer::serializeCSSStyleSheet):
2246         (WebCore::PageSerializer::addImageToResources):
2247
2248 2012-10-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2249
2250         Unreviewed, rolling out r131107.
2251         http://trac.webkit.org/changeset/131107
2252         https://bugs.webkit.org/show_bug.cgi?id=99126
2253
2254         Causes an ASSERT (Requested by abarth|gardening on #webkit).
2255
2256         * accessibility/AccessibilityNodeObject.cpp:
2257         (WebCore::AccessibilityNodeObject::labelForElement):
2258         * dom/DocumentOrderedMap.cpp:
2259         * dom/DocumentOrderedMap.h:
2260         (DocumentOrderedMap):
2261         * dom/Element.cpp:
2262         (WebCore::Element::insertedInto):
2263         (WebCore::Element::removedFrom):
2264         (WebCore):
2265         (WebCore::Element::willModifyAttribute):
2266         * dom/Element.h:
2267         (Element):
2268         * dom/TreeScope.cpp:
2269         (WebCore::TreeScope::TreeScope):
2270         * dom/TreeScope.h:
2271         (WebCore):
2272         (TreeScope):
2273
2274 2012-10-11  Tim Horton  <timothy_horton@apple.com>
2275
2276         LocalCurrentGraphicsContext will never restore the current context to null
2277         https://bugs.webkit.org/show_bug.cgi?id=99122
2278
2279         Reviewed by Simon Fraser.
2280
2281         LocalCurrentGraphicsContext is meant to cause temporary changes to
2282         NSGraphicsContext's currentContext. However, if it is entered when
2283         currentContext is null, it will not restore to null, as a null
2284         m_savedNSGraphicsContext was being used to indicate that the current and
2285         passed-in graphics contexts were equal (and thus no save/restore was required).
2286
2287         Add a separate flag for whether or not we need to restore the context.
2288
2289         Also flip the order of calls to restore graphics context state so that
2290         exiting LocalCurrentGraphicsContext does things in exactly the opposite
2291         of entry.
2292
2293         * platform/mac/LocalCurrentGraphicsContext.h:
2294         (LocalCurrentGraphicsContext):
2295         * platform/mac/LocalCurrentGraphicsContext.mm:
2296         (WebCore::LocalCurrentGraphicsContext::LocalCurrentGraphicsContext):
2297         (WebCore::LocalCurrentGraphicsContext::~LocalCurrentGraphicsContext):
2298
2299 2012-10-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2300
2301         Unreviewed, rolling out r131109.
2302         http://trac.webkit.org/changeset/131109
2303         https://bugs.webkit.org/show_bug.cgi?id=99124
2304
2305         Does not compile on chromium-mac (Requested by
2306         abarth|gardening on #webkit).
2307
2308         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
2309         (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
2310         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:
2311         (HarfBuzzNGFace):
2312         * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
2313         (WebCore::HarfBuzzShaper::setFontFeatures):
2314         (WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
2315
2316 2012-10-11  Beth Dakin  <bdakin@apple.com>
2317
2318         https://bugs.webkit.org/show_bug.cgi?id=99111
2319         ScrollingStateNode should keep its Vector of children in an OwnPtr
2320
2321         Reviewed by Ada Chan.
2322
2323         Vector<OwnPtr<ScrollingStateNode> >* m_children; is now:
2324          OwnPtr<Vector<OwnPtr<ScrollingStateNode> > > m_children;
2325         * page/scrolling/ScrollingStateNode.cpp:
2326         (WebCore::ScrollingStateNode::ScrollingStateNode):
2327         (WebCore::ScrollingStateNode::~ScrollingStateNode):
2328         (WebCore::ScrollingStateNode::appendChild):
2329         * page/scrolling/ScrollingStateNode.h:
2330         (ScrollingStateNode):
2331
2332 2012-10-11  Levi Weintraub  <leviw@chromium.org>
2333
2334         [Sub pixel layout] Fast-path iframe scrolling can picks up an extra pixel
2335         https://bugs.webkit.org/show_bug.cgi?id=98571
2336
2337         Reviewed by Emil A Eklund.
2338
2339         Refactoring all coordinate-switching functionality to use a single "mode" flag
2340         as opposed to having a bunch of boolean values. This enables the same set of
2341         options across the board, and a consistent interface. This was previously
2342         done for mapLocalToContainer.
2343
2344         The imptetus for this for this stems from the one logical change in this patch
2345         which only effects sub-pixel layout. FrameView::convertToRenderer and
2346         convertFromRenderer return IntPoint coordinates, and need to also snap transform
2347         offsets to determine proper rects for scrolling.
2348
2349         Unlabeled functions below are simply being updated to these new interfaces.
2350
2351         Test: fast/sub-pixel/sub-pixel-iframe-copy-on-scroll.html
2352
2353         * WebCore.exp.in:
2354         * dom/ContainerNode.cpp:
2355         (WebCore::ContainerNode::getUpperLeftCorner):
2356         (WebCore::ContainerNode::getLowerRightCorner):
2357         * dom/Element.cpp:
2358         (WebCore::Element::boundsInRootViewSpace):
2359         * dom/MouseRelatedEvent.cpp:
2360         (WebCore::MouseRelatedEvent::computeRelativePosition):
2361         * dom/Node.cpp:
2362         (WebCore::Node::convertToPage):
2363         (WebCore::Node::convertFromPage):
2364         * html/HTMLSelectElement.cpp:
2365         (WebCore::HTMLSelectElement::listBoxDefaultEventHandler):
2366         * html/shadow/SliderThumbElement.cpp:
2367         (WebCore::SliderThumbElement::setPositionFromPoint):
2368         * html/shadow/SpinButtonElement.cpp:
2369         (WebCore::SpinButtonElement::defaultEventHandler):
2370         * page/FrameView.cpp:
2371         (WebCore::FrameView::convertToRenderer): Now pixel-snaps offsets before passing
2372         them to TransformState, which transforms the coordinates.
2373         (WebCore::FrameView::convertFromRenderer): Ditto.
2374         * rendering/LayoutState.cpp:
2375         (WebCore::LayoutState::LayoutState):
2376         * rendering/RenderBlock.cpp:
2377         (WebCore::RenderBlock::absoluteQuads):
2378         * rendering/RenderBox.cpp:
2379         (WebCore::RenderBox::absoluteQuads):
2380         (WebCore::RenderBox::mapLocalToContainer):
2381         (WebCore::RenderBox::mapAbsoluteToLocalPoint):
2382         * rendering/RenderBox.h:
2383         (RenderBox):
2384         * rendering/RenderBoxModelObject.cpp:
2385         (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint):
2386         * rendering/RenderBoxModelObject.h:
2387         (RenderBoxModelObject):
2388         * rendering/RenderEmbeddedObject.cpp:
2389         (WebCore::RenderEmbeddedObject::isInUnavailablePluginIndicator):
2390         * rendering/RenderFrameSet.cpp:
2391         (WebCore::RenderFrameSet::userResize):
2392         * rendering/RenderGeometryMap.cpp:
2393         (WebCore::RenderGeometryMap::absolutePoint):
2394         * rendering/RenderInline.cpp:
2395         (WebCore::RenderInline::mapLocalToContainer):
2396         * rendering/RenderInline.h:
2397         (RenderInline):
2398         * rendering/RenderLayer.cpp:
2399         (WebCore::RenderLayer::absoluteToContents):
2400         (WebCore::RenderLayer::calculateClipRects):
2401         * rendering/RenderMediaControls.cpp:
2402         (WebCore::RenderMediaControls::volumeSliderOffsetFromMuteButton):
2403         * rendering/RenderMenuList.cpp:
2404         (WebCore::RenderMenuList::showPopup):
2405         * rendering/RenderObject.cpp:
2406         (WebCore::RenderObject::localToAbsolute):
2407         (WebCore::RenderObject::absoluteToLocal):
2408         (WebCore::RenderObject::mapLocalToContainer):
2409         (WebCore::RenderObject::mapAbsoluteToLocalPoint):
2410         (WebCore::RenderObject::localToContainerQuad):
2411         (WebCore::RenderObject::localToContainerPoint):
2412         * rendering/RenderObject.h:
2413         (RenderObject): MapLocalToContainerFlags is now MapCoordinatesFlags since it's
2414         now used for other conversion methods.
2415         (WebCore::RenderObject::localToAbsoluteQuad):
2416         * rendering/RenderTheme.cpp:
2417         (WebCore::RenderTheme::volumeSliderOffsetFromMuteButton):
2418         * rendering/RenderView.cpp:
2419         (WebCore::RenderView::mapLocalToContainer):
2420         (WebCore::RenderView::mapAbsoluteToLocalPoint):
2421         * rendering/RenderView.h:
2422         (RenderView):
2423         * rendering/svg/RenderSVGForeignObject.cpp:
2424         (WebCore::RenderSVGForeignObject::mapLocalToContainer):
2425         * rendering/svg/RenderSVGForeignObject.h:
2426         (RenderSVGForeignObject):
2427         * rendering/svg/RenderSVGInline.cpp:
2428         (WebCore::RenderSVGInline::mapLocalToContainer):
2429         * rendering/svg/RenderSVGInline.h:
2430         (RenderSVGInline):
2431         * rendering/svg/RenderSVGModelObject.cpp:
2432         (WebCore::RenderSVGModelObject::mapLocalToContainer):
2433         * rendering/svg/RenderSVGModelObject.h:
2434         (RenderSVGModelObject):
2435         * rendering/svg/RenderSVGRoot.cpp:
2436         (WebCore::RenderSVGRoot::mapLocalToContainer):
2437         * rendering/svg/RenderSVGRoot.h:
2438         (RenderSVGRoot):
2439         * rendering/svg/RenderSVGText.cpp:
2440         (WebCore::RenderSVGText::mapLocalToContainer):
2441         * rendering/svg/RenderSVGText.h:
2442         (RenderSVGText):
2443         * rendering/svg/SVGRenderSupport.cpp:
2444         (WebCore::SVGRenderSupport::mapLocalToContainer):
2445         * svg/SVGSVGElement.cpp:
2446         (WebCore::SVGSVGElement::localCoordinateSpaceTransform):
2447
2448 2012-10-11  Adam Barth  <abarth@webkit.org>
2449
2450         Incorrect/Illegal static cast in FrameView.cpp
2451         https://bugs.webkit.org/show_bug.cgi?id=98943
2452
2453         Reviewed by Eric Seidel.
2454
2455         HTMLFrameElementBase is the common base class for <frame> and <iframe>.
2456
2457         * page/FrameView.cpp:
2458         (WebCore::FrameView::init):
2459
2460 2012-10-11  Kenichi Ishibashi  <bashi@chromium.org>
2461
2462         [Chromium] Improve vertical text rendering of HarfBuzzShaper
2463         https://bugs.webkit.org/show_bug.cgi?id=98979
2464
2465         Reviewed by Tony Chang.
2466
2467         - Specify 'vert' and 'vrt2' features when we render vertical text.
2468         - Set appropriate script so that harfbuzz-ng can use the features.
2469
2470         No new tests. fast/text/international/text-spliced-font.html should cover this change.
2471         This change will affect after switching to harfbuzz-ng.
2472
2473         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
2474         (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
2475         (WebCore::findScriptForVerticalGlyphSubstitution): Added.
2476         (WebCore):
2477         (WebCore::HarfBuzzNGFace::setScriptForVerticalGlyphSubstitution): Added.
2478         * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.h:
2479         (HarfBuzzNGFace): Added m_scriptForVerticalText.
2480         * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
2481         (WebCore::HarfBuzzShaper::setFontFeatures):
2482         Set 'vert' and 'vrt2' features when orientation() == Vertical.
2483         (WebCore::HarfBuzzShaper::shapeHarfBuzzRuns):
2484         Call setScriptForVerticalGlyphSubstitution() when orientation() == Vertical.
2485
2486 2012-10-11  Dominic Mazzoni  <dmazzoni@google.com>
2487
2488         AX: labelForElement is slow when there are a lot of DOM elements
2489         https://bugs.webkit.org/show_bug.cgi?id=97825
2490
2491         Reviewed by Ryosuke Niwa.
2492
2493         Adds a DocumentOrderedMap to TreeScope that allows accessibility to
2494         quickly map from an id to the label for that id. This speeds up
2495         AccessibilityNode::labelForElement, which was a bottleneck in Chromium
2496         when accessibility was on.
2497
2498         Tests: accessibility/title-ui-element-correctness.html
2499                perf/accessibility-title-ui-element.html
2500
2501         * accessibility/AccessibilityNodeObject.cpp:
2502         (WebCore::AccessibilityNodeObject::labelForElement):
2503         * dom/DocumentOrderedMap.cpp:
2504         (WebCore::keyMatchesLabelForAttribute):
2505         (WebCore):
2506         (WebCore::DocumentOrderedMap::getElementByLabelForAttribute):
2507         * dom/DocumentOrderedMap.h:
2508         (DocumentOrderedMap):
2509         * dom/Element.cpp:
2510         (WebCore::Element::insertedInto):
2511         (WebCore::Element::removedFrom):
2512         (WebCore::Element::updateLabel):
2513         (WebCore):
2514         (WebCore::Element::willModifyAttribute):
2515         * dom/Element.h:
2516         (Element):
2517         * dom/TreeScope.cpp:
2518         (WebCore::TreeScope::TreeScope):
2519         (WebCore::TreeScope::addLabel):
2520         (WebCore):
2521         (WebCore::TreeScope::removeLabel):
2522         (WebCore::TreeScope::labelElementForId):
2523         * dom/TreeScope.h:
2524         (WebCore):
2525         (TreeScope):
2526         (WebCore::TreeScope::shouldCacheLabelsByForAttribute):
2527
2528 2012-10-11  James Simonsen  <simonjam@chromium.org>
2529
2530         unprefix window.performance.webkitNow()
2531         https://bugs.webkit.org/show_bug.cgi?id=88278
2532
2533         Reviewed by Tony Gentilcore.
2534
2535         Test: fast/dom/Window/window-properties-performance.html
2536               fast/performance/performance-now-timestamps.html
2537
2538         * page/Performance.cpp:
2539         (WebCore::Performance::now):
2540         * page/Performance.h:
2541         (Performance):
2542         * page/Performance.idl:
2543
2544 2012-10-11  Roger Fong  <roger_fong@apple.com>
2545
2546         [WebGL] [Mac] only the mapped symbol for the first element of a uniform/attribute array is stored.
2547         https://bugs.webkit.org/show_bug.cgi?id=98966
2548
2549         Reviewed by Dean Jackson.
2550
2551         We currently do not add name/mappedName symbol pairs for each element of a uniform/attribute array.
2552         This is because we only add a number of symbols equal to how many symbols the shader compiler tells us there are.
2553         The shader compiler treats an array as a single uniform. We need to be adding in symbols to the map for each element of the array ourselves.
2554         The mappedName of each array element is the same between elements except for the "[index]" at the end so this is easy to do.
2555
2556         Tested using Khronos WebGL conformance suite:
2557         conformance/glsl/misc/glsl-long-variable-names.html
2558
2559         * platform/graphics/ANGLEWebKitBridge.cpp:
2560         (WebCore::getSymbolInfo):
2561
2562 2012-10-11  Andreas Kling  <kling@webkit.org>
2563
2564         ElementAttributeData shouldn't be managing Element's callbacks.
2565         <http://webkit.org/b/98987>
2566
2567         Reviewed by Anders Carlsson.
2568
2569         Dispatch the following attribute-related Element callbacks from within Element
2570         instead of ElementAttributeData. Also made them private.
2571
2572             - willModifyAttribute
2573             - didModifyAttribute
2574             - didAddAttribute
2575             - didRemoveAttribute
2576
2577         No behavior change, just making ElementAttributeData a bit dumber (a good thing.)
2578
2579         * dom/Element.cpp:
2580         (WebCore::Element::detachAttribute):
2581         (WebCore::Element::removeAttribute):
2582         (WebCore::Element::setAttributeInternal):
2583         (WebCore::Element::removeAttributeInternal):
2584         (WebCore::Element::addAttributeInternal):
2585         * dom/Element.h:
2586         * dom/ElementAttributeData.cpp:
2587         (WebCore::ElementAttributeData::addAttribute):
2588         (WebCore::ElementAttributeData::removeAttribute):
2589         * dom/ElementAttributeData.h:
2590
2591 2012-10-11  Huang Dongsung  <luxtella@company100.net>
2592
2593         [CSS Shaders] Make custom filters use a premultiplied buffer.
2594         https://bugs.webkit.org/show_bug.cgi?id=98396
2595
2596         Reviewed by Dean Jackson.
2597
2598         Currently, a GLSL css_Composite function returns a premultiplied color, so
2599         FECustomFilter must make a premultiplied buffer in the case when an author is
2600         using the CSS mix function.
2601
2602         In addition, there are two performance benefits when FECustomFilter uses a premultiplied buffer.
2603         1. FilterEffect::asImageBuffer is faster.
2604         2. In the future when Accelerated Compositing implementations use
2605         FECustomFilter, they do not need to convert an unmultiplied buffer to a
2606         premultiplied buffer.
2607
2608         Test: css3/filters/custom/custom-filter-composite-fractional-source-alpha.html
2609
2610         * platform/graphics/filters/FECustomFilter.cpp:
2611         (WebCore::FECustomFilter::applyShader):
2612
2613 2012-10-11  Rob Buis  <rbuis@rim.com>
2614
2615         [CMAKE] Do not add include dirs twice
2616         https://bugs.webkit.org/show_bug.cgi?id=99099
2617
2618         Reviewed by Yong Li.
2619
2620         Do not add WebCore_INCLUDE_DIRECTORIES to WebCoreTestSupport_INCLUDE_DIRECTORIES, the includes_directory
2621         call does this for us.
2622
2623         * CMakeLists.txt:
2624
2625 2012-10-11  Huang Dongsung  <luxtella@company100.net>
2626
2627         [CSS Shaders] Implement all composite operators except destination and lighter.
2628         https://bugs.webkit.org/show_bug.cgi?id=97859
2629
2630         Reviewed by Dean Jackson.
2631
2632         Add expressions for all composite operators except destination and
2633         lighter. The expressions are lifted directly from the CSS Compositing
2634         and Blending spec [1]. WebKit adds these compositing expressions to the
2635         author's shader.
2636
2637         [1]: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#advancedcompositing
2638
2639         Test: css3/filters/custom/custom-filter-composite-operators.html
2640
2641         * platform/graphics/filters/CustomFilterValidatedProgram.cpp:
2642         (WebCore::CustomFilterValidatedProgram::compositeFunctionString):
2643
2644 2012-10-11  Joshua Bell  <jsbell@chromium.org>
2645
2646         IndexedDB: IDL types defined in spec should be visible to scripts
2647         https://bugs.webkit.org/show_bug.cgi?id=99093
2648
2649         Reviewed by Adam Barth.
2650
2651         Interfaces defined in the spec WebIDL, such as IDBCursorWithValue, should be exposed
2652         to scripts as properties of the global object. A few types were missing - add them.
2653
2654         Test: storage/indexeddb/interfaces.html
2655
2656         * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
2657         * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
2658
2659 2012-10-11  Geoffrey Garen  <ggaren@apple.com>
2660
2661         Removed ASSERT_CLASS_FITS_IN_CELL
2662         https://bugs.webkit.org/show_bug.cgi?id=97634
2663
2664         Reviewed by Mark Hahnenberg.
2665
2666         * bindings/js/JSDOMWindowShell.cpp:
2667         (WebCore):
2668         * bindings/js/JSImageConstructor.cpp:
2669         (WebCore):
2670         * bindings/js/JSNodeFilterCondition.cpp:
2671         (WebCore):
2672         * bindings/js/JSWorkerContextBase.cpp:
2673         (WebCore):
2674         * bindings/scripts/CodeGeneratorJS.pm:
2675         (GenerateImplementation):
2676         * bindings/scripts/test/JS/JSFloat64Array.cpp:
2677         (WebCore):
2678         * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
2679         (WebCore):
2680         * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp:
2681         (WebCore):
2682         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
2683         (WebCore):
2684         * bindings/scripts/test/JS/JSTestEventTarget.cpp:
2685         (WebCore):
2686         * bindings/scripts/test/JS/JSTestException.cpp:
2687         (WebCore):
2688         * bindings/scripts/test/JS/JSTestInterface.cpp:
2689         (WebCore):
2690         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
2691         (WebCore):
2692         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
2693         (WebCore):
2694         * bindings/scripts/test/JS/JSTestNode.cpp:
2695         (WebCore):
2696         * bindings/scripts/test/JS/JSTestObj.cpp:
2697         (WebCore):
2698         * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp:
2699         (WebCore):
2700         * bridge/runtime_method.cpp:
2701         (JSC):
2702
2703 2012-10-10  Brady Eidson  <beidson@apple.com>
2704
2705         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
2706         https://bugs.webkit.org/show_bug.cgi?id=98976
2707
2708         Reviewed by Anders Carlsson.
2709
2710         No new tests (No change in behavior).
2711
2712         * WebCore.exp.in:
2713         * html/ImageDocument.cpp:
2714         (WebCore::ImageDocumentParser::appendBytes):
2715         (WebCore::ImageDocumentParser::finish):
2716         * inspector/InspectorPageAgent.cpp:
2717         (WebCore::InspectorPageAgent::mainResourceContent):
2718         (WebCore::InspectorPageAgent::sharedBufferContent):
2719         (WebCore):
2720         (WebCore::InspectorPageAgent::dataContent):
2721         * inspector/InspectorPageAgent.h:
2722         * inspector/InspectorResourceAgent.cpp:
2723         (WebCore::InspectorResourceAgent::didFinishLoading):
2724         (WebCore::InspectorResourceAgent::didFailLoading):
2725         * loader/DocumentLoader.cpp:
2726         (WebCore::DocumentLoader::mainResourceData):
2727         (WebCore::DocumentLoader::setupForReplaceByMIMEType):
2728         (WebCore::DocumentLoader::maybeCreateArchive):
2729         (WebCore::DocumentLoader::mainResource):
2730         (WebCore::DocumentLoader::maybeFinishLoadingMultipartContent):
2731         * loader/DocumentLoader.h:
2732         (WebCore):
2733         (DocumentLoader):
2734         * loader/ResourceBuffer.cpp:
2735         (WebCore::ResourceBuffer::append):
2736         (WebCore):
2737         (WebCore::ResourceBuffer::clear):
2738         * loader/ResourceBuffer.h:
2739         (ResourceBuffer):
2740         * loader/ResourceLoader.cpp:
2741         (WebCore::ResourceLoader::resourceData):
2742         (WebCore::ResourceLoader::addData):
2743         (WebCore::ResourceLoader::willStopBufferingData):
2744         * loader/ResourceLoader.h:
2745         (WebCore):
2746         (ResourceLoader):
2747         * loader/SubresourceLoader.cpp:
2748         (WebCore::SubresourceLoader::didReceiveResponse):
2749         (WebCore::SubresourceLoader::sendDataToResource):
2750         (WebCore::SubresourceLoader::didFinishLoading):
2751         * loader/appcache/ApplicationCacheGroup.cpp:
2752         (WebCore::ApplicationCacheGroup::finishedLoadingMainResource):
2753
2754 2012-10-11  Konrad Piascik  <kpiascik@rim.com>
2755
2756         Web Inspector: node search does not work with elements on touch start listener
2757         https://bugs.webkit.org/show_bug.cgi?id=95252
2758
2759         Reviewed by Pavel Feldman.
2760
2761         Added new InspectorInstrumentation::handleTouchEvent() method which
2762         will prevent a touch handler from firing and inspect and element if we
2763         are already searching for a node to highlight.
2764         Now when a user has chosen to inspect element (magnifying glass icon)
2765         and touches on a page the event will be directed to inspector and
2766         handled appropriately.
2767
2768         Not testable.
2769
2770         * inspector/InspectorDOMAgent.cpp:
2771         (WebCore::InspectorDOMAgent::handleTouchEvent):
2772         (WebCore):
2773         * inspector/InspectorDOMAgent.h:
2774         (InspectorDOMAgent):
2775         * inspector/InspectorInstrumentation.cpp:
2776         (WebCore):
2777         (WebCore::InspectorInstrumentation::handleTouchEventImpl):
2778         * inspector/InspectorInstrumentation.h:
2779         (InspectorInstrumentation):
2780         (WebCore::InspectorInstrumentation::handleTouchEvent):
2781         (WebCore):
2782         * page/EventHandler.cpp:
2783         (WebCore::EventHandler::handleTouchEvent):
2784
2785 2012-10-11  Otto Derek Cheung  <otcheung@rim.com>
2786
2787         [BlackBerry] Credentials for HTTPS urls are saved in the HTTP protection space
2788         https://bugs.webkit.org/show_bug.cgi?id=99082
2789
2790         Reviewed by Rob Buis.
2791
2792         Adding support for secure ProtectionSpaces in Credentials
2793         to prevent credentials from being overwritten/used when the user
2794         accesses both versions of the same url.
2795
2796         PR 199457
2797
2798         The issue was the secure/non-secure version of the same protocol
2799         were using the same ProtectionSpace enum in the network stack. When
2800         the credentials are saved, it will overwrite each other since the
2801         protection object is identical.
2802
2803         The fix is to use the WebKit provided secure enums when the protcol is secure.
2804
2805         To test this, access a restricted site that is running on http. Save the
2806         password and access the same restricted site (same domain
2807         and path) but on https. The browser should prompt for credentials.
2808
2809         * platform/network/blackberry/NetworkJob.cpp:
2810         (WebCore::NetworkJob::notifyAuthReceived):
2811         (WebCore::NetworkJob::handleFTPHeader):
2812         (WebCore::NetworkJob::sendRequestWithCredentials):
2813         (WebCore::NetworkJob::storeCredentials):
2814         * platform/network/blackberry/NetworkManager.cpp:
2815         (WebCore::NetworkManager::startJob):
2816
2817 2012-10-11  Arnaud Renevier  <a.renevier@sisa.samsung.com>
2818
2819         [texmap] logic error in BitmapTextureGL::updateContents
2820         https://bugs.webkit.org/show_bug.cgi?id=98969
2821
2822         Reviewed by Noam Rosenthal.
2823
2824         Incorrect test (bytesPerLine == targetRect.width() / 4) never
2825         evaluates to true. Change it to correct test 
2826         (bytesPerLine == targetRect.width() * 4)
2827
2828         No new tests because no functional change.
2829
2830         * platform/graphics/texmap/TextureMapperGL.cpp:
2831         (WebCore::BitmapTextureGL::updateContents):
2832
2833 2012-10-11  Dan Bernstein  <mitz@apple.com>
2834
2835         <rdar://problem/12477191> Combined text reverts to full-width font after a style change
2836         https://bugs.webkit.org/show_bug.cgi?id=99009
2837
2838         Reviewed by John Sullivan.
2839
2840         Test: fast/text/text-combine-width-after-style-change.html
2841
2842         * rendering/RenderCombineText.cpp:
2843         (WebCore::RenderCombineText::styleDidChange): Changed to reset m_isCombined to false, to
2844         ensure that combineText() is called on the next layout.
2845
2846 2012-10-11  Arnaud Renevier  <a.renevier@sisa.samsung.com>
2847
2848         accelerated compositing does not work with ati driver
2849         https://bugs.webkit.org/show_bug.cgi?id=97472
2850
2851         Reviewed by Martin Robinson.
2852
2853         Create m_parentWindow at positive position. Otherwise, parts of it are
2854         not displayed on ati drivers.
2855
2856         Covered by existing tests.
2857
2858         * platform/gtk/RedirectedXCompositeWindow.cpp:
2859         (WebCore::RedirectedXCompositeWindow::RedirectedXCompositeWindow):
2860
2861 2012-10-11  Jaehun Lim  <ljaehun.lim@samsung.com>
2862
2863         Fix JPEG decoding faiure when IMAGE_DECODER_DOWN_SAMPLING is enabled
2864         https://bugs.webkit.org/show_bug.cgi?id=98878
2865
2866         Reviewed by Kenneth Russell.
2867
2868         When using libjpeg-turbo and enabling IMAGE_DECODER_DOWN_SAMPLING,
2869         JPEG decoding failed because of no support for JCS_EXT_RGBA, JCS_EXT_BGRA.
2870         Set RGBA values when color space is JCS_EXT_RGBA or JCS_EXT_BGRA.
2871
2872         No new tests.
2873
2874         * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
2875         (WebCore::JPEGImageDecoder::outputScanlines):
2876
2877 2012-10-11  Vsevolod Vlasov  <vsevik@chromium.org>
2878
2879         Web Inspector: Preview HTML in ajax responses in network panel
2880         https://bugs.webkit.org/show_bug.cgi?id=99066
2881
2882         Reviewed by Yury Semikhatsky.
2883
2884         HTML preview is now shown for XHR responses with text/html mime types.
2885         Also RequestHTMLView is refactored to use sandbox iframe correctly.
2886         Also extracted a method to generate dataURL from resource/request content.
2887
2888         * inspector/front-end/NetworkRequest.js:
2889         (WebInspector.NetworkRequest):
2890         (WebInspector.NetworkRequest.prototype.populateImageSource):
2891         (WebInspector.NetworkRequest.prototype.asDataURL):
2892         * inspector/front-end/RequestHTMLView.js:
2893         (WebInspector.RequestHTMLView):
2894         (WebInspector.RequestHTMLView.prototype._createIFrame):
2895         * inspector/front-end/RequestPreviewView.js:
2896         (WebInspector.RequestPreviewView.prototype._createPreviewView):
2897         * inspector/front-end/Resource.js:
2898         (WebInspector.Resource.prototype.populateImageSource):
2899         * inspector/front-end/ResourceUtils.js:
2900         (WebInspector.contentAsDataURL):
2901
2902 2012-10-11  Christophe Dumez  <christophe.dumez@intel.com>
2903
2904         Regression(r131058): Broke EFL build
2905         https://bugs.webkit.org/show_bug.cgi?id=99079
2906
2907         Unreviewed build fix.
2908
2909         Use iterator::value instead of iterator::second to fix
2910         build break after r131058.
2911
2912         * platform/graphics/freetype/SimpleFontDataFreeType.cpp:
2913         (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
2914
2915 2012-10-11  Mihai Balan  <mibalan@adobe.com>
2916
2917         Always enable the experiments tab for WebKit nightly
2918
2919         Web Inspector: Enabling experiments tab in WebKit nightly.
2920         https://bugs.webkit.org/show_bug.cgi?id=98923
2921
2922         Reviewed by Pavel Feldman.
2923
2924         Enabling Web Inspector experiments tab in WebKit nightly. This is done by adding a new
2925         Preference key, Preferences.experimentsEnabled. Default values are true for WebKit and false
2926         for Chromium. They can also be overridden as before (in Chromium)
2927
2928         * inspector/front-end/Settings.js:
2929         (WebInspector.ExperimentsSettings.prototype.get experimentsEnabled):
2930
2931 2012-10-11  Hayato Ito  <hayato@chromium.org>
2932
2933         Support re-projection for Shadow DOM.
2934         https://bugs.webkit.org/show_bug.cgi?id=97151
2935
2936         Reviewed by Dimitri Glazkov.
2937
2938         Update node distribution algorithm so that nodes can be re-projected to insertion points
2939         in nested shadow subtree.
2940
2941         See the latest Shadow DOM spec for what 're-projected' means:
2942         - http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html
2943         Also see the related W3C bug:
2944         - http://www.w3.org/Bugs/Public/show_bug.cgi?id=18513
2945
2946         Since this change breaks existing behavior, we have to update several code at once, which includes:
2947         - ContentDistributer: ContentDistributor now re-projects distributed nodes.
2948         - ComposedShadowTreeWalker: ComposedShadowTreeWalker is now aware of re-projection. That can
2949           resolve re-projection transparently.
2950         - AncestorChainWalker (formerly named ComposedShadowTreeParentWallker):
2951           AncestorChainWalker is now aware of re-projection. I've also added a crossingInsertionPoint()
2952           member function so that clients of the walker can know whether the walker is just crossing
2953           insertion points for a re-projected node.
2954         - EventDispatcher: EventDispatcher now uses the updated AncestorChainWalker and its
2955           crossingInsertionPoint() so that EventDispatcher can compute relative target for each ancestor correctly.
2956
2957         I've also updated existing layout tests and added some layout tests for re-projection.
2958         Re-projection for multiple shadow root is not supported yet. I'll address that in another bug.
2959
2960         Tests: fast/dom/shadow/composed-shadow-tree-walker.html
2961                fast/dom/shadow/shadow-dom-event-dispatching.html
2962                fast/dom/shadow/shadowdom-reprojection-1.html
2963                fast/dom/shadow/shadowdom-reprojection-2.html
2964
2965         * dom/ComposedShadowTreeWalker.cpp:
2966         (WebCore::resolveReprojection):
2967         (WebCore):
2968         (WebCore::ComposedShadowTreeWalker::traverseSiblingOrBackToInsertionPoint):
2969         (WebCore::ComposedShadowTreeWalker::traverseParent):
2970         (WebCore::AncestorChainWalker::AncestorChainWalker):
2971         (WebCore::AncestorChainWalker::parent):
2972         * dom/ComposedShadowTreeWalker.h:
2973         (AncestorChainWalker):
2974         (WebCore::AncestorChainWalker::crossingInsertionPoint):
2975         * dom/EventDispatcher.cpp:
2976         (WebCore::EventRelatedTargetAdjuster::adjust):
2977         (WebCore::EventDispatcher::ensureEventAncestors):
2978         * dom/TreeScope.cpp:
2979         (WebCore::TreeScope::focusedNode):
2980         * html/HTMLLIElement.cpp:
2981         (WebCore::HTMLLIElement::attach):
2982         * html/shadow/ContentDistributor.cpp:
2983         (WebCore::ContentDistributor::distribute):
2984         * page/EventHandler.cpp:
2985         (WebCore::EventHandler::updateMouseEventTargetNode):
2986
2987 2012-10-11  Shinya Kawanaka  <shinyak@chromium.org>
2988
2989         Make ContentSelectorQuery work when siblings are passed explicitly.
2990         https://bugs.webkit.org/show_bug.cgi?id=96990
2991
2992         Reviewed by Dimitri Glazkov.
2993
2994         When we implement content reprojection in ShadowDOM, we have to pass a node pool to SelectorChecker.
2995         We introdue ShadowDOMSiblingTraversalStrategy, which traverses a node pool instead of real node siblings.
2996
2997         Since ContentSelector is a very hot place, we don't want to regress performance. In the previous patch,
2998         we've make ContentSelector::checkOneSelector template to take SiblingTraversalStrategy as an argument.
2999
3000         We also move DOMSiblingTraversalStrategy to SiblingTraversalStrategies.h.
3001
3002         * GNUmakefile.list.am:
3003         * Target.pri:
3004         * WebCore.gypi:
3005         * WebCore.vcproj/WebCore.vcproj:
3006         * WebCore.xcodeproj/project.pbxproj:
3007         * css/SelectorChecker.cpp:
3008         (WebCore):
3009         * css/SelectorChecker.h:
3010         * css/SiblingTraversalStrategies.h: Added.
3011         (WebCore):
3012         (DOMSiblingTraversalStrategy): Moved from SelectorChecker.
3013         (WebCore::DOMSiblingTraversalStrategy::isFirstChild):
3014         (WebCore::DOMSiblingTraversalStrategy::isLastChild):
3015         (WebCore::DOMSiblingTraversalStrategy::isFirstOfType):
3016         (WebCore::DOMSiblingTraversalStrategy::isLastOfType):
3017         (WebCore::DOMSiblingTraversalStrategy::countElementsBefore):
3018         (WebCore::DOMSiblingTraversalStrategy::countElementsOfTypeBefore):
3019         (WebCore::DOMSiblingTraversalStrategy::countElementsAfter):
3020         (WebCore::DOMSiblingTraversalStrategy::countElementsOfTypeAfter):
3021         (WebCore::ShadowDOMSiblingTraversalStrategy::ShadowDOMSiblingTraversalStrategy):
3022         (ShadowDOMSiblingTraversalStrategy): SiblingTraversalStrategy which uses a node pool instead of a real element
3023         siblings. This strategy takes a vector of node which we traverse.
3024         (WebCore::ShadowDOMSiblingTraversalStrategy::isFirstChild):
3025         (WebCore::ShadowDOMSiblingTraversalStrategy::isLastChild):
3026         (WebCore::ShadowDOMSiblingTraversalStrategy::isFirstOfType):
3027         (WebCore::ShadowDOMSiblingTraversalStrategy::isLastOfType):
3028         (WebCore::ShadowDOMSiblingTraversalStrategy::countElementsBefore):
3029         (WebCore::ShadowDOMSiblingTraversalStrategy::countElementsAfter):
3030         (WebCore::ShadowDOMSiblingTraversalStrategy::countElementsOfTypeBefore):
3031         (WebCore::ShadowDOMSiblingTraversalStrategy::countElementsOfTypeAfter):
3032         * css/StyleResolver.cpp:
3033         * html/shadow/ContentDistributor.cpp:
3034         (WebCore::ContentDistributor::distributeSelectionsTo):
3035         * html/shadow/ContentSelectorQuery.cpp: Uses ShadowDOMSiblingTraversalStrategy instead of DOMSiblingTraversalStrategy.
3036         (WebCore::ContentSelectorChecker::ContentSelectorChecker):
3037         (WebCore):
3038         (WebCore::ContentSelectorChecker::checkContentSelector):
3039         (WebCore::ContentSelectorDataList::initialize):
3040         (WebCore::ContentSelectorDataList::matches):
3041         (WebCore::ContentSelectorQuery::ContentSelectorQuery):
3042         (WebCore::ContentSelectorQuery::matches):
3043         * html/shadow/ContentSelectorQuery.h:
3044         (ContentSelectorChecker):
3045         (WebCore):
3046         (ContentSelectorDataList):
3047         (ContentSelectorQuery):
3048
3049 2012-10-11  Balazs Kelemen  <kbalazs@webkit.org>
3050
3051         [Qt] GraphicsContextPlatformPrivate is leaking it's ShadowBlur
3052         https://bugs.webkit.org/show_bug.cgi?id=99073
3053
3054         Reviewed by Noam Rosenthal.
3055
3056         Stop leaking GraphicsContextPlatformPrivate::shadow.
3057
3058         No change in behavior so no new tests.
3059
3060         * platform/graphics/qt/GraphicsContextQt.cpp:
3061         (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
3062         Always destroy shadow. It is obviously owned by the context so it has
3063         nothing to do with the erly return.
3064
3065 2012-10-11  Joshua Bell  <jsbell@chromium.org>
3066
3067         WebIDL: overloaded methods prevent number -> string conversion
3068         https://bugs.webkit.org/show_bug.cgi?id=85326
3069
3070         Reviewed by Kentaro Hara.
3071
3072         Make the default behavior for overloaded methods matching DOMString arguments match the
3073         default behavior for non-overloaded methods, which more closely matches the WebIDL spec.
3074         Enable legacy behavior of only matching undefined/null/string/object(and not number,
3075         boolean, etc) via the StrictTypeChecking attribute.
3076
3077         Tests: storage/indexeddb/cursor-overloads.html
3078                storage/indexeddb/legacy-constants.html
3079                ... and run-bindings-tests
3080
3081         * Modules/indexeddb/IDBCursor.cpp:
3082         (WebCore::IDBCursor::stringToDirection): Handle "0"..."4" as stringified legacy constants.
3083         * Modules/indexeddb/IDBCursor.h:
3084         * Modules/indexeddb/IDBDatabase.cpp: Remove redundant overloads.
3085         (WebCore::IDBDatabase::transaction): Remove redundant overloads.
3086         * Modules/indexeddb/IDBDatabase.h:
3087         (IDBDatabase):
3088         * Modules/indexeddb/IDBDatabase.idl: Remove redundant overloads.
3089         * Modules/indexeddb/IDBIndex.cpp: Remove redundant overloads.
3090         (WebCore::IDBIndex::openCursor):
3091         (WebCore::IDBIndex::openKeyCursor):
3092         * Modules/indexeddb/IDBIndex.h: Remove redundant overloads.
3093         (IDBIndex):
3094         * Modules/indexeddb/IDBIndex.idl: Remove redundant overloads.
3095         * Modules/indexeddb/IDBObjectStore.cpp: Remove redundant overloads.
3096         (WebCore::IDBObjectStore::openCursor):
3097         * Modules/indexeddb/IDBObjectStore.h: Remove redundant overloads.
3098         (IDBObjectStore):
3099         * Modules/indexeddb/IDBObjectStore.idl: Remove redundant overloads.
3100         * Modules/indexeddb/IDBTransaction.cpp:
3101         (WebCore::IDBTransaction::stringToMode): Handle "0"..."4" as stringified legacy constants.
3102         * Modules/indexeddb/IDBTransaction.h:
3103         * bindings/scripts/CodeGeneratorJS.pm: Check for StrictTypeChecking attribute.
3104         (GenerateParametersCheckExpression):
3105         * bindings/scripts/CodeGeneratorV8.pm: Ditto.
3106         (GenerateParametersCheckExpression):
3107         * bindings/scripts/test/JS/JSTestObj.cpp: Rebaselined.
3108         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod11):
3109         (WebCore):
3110         (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
3111         * bindings/scripts/test/TestObj.idl: Added [StrictTypeChecking] to DOMString overloads,
3112         plus a new DOMString overload w/o it.
3113         * bindings/scripts/test/V8/V8TestObj.cpp: Rebaselined.
3114         (WebCore::TestObjV8Internal::overloadedMethod11Callback):
3115         (TestObjV8Internal):
3116         (WebCore::TestObjV8Internal::overloadedMethodCallback):
3117         * html/canvas/CanvasRenderingContext2D.idl: Tag legacy overloads with [StrictTypeChecking].
3118         * xml/XMLHttpRequest.idl: Ditto.
3119
3120 2012-10-11  Justin Novosad  <junov@chromium.org>
3121
3122         [Chromium][Mac] r130994 seems to break chromium gpu test
3123         https://bugs.webkit.org/show_bug.cgi?id=98995
3124
3125         Reviewed by Stephen White.
3126
3127         Removing unnecessary assertion that was based on an invalid assumption
3128         that 2d canvas draw operations were always called from within WebThread
3129         tasks.
3130
3131         Test: Canvas2DAllowed chromium gpu_test
3132
3133         * platform/graphics/chromium/Canvas2DLayerManager.cpp:
3134         (WebCore::Canvas2DLayerManager::willProcessTask):
3135
3136 2012-10-11  Kenichi Ishibashi <bashi@chromium.org>
3137
3138         REGRESSION(130231): Causes 3 complex font test failures on EFL / Harfbuzz+Freetype
3139         https://bugs.webkit.org/show_bug.cgi?id=98247
3140
3141         Reviewed by Kenneth Rohde Christiansen.
3142
3143         Implement canRenderCombiningCharacterSequence() for the Freetype case.
3144
3145         No new tests, covered by existing tests. Actually the lack of the implementation made
3146         fast/text/atsui-multiple-renderers.html,  fast/text/atsui-spacing-features.html and
3147         fast/text/wide-zero-width-space.html fail on EFL.
3148
3149         * platform/graphics/freetype/SimpleFontDataFreeType.cpp: Implement canRenderCombiningCharacterSequence().
3150         (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
3151
3152 2012-10-11  Keishi Hattori  <keishi@webkit.org>
3153
3154         F4 key should open the picker popup on Windows and Linux
3155         https://bugs.webkit.org/show_bug.cgi?id=98754
3156
3157         Reviewed by Kent Tamura.
3158
3159         On Windows, F4 key is used to open the combo box popup. We will introduce the same keybinding for picker popups.
3160
3161         Added test to calendar-picker-key-operations.html, date-suggestion-picker-key-operations.html, time-suggestion-picker-key-operations.html.
3162
3163         * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
3164         (WebCore::BaseMultipleFieldsDateAndTimeInputType::handleKeydownEvent): Open picker on F4 key if it is enabled.
3165         * rendering/RenderTheme.cpp:
3166         (WebCore::RenderTheme::shouldOpenPickerWithF4Key): Returns true if we want to enable the F4 key binding on this platform. Return false for default.
3167         (WebCore):
3168         * rendering/RenderTheme.h:
3169         (RenderTheme):
3170         * rendering/RenderThemeChromiumLinux.cpp:
3171         (WebCore::RenderThemeChromiumLinux::shouldOpenPickerWithF4Key): Returns true.
3172         (WebCore):
3173         * rendering/RenderThemeChromiumLinux.h:
3174         * rendering/RenderThemeChromiumWin.cpp:
3175         (WebCore):
3176         (WebCore::RenderThemeChromiumWin::shouldOpenPickerWithF4Key): Returns true.
3177         * rendering/RenderThemeChromiumWin.h:
3178         (RenderThemeChromiumWin):
3179
3180 2012-10-11  John J. Barton  <johnjbarton@chromium.org>
3181
3182         Web Inspector: Zebra stripe the console
3183         https://bugs.webkit.org/show_bug.cgi?id=98701
3184
3185         Reviewed by Pavel Feldman.
3186
3187         Add .console-message:hover rule to lightly highlight the message line.
3188
3189         * inspector/front-end/inspector.css:
3190         (.console-message:hover):
3191
3192 2012-10-11  Vsevolod Vlasov  <vsevik@chromium.org>
3193
3194         Web Inspector: Filter out embedder injected content scripts
3195         https://bugs.webkit.org/show_bug.cgi?id=99039
3196
3197         Reviewed by Yury Semikhatsky.
3198
3199         * inspector/front-end/NetworkUISourceCodeProvider.js:
3200         (WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource):
3201
3202 2012-10-11  Pavel Feldman  <pfeldman@chromium.org>
3203
3204         Not reviewed: revert 131004, 131012, 131016, 131042, 131043 for breaking inspector console
3205         https://bugs.webkit.org/show_bug.cgi?id=99042
3206
3207         One can't type in the inspector console after 131004.
3208
3209         * CMakeLists.txt:
3210         * GNUmakefile.list.am:
3211         * Target.pri:
3212         * WebCore.gypi:
3213         * WebCore.vcproj/WebCore.vcproj:
3214         * WebCore.xcodeproj/project.pbxproj:
3215         * dom/DOMAllInOne.cpp:
3216         * dom/Element.cpp:
3217         (WebCore::Element::attach):
3218         (WebCore::Element::detach):
3219         (WebCore::Element::recalcStyle):
3220         * dom/Element.h:
3221         (WebCore):
3222         (Element):
3223         * dom/ElementRareData.h:
3224         (ElementRareData):
3225         * dom/Node.cpp:
3226         (WebCore::checkAcceptChild):
3227         * dom/Node.h:
3228         (Node):
3229         * dom/NodeRenderingContext.cpp:
3230         (WebCore::NodeRenderingContext::nextRenderer):
3231         * dom/PseudoElement.cpp: Removed.
3232         * dom/PseudoElement.h: Removed.
3233         * rendering/HitTestResult.cpp:
3234         (WebCore::HitTestResult::setInnerNode):
3235         (WebCore::HitTestResult::setInnerNonSharedNode):
3236         * rendering/RenderBlock.cpp:
3237         (WebCore::RenderBlock::styleDidChange):
3238         (WebCore::RenderBlock::updateBeforeAfterContent):
3239         (WebCore):
3240         (WebCore::RenderBlock::splitBlocks):
3241         (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
3242         (WebCore::RenderBlock::createReplacementRunIn):
3243         (WebCore::RenderBlock::renderName):
3244         * rendering/RenderBlock.h:
3245         (RenderBlock):
3246         * rendering/RenderButton.cpp:
3247         (WebCore::RenderButton::updateBeforeAfterContent):
3248         (WebCore):
3249         * rendering/RenderButton.h:
3250         (RenderButton):
3251         * rendering/RenderCounter.cpp:
3252         (WebCore::RenderCounter::originalText):
3253         * rendering/RenderDeprecatedFlexibleBox.cpp:
3254         (WebCore::RenderDeprecatedFlexibleBox::renderName):
3255         * rendering/RenderGrid.cpp:
3256         (WebCore::RenderGrid::renderName):
3257         * rendering/RenderInline.cpp:
3258         (WebCore::RenderInline::styleDidChange):
3259         (WebCore::RenderInline::addChildIgnoringContinuation):
3260         (WebCore::RenderInline::splitInlines):
3261         (WebCore::RenderInline::renderName):
3262         * rendering/RenderListItem.cpp:
3263         (WebCore::RenderListItem::updateMarkerLocation):
3264         * rendering/RenderMultiColumnBlock.cpp:
3265         (WebCore::RenderMultiColumnBlock::renderName):
3266         * rendering/RenderObject.cpp:
3267         (WebCore::RenderObject::createObject):
3268         * rendering/RenderObject.h:
3269         (WebCore::RenderObject::generatingNode):
3270         * rendering/RenderObjectChildList.cpp:
3271         (WebCore):
3272         (WebCore::findBeforeAfterParent):
3273         (WebCore::RenderObjectChildList::updateBeforeAfterStyle):
3274         (WebCore::createRendererForBeforeAfterContent):
3275         (WebCore::ensureBeforeAfterContainer):
3276         (WebCore::RenderObjectChildList::updateBeforeAfterContent):
3277         * rendering/RenderObjectChildList.h:
3278         (RenderObjectChildList):
3279         * rendering/RenderRubyText.cpp:
3280         (WebCore::RenderRubyText::updateBeforeAfterContent):
3281         (WebCore):
3282         * rendering/RenderRubyText.h:
3283         (RenderRubyText):
3284         * rendering/RenderTableCell.h:
3285         (WebCore::RenderTableCell::renderName):
3286         * rendering/RenderTableRow.cpp:
3287         (WebCore::RenderTableRow::updateBeforeAndAfterContent):
3288         (WebCore):
3289         (WebCore::RenderTableRow::styleDidChange):
3290         * rendering/RenderTableRow.h:
3291         (RenderTableRow):
3292         (WebCore::RenderTableRow::renderName):
3293         * rendering/RenderTableSection.cpp:
3294         (WebCore::RenderTableSection::addChild):
3295         * rendering/RenderTableSection.h:
3296         (WebCore::RenderTableSection::renderName):
3297         * rendering/RenderTreeAsText.cpp:
3298         (WebCore::RenderTreeAsText::writeRenderObject):
3299
3300 2012-10-11  Arpita Bahuguna  <arpitabahuguna@gmail.com>
3301
3302         REGRESSION (r96393): In some cases, generated content is never shown
3303         https://bugs.webkit.org/show_bug.cgi?id=88196
3304
3305         Reviewed by Antti Koivisto.
3306
3307         Elements with style specified from an attribute selector in conjunction
3308         with a pseudo-element should not take on the shared style of their
3309         previous matching sibling (if any).
3310
3311         The problem here is that an attribute selector appended by a pseudo-element
3312         does not return any matched rules for the call (matchesRuleSet(m_uncommonAttributeRuleSet.get()))
3313         in StyleResolver::locateSharedStyle().
3314
3315         This is because of the way pseudo-elements are handled in
3316         SelectorChecker::checkSelector(). For a pseudo-element selector we check
3317         for the condition (!context.elementStyle && m_mode == ResolvingStyle) and
3318         since for this particular flow the SelectorChecker mode is set to ResolvingStyle
3319         and since the current element's style is still not available we fail this
3320         initial check and return SelectorFailsLocally from checkSelector(). This is
3321         incorrect behavior since the element does have an attribute selector specified
3322         for it.
3323
3324         Have thus introduced another enum value: SharingRules for SelectorChecker's Mode.
3325         SelectorChecker's mode should be set to SharingRules before making the
3326         call to collectMatchingRules() and then reset (back to ResolvingStyle) thereafter.
3327
3328         Existing Mode value: CollectingRules although appropriate cannot be used in this
3329         scenario because we also don't want to set any value to dynamicPseudo for this flow.
3330
3331         Test: fast/selectors/style-sharing-attribute-selector-with-pseudo-element.html
3332
3333         * css/SelectorChecker.cpp:
3334         (WebCore::SelectorChecker::checkSelector):
3335         Added additional check for SelectorChecker's mode: SharingRules when
3336         trying to match for the pseudo-element selector.
3337
3338         * css/SelectorChecker.h:
3339         Added SharingRules to Mode enum.
3340
3341         * css/StyleResolver.cpp:
3342         (WebCore::StyleResolver::styleSharingCandidateMatchesRuleSet):
3343         (WebCore::StyleResolver::locateSharedStyle):
3344         * css/StyleResolver.h:
3345         (StyleResolver):
3346         Renamed matchesRuleSet() to a more descriptive styleSharingCandidateMatchesRuleSet().
3347         Also, setting the SelectorChecker's mode to SharingRules before calling
3348         on collectMatchingRules() from styleSharingCandidateMatchesRuleSet().
3349
3350 2012-10-11  Shinya Kawanaka  <shinyak@chromium.org>
3351
3352         Some shadow roots are not showing up in Inspector.
3353         https://bugs.webkit.org/show_bug.cgi?id=88251
3354
3355         Reviewed by Pavel Feldman.
3356
3357         When an element has only text node, its shadow root is not showing up in Inspector, since
3358         child text is shown in oneline. We had to prevent from inlining child text when a shadow root is
3359         added.
3360
3361         Test: inspector/elements/shadow-root.html
3362
3363         * inspector/front-end/DOMAgent.js:
3364         (WebInspector.DOMNode):
3365         (WebInspector.DOMNode.prototype.hasShadowRoots):
3366         * inspector/front-end/ElementsTreeOutline.js:
3367
3368 2012-10-11  Allan Sandfeld Jensen  <allan.jensen@digia.com>
3369
3370         [Qt] More responsive scroll animations
3371         https://bugs.webkit.org/show_bug.cgi?id=99016
3372
3373         Reviewed by Jocelyn Turcotte.
3374
3375         Changes the scrolling animations so they accelerate faster than they deccelerate,
3376         making the animation respond faster to user input.
3377
3378         * platform/ScrollAnimatorNone.cpp:
3379         (WebCore::ScrollAnimatorNone::parametersForScrollGranularity):
3380         * platform/ScrollAnimatorNone.h:
3381         (ScrollAnimatorNone):
3382
3383 2012-10-11  Alexander Shalamov  <alexander.shalamov@intel.com>
3384
3385         [CSS3 Media Queries] Aspect ratio value re-parsed when media query expression is evaluated
3386         https://bugs.webkit.org/show_bug.cgi?id=99003
3387
3388         Reviewed by Kenneth Rohde Christiansen.
3389
3390         Use CSSAspectRatioValue instead of CSSValueList to store aspect ratio value
3391         in order to avoid re-parsing of aspect ratio data during media expression evaluation.
3392
3393         test: fast/media/w3c/test_media_queries.html
3394
3395         * css/MediaQueryEvaluator.cpp:
3396         (WebCore::compareAspectRatioValue):
3397         (WebCore):
3398         (WebCore::aspect_ratioMediaFeatureEval):
3399         (WebCore::device_aspect_ratioMediaFeatureEval):
3400         * css/MediaQueryExp.cpp:
3401         (WebCore::MediaQueryExp::MediaQueryExp):
3402
3403 2012-10-11  Zeno Albisser  <zeno@webkit.org>
3404
3405         [Qt] Implement GraphicsSurfaceToken to replace uint64_t as token type.
3406         https://bugs.webkit.org/show_bug.cgi?id=98501
3407
3408         Replace the token type for GraphicsSurface with a new class GraphicsSurfaceToken.
3409         This is necessary in order to implement GraphicsSurface for Windows.
3410         Depending on the platform a GraphicsSurfaceToken might contain a
3411         WindowID (Linux/GLX), two IOSurfaceIDs (Mac) or in the future two HANDLEs (Windows).
3412         The simple uint64_t is not sufficient anymore, since a single HANDLE in windows
3413         can be 64bit already.
3414
3415         Reviewed by Noam Rosenthal.
3416
3417         * Target.pri:
3418         * platform/graphics/qt/GraphicsContext3DQt.cpp:
3419         (GraphicsContext3DPrivate):
3420         (WebCore::GraphicsContext3DPrivate::graphicsSurfaceToken):
3421         * platform/graphics/surfaces/GraphicsSurface.cpp:
3422         (WebCore::GraphicsSurface::create):
3423         (WebCore::GraphicsSurface::exportToken):
3424         * platform/graphics/surfaces/GraphicsSurface.h:
3425         (GraphicsSurface):
3426         * platform/graphics/surfaces/GraphicsSurfaceToken.h: Added.
3427         (WebCore):
3428         (GraphicsSurfaceToken):
3429         (WebCore::GraphicsSurfaceToken::GraphicsSurfaceToken):
3430         (WebCore::GraphicsSurfaceToken::operator!=):
3431         (WebCore::GraphicsSurfaceToken::isValid):
3432         * platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
3433         (WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
3434         (WebCore::GraphicsSurfacePrivate::token):
3435         (GraphicsSurfacePrivate):
3436         (WebCore::GraphicsSurface::platformExport):
3437         (WebCore::GraphicsSurface::platformImport):
3438         * platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp:
3439         (WebCore::GraphicsSurface::platformExport):
3440         (WebCore::GraphicsSurface::platformImport):
3441         * platform/graphics/texmap/TextureMapperBackingStore.cpp:
3442         (WebCore::TextureMapperSurfaceBackingStore::setGraphicsSurface):
3443         (WebCore::TextureMapperSurfaceBackingStore::setSurface):
3444         * platform/graphics/texmap/TextureMapperBackingStore.h:
3445         (TextureMapperSurfaceBackingStore):
3446         (WebCore::TextureMapperSurfaceBackingStore::TextureMapperSurfaceBackingStore):
3447         * platform/graphics/texmap/TextureMapperPlatformLayer.h:
3448         (WebCore::TextureMapperPlatformLayer::graphicsSurfaceToken):
3449
3450 2012-10-11  Alexander Pavlov  <apavlov@chromium.org>
3451
3452         Web Inspector: [Elements] Breadcrumbs are not updated upon involved elements' className changes
3453         https://bugs.webkit.org/show_bug.cgi?id=98887
3454
3455         Reviewed by Vsevolod Vlasov.
3456
3457         Breadcrumbs should be updated upon the "class" and "id" attribute changes of elements participating in the breadcrumb path.
3458
3459         Test: inspector/elements/breadcrumb-updates.html
3460
3461         * inspector/front-end/ElementsPanel.js:
3462         (WebInspector.ElementsPanel):
3463         (WebInspector.ElementsPanel.prototype._updateBreadcrumbIfNeeded):
3464
3465 2012-10-11  Kunihiko Sakamoto  <ksakamoto@chromium.org>
3466
3467         Final newline (LF or CRLF) in paste buffer is converted to space
3468         https://bugs.webkit.org/show_bug.cgi?id=80838