Unreviewed, rolling out r251558.
[WebKit-https.git] / Source / WebCore / ChangeLog
1 2019-10-24  Matt Lewis  <jlewis3@apple.com>
2
3         Unreviewed, rolling out r251558.
4
5         This broke internal builds
6
7         Reverted changeset:
8
9         "Add a mechanism to find and manipulate text by paragraphs"
10         https://bugs.webkit.org/show_bug.cgi?id=203286
11         https://trac.webkit.org/changeset/251558
12
13 2019-10-24  Commit Queue  <commit-queue@webkit.org>
14
15         Unreviewed, rolling out r251269, r251294, and r251328.
16         https://bugs.webkit.org/show_bug.cgi?id=203384
17
18         Probably made many animation tests flaky (Requested by rniwa
19         on #webkit).
20
21         Reverted changesets:
22
23         "Integrate resize event with HTML5 event loop"
24         https://bugs.webkit.org/show_bug.cgi?id=202964
25         https://trac.webkit.org/changeset/251269
26
27         "Flaky Test: fast/events/resize-subframe-in-rendering-
28         update.html"
29         https://bugs.webkit.org/show_bug.cgi?id=203140
30         https://trac.webkit.org/changeset/251294
31
32         "Flaky Test: fast/events/resize-subframe-in-rendering-
33         update.html"
34         https://bugs.webkit.org/show_bug.cgi?id=203140
35         https://trac.webkit.org/changeset/251328
36
37 2019-10-23  Ryosuke Niwa  <rniwa@webkit.org>
38
39         Add a mechanism to find and manipulate text by paragraphs
40         https://bugs.webkit.org/show_bug.cgi?id=203286
41
42         Reviewed by Wenson Hsieh.
43
44         This patch introduces TextManipulationController which allows WebKit clients to find and replace
45         text content in a given document by paragraph boundary. For now, TextManipulationController finds
46         all paragraphs in the document and invokes the callback for each paragraph. In the future, this
47         controller will support detecting removal and insertion of new content to the document.
48
49         Tests: TextManipulation.StartTextManipulationFindSimpleParagraphs
50                TextManipulation.StartTextManipulationFindParagraphsWithMultileTokens
51                TextManipulation.CompleteTextManipulationShouldReplaceSimpleParagraphContent
52                TextManipulation.CompleteTextManipulationShouldFailWhenContentIsChanged
53                TextManipulation.CompleteTextManipulationShouldFailWhenDocumentHasBeenNavigatedAway
54
55         * Headers.cmake:
56         * Sources.txt:
57         * WebCore.xcodeproj/project.pbxproj:
58         * dom/Document.cpp:
59         (WebCore::Document::prepareForDestruction): Clear TextManipulationController. Otherwise m_items
60         in TextManipulationController may keep a bunch of nodes alive and not let this document destructed.
61         (WebCore::Document::textManipulationController): Added.
62         * dom/Document.h:
63         (WebCore::Document::textManipulationControllerIfExists): Added.
64         * editing/TextManipulationController.cpp: Added.
65         (WebCore::TextManipulationController::TextManipulationController): Added.
66         (WebCore::TextManipulationController::startObservingParagraphs): Finds all pargraphs and invoke
67         the callback.
68         (WebCore::TextManipulationController::addItem): Added. A helper for startObservingParagraphs.
69         (WebCore::TextManipulationController::completeManipulation): Added.
70         (WebCore::TextManipulationController::replace): Added. A helper for completeManipulation.
71         * editing/TextManipulationController.h: Added.
72         (WebCore::TextManipulationController::ManipulationToken::encode const): Added.
73         (WebCore::TextManipulationController::ManipulationToken::decode): Added.
74
75 2019-10-24  Zalan Bujtas  <zalan@apple.com>
76
77         [LFC][IFC] Add support for partial leading and trailing content
78         https://bugs.webkit.org/show_bug.cgi?id=203375
79
80         Reviewed by Antti Koivisto.
81
82         This patch adds support for splitting text content across multiple lines when needed.
83         It also supports complex cases when the text content spreads across multiple inline level boxes with different word-break values e.g.
84         <span style="word-break: keep-all">donotsplitthiscontent</span><span style="word-break: break-all">splitthiscontent</span>
85         would produce something like this with certain constraints.
86                                 -> | <- available width
87         "donotsplitthiscontentsplit
88         thiscontent"
89
90         * layout/inlineformatting/InlineFormattingContext.cpp:
91         (WebCore::Layout::InlineFormattingContext::lineLayout):
92         (WebCore::Layout::InlineFormattingContext::computedIntrinsicWidthForConstraint const):
93         * layout/inlineformatting/InlineLineBreaker.cpp:
94         (WebCore::Layout::LineBreaker::breakingContextForInlineContent):
95         (WebCore::Layout::LineBreaker::shouldWrapFloatBox):
96         (WebCore::Layout::LineBreaker::wordBreakingBehavior const):
97         (WebCore::Layout::LineBreaker::tryBreakingTextRun const):
98         (WebCore::Layout::LineBreaker::breakingContext): Deleted.
99         (WebCore::Layout::LineBreaker::breakingContextForFloat): Deleted.
100         * layout/inlineformatting/InlineLineBreaker.h:
101         * layout/inlineformatting/InlineLineLayout.cpp:
102         (WebCore::Layout::LineLayout::LineInput::LineInput):
103         (WebCore::Layout::LineLayout::layout):
104         (WebCore::Layout::LineLayout::close):
105         (WebCore::Layout::LineLayout::placeInlineItem):
106         (WebCore::Layout::LineLayout::processUncommittedContent):
107         (WebCore::Layout::LineLayout::shouldProcessUncommittedContent const):
108         (WebCore::Layout::LineLayout::UncommittedContent::trim):
109         * layout/inlineformatting/InlineLineLayout.h:
110         * layout/inlineformatting/InlineTextItem.cpp:
111         (WebCore::Layout::InlineTextItem::left const):
112         (WebCore::Layout::InlineTextItem::right const):
113         (WebCore::Layout::InlineTextItem::split const): Deleted.
114         * layout/inlineformatting/InlineTextItem.h:
115
116 2019-10-24  Alex Christensen  <achristensen@webkit.org>
117
118         Pass CORS-enabled schemes through WebProcess instead of having them NetworkProcess-global
119         https://bugs.webkit.org/show_bug.cgi?id=202891
120
121         Reviewed by Youenn Fablet.
122
123         * platform/LegacySchemeRegistry.cpp:
124         (WebCore::LegacySchemeRegistry::registerURLSchemeAsCORSEnabled):
125         (WebCore::LegacySchemeRegistry::shouldTreatURLSchemeAsCORSEnabled):
126         (WebCore::LegacySchemeRegistry::allURLSchemesRegisteredAsCORSEnabled):
127         * platform/LegacySchemeRegistry.h:
128
129 2019-10-24  Andy Estes  <aestes@apple.com>
130
131         [Cocoa] Make it possible to convert SharedBuffer segments and data views to NSData without copying
132         https://bugs.webkit.org/show_bug.cgi?id=203348
133
134         Reviewed by Alex Christensen.
135
136         Added an API test.
137
138         * platform/SharedBuffer.h:
139         * platform/cocoa/SharedBufferCocoa.mm:
140         (-[WebCoreSharedBufferData initWithDataSegment:position:]):
141         (-[WebCoreSharedBufferData length]):
142         (-[WebCoreSharedBufferData bytes]):
143         (WebCore::SharedBuffer::createCFData const):
144         (WebCore::SharedBuffer::createNSDataArray const):
145         (WebCore::SharedBuffer::DataSegment::createNSData const):
146         (WebCore::SharedBufferDataView::createNSData const):
147         (-[WebCoreSharedBufferData initWithSharedBufferDataSegment:]): Deleted.
148
149 2019-10-24  Chris Dumez  <cdumez@apple.com>
150
151         FetchResponse should not prevent entering the back/forward cache
152         https://bugs.webkit.org/show_bug.cgi?id=203092
153         <rdar://problem/56554677>
154
155         Reviewed by Alex Christensen.
156
157         Drop shouldPreventEnteringBackForwardCache_DEPRECATED() in FetchResponse to allow pages to
158         enter the back/forward cache, even when the fetch response has a blob loader. r251495
159         already made this safe by updating the FetchBodyOwner parent class to not resolve promises
160         while in the back/forward cache.
161
162         Test: fast/history/page-cache-active-fetch-response-blobReadAsBlob.html
163
164         * Modules/fetch/FetchResponse.cpp:
165         (WebCore::FetchResponse::shouldPreventEnteringBackForwardCache_DEPRECATED const): Deleted.
166         * Modules/fetch/FetchResponse.h:
167
168 2019-10-24  Alicia Boya GarcĂ­a  <aboya@igalia.com>
169
170         [MSE][GStreamer] Reintroduce ensureGLVideoSinkContext() fix
171         https://bugs.webkit.org/show_bug.cgi?id=201401
172
173         Reviewed by Philippe Normand.
174
175         That patch was almost mechanically reverted temporarily along the rest
176         of the WebKitMediaSrc rework. In theory that should have been OK since
177         it was supposed to fix a regression of that patch... But actually
178         the bug was already causing problems before, the WebKitMediaSrc rework
179         just exposed a more common case.
180
181         It has been reported that the same bug arises when adding some CSS
182         styles to the <video> element, and the patch fixes the issue.
183
184         And the patch actually makes sense in any case... since without it
185         some perfectly valid state transitions are not covered!
186
187         So I'm reintroducing it.
188
189         * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
190         (WebCore::MediaPlayerPrivateGStreamer::changePipelineState):
191
192 2019-10-24  Antoine Quint  <graouts@apple.com>
193
194         [Web Animations] Only process CSS properties affected by a given CSS transition
195         https://bugs.webkit.org/show_bug.cgi?id=203238
196
197         Reviewed by Simon Fraser.
198
199         When the "transition" property, or one of its longhands, would change we would iterate over every known CSS property to identify whether the before and after
200         styles showed reasons to create, modify or cancel a backing CSSTransition object. However, we only need to do this in the case where "transition-property" is
201         "all", ie. where the Animation object has its animationMode() set to Animation::AnimateAll. In all other cases, we only need to iterate over the CSS properties
202         specified by "transition-property".
203
204         We now compile a list of CSS properties to iterate over by looking at all properties listed in the "transition-property" for the before and after styles.
205
206         * animation/AnimationTimeline.cpp:
207         (WebCore::compileTransitionPropertiesInStyle):
208         (WebCore::AnimationTimeline::updateCSSTransitionsForElementAndProperty):
209         (WebCore::AnimationTimeline::updateCSSTransitionsForElement):
210         * animation/AnimationTimeline.h:
211
212 2019-10-24  youenn fablet  <youenn@apple.com>
213
214         XMLHttpRequest.responseXML url should be the HTTP response URL
215         https://bugs.webkit.org/show_bug.cgi?id=203289
216
217         Reviewed by Chris Dumez.
218
219         Follow https://xhr.spec.whatwg.org/#document-response step 9.
220         Covered by rebased tests.
221
222         * xml/XMLHttpRequest.cpp:
223
224 2019-10-24  Antti Koivisto  <antti@apple.com>
225
226         Move property cascade out of StyleResolver
227         https://bugs.webkit.org/show_bug.cgi?id=203361
228
229         Reviewed by Zalan Bujtas.
230
231         Rename StyleResolver::CascadedProperties -> Style::PropertyCascade and move it into a file of its own.
232
233         * Sources.txt:
234         * WebCore.xcodeproj/project.pbxproj:
235         * css/StyleResolver.cpp:
236         (WebCore::StyleResolver::styleForKeyframe):
237         (WebCore::StyleResolver::styleForPage):
238         (WebCore::StyleResolver::applyMatchedProperties):
239         (WebCore::StyleResolver::cascadedPropertiesForRollback):
240         (WebCore::StyleResolver::applyProperty):
241         (WebCore::StyleResolver::applyCascadedPropertiesImpl):
242         (WebCore::shouldApplyPropertyInParseOrder): Deleted.
243         (WebCore::isValidMarkerStyleProperty): Deleted.
244         (WebCore::isValidCueStyleProperty): Deleted.
245         (WebCore::StyleResolver::CascadedProperties::CascadedProperties): Deleted.
246         (WebCore::StyleResolver::CascadedProperties::hasProperty const): Deleted.
247         (WebCore::StyleResolver::CascadedProperties::property): Deleted.
248         (WebCore::StyleResolver::CascadedProperties::hasCustomProperty const): Deleted.
249         (WebCore::StyleResolver::CascadedProperties::customProperty const): Deleted.
250         (WebCore::StyleResolver::CascadedProperties::setPropertyInternal): Deleted.
251         (WebCore::StyleResolver::CascadedProperties::set): Deleted.
252         (WebCore::StyleResolver::CascadedProperties::setDeferred): Deleted.
253         (WebCore::StyleResolver::CascadedProperties::addMatch): Deleted.
254         (WebCore::declarationsForCascadeLevel): Deleted.
255         (WebCore::StyleResolver::CascadedProperties::addNormalMatches): Deleted.
256         (WebCore::hasImportantProperties): Deleted.
257         (WebCore::StyleResolver::CascadedProperties::addImportantMatches): Deleted.
258         (WebCore::StyleResolver::CascadedProperties::applyDeferredProperties): Deleted.
259         (WebCore::StyleResolver::CascadedProperties::Property::apply): Deleted.
260         * css/StyleResolver.h:
261         (WebCore::StyleResolver::State::authorRollback const):
262         (WebCore::StyleResolver::State::userRollback const):
263         (WebCore::StyleResolver::State::setAuthorRollback):
264         (WebCore::StyleResolver::State::setUserRollback):
265         (WebCore::StyleResolver::CascadedProperties::customProperties): Deleted.
266         (WebCore::StyleResolver::cascadeLevel const): Deleted.
267         (WebCore::StyleResolver::setCascadeLevel): Deleted.
268         * style/PropertyCascade.cpp: Added.
269         (WebCore::Style::shouldApplyPropertyInParseOrder):
270         (WebCore::Style::isValidMarkerStyleProperty):
271         (WebCore::Style::isValidCueStyleProperty):
272         (WebCore::Style::PropertyCascade::PropertyCascade):
273         (WebCore::Style::PropertyCascade::setPropertyInternal):
274         (WebCore::Style::PropertyCascade::set):
275         (WebCore::Style::PropertyCascade::setDeferred):
276         (WebCore::Style::PropertyCascade::addMatch):
277         (WebCore::Style::declarationsForCascadeLevel):
278         (WebCore::Style::PropertyCascade::addNormalMatches):
279         (WebCore::Style::hasImportantProperties):
280         (WebCore::Style::PropertyCascade::addImportantMatches):
281         (WebCore::Style::PropertyCascade::applyDeferredProperties):
282         (WebCore::Style::PropertyCascade::Property::apply):
283         * style/PropertyCascade.h: Added.
284         (WebCore::Style::PropertyCascade::customProperties):
285         (WebCore::Style::PropertyCascade::hasProperty const):
286         (WebCore::Style::PropertyCascade::property):
287         (WebCore::Style::PropertyCascade::hasCustomProperty const):
288         (WebCore::Style::PropertyCascade::customProperty const):
289
290 2019-10-24  Chris Dumez  <cdumez@apple.com>
291
292         AudioContext should not prevent entering the back/forward cache
293         https://bugs.webkit.org/show_bug.cgi?id=203102
294
295         Reviewed by Geoffrey Garen.
296
297         Allow pages with AudioContexts that are rendering in the back/forward cache.
298         Upon entering the back/forward cache, we suspend rendering and update IsPlaying
299         state so that the browser no longer shows the "Audio Playing" icon. Upon restoring
300         from the back/forward cache, we resume rendering and update IsPlaying state again
301         so that the browser shows the "Audio Playing" icon again. I tested it on:
302         - http://webaudioplayground.appspot.com
303
304         With regards to events dispatching, the AudioContext class is already using a
305         GenericEventQueue that properly delays event dispatching while in the back/forward
306         cache.
307
308         No new tests, updated existing test.
309
310         * Modules/webaudio/AudioContext.cpp:
311         (WebCore::AudioContext::suspend):
312         (WebCore::AudioContext::resume):
313         (WebCore::AudioContext::suspendRendering):
314         (WebCore::AudioContext::resumeRendering):
315         * Modules/webaudio/AudioContext.h:
316         * Modules/webaudio/AudioContext.idl:
317
318 2019-10-24  Antti Koivisto  <antti@apple.com>
319
320         Move MatchResult and related types out of StyleResolver
321         https://bugs.webkit.org/show_bug.cgi?id=203252
322
323         Reviewed by Zalan Bujtas.
324
325         Reverse the dependency between StyleResolver and ElementRuleCollector so that the former depends on the latter.
326         This makes the code easier to understand and enables further cleanups.
327
328         The patch also gets rid of the confusing RuleRange objects in fovor of splitting declarations from different cascade levels to separate vectors.
329         The desired cascade level is indicated with an enum instead of a range.
330
331         There is also some general modernization.
332
333         * css/ElementRuleCollector.cpp:
334         (WebCore::ElementRuleCollector::matchResult const):
335         (WebCore::ElementRuleCollector::addElementStyleProperties):
336         (WebCore::ElementRuleCollector::transferMatchedRules):
337         (WebCore::ElementRuleCollector::matchAllRules):
338         (WebCore::ElementRuleCollector::addMatchedProperties):
339         (WebCore::ElementRuleCollector::matchedResult): Deleted.
340         * css/ElementRuleCollector.h:
341         (WebCore::PseudoStyleRequest::PseudoStyleRequest):
342         (WebCore::MatchResult::isEmpty const):
343         (WebCore::operator==):
344         (WebCore::operator!=):
345         * css/PageRuleCollector.cpp:
346         (WebCore::PageRuleCollector::matchPageRules):
347         * css/PageRuleCollector.h:
348         (WebCore::PageRuleCollector::matchResult const):
349         (WebCore::PageRuleCollector::matchedResult): Deleted.
350         * css/StyleResolver.cpp:
351         (WebCore::StyleResolver::sweepMatchedPropertiesCache):
352         (WebCore::StyleResolver::styleForElement):
353         (WebCore::StyleResolver::styleForKeyframe):
354         (WebCore::StyleResolver::pseudoStyleForElement):
355         (WebCore::StyleResolver::styleForPage):
356         (WebCore::StyleResolver::computeMatchedPropertiesHash):
357         (WebCore::StyleResolver::findFromMatchedPropertiesCache):
358         (WebCore::extractDirectionAndWritingMode):
359         (WebCore::StyleResolver::applyMatchedProperties):
360         (WebCore::StyleResolver::cascadedPropertiesForRollback):
361         (WebCore::StyleResolver::CascadedProperties::addMatch):
362         (WebCore::declarationsForCascadeLevel):
363         (WebCore::StyleResolver::CascadedProperties::addNormalMatches):
364         (WebCore::StyleResolver::CascadedProperties::addImportantMatches):
365         (WebCore::StyleResolver::MatchResult::addMatchedProperties): Deleted.
366         (WebCore::operator==): Deleted.
367         (WebCore::operator!=): Deleted.
368         (WebCore::cascadeLevelForIndex): Deleted.
369         * css/StyleResolver.h:
370         (WebCore::StyleResolver::MatchedPropertiesCacheItem::MatchedPropertiesCacheItem):
371         (WebCore::PseudoStyleRequest::PseudoStyleRequest): Deleted.
372         (WebCore::StyleResolver::RuleRange::RuleRange): Deleted.
373         (WebCore::StyleResolver::MatchRanges::MatchRanges): Deleted.
374         (WebCore::StyleResolver::MatchRanges::UARuleRange): Deleted.
375         (WebCore::StyleResolver::MatchRanges::authorRuleRange): Deleted.
376         (WebCore::StyleResolver::MatchRanges::userRuleRange): Deleted.
377         (WebCore::StyleResolver::MatchResult::MatchResult): Deleted.
378         (WebCore::StyleResolver::MatchResult::matchedProperties const): Deleted.
379         (WebCore::StyleResolver::isRightPage const): Deleted.
380
381 2019-10-23  Devin Rousso  <drousso@apple.com>
382
383         Web Inspector: provide a way to inject "bootstrap" JavaScript into the page as the first script executed
384         https://bugs.webkit.org/show_bug.cgi?id=195847
385         <rdar://problem/48950551>
386
387         Reviewed by Joseph Pecoraro.
388
389         When debugging webpages, it's often useful to be able to swizzle various functions in order
390         to add extra logs for when they're called (e.g. `Event.prototype.preventDefault`). Sometimes
391         this can be difficult, such as if the page saves a copy of the function and references that
392         instead, in which case it would be helpful to have a way to guarantee that the swizzled code
393         is the first thing evaluated after the context is created.
394
395         This change adds support for that concept, which has been named Inspector Bootstrap Script.
396         Once created, it will be injected as the first user script to every new global object that
397         is created afterwards. Modifications to the Inspector Bootstrap Script take effect for all
398         new global objects created _after_ the modification happened.
399
400         Tests: inspector/page/setBootstrapScript-main-frame.html
401                inspector/page/setBootstrapScript-sub-frame.html
402
403         * inspector/agents/InspectorPageAgent.h:
404         * inspector/agents/InspectorPageAgent.cpp:
405         (WebCore::InspectorPageAgent::setBootstrapScript): Added.
406         (WebCore::InspectorPageAgent::didClearWindowObjectInWorld): Added.
407
408         * inspector/InspectorInstrumentation.cpp:
409         (WebCore::InspectorInstrumentation::didClearWindowObjectInWorldImpl):
410         * inspector/agents/page/PageDebuggerAgent.h:
411         * inspector/agents/page/PageDebuggerAgent.cpp:
412         (WebCore::PageDebuggerAgent::didClearWindowObjectInWorld): Added.
413         (WebCore::PageDebuggerAgent::didClearMainFrameWindowObject): Deleted.
414         * inspector/agents/page/PageRuntimeAgent.h:
415         * inspector/agents/page/PageRuntimeAgent.cpp:
416         (WebCore::PageRuntimeAgent::didClearWindowObjectInWorld): Added.
417         (WebCore::PageRuntimeAgent::didCreateMainWorldContext): Deleted.
418         Rename existing global object creation "notifications" for more consistency between agents.
419
420 2019-10-23  Peng Liu  <peng.liu6@apple.com>
421
422         [Picture-in-Picture Web API] Implement EnterPictureInPictureEvent support
423         https://bugs.webkit.org/show_bug.cgi?id=202616
424
425         Reviewed by Eric Carlson.
426
427         Implement the support for enterpictureinpicture and leavepictureinpicture events.
428         - Add a public method schduleEvent() to HTMLMediaElement in order to fire enterpictureinpicture
429         event which includes properties.
430         - In order to notify the observer (HTMLVideoElementPictureInPicture) after entering picture-in-picture
431         transition is completed and the picture-in-picture window size information is available,
432         we have to change setVideoFullscreenFrame() to virtual in HTMLMediaElement and implement it in
433         HTMLVideoElement to track the transition state.
434         - The PictureInPictureWindow does not need to ba an ActiveDOMObject, so it is updated accordingly.
435
436         With manual tests, the implementation passes LayoutTests/imported/w3c/web-platform-tests/picture-in-picture/enter-picture-in-picture.html
437         and LayoutTests/imported/w3c/web-platform-tests/picture-in-picture/leave-picture-in-picture.html.
438
439         * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp:
440         (WebCore::HTMLVideoElementPictureInPicture::didEnterPictureInPicture):
441         (WebCore::HTMLVideoElementPictureInPicture::didExitPictureInPicture):
442         (WebCore::HTMLVideoElementPictureInPicture::pictureInPictureWindowResized):
443         * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h:
444         * Modules/pictureinpicture/PictureInPictureWindow.cpp:
445         (WebCore::PictureInPictureWindow::PictureInPictureWindow):
446         (WebCore::PictureInPictureWindow::activeDOMObjectName const): Deleted.
447         (WebCore::PictureInPictureWindow::eventTargetInterface const): Deleted.
448         (WebCore::PictureInPictureWindow::scriptExecutionContext const): Deleted.
449         * Modules/pictureinpicture/PictureInPictureWindow.h:
450         * Modules/pictureinpicture/PictureInPictureWindow.idl:
451         * html/HTMLMediaElement.cpp:
452         (WebCore::HTMLMediaElement::scheduleEvent):
453         * html/HTMLMediaElement.h:
454         * html/HTMLVideoElement.cpp:
455         (WebCore::HTMLVideoElement::fullscreenModeChanged):
456         (WebCore::HTMLVideoElement::didBecomeFullscreenElement):
457         (WebCore::HTMLVideoElement::setVideoFullscreenFrame):
458         * html/HTMLVideoElement.h:
459         * platform/PictureInPictureObserver.h:
460
461 2019-10-23  Yusuke Suzuki  <ysuzuki@apple.com>
462
463         [JSC] Remove wasmAwareLexicalGlobalObject
464         https://bugs.webkit.org/show_bug.cgi?id=203351
465
466         Reviewed by Mark Lam.
467
468         * bindings/js/CommonVM.cpp:
469         (WebCore::lexicalFrameFromCommonVM):
470         * bindings/js/JSDOMWindowBase.cpp:
471         (WebCore::responsibleDocument):
472         * bindings/js/StructuredClone.cpp:
473         (WebCore::cloneArrayBufferImpl):
474         * dom/Document.cpp:
475         (WebCore::Document::shouldBypassMainWorldContentSecurityPolicy const):
476         * testing/Internals.cpp:
477         (WebCore::Internals::parserMetaData):
478         (WebCore::Internals::isFromCurrentWorld const):
479
480 2019-10-23  Chris Dumez  <cdumez@apple.com>
481
482         Notification should not prevent entering the back/forward cache
483         https://bugs.webkit.org/show_bug.cgi?id=203099
484         <rdar://problem/56557479>
485
486         Reviewed by Geoffrey Garen.
487
488         Notifications currently displayed were preventing a page from entering the back/forward cache.
489         Instead, we now make sure to close any visible notification upon suspension. Since closing
490         a notification will fire events, we also schedule tasks on the window event loop to fire those
491         events, instead of firing these events synchronously. The Window event loop takes care of delaying
492         those events if the document is suspended.
493
494         Test: fast/history/page-cache-notification-showing.html
495
496         * Modules/notifications/Notification.cpp:
497         (WebCore::Notification::Notification):
498         (WebCore::Notification::show):
499         (WebCore::Notification::close):
500         (WebCore::Notification::document const):
501         (WebCore::Notification::activeDOMObjectName const):
502         (WebCore::Notification::stop):
503         (WebCore::Notification::suspend):
504         (WebCore::Notification::queueTask):
505         (WebCore::Notification::dispatchShowEvent):
506         (WebCore::Notification::dispatchClickEvent):
507         (WebCore::Notification::dispatchCloseEvent):
508         (WebCore::Notification::dispatchErrorEvent):
509         * Modules/notifications/Notification.h:
510         * dom/AbstractEventLoop.h:
511
512 2019-10-23  Said Abou-Hallawa  <sabouhallawa@apple.com>
513
514         [SVG2] Fix SVGSVGElement to conform with SVG2
515         https://bugs.webkit.org/show_bug.cgi?id=203278
516
517         Reviewed by Simon Fraser.
518
519         The interface of SVGSVGElement is defined here:
520             https://www.w3.org/TR/SVG2/struct.html#InterfaceSVGSVGElement
521
522         -- Delete the viewport attribute.
523         -- Delete the attributes contentScriptType and contentStyleType.
524         -- Delete pixelUnitxxx() and screenPixelxxx() functions.
525         -- Make the SVGElement argument to checkIntersection() and 
526            checkEnclosure() be non-optional.
527
528         * svg/SVGSVGElement.cpp:
529         (WebCore::SVGSVGElement::checkIntersection):
530         (WebCore::SVGSVGElement::checkEnclosure):
531         (WebCore::SVGSVGElement::contentScriptType const): Deleted.
532         (WebCore::SVGSVGElement::setContentScriptType): Deleted.
533         (WebCore::SVGSVGElement::contentStyleType const): Deleted.
534         (WebCore::SVGSVGElement::setContentStyleType): Deleted.
535         (WebCore::SVGSVGElement::viewport const): Deleted.
536         (WebCore::SVGSVGElement::pixelUnitToMillimeterX const): Deleted.
537         (WebCore::SVGSVGElement::pixelUnitToMillimeterY const): Deleted.
538         (WebCore::SVGSVGElement::screenPixelToMillimeterX const): Deleted.
539         (WebCore::SVGSVGElement::screenPixelToMillimeterY const): Deleted.
540         (WebCore::SVGSVGElement::suspendRedraw): Deleted.
541         (WebCore::SVGSVGElement::unsuspendRedraw): Deleted.
542         (WebCore::SVGSVGElement::unsuspendRedrawAll): Deleted.
543         (WebCore::SVGSVGElement::forceRedraw): Deleted.
544         * svg/SVGSVGElement.h:
545         * svg/SVGSVGElement.idl:
546
547 2019-10-23  Chris Dumez  <cdumez@apple.com>
548
549         Unreviewed build fix after r251509.
550
551         * Modules/entriesapi/FileSystemDirectoryEntry.cpp:
552
553 2019-10-23  Yusuke Suzuki  <ysuzuki@apple.com>
554
555         [JSC] Figure out missing prepareCallOperation
556         https://bugs.webkit.org/show_bug.cgi?id=203285
557
558         Reviewed by Mark Lam.
559
560         Use JITOperationPrologueCallFrameTracer instead of NativeCallFrameTracer.
561
562         * bindings/scripts/CodeGeneratorJS.pm:
563         (GenerateOperationDefinition):
564         * bindings/scripts/test/JS/JSTestDOMJIT.cpp:
565         (WebCore::jsTestDOMJITPrototypeFunctionGetAttributeWithoutTypeCheck):
566         (WebCore::jsTestDOMJITPrototypeFunctionItemWithoutTypeCheck):
567         (WebCore::jsTestDOMJITPrototypeFunctionHasAttributeWithoutTypeCheck):
568         (WebCore::jsTestDOMJITPrototypeFunctionGetElementByIdWithoutTypeCheck):
569         (WebCore::jsTestDOMJITPrototypeFunctionGetElementsByNameWithoutTypeCheck):
570         * domjit/DOMJITHelpers.h:
571         (WebCore::DOMJIT::toWrapperSlow):
572
573 2019-10-23  Tim Horton  <timothy_horton@apple.com>
574
575         macCatalyst: Should dispatch contextmenu event on right click
576         https://bugs.webkit.org/show_bug.cgi?id=203316
577         <rdar://problem/54617376>
578
579         Reviewed by Wenson Hsieh.
580
581         macCatalyst does not have ENABLE(CONTEXT_MENUS), because it uses the
582         iOS-style platform-driven context menu API, but should still dispatch
583         the contextmenu event on right click, for pages that depend on that.
584
585         Separate ENABLE(CONTEXT_MENU_EVENT) out from ENABLE(CONTEXT_MENUS).
586
587         In the future, calling preventDefault on the contextmenu event should
588         block the platform context menu from appearing, but currently they
589         use entirely different gestures.
590
591         * page/EventHandler.cpp:
592         * page/EventHandler.h:
593         * replay/UserInputBridge.cpp:
594         * replay/UserInputBridge.h:
595
596 2019-10-23  Russell Epstein  <repstein@apple.com>
597
598         Unreviewed, rolling out r251469.
599
600         Broke accessibility/ios-simulator/link-with-images-text.html
601         on iOS
602
603         Reverted changeset:
604
605         "AX: Implement support for new ARIA roles: code, strong,
606         emphasis, generic"
607         https://bugs.webkit.org/show_bug.cgi?id=203257
608         https://trac.webkit.org/changeset/251469
609
610 2019-10-23  Chris Dumez  <cdumez@apple.com>
611
612         FileSystemDirectoryReader / FileSystemEntry should not prevent entering the back/forward cache
613         https://bugs.webkit.org/show_bug.cgi?id=203090
614         <rdar://problem/56550805>
615
616         Reviewed by Geoffrey Garen.
617
618         FileSystemDirectoryReader / FileSystemEntry no longer prevent entering the back/forward cache.
619         We now dispatch tasks to the window event loop whenever we need to call a JS callback since the
620         window event loop takes care of suspending tasks while in the back/forward cache.
621
622         Tests: editing/pasteboard/entries-api/DirectoryEntry-getFile-back-forward-cache.html
623                editing/pasteboard/entries-api/DirectoryReader-readEntries-back-forward-cache.html
624
625         * Modules/entriesapi/FileSystemDirectoryEntry.cpp:
626         (WebCore::FileSystemDirectoryEntry::getEntry):
627         * Modules/entriesapi/FileSystemDirectoryReader.cpp:
628         (WebCore::FileSystemDirectoryReader::document const):
629         (WebCore::FileSystemDirectoryReader::readEntries):
630         * Modules/entriesapi/FileSystemDirectoryReader.h:
631         * Modules/entriesapi/FileSystemEntry.cpp:
632         (WebCore::FileSystemEntry::document const):
633         (WebCore::FileSystemEntry::getParent):
634         * Modules/entriesapi/FileSystemEntry.h:
635         * Modules/entriesapi/FileSystemFileEntry.cpp:
636         (WebCore::FileSystemFileEntry::file):
637
638 2019-10-23  Myles C. Maxfield  <mmaxfield@apple.com>
639
640         [iOS] Remove Hiragino Sans site-specific quirk for Yahoo Japan
641         https://bugs.webkit.org/show_bug.cgi?id=203345
642
643         Reviewed by Simon Fraser.
644
645         This iOS-specific quirk made Yahoo Japan stop using the 800-weight
646         version of Hiragino Sans because it's too heavy. We were using the
647         800-weight because the site requests 700 but we didn't have a 700-
648         weight of Hiragino Sans. However, now in iOS 13 we do have a 700-
649         weight of Hiragino Sans, so we can just delete this quirk.
650
651         Also, it turns out that Yahoo Japan modified their content to no
652         longer hit this quirk anyway, so this patch has 0 behavior change.
653
654         Site specific quirks are untestable.
655
656         * css/CSSFontSelector.cpp:
657         (WebCore::CSSFontSelector::fontRangesForFamily):
658         * page/Quirks.cpp:
659         (WebCore::Quirks::shouldLightenJapaneseBoldSansSerif const): Deleted.
660         * page/Quirks.h:
661
662 2019-10-23  Chris Dumez  <cdumez@apple.com>
663
664         Ignore document.open/write after the active parser has been aborted
665         https://bugs.webkit.org/show_bug.cgi?id=203028
666
667         Reviewed by Geoffrey Garen.
668
669         Ignore document.open/write after the active parser has been aborted, as per:
670         - https://github.com/whatwg/html/pull/4907
671
672         Test: imported/blink/fast/loader/document-write-after-location-change.html
673
674         * dom/Document.cpp:
675         (WebCore::Document::open):
676         (WebCore::Document::cancelParsing):
677         (WebCore::Document::implicitOpen):
678         (WebCore::Document::write):
679         * dom/Document.h:
680
681 2019-10-23  Andy Estes  <aestes@apple.com>
682
683         [Quick Look] Move PreviewConverter from platform/network/ to platform/
684         https://bugs.webkit.org/show_bug.cgi?id=203309
685
686         Reviewed by Tim Horton.
687
688         * SourcesCocoa.txt:
689         * WebCore.xcodeproj/project.pbxproj:
690         * platform/PreviewConverter.h: Renamed from Source/WebCore/platform/network/ios/PreviewConverter.h.
691         * platform/ios/PreviewConverterIOS.mm: Renamed from Source/WebCore/platform/network/ios/PreviewConverter.mm.
692
693 2019-10-21  Jiewen Tan  <jiewen_tan@apple.com>
694
695         [WebAuthn] Warn users when multiple NFC tags present
696         https://bugs.webkit.org/show_bug.cgi?id=200932
697         <rdar://problem/54890736>
698
699         Reviewed by Brent Fulgham.
700
701         Covered by new tests in existing test file.
702
703         * testing/MockWebAuthenticationConfiguration.h:
704         (WebCore::MockWebAuthenticationConfiguration::NfcConfiguration::encode const):
705         (WebCore::MockWebAuthenticationConfiguration::NfcConfiguration::decode):
706         * testing/MockWebAuthenticationConfiguration.idl:
707         Adds a new test option.
708
709 2019-10-23  Said Abou-Hallawa  <sabouhallawa@apple.com>
710
711         [SVG2] Fix SVGElement to conform with SVG2
712         https://bugs.webkit.org/show_bug.cgi?id=203280
713
714         Reviewed by Simon Fraser.
715
716         The interface of SVGElement is defined here:
717             https://www.w3.org/TR/SVG2/types.html#InterfaceSVGElement.
718
719         -- Remove SVGElement.getPresentationAttribute.
720         -- Remove the SVGElement attributes xmllang and xmlspace.
721         -- Remove the class SVGLangSpace
722
723         * Sources.txt:
724         * WebCore.xcodeproj/project.pbxproj:
725         * svg/SVGComponentTransferFunctionElement.cpp:
726         (WebCore::SVGComponentTransferFunctionElement::svgAttributeChanged):
727         Fix a bug. This function was calling SVGLangSpace::isKnownAttribute()
728         instead of calling PropertyRegistry::isKnownAttribute().
729
730         * svg/SVGElement.cpp:
731         (WebCore::SVGElement::SVGElement):
732         (WebCore::SVGElement::parseAttribute):
733         (WebCore::SVGElement::svgAttributeChanged):
734         (WebCore::SVGElement::getPresentationAttribute): Deleted.
735         * svg/SVGElement.h:
736         * svg/SVGElement.idl:
737         * svg/SVGFilterPrimitiveStandardAttributes.cpp:
738         (WebCore::SVGFilterPrimitiveStandardAttributes::svgAttributeChanged):
739         Fix a bug. This function was calling SVGLangSpace::isKnownAttribute()
740         instead of calling PropertyRegistry::isKnownAttribute().
741
742         * svg/SVGLangSpace.cpp: Removed.
743         * svg/SVGLangSpace.h: Removed.
744         * svg/SVGUseElement.cpp:
745         (WebCore::SVGUseElement::svgAttributeChanged):
746
747 2019-10-22  Jiewen Tan  <jiewen_tan@apple.com>
748
749         [WebAuthn] Add more information to _WKWebAuthenticationPanel
750         https://bugs.webkit.org/show_bug.cgi?id=202561
751         <rdar://problem/55973910>
752
753         Reviewed by Youenn Fablet.
754
755         Covered by new tests within existing test files.
756
757         * Modules/webauthn/AuthenticatorCoordinator.cpp:
758         * Modules/webauthn/WebAuthenticationConstants.h:
759
760 2019-10-23  Chris Dumez  <cdumez@apple.com>
761
762         FetchRequest should not prevent entering the back/forward cache
763         https://bugs.webkit.org/show_bug.cgi?id=203091
764         <rdar://problem/56525333>
765
766         Reviewed by Youenn Fablet.
767
768         FetchRequest used to prevent the page from entering the back/forward cache while it had a blob
769         load in progress. We no longer prevent suspension in such case. Instead, if the document is
770         suspended when the blob load finishes, we post a task to the Window event loop to do the work
771         and resolve / reject the promise. The Window event loop makes sure not to delays tasks that
772         are associated with a document that is suspended.
773
774         Tests: fast/history/page-cache-active-fetch-request-blobReadAsBlob.html
775                fast/history/page-cache-active-fetch-request-blobReadAsReadableStream.html
776                fast/history/page-cache-active-fetch-request-blobReadAsText.html
777
778         * Modules/fetch/FetchBodyOwner.cpp:
779         (WebCore::FetchBodyOwner::runNetworkTaskWhenPossible):
780         (WebCore::FetchBodyOwner::blobLoadingSucceeded):
781         (WebCore::FetchBodyOwner::blobLoadingFailed):
782         (WebCore::FetchBodyOwner::blobChunk):
783         (WebCore::FetchBodyOwner::postSuspendableNetworkTask): Deleted.
784         * Modules/fetch/FetchBodyOwner.h:
785         * Modules/fetch/FetchRequest.cpp:
786         * Modules/fetch/FetchRequest.h:
787         * dom/AbstractEventLoop.h:
788
789 2019-10-23  Yury Semikhatsky  <yurys@chromium.org>
790
791         Web Inspector: notify inspector when provisional page is created, committed and destroyed
792         https://bugs.webkit.org/show_bug.cgi?id=202704
793
794         Reviewed by Devin Rousso.
795
796         Test: http/tests/inspector/target/target-events-for-proisional-page.html
797
798         * inspector/InspectorController.cpp:
799         (WebCore::InspectorController::setIsUnderTest): This method may be called several times
800         when reloading inspected page with opened frontend so the assumption that there are no
801         connected frontends when this method is called from tests doesn't hold anymore.
802
803 2019-10-23  Rob Buis  <rbuis@igalia.com>
804
805         Be strict on request's Content-Type
806         https://bugs.webkit.org/show_bug.cgi?id=191356
807
808         Reviewed by Alex Christensen.
809
810         Implement steps 1-3 from Content-Type rules defined here:
811         https://fetch.spec.whatwg.org/#cors-safelisted-request-header
812
813         Behavior matches Firefox and Chrome.
814
815         Tests: imported/w3c/web-platform-tests/cors/cors-safelisted-request-header.any.html
816                imported/w3c/web-platform-tests/cors/cors-safelisted-request-header.any.worker.html
817
818         * platform/network/HTTPParsers.cpp:
819         (WebCore::isCorsUnsafeRequestHeaderByte):
820         (WebCore::containsCORSUnsafeRequestHeaderBytes):
821         (WebCore::isCrossOriginSafeRequestHeader):
822
823 2019-10-22  Jiewen Tan  <jiewen_tan@apple.com>
824
825         [WebAuthn] Supply FrameInfo in -[WKUIDelegatePrivate _webView:runWebAuthenticationPanel:initiatedByFrame:completionHandler:]
826         https://bugs.webkit.org/show_bug.cgi?id=202563
827         <rdar://problem/55973968>
828
829         Reviewed by Brent Fulgham.
830
831         Covered by new test contents within existing tests.
832
833         * Modules/webauthn/AuthenticatorCoordinator.cpp:
834         (WebCore::AuthenticatorCoordinator::create const):
835         (WebCore::AuthenticatorCoordinator::discoverFromExternalSource const):
836         * Modules/webauthn/AuthenticatorCoordinatorClient.h:
837
838 2019-10-23  Andy Estes  <aestes@apple.com>
839
840         [Quick Look] Rename PreviewLoader{,Client} to LegacyPreviewLoader{,Client}
841         https://bugs.webkit.org/show_bug.cgi?id=203306
842
843         Reviewed by Tim Horton.
844
845         * SourcesCocoa.txt:
846         * WebCore.xcodeproj/project.pbxproj:
847         * loader/EmptyClients.cpp:
848         * loader/EmptyFrameLoaderClient.h:
849         * loader/FrameLoaderClient.h:
850         * loader/ResourceLoader.cpp:
851         * loader/ResourceLoader.h:
852         * loader/SubresourceLoader.cpp:
853         (WebCore::SubresourceLoader::didReceiveResponse):
854         * loader/ios/LegacyPreviewLoader.h: Renamed from Source/WebCore/loader/ios/PreviewLoader.h.
855         * loader/ios/LegacyPreviewLoader.mm: Renamed from Source/WebCore/loader/ios/PreviewLoader.mm.
856         (testingClient):
857         (emptyClient):
858         (WebCore::LegacyPreviewLoader::LegacyPreviewLoader):
859         (WebCore::LegacyPreviewLoader::~LegacyPreviewLoader):
860         (WebCore::LegacyPreviewLoader::create):
861         (WebCore::LegacyPreviewLoader::didReceiveResponse):
862         (WebCore::LegacyPreviewLoader::didReceiveData):
863         (WebCore::LegacyPreviewLoader::didReceiveBuffer):
864         (WebCore::LegacyPreviewLoader::didFinishLoading):
865         (WebCore::LegacyPreviewLoader::didFail):
866         (WebCore::LegacyPreviewLoader::setClientForTesting):
867         * platform/network/ios/LegacyPreviewLoaderClient.h: Renamed from Source/WebCore/platform/network/ios/PreviewLoaderClient.h.
868         * testing/Internals.cpp:
869         (WebCore::Internals::resetToConsistentState):
870         (WebCore::Internals::setQuickLookPassword):
871         * testing/MockPreviewLoaderClient.h:
872
873 2019-10-23  Antti Koivisto  <antti@apple.com>
874
875         [LFC] LayoutState should have out-of-line destructor
876         https://bugs.webkit.org/show_bug.cgi?id=203307
877
878         Reviewed by Zalan Bujtas.
879
880         Otherwise instantiating it requires a pile of other headers.
881
882         * layout/LayoutState.cpp:
883         * layout/LayoutState.h:
884         * layout/layouttree/LayoutTreeBuilder.cpp:
885         (WebCore::Layout::TreeBuilder::createLayoutTree):
886
887         Use makeUnique.
888
889 2019-10-23  youenn fablet  <youenn@apple.com>
890
891         Remove NavigatorBase::serviceWorkerIfExists
892         https://bugs.webkit.org/show_bug.cgi?id=203241
893
894         Reviewed by Chris Dumez.
895
896         Remove unused method.
897         No change of behavior.
898
899         * page/NavigatorBase.cpp:
900         (WebCore::NavigatorBase::serviceWorkerIfExists): Deleted.
901         * page/NavigatorBase.h:
902
903 2019-10-22  Simon Fraser  <simon.fraser@apple.com>
904
905         wpt/css/css-images/gradient/color-stops-parsing.html fails
906         https://bugs.webkit.org/show_bug.cgi?id=200211
907
908         Reviewed by Dean Jackson.
909
910         CSS gradients allow a single color stop to have multiple positions. In this case
911         we need to copy the color from the first to subsequent stops.
912
913         Tested by web-platform-tests/css/css-images/gradient/color-stops-parsing.html
914         and imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html.
915
916         * css/CSSGradientValue.cpp:
917         (WebCore::CSSGradientValue::gradientWithStylesResolved): Copy colors to subsequent stops.
918         * css/parser/CSSPropertyParserHelpers.cpp:
919         (WebCore::CSSPropertyParserHelpers::consumeGradientColorStops): Fix the parsing of
920         stops with multiple positions.
921
922 2019-10-22  Joanmarie Diggs  <jdiggs@igalia.com>
923
924         AX: Implement support for new ARIA roles: code, strong, emphasis, generic
925         https://bugs.webkit.org/show_bug.cgi?id=203257
926
927         Reviewed by Chris Fleizach.
928
929         Create new internal AccessibilityRole types for the new roles.
930         Treat code, strong, and emphasis as internal format style groups,
931         which are equivalent to their corresponding HTML elements.
932
933         No new tests. Instead, added new roles to existing tests and updated
934         expectations.
935
936         * accessibility/AccessibilityObject.cpp:
937         (WebCore::initializeRoleMap):
938         (WebCore::AccessibilityObject::isStyleFormatGroup const):
939         * accessibility/AccessibilityObjectInterface.h:
940         * accessibility/AccessibilityRenderObject.cpp:
941         (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
942         * accessibility/atk/WebKitAccessible.cpp:
943         (atkRole):
944         * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
945         (-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
946         * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
947         (createAccessibilityRoleMap):
948         (-[WebAccessibilityObjectWrapper subrole]):
949
950 2019-10-22  John Wilander  <wilander@apple.com>
951
952         Resource Load Statistics (experimental): Block all third-party cookies
953         https://bugs.webkit.org/show_bug.cgi?id=203266
954         <rdar://problem/56512858>
955
956         Reviewed by Alex Christensen.
957
958         This change updates the experimental change in
959         <https://trac.webkit.org/changeset/251213> to block all
960         third-party cookies, regardless of user interaction with
961         the first-party website.
962
963         Tests: http/tests/resourceLoadStatistics/third-party-cookie-blocking-database.html
964                http/tests/resourceLoadStatistics/third-party-cookie-blocking.html
965
966         * page/Settings.yaml:
967         * platform/network/NetworkStorageSession.cpp:
968         (WebCore::NetworkStorageSession::shouldBlockCookies const):
969         * platform/network/NetworkStorageSession.h:
970         (WebCore::NetworkStorageSession::setIsThirdPartyCookieBlockingEnabled):
971         (WebCore::NetworkStorageSession::setIsThirdPartyCookieBlockingOnSitesWithoutUserInteractionEnabled): Deleted.
972
973 2019-10-22  Said Abou-Hallawa  <sabouhallawa@apple.com>
974
975         [SVG2] Remove the 'viewTarget' property of SVGViewElement
976         https://bugs.webkit.org/show_bug.cgi?id=203217
977
978         Reviewed by Simon Fraser.
979
980         The interface of SVGViewElement is defined here:
981             https://www.w3.org/TR/SVG2/linking.html#InterfaceSVGViewElement.
982
983         * svg/SVGViewElement.cpp:
984         (WebCore::SVGViewElement::SVGViewElement):
985         (WebCore::SVGViewElement::parseAttribute):
986         * svg/SVGViewElement.h:
987         * svg/SVGViewElement.idl:
988
989 2019-10-22  Charlie Turner  <cturner@igalia.com>
990
991         media/W3C/video/networkState/networkState_during_progress.html is flaky
992         https://bugs.webkit.org/show_bug.cgi?id=76280
993
994         Reviewed by Eric Carlson.
995
996         The onprogress event must be received when networkState is
997         NETWORK_LOADING, make sure in the transition from loading to idle
998         that the progress event is fired synchronously, so that it is
999         received before the networkState changes to NETWORK_IDLE.
1000
1001         Tested by media/W3C/video/networkState/networkState_during_progress.html
1002
1003         * html/HTMLMediaElement.cpp:
1004         (WebCore::HTMLMediaElement::changeNetworkStateFromLoadingToIdle):
1005
1006 2019-10-22  Peng Liu  <peng.liu6@apple.com>
1007
1008         [Picture-in-Picture Web API] The implementation needs runtime logging
1009         https://bugs.webkit.org/show_bug.cgi?id=202774
1010
1011         Reviewed by Eric Carlson.
1012
1013         Add runtime logging, no new tests needed.
1014
1015         * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.cpp:
1016         (WebCore::HTMLVideoElementPictureInPicture::HTMLVideoElementPictureInPicture):
1017         (WebCore::HTMLVideoElementPictureInPicture::~HTMLVideoElementPictureInPicture):
1018         (WebCore::HTMLVideoElementPictureInPicture::requestPictureInPicture):
1019         (WebCore::HTMLVideoElementPictureInPicture::exitPictureInPicture):
1020         (WebCore::HTMLVideoElementPictureInPicture::didEnterPictureInPicture):
1021         (WebCore::HTMLVideoElementPictureInPicture::didExitPictureInPicture):
1022         (WebCore::HTMLVideoElementPictureInPicture::logChannel const):
1023         * Modules/pictureinpicture/HTMLVideoElementPictureInPicture.h:
1024
1025 2019-10-22  Yusuke Suzuki  <ysuzuki@apple.com>
1026
1027         [JSC] Remove non-LargeAllocation restriction for JSCallee
1028         https://bugs.webkit.org/show_bug.cgi?id=203260
1029
1030         Reviewed by Saam Barati.
1031
1032         Passing VM& instead of calling CallFrame::vm.
1033
1034         * bindings/js/JSDOMGlobalObject.cpp:
1035         (WebCore::callerGlobalObject):
1036         * bindings/js/JSDOMWindowBase.cpp:
1037         (WebCore::responsibleDocument):
1038         * bindings/js/JSDOMWindowBase.h:
1039         * bindings/scripts/CodeGeneratorJS.pm:
1040         (GenerateCallWith):
1041         * testing/Internals.cpp:
1042         (WebCore::Internals::parserMetaData):
1043
1044 2019-10-22  Zalan Bujtas  <zalan@apple.com>
1045
1046         [LFC][IFC] Add support for continuous content/commit boundary check
1047         https://bugs.webkit.org/show_bug.cgi?id=203255
1048         <rdar://problem/56503598>
1049
1050         Reviewed by Antti Koivisto.
1051
1052         This patch adds support for continuous content and commit boundary check.
1053         
1054         <span style="padding-right: 10px;">textcontent</span>
1055
1056         The content above forms a continuous, unbreakable run of ([container start][textcontent][container end with horizontal padding of 10px]).
1057         However at this point we don't know yet whether we are at the end of the run and we need to keep checking for the trailing content.
1058         In general, we can't submit the run to the line breaking unless we managed to find the commit boundary for the current run.
1059
1060         <span style="padding-right: 10px;">textcontent</span><img src="broken.jpg">
1061             This content produces two separate runs as follows:
1062             1. ([container start][textcontent][container end with horizontal padding of 10px])
1063             2. ([img])
1064         vs.
1065         <span style="padding-right: 10px;">textcontent</span>moretextcontent
1066             This content produces only one run
1067             1. ([container start][textcontent][container end with horizontal padding of 10px][moretextcontent])
1068
1069         The idea here is that we don't commit the content on the line unless we identified the run boundary. In practice it means that we hardly commit the current inline item on the line
1070         but instead we use it to decide whether the uncommitted content is ready to be committed.
1071
1072         Using the following example:        
1073         <span style="padding-right: 10px;">textcontent<img src="broken.jpg"></span>
1074         
1075         Incoming inline items are:
1076          [container start] -> we can't identify the run boundary -> add inline item to pending content
1077          [textcontent] -> we still can't identify the run boundary sine we don't know what the next inline item is -> add inline item to pending content
1078          [img] -> now we know that the [container start][textcontent] is on a commit boundary -> commit pending content -> however the current [img] item's boundary is unknown.
1079          [container end with horizontal padding of 10px] -> Now the [img] and [container end] form an unbreakable run but we don't yet know if this is a run boundary
1080          - End of content -> always a commit boundary -> commit pending items -> ([img][container end])  
1081
1082         * layout/inlineformatting/InlineLineBreaker.cpp:
1083         (WebCore::Layout::LineBreaker::breakingContext):
1084         (WebCore::Layout::LineBreaker::breakingContextForFloat):
1085         (WebCore::Layout::LineBreaker::wordBreakingBehavior const):
1086         (WebCore::Layout::LineBreaker::isAtBreakingOpportunity): Deleted.
1087         * layout/inlineformatting/InlineLineBreaker.h:
1088         * layout/inlineformatting/InlineLineLayout.cpp:
1089         (WebCore::Layout::LineLayout::layout):
1090         (WebCore::Layout::LineLayout::close):
1091         (WebCore::Layout::LineLayout::placeInlineItem):
1092         (WebCore::Layout::LineLayout::processUncommittedContent):
1093         (WebCore::Layout::LineLayout::shouldProcessUncommittedContent const):
1094         * layout/inlineformatting/InlineLineLayout.h:
1095         (WebCore::Layout::LineLayout::UncommittedContent::runs):
1096         (WebCore::Layout::LineLayout::UncommittedContent::runs const):
1097
1098 2019-10-22  Dean Jackson  <dino@apple.com>
1099
1100         WebCoreDecompressionSession needs padding on all platforms to avoid link warnings
1101         https://bugs.webkit.org/show_bug.cgi?id=203267
1102         <rdar://problem/56514219>
1103
1104         Reviewed by Simon Fraser.
1105
1106         It's annoying that we have to do this, but it is less annoying than getting
1107         4 linker warnings every time you compile for iOS.
1108
1109         * platform/graphics/cocoa/WebCoreDecompressionSession.mm:
1110         (WebCore::WebCoreDecompressionSession::enqueueSample): Use padding everywhere.
1111
1112 2019-10-22  Tim Horton  <timothy_horton@apple.com>
1113
1114         Make it possible to not include IPC Messages headers in other headers
1115         https://bugs.webkit.org/show_bug.cgi?id=203074
1116
1117         Reviewed by Geoffrey Garen.
1118
1119         * WebCore.xcodeproj/project.pbxproj:
1120         * bindings/js/ExceptionDetails.h: Added.
1121         * bindings/js/JSDOMExceptionHandling.h:
1122         Split the ExceptionDetails struct out into its own file.
1123
1124 2019-10-22  Dirk Schulze  <krit@webkit.org>
1125
1126         SVG2: Add bounding-box keyword to pointer-events
1127         https://bugs.webkit.org/show_bug.cgi?id=191382
1128
1129         Reviewed by Dean Jackson.
1130
1131         SVG 2 added the bounding-box keyword to the pointer-events CSS
1132         property. It takes the bounding box of an element as hit area.
1133
1134         Implemented it so that it is as if "fill" was specified for HTML.
1135
1136         Extended existing tests.
1137
1138         * css/CSSPrimitiveValueMappings.h:
1139         (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
1140         (WebCore::CSSPrimitiveValue::operator PointerEvents const):
1141         * css/CSSProperties.json:
1142         * css/CSSValueKeywords.in:
1143         * css/parser/CSSParserFastPaths.cpp:
1144         (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
1145         * rendering/PointerEventsHitRules.cpp:
1146         (WebCore::PointerEventsHitRules::PointerEventsHitRules):
1147         * rendering/PointerEventsHitRules.h:
1148         * rendering/style/RenderStyleConstants.h:
1149         * rendering/svg/RenderSVGShape.cpp:
1150         (WebCore::RenderSVGShape::nodeAtFloatPoint):
1151
1152 2019-10-22  Simon Fraser  <simon.fraser@apple.com>
1153
1154         Change some image-related CSSValue subclasses to use references
1155         https://bugs.webkit.org/show_bug.cgi?id=203284
1156
1157         Reviewed by Zalan Bujtas.
1158
1159         The fake-virtual CSSValue subclasses all have the same functions, but their types
1160         have diverged. Convert some from pointers to references.
1161
1162         * css/CSSCanvasValue.cpp:
1163         (WebCore::CSSCanvasValue::fixedSize):
1164         (WebCore::CSSCanvasValue::image):
1165         * css/CSSCanvasValue.h:
1166         * css/CSSFilterImageValue.cpp:
1167         (WebCore::CSSFilterImageValue::fixedSize):
1168         (WebCore::CSSFilterImageValue::image):
1169         * css/CSSFilterImageValue.h:
1170         * css/CSSImageGeneratorValue.cpp:
1171         (WebCore::CSSImageGeneratorValue::image):
1172         (WebCore::CSSImageGeneratorValue::fixedSize):
1173         * css/CSSNamedImageValue.cpp:
1174         (WebCore::CSSNamedImageValue::image):
1175         * css/CSSNamedImageValue.h:
1176
1177 2019-10-22  Simon Fraser  <simon.fraser@apple.com>
1178
1179         wpt/css/css-images/gradient/color-stops-parsing.html fails
1180         https://bugs.webkit.org/show_bug.cgi?id=200211
1181
1182         Reviewed by Dean Jackson.
1183
1184         CSS gradients allow a single color stop to have multiple positions. In this case
1185         we need to copy the color from the first to subsequent stops.
1186
1187         Tested by web-platform-tests/css/css-images/gradient/color-stops-parsing.html
1188         and imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html.
1189
1190         * css/CSSGradientValue.cpp:
1191         (WebCore::CSSGradientValue::gradientWithStylesResolved): Copy colors to subsequent stops.
1192         * css/parser/CSSPropertyParserHelpers.cpp:
1193         (WebCore::CSSPropertyParserHelpers::consumeGradientColorStops): Fix the parsing of
1194         stops with multiple positions.
1195
1196 2019-10-22  youenn fablet  <youenn@apple.com>
1197
1198         Carriage return character sometimes missing in SDP c-line
1199         https://bugs.webkit.org/show_bug.cgi?id=203190
1200
1201         Reviewed by Eric Carlson.
1202
1203         Covered by updated test.
1204
1205         * Modules/mediastream/PeerConnectionBackend.cpp:
1206         (WebCore::PeerConnectionBackend::filterSDP const):
1207         Add missing\r when filterig the c line.
1208
1209 2019-10-22  youenn fablet  <youenn@apple.com>
1210
1211         Remove mayHaveServiceWorkerRegisteredForOrigin
1212         https://bugs.webkit.org/show_bug.cgi?id=203055
1213
1214         Reviewed by Alex Christensen.
1215
1216         Remove ServiceWorkerProvider::mayHaveServiceWorkerRegisteredForOrigin and existingServiceWorkerConnection since they are no longer useful.
1217         Creation of a service worker connection no longer requires any additional IPC once network connection is created.
1218         Covered by existing tests.
1219
1220         * dom/Document.cpp:
1221         (WebCore::Document::resume):
1222         * loader/DocumentLoader.cpp:
1223         (WebCore::DocumentLoader::matchRegistration):
1224         (WebCore::DocumentLoader::commitData):
1225         * testing/Internals.cpp:
1226         (WebCore::Internals::terminateServiceWorker):
1227         * testing/Internals.h:
1228         * testing/Internals.idl:
1229         * workers/service/SWClientConnection.h:
1230         * workers/service/ServiceWorkerProvider.cpp:
1231         * workers/service/ServiceWorkerProvider.h:
1232         * workers/service/WorkerSWClientConnection.cpp:
1233         * workers/service/WorkerSWClientConnection.h:
1234
1235 2019-10-21  Simon Fraser  <simon.fraser@apple.com>
1236
1237         wpt/css/css-images/gradient/color-stops-parsing.html crashes
1238         https://bugs.webkit.org/show_bug.cgi?id=200206
1239
1240         Reviewed by Carlos Alberto Lopez Perez.
1241
1242         Share the code that writes color stops, and null-check the stop's m_color.
1243
1244         Tested by http/wpt/css/css-images/gradient/color-stops-parsing.html.
1245
1246         * css/CSSGradientValue.cpp:
1247         (WebCore::CSSGradientValue::writeColorStop const):
1248         (WebCore::CSSLinearGradientValue::customCSSText const):
1249         (WebCore::CSSRadialGradientValue::customCSSText const):
1250         (WebCore::CSSConicGradientValue::customCSSText const):
1251         * css/CSSGradientValue.h:
1252         (WebCore::CSSGradientValue::CSSGradientValue):
1253
1254 2019-10-22  Adrian Perez de Castro  <aperez@igalia.com>
1255
1256         [GTK][WPE] Fix non-unified builds after r251326
1257         https://bugs.webkit.org/show_bug.cgi?id=203244
1258
1259         Reviewed by Youenn Fablet.
1260
1261         No new tests needed.
1262
1263         * Modules/async-clipboard/Clipboard.cpp: Switch inclusion of Blob.h to JSBlob.h, in order to
1264         have a toJS() conversion for Blob defined. Remove the unneeded JSPromise.h header inclusion.
1265         * Modules/indexeddb/IDBFactory.h: Add missing forward declaration of JSC::JSGlobalObject.
1266         * bindings/js/JSDOMBindingSecurity.h: Ditto.
1267         * bindings/js/ScriptState.h: Ditto.
1268         * dom/Node.cpp: Add missing inclusion of JavaScriptCore/HeapInlines.h
1269         * page/RemoteDOMWindow.h: Add missing forward declaration of JSC::JSGlobalObject.
1270         * platform/graphics/HEVCUtilities.cpp: Add missing inclusion of the wtf/text/StringHash.h
1271         header, needed to use String as key for a HashMap.
1272
1273 2019-10-22  Miguel Gomez  <magomez@igalia.com>
1274
1275         REGRESSION(r244372): [GTK][WPE] fast/images/icon-decoding.html and others are failing
1276         https://bugs.webkit.org/show_bug.cgi?id=197251
1277
1278         Reviewed by Adrian Perez de Castro.
1279
1280         Return 0_s as the duration of incomplete frames in an animation.
1281
1282         Covered by existing tests.
1283
1284         * platform/image-decoders/ScalableImageDecoder.cpp:
1285         (WebCore::ScalableImageDecoder::frameDurationAtIndex const):
1286
1287 2019-10-22  Dirk Schulze  <krit@webkit.org>
1288
1289         SVG2: Use DOMMatrix2DInit for setMatrix and createSVGTransformFromMatrix
1290         https://bugs.webkit.org/show_bug.cgi?id=191417
1291
1292         Reviewed by Dean Jackson.
1293
1294         setMatrix and createSVGTransformFromMatrix used to use SVGMatrix as argument.
1295         With SVG 2.0, any DOMPoint2DInit type is supported which inlcudes dictionaries,
1296         DOMMatrix, DOMMatrixReadOnly and SVGMatrix (alias of DOMMatrix).
1297
1298         Extended existing tests.
1299
1300         * svg/SVGSVGElement.cpp:
1301         (WebCore::SVGSVGElement::createSVGTransformFromMatrix):
1302         * svg/SVGSVGElement.h:
1303         * svg/SVGSVGElement.idl:
1304         * svg/SVGTransform.h:
1305         (WebCore::SVGTransform::setMatrix):
1306         * svg/SVGTransform.idl:
1307         * svg/SVGTransformList.h:
1308         * svg/SVGTransformList.idl:
1309         * svg/SVGTransformListValues.cpp:
1310         (WebCore::SVGTransformListValues::createSVGTransformFromMatrix const):
1311         * svg/SVGTransformListValues.h:
1312
1313 2019-10-21  Yusuke Suzuki  <ysuzuki@apple.com>
1314
1315         [JSC] Thread JSGlobalObject* instead of ExecState*
1316         https://bugs.webkit.org/show_bug.cgi?id=202392
1317
1318         Reviewed by Geoffrey Garen.
1319
1320         This patch is changing ExecState* to JSGlobalObject*. We are using ExecState* (a.k.a. CallFrame*) as a useful way to access arguments, thisValue,
1321         and lexical JSGlobalObject*. But using `CallFrame*` to access lexical `JSGlobalObject*` is wrong: when a function is inlined, `CallFrame*` is pointing
1322         a CallFrame* of outer function. So if outer function's lexical JSGlobalObject is different from inlined one, we are getting wrong value. We had this
1323         bug so long and we are adhocly fixing some of them, but we have bunch of this type of bugs.
1324
1325         In this patch, we explicitly pass lexical JSGlobalObject* so that we pass correct lexical JSGlobalObject* instead of just passing ExecState*. This fixes
1326         various issues. And furthermore, it cleans up code by decoupling JSGlobalObject* from CallFrame*. Now CallFrame* is really a CallFrame* and it is used
1327         only when we actually want to access CallFrame information.
1328
1329         And this also removes many `ExecState::vm()` function calls. And we can just use `JSGlobalObject::vm()` calls instead. We had a ugly hack that we had
1330         restriction that all JSCallee needs to be non-large-allocation. This limitation is introduced to keep `ExecState::vm()` fast. But this limitation now
1331         becomes major obstacle to introduce IsoSubspace optimization, and this problem prevents us from putting all JSCells into IsoSubspace. This patch paves
1332         the way to putting all JSCells into IsoSubspace by removing the above restriction.
1333
1334         * Modules/applepay/ApplePaySession.cpp:
1335         (WebCore::ApplePaySession::completeMerchantValidation):
1336         * Modules/applepay/ApplePaySession.h:
1337         * Modules/applepay/ApplePaySession.idl:
1338         * Modules/applepay/PaymentMerchantSession.h:
1339         * Modules/applepay/cocoa/PaymentMerchantSessionCocoa.mm:
1340         (WebCore::PaymentMerchantSession::fromJS):
1341         * Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp:
1342         (WebCore::ApplePayPaymentHandler::computeTotalAndLineItems const):
1343         (WebCore::toJSDictionary):
1344         (WebCore::ApplePayPaymentHandler::didAuthorizePayment):
1345         (WebCore::ApplePayPaymentHandler::didSelectPaymentMethod):
1346         * Modules/async-clipboard/ClipboardItemBindingsDataSource.cpp:
1347         (WebCore::ClipboardItemBindingsDataSource::getType):
1348         * Modules/encryptedmedia/MediaKeyStatusMap.cpp:
1349         (WebCore::MediaKeyStatusMap::get):
1350         * Modules/encryptedmedia/MediaKeyStatusMap.h:
1351         * Modules/encryptedmedia/MediaKeyStatusMap.idl:
1352         * Modules/encryptedmedia/legacy/LegacyCDMSessionClearKey.cpp:
1353         (WebCore::CDMSessionClearKey::update):
1354         * Modules/fetch/FetchBody.idl:
1355         * Modules/fetch/FetchBodyOwner.cpp:
1356         (WebCore::FetchBodyOwner::readableStream):
1357         (WebCore::FetchBodyOwner::createReadableStream):
1358         * Modules/fetch/FetchBodyOwner.h:
1359         * Modules/fetch/FetchResponse.h:
1360         * Modules/indexeddb/IDBCursor.cpp:
1361         (WebCore::IDBCursor::update):
1362         (WebCore::IDBCursor::continuePrimaryKey):
1363         (WebCore::IDBCursor::continueFunction):
1364         (WebCore::IDBCursor::deleteFunction):
1365         * Modules/indexeddb/IDBCursor.h:
1366         * Modules/indexeddb/IDBCursor.idl:
1367         * Modules/indexeddb/IDBFactory.cpp:
1368         (WebCore::IDBFactory::cmp):
1369         * Modules/indexeddb/IDBFactory.h:
1370         * Modules/indexeddb/IDBFactory.idl:
1371         * Modules/indexeddb/IDBIndex.cpp:
1372         (WebCore::IDBIndex::doOpenCursor):
1373         (WebCore::IDBIndex::openCursor):
1374         (WebCore::IDBIndex::doOpenKeyCursor):
1375         (WebCore::IDBIndex::openKeyCursor):
1376         (WebCore::IDBIndex::count):
1377         (WebCore::IDBIndex::doCount):
1378         (WebCore::IDBIndex::get):
1379         (WebCore::IDBIndex::doGet):
1380         (WebCore::IDBIndex::getKey):
1381         (WebCore::IDBIndex::doGetKey):
1382         (WebCore::IDBIndex::doGetAll):
1383         (WebCore::IDBIndex::getAll):
1384         (WebCore::IDBIndex::doGetAllKeys):
1385         (WebCore::IDBIndex::getAllKeys):
1386         * Modules/indexeddb/IDBIndex.h:
1387         * Modules/indexeddb/IDBIndex.idl:
1388         * Modules/indexeddb/IDBKeyRange.cpp:
1389         (WebCore::IDBKeyRange::only):
1390         (WebCore::IDBKeyRange::lowerBound):
1391         (WebCore::IDBKeyRange::upperBound):
1392         (WebCore::IDBKeyRange::bound):
1393         (WebCore::IDBKeyRange::includes):
1394         * Modules/indexeddb/IDBKeyRange.h:
1395         * Modules/indexeddb/IDBKeyRange.idl:
1396         * Modules/indexeddb/IDBObjectStore.cpp:
1397         (WebCore::IDBObjectStore::doOpenCursor):
1398         (WebCore::IDBObjectStore::openCursor):
1399         (WebCore::IDBObjectStore::doOpenKeyCursor):
1400         (WebCore::IDBObjectStore::openKeyCursor):
1401         (WebCore::IDBObjectStore::get):
1402         (WebCore::IDBObjectStore::getKey):
1403         (WebCore::IDBObjectStore::add):
1404         (WebCore::IDBObjectStore::put):
1405         (WebCore::IDBObjectStore::putForCursorUpdate):
1406         (WebCore::IDBObjectStore::putOrAdd):
1407         (WebCore::IDBObjectStore::deleteFunction):
1408         (WebCore::IDBObjectStore::doDelete):
1409         (WebCore::IDBObjectStore::clear):
1410         (WebCore::IDBObjectStore::createIndex):
1411         (WebCore::IDBObjectStore::count):
1412         (WebCore::IDBObjectStore::doCount):
1413         (WebCore::IDBObjectStore::doGetAll):
1414         (WebCore::IDBObjectStore::getAll):
1415         (WebCore::IDBObjectStore::doGetAllKeys):
1416         (WebCore::IDBObjectStore::getAllKeys):
1417         * Modules/indexeddb/IDBObjectStore.h:
1418         * Modules/indexeddb/IDBObjectStore.idl:
1419         * Modules/indexeddb/IDBTransaction.cpp:
1420         (WebCore::IDBTransaction::requestOpenCursor):
1421         (WebCore::IDBTransaction::doRequestOpenCursor):
1422         (WebCore::IDBTransaction::requestGetAllObjectStoreRecords):
1423         (WebCore::IDBTransaction::requestGetAllIndexRecords):
1424         (WebCore::IDBTransaction::requestGetRecord):
1425         (WebCore::IDBTransaction::requestGetValue):
1426         (WebCore::IDBTransaction::requestGetKey):
1427         (WebCore::IDBTransaction::requestIndexRecord):
1428         (WebCore::IDBTransaction::requestCount):
1429         (WebCore::IDBTransaction::requestDeleteRecord):
1430         (WebCore::IDBTransaction::requestClearObjectStore):
1431         (WebCore::IDBTransaction::requestPutOrAdd):
1432         * Modules/indexeddb/IDBTransaction.h:
1433         * Modules/indexeddb/server/IDBSerializationContext.cpp:
1434         (WebCore::IDBServer::IDBSerializationContext::execState):
1435         * Modules/indexeddb/server/IDBSerializationContext.h:
1436         * Modules/mediastream/RTCPeerConnection.cpp:
1437         (WebCore::certificateTypeFromAlgorithmIdentifier):
1438         (WebCore::RTCPeerConnection::generateCertificate):
1439         * Modules/mediastream/RTCPeerConnection.h:
1440         * Modules/mediastream/RTCPeerConnection.idl:
1441         * Modules/paymentrequest/PaymentMethodChangeEvent.h:
1442         * Modules/paymentrequest/PaymentRequest.cpp:
1443         (WebCore::checkAndCanonicalizeDetails):
1444         * Modules/paymentrequest/PaymentResponse.h:
1445         * Modules/plugins/QuickTimePluginReplacement.mm:
1446         (WebCore::QuickTimePluginReplacement::ensureReplacementScriptInjected):
1447         (WebCore::QuickTimePluginReplacement::installReplacement):
1448         (WebCore::JSQuickTimePluginReplacement::timedMetaData const):
1449         (WebCore::JSQuickTimePluginReplacement::accessLog const):
1450         (WebCore::JSQuickTimePluginReplacement::errorLog const):
1451         * Modules/webgpu/WebGPUDevice.cpp:
1452         (WebCore::WebGPUDevice::createBufferMapped const):
1453         * Modules/webgpu/WebGPUDevice.h:
1454         * Modules/webgpu/WebGPUDevice.idl:
1455         * animation/Animatable.idl:
1456         * animation/KeyframeEffect.cpp:
1457         (WebCore::processKeyframeLikeObject):
1458         (WebCore::processIterableKeyframes):
1459         (WebCore::processPropertyIndexedKeyframes):
1460         (WebCore::KeyframeEffect::create):
1461         (WebCore::KeyframeEffect::getKeyframes):
1462         (WebCore::KeyframeEffect::setKeyframes):
1463         (WebCore::KeyframeEffect::processKeyframes):
1464         (WebCore::KeyframeEffect::animationDidSeek):
1465         * animation/KeyframeEffect.h:
1466         * animation/KeyframeEffect.idl:
1467         * bindings/js/DOMPromiseProxy.h:
1468         (WebCore::DOMPromiseProxy<IDLType>::promise):
1469         (WebCore::DOMPromiseProxy<IDLVoid>::promise):
1470         (WebCore::DOMPromiseProxyWithResolveCallback<IDLType>::promise):
1471         * bindings/js/DOMWrapperWorld.h:
1472         (WebCore::currentWorld):
1473         (WebCore::isWorldCompatible):
1474         * bindings/js/IDBBindingUtilities.cpp:
1475         (WebCore::get):
1476         (WebCore::set):
1477         (WebCore::toJS):
1478         (WebCore::createIDBKeyFromValue):
1479         (WebCore::getNthValueOnKeyPath):
1480         (WebCore::internalCreateIDBKeyFromScriptValueAndKeyPath):
1481         (WebCore::ensureNthValueOnKeyPath):
1482         (WebCore::canInjectNthValueOnKeyPath):
1483         (WebCore::injectIDBKeyIntoScriptValue):
1484         (WebCore::maybeCreateIDBKeyFromScriptValueAndKeyPath):
1485         (WebCore::canInjectIDBKeyIntoScriptValue):
1486         (WebCore::deserializeIDBValueToJSValue):
1487         (WebCore::scriptValueToIDBKey):
1488         (WebCore::createKeyPathArray):
1489         (WebCore::generateIndexKeyForValue):
1490         (WebCore::deserializeIDBValueWithKeyInjection):
1491         * bindings/js/IDBBindingUtilities.h:
1492         * bindings/js/JSAnimationEffectCustom.cpp:
1493         (WebCore::toJSNewlyCreated):
1494         (WebCore::toJS):
1495         * bindings/js/JSAnimationTimelineCustom.cpp:
1496         (WebCore::toJSNewlyCreated):
1497         (WebCore::toJS):
1498         * bindings/js/JSAuthenticatorResponseCustom.cpp:
1499         (WebCore::toJSNewlyCreated):
1500         (WebCore::toJS):
1501         * bindings/js/JSBasicCredentialCustom.cpp:
1502         (WebCore::toJSNewlyCreated):
1503         (WebCore::toJS):
1504         * bindings/js/JSBlobCustom.cpp:
1505         (WebCore::toJSNewlyCreated):
1506         (WebCore::toJS):
1507         * bindings/js/JSCSSRuleCustom.cpp:
1508         (WebCore::toJSNewlyCreated):
1509         (WebCore::toJS):
1510         * bindings/js/JSCallbackData.cpp:
1511         (WebCore::JSCallbackData::invokeCallback):
1512         * bindings/js/JSCustomElementInterface.cpp:
1513         (WebCore::JSCustomElementInterface::tryToConstructCustomElement):
1514         (WebCore::constructCustomElementSynchronously):
1515         (WebCore::JSCustomElementInterface::upgradeElement):
1516         (WebCore::JSCustomElementInterface::invokeCallback):
1517         (WebCore::JSCustomElementInterface::invokeAdoptedCallback):
1518         (WebCore::JSCustomElementInterface::invokeAttributeChangedCallback):
1519         * bindings/js/JSCustomElementInterface.h:
1520         (WebCore::JSCustomElementInterface::invokeCallback):
1521         * bindings/js/JSCustomElementRegistryCustom.cpp:
1522         (WebCore::getCustomElementCallback):
1523         (WebCore::validateCustomElementNameAndThrowIfNeeded):
1524         (WebCore::JSCustomElementRegistry::define):
1525         (WebCore::whenDefinedPromise):
1526         (WebCore::JSCustomElementRegistry::whenDefined):
1527         * bindings/js/JSCustomEventCustom.cpp:
1528         (WebCore::JSCustomEvent::detail const):
1529         * bindings/js/JSCustomXPathNSResolver.cpp:
1530         (WebCore::JSCustomXPathNSResolver::create):
1531         (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
1532         * bindings/js/JSCustomXPathNSResolver.h:
1533         * bindings/js/JSDOMAbstractOperations.h:
1534         (WebCore::isVisibleNamedProperty):
1535         (WebCore::accessVisibleNamedProperty):
1536         * bindings/js/JSDOMAttribute.h:
1537         (WebCore::IDLAttribute::set):
1538         (WebCore::IDLAttribute::setStatic):
1539         (WebCore::IDLAttribute::get):
1540         (WebCore::IDLAttribute::getStatic):
1541         (WebCore::AttributeSetter::call):
1542         * bindings/js/JSDOMBindingSecurity.cpp:
1543         (WebCore::canAccessDocument):
1544         (WebCore::BindingSecurity::shouldAllowAccessToFrame):
1545         (WebCore::BindingSecurity::shouldAllowAccessToDOMWindow):
1546         (WebCore::BindingSecurity::shouldAllowAccessToNode):
1547         * bindings/js/JSDOMBindingSecurity.h:
1548         (WebCore::BindingSecurity::checkSecurityForNode):
1549         * bindings/js/JSDOMBuiltinConstructor.h:
1550         (WebCore::JSDOMBuiltinConstructor<JSClass>::callConstructor):
1551         (WebCore::JSDOMBuiltinConstructor<JSClass>::construct):
1552         * bindings/js/JSDOMBuiltinConstructorBase.cpp:
1553         (WebCore::JSDOMBuiltinConstructorBase::callFunctionWithCurrentArguments):
1554         * bindings/js/JSDOMBuiltinConstructorBase.h:
1555         * bindings/js/JSDOMConstructorBase.cpp:
1556         (WebCore::callThrowTypeError):
1557         (WebCore::JSDOMConstructorBase::toStringName):
1558         * bindings/js/JSDOMConstructorBase.h:
1559         * bindings/js/JSDOMConstructorNotConstructable.h:
1560         (WebCore::JSDOMConstructorNotConstructable::callThrowTypeError):
1561         * bindings/js/JSDOMConvertAny.h:
1562         (WebCore::Converter<IDLAny>::convert):
1563         (WebCore::VariadicConverter<IDLAny>::convert):
1564         * bindings/js/JSDOMConvertBase.h:
1565         (WebCore::DefaultExceptionThrower::operator()):
1566         (WebCore::convert):
1567         (WebCore::toJS):
1568         (WebCore::toJSNewlyCreated):
1569         * bindings/js/JSDOMConvertBoolean.h:
1570         (WebCore::Converter<IDLBoolean>::convert):
1571         * bindings/js/JSDOMConvertBufferSource.h:
1572         (WebCore::toJS):
1573         (WebCore::Detail::BufferSourceConverter::convert):
1574         (WebCore::Converter<IDLArrayBuffer>::convert):
1575         (WebCore::JSConverter<IDLArrayBuffer>::convert):
1576         (WebCore::Converter<IDLDataView>::convert):
1577         (WebCore::JSConverter<IDLDataView>::convert):
1578         (WebCore::Converter<IDLInt8Array>::convert):
1579         (WebCore::JSConverter<IDLInt8Array>::convert):
1580         (WebCore::Converter<IDLInt16Array>::convert):
1581         (WebCore::JSConverter<IDLInt16Array>::convert):
1582         (WebCore::Converter<IDLInt32Array>::convert):
1583         (WebCore::JSConverter<IDLInt32Array>::convert):
1584         (WebCore::Converter<IDLUint8Array>::convert):
1585         (WebCore::JSConverter<IDLUint8Array>::convert):
1586         (WebCore::Converter<IDLUint16Array>::convert):
1587         (WebCore::JSConverter<IDLUint16Array>::convert):
1588         (WebCore::Converter<IDLUint32Array>::convert):
1589         (WebCore::JSConverter<IDLUint32Array>::convert):
1590         (WebCore::Converter<IDLUint8ClampedArray>::convert):
1591         (WebCore::JSConverter<IDLUint8ClampedArray>::convert):
1592         (WebCore::Converter<IDLFloat32Array>::convert):
1593         (WebCore::JSConverter<IDLFloat32Array>::convert):
1594         (WebCore::Converter<IDLFloat64Array>::convert):
1595         (WebCore::JSConverter<IDLFloat64Array>::convert):
1596         (WebCore::Converter<IDLArrayBufferView>::convert):
1597         (WebCore::JSConverter<IDLArrayBufferView>::convert):
1598         * bindings/js/JSDOMConvertCallbacks.h:
1599         (WebCore::Converter<IDLCallbackFunction<T>>::convert):
1600         (WebCore::Converter<IDLCallbackInterface<T>>::convert):
1601         * bindings/js/JSDOMConvertDate.cpp:
1602         (WebCore::jsDate):
1603         (WebCore::valueToDate):
1604         * bindings/js/JSDOMConvertDate.h:
1605         (WebCore::Converter<IDLDate>::convert):
1606         (WebCore::JSConverter<IDLDate>::convert):
1607         * bindings/js/JSDOMConvertDictionary.h:
1608         (WebCore::Converter<IDLDictionary<T>>::convert):
1609         (WebCore::JSConverter<IDLDictionary<T>>::convert):
1610         * bindings/js/JSDOMConvertEnumeration.h:
1611         (WebCore::Converter<IDLEnumeration<T>>::convert):
1612         (WebCore::JSConverter<IDLEnumeration<T>>::convert):
1613         * bindings/js/JSDOMConvertEventListener.h:
1614         (WebCore::Converter<IDLEventListener<T>>::convert):
1615         * bindings/js/JSDOMConvertIndexedDB.h:
1616         (WebCore::JSConverter<IDLIDBKey>::convert):
1617         (WebCore::JSConverter<IDLIDBKeyData>::convert):
1618         (WebCore::JSConverter<IDLIDBValue>::convert):
1619         * bindings/js/JSDOMConvertInterface.h:
1620         (WebCore::JSToWrappedOverloader::toWrapped):
1621         (WebCore::Converter<IDLInterface<T>>::convert):
1622         (WebCore::JSConverter<IDLInterface<T>>::convert):
1623         (WebCore::JSConverter<IDLInterface<T>>::convertNewlyCreated):
1624         (WebCore::VariadicConverter<IDLInterface<T>>::convert):
1625         * bindings/js/JSDOMConvertJSON.h:
1626         (WebCore::Converter<IDLJSON>::convert):
1627         (WebCore::JSConverter<IDLJSON>::convert):
1628         * bindings/js/JSDOMConvertNull.h:
1629         (WebCore::Converter<IDLNull>::convert):
1630         * bindings/js/JSDOMConvertNullable.h:
1631         (WebCore::Converter<IDLNullable<T>>::convert):
1632         (WebCore::JSConverter<IDLNullable<T>>::convert):
1633         (WebCore::JSConverter<IDLNullable<T>>::convertNewlyCreated):
1634         * bindings/js/JSDOMConvertNumbers.cpp:
1635         (WebCore::enforceRange):
1636         (WebCore::toSmallerInt):
1637         (WebCore::toSmallerUInt):
1638         (WebCore::convertToIntegerEnforceRange<int8_t>):
1639         (WebCore::convertToIntegerEnforceRange<uint8_t>):
1640         (WebCore::convertToIntegerClamp<int8_t>):
1641         (WebCore::convertToIntegerClamp<uint8_t>):
1642         (WebCore::convertToInteger<int8_t>):
1643         (WebCore::convertToInteger<uint8_t>):
1644         (WebCore::convertToIntegerEnforceRange<int16_t>):
1645         (WebCore::convertToIntegerEnforceRange<uint16_t>):
1646         (WebCore::convertToIntegerClamp<int16_t>):
1647         (WebCore::convertToIntegerClamp<uint16_t>):
1648         (WebCore::convertToInteger<int16_t>):
1649         (WebCore::convertToInteger<uint16_t>):
1650         (WebCore::convertToIntegerEnforceRange<int32_t>):
1651         (WebCore::convertToIntegerEnforceRange<uint32_t>):
1652         (WebCore::convertToIntegerClamp<int32_t>):
1653         (WebCore::convertToIntegerClamp<uint32_t>):
1654         (WebCore::convertToInteger<int32_t>):
1655         (WebCore::convertToInteger<uint32_t>):
1656         (WebCore::convertToIntegerEnforceRange<int64_t>):
1657         (WebCore::convertToIntegerEnforceRange<uint64_t>):
1658         (WebCore::convertToIntegerClamp<int64_t>):
1659         (WebCore::convertToIntegerClamp<uint64_t>):
1660         (WebCore::convertToInteger<int64_t>):
1661         (WebCore::convertToInteger<uint64_t>):
1662         * bindings/js/JSDOMConvertNumbers.h:
1663         (WebCore::Converter<IDLByte>::convert):
1664         (WebCore::Converter<IDLOctet>::convert):
1665         (WebCore::Converter<IDLShort>::convert):
1666         (WebCore::Converter<IDLUnsignedShort>::convert):
1667         (WebCore::Converter<IDLLong>::convert):
1668         (WebCore::Converter<IDLUnsignedLong>::convert):
1669         (WebCore::Converter<IDLLongLong>::convert):
1670         (WebCore::Converter<IDLUnsignedLongLong>::convert):
1671         (WebCore::Converter<IDLClampAdaptor<T>>::convert):
1672         (WebCore::Converter<IDLEnforceRangeAdaptor<T>>::convert):
1673         (WebCore::Converter<IDLFloat>::convert):
1674         (WebCore::Converter<IDLUnrestrictedFloat>::convert):
1675         (WebCore::Converter<IDLDouble>::convert):
1676         (WebCore::Converter<IDLUnrestrictedDouble>::convert):
1677         * bindings/js/JSDOMConvertObject.h:
1678         (WebCore::Converter<IDLObject>::convert):
1679         * bindings/js/JSDOMConvertPromise.h:
1680         (WebCore::Converter<IDLPromise<T>>::convert):
1681         (WebCore::JSConverter<IDLPromise<T>>::convert):
1682         * bindings/js/JSDOMConvertRecord.h:
1683         (WebCore::Detail::IdentifierConverter<IDLDOMString>::convert):
1684         (WebCore::Detail::IdentifierConverter<IDLByteString>::convert):
1685         (WebCore::Detail::IdentifierConverter<IDLUSVString>::convert):
1686         * bindings/js/JSDOMConvertScheduledAction.h:
1687         (WebCore::Converter<IDLScheduledAction>::convert):
1688         * bindings/js/JSDOMConvertSequences.h:
1689         (WebCore::Detail::GenericSequenceConverter::convert):
1690         (WebCore::Detail::NumericSequenceConverter::convertArray):
1691         (WebCore::Detail::NumericSequenceConverter::convert):
1692         (WebCore::Detail::SequenceConverter::convertArray):
1693         (WebCore::Detail::SequenceConverter::convert):
1694         (WebCore::Detail::SequenceConverter<IDLLong>::convert):
1695         (WebCore::Detail::SequenceConverter<IDLFloat>::convert):
1696         (WebCore::Detail::SequenceConverter<IDLUnrestrictedFloat>::convert):
1697         (WebCore::Detail::SequenceConverter<IDLDouble>::convert):
1698         (WebCore::Detail::SequenceConverter<IDLUnrestrictedDouble>::convert):
1699         (WebCore::Converter<IDLSequence<T>>::convert):
1700         (WebCore::JSConverter<IDLSequence<T>>::convert):
1701         (WebCore::Converter<IDLFrozenArray<T>>::convert):
1702         (WebCore::JSConverter<IDLFrozenArray<T>>::convert):
1703         * bindings/js/JSDOMConvertSerializedScriptValue.h:
1704         (WebCore::Converter<IDLSerializedScriptValue<T>>::convert):
1705         (WebCore::JSConverter<IDLSerializedScriptValue<T>>::convert):
1706         * bindings/js/JSDOMConvertStrings.cpp:
1707         (WebCore::stringToByteString):
1708         (WebCore::identifierToByteString):
1709         (WebCore::valueToByteString):
1710         (WebCore::identifierToUSVString):
1711         (WebCore::valueToUSVString):
1712         * bindings/js/JSDOMConvertStrings.h:
1713         (WebCore::Converter<IDLDOMString>::convert):
1714         (WebCore::JSConverter<IDLDOMString>::convert):
1715         (WebCore::Converter<IDLByteString>::convert):
1716         (WebCore::JSConverter<IDLByteString>::convert):
1717         (WebCore::Converter<IDLUSVString>::convert):
1718         (WebCore::JSConverter<IDLUSVString>::convert):
1719         (WebCore::Converter<IDLTreatNullAsEmptyAdaptor<T>>::convert):
1720         (WebCore::JSConverter<IDLTreatNullAsEmptyAdaptor<T>>::convert):
1721         (WebCore::Converter<IDLAtomStringAdaptor<T>>::convert):
1722         (WebCore::JSConverter<IDLAtomStringAdaptor<T>>::convert):
1723         (WebCore::Converter<IDLRequiresExistingAtomStringAdaptor<T>>::convert):
1724         (WebCore::JSConverter<IDLRequiresExistingAtomStringAdaptor<T>>::convert):
1725         * bindings/js/JSDOMConvertUnion.h:
1726         * bindings/js/JSDOMConvertVariadic.h:
1727         (WebCore::VariadicConverter::convert):
1728         (WebCore::convertVariadicArguments):
1729         * bindings/js/JSDOMConvertWebGL.cpp:
1730         (WebCore::convertToJSValue):
1731         * bindings/js/JSDOMConvertWebGL.h:
1732         (WebCore::convertToJSValue):
1733         (WebCore::JSConverter<IDLWebGLAny>::convert):
1734         (WebCore::JSConverter<IDLWebGLExtension>::convert):
1735         * bindings/js/JSDOMConvertXPathNSResolver.h:
1736         (WebCore::Converter<IDLXPathNSResolver<T>>::convert):
1737         (WebCore::JSConverter<IDLXPathNSResolver<T>>::convert):
1738         (WebCore::JSConverter<IDLXPathNSResolver<T>>::convertNewlyCreated):
1739         * bindings/js/JSDOMExceptionHandling.cpp:
1740         (WebCore::reportException):
1741         (WebCore::retrieveErrorMessage):
1742         (WebCore::reportCurrentException):
1743         (WebCore::createDOMException):
1744         (WebCore::propagateExceptionSlowPath):
1745         (WebCore::throwTypeError):
1746         (WebCore::throwNotSupportedError):
1747         (WebCore::throwInvalidStateError):
1748         (WebCore::throwSecurityError):
1749         (WebCore::throwArgumentMustBeEnumError):
1750         (WebCore::throwArgumentMustBeFunctionError):
1751         (WebCore::throwArgumentTypeError):
1752         (WebCore::throwAttributeTypeError):
1753         (WebCore::throwRequiredMemberTypeError):
1754         (WebCore::throwConstructorScriptExecutionContextUnavailableError):
1755         (WebCore::throwSequenceTypeError):
1756         (WebCore::throwNonFiniteTypeError):
1757         (WebCore::throwGetterTypeError):
1758         (WebCore::rejectPromiseWithGetterTypeError):
1759         (WebCore::throwSetterTypeError):
1760         (WebCore::throwThisTypeError):
1761         (WebCore::rejectPromiseWithThisTypeError):
1762         (WebCore::throwDOMSyntaxError):
1763         (WebCore::throwDataCloneError):
1764         * bindings/js/JSDOMExceptionHandling.h:
1765         (WebCore::propagateException):
1766         * bindings/js/JSDOMGlobalObject.cpp:
1767         (WebCore::makeThisTypeErrorForBuiltins):
1768         (WebCore::makeGetterTypeErrorForBuiltins):
1769         (WebCore::JSDOMGlobalObject::promiseRejectionTracker):
1770         (WebCore::callerGlobalObject):
1771         * bindings/js/JSDOMGlobalObject.h:
1772         * bindings/js/JSDOMGlobalObjectTask.cpp:
1773         * bindings/js/JSDOMIterator.cpp:
1774         (WebCore::addValueIterableMethods):
1775         * bindings/js/JSDOMIterator.h:
1776         (WebCore::jsPair):
1777         (WebCore::IteratorTraits>::asJS):
1778         (WebCore::appendForEachArguments):
1779         (WebCore::iteratorForEach):
1780         (WebCore::IteratorTraits>::next):
1781         * bindings/js/JSDOMMapLike.cpp:
1782         (WebCore::getBackingMap):
1783         (WebCore::createBackingMap):
1784         (WebCore::forwardAttributeGetterToBackingMap):
1785         (WebCore::forwardFunctionCallToBackingMap):
1786         (WebCore::forwardForEachCallToBackingMap):
1787         * bindings/js/JSDOMMapLike.h:
1788         (WebCore::DOMMapLike::set):
1789         (WebCore::synchronizeBackingMap):
1790         (WebCore::forwardSizeToMapLike):
1791         (WebCore::forwardEntriesToMapLike):
1792         (WebCore::forwardKeysToMapLike):
1793         (WebCore::forwardValuesToMapLike):
1794         (WebCore::forwardClearToMapLike):
1795         (WebCore::forwardForEachToMapLike):
1796         (WebCore::forwardGetToMapLike):
1797         (WebCore::forwardHasToMapLike):
1798         (WebCore::forwardAddToMapLike):
1799         (WebCore::forwardDeleteToMapLike):
1800         * bindings/js/JSDOMOperation.h:
1801         (WebCore::IDLOperation::call):
1802         (WebCore::IDLOperation::callStatic):
1803         * bindings/js/JSDOMOperationReturningPromise.h:
1804         (WebCore::IDLOperationReturningPromise::call):
1805         (WebCore::IDLOperationReturningPromise::callReturningOwnPromise):
1806         (WebCore::IDLOperationReturningPromise::callStatic):
1807         (WebCore::IDLOperationReturningPromise::callStaticReturningOwnPromise):
1808         * bindings/js/JSDOMPromise.cpp:
1809         (WebCore::callFunction):
1810         (WebCore::DOMPromise::whenPromiseIsSettled):
1811         (WebCore::DOMPromise::result const):
1812         (WebCore::DOMPromise::status const):
1813         * bindings/js/JSDOMPromiseDeferred.cpp:
1814         (WebCore::DeferredPromise::callFunction):
1815         (WebCore::DeferredPromise::reject):
1816         (WebCore::rejectPromiseWithExceptionIfAny):
1817         (WebCore::createDeferredPromise):
1818         (WebCore::createRejectedPromiseWithTypeError):
1819         (WebCore::parseAsJSON):
1820         (WebCore::fulfillPromiseWithJSON):
1821         (WebCore::fulfillPromiseWithArrayBuffer):
1822         * bindings/js/JSDOMPromiseDeferred.h:
1823         (WebCore::DeferredPromise::create):
1824         (WebCore::DeferredPromise::resolve):
1825         (WebCore::DeferredPromise::resolveWithNewlyCreated):
1826         (WebCore::DeferredPromise::resolveCallbackValueWithNewlyCreated):
1827         (WebCore::DeferredPromise::reject):
1828         (WebCore::DeferredPromise::resolveWithCallback):
1829         (WebCore::DeferredPromise::rejectWithCallback):
1830         (WebCore::callPromiseFunction):
1831         (WebCore::bindingPromiseFunctionAdapter):
1832         * bindings/js/JSDOMWindowBase.cpp:
1833         (WebCore::JSDOMWindowBase::updateDocument):
1834         (WebCore::shouldInterruptScriptToPreventInfiniteRecursionWhenClosingPage):
1835         (WebCore::toJS):
1836         (WebCore::incumbentDOMWindow):
1837         (WebCore::activeDOMWindow):
1838         (WebCore::firstDOMWindow):
1839         (WebCore::responsibleDocument):
1840         (WebCore::JSDOMWindowBase::moduleLoaderResolve):
1841         (WebCore::JSDOMWindowBase::moduleLoaderFetch):
1842         (WebCore::JSDOMWindowBase::moduleLoaderEvaluate):
1843         (WebCore::JSDOMWindowBase::moduleLoaderImportModule):
1844         (WebCore::JSDOMWindowBase::moduleLoaderCreateImportMetaProperties):
1845         (WebCore::tryAllocate):
1846         (WebCore::isResponseCorrect):
1847         (WebCore::handleResponseOnStreamingAction):
1848         (WebCore::JSDOMWindowBase::compileStreaming):
1849         (WebCore::JSDOMWindowBase::instantiateStreaming):
1850         * bindings/js/JSDOMWindowBase.h:
1851         (WebCore::toJS):
1852         * bindings/js/JSDOMWindowCustom.cpp:
1853         (WebCore::jsDOMWindowWebKit):
1854         (WebCore::jsDOMWindowGetOwnPropertySlotRestrictedAccess):
1855         (WebCore::JSDOMWindow::getOwnPropertySlot):
1856         (WebCore::JSDOMWindow::getOwnPropertySlotByIndex):
1857         (WebCore::JSDOMWindow::doPutPropertySecurityCheck):
1858         (WebCore::JSDOMWindow::put):
1859         (WebCore::JSDOMWindow::putByIndex):
1860         (WebCore::JSDOMWindow::deleteProperty):
1861         (WebCore::JSDOMWindow::deletePropertyByIndex):
1862         (WebCore::addCrossOriginOwnPropertyNames):
1863         (WebCore::addScopedChildrenIndexes):
1864         (WebCore::JSDOMWindow::getOwnPropertyNames):
1865         (WebCore::JSDOMWindow::defineOwnProperty):
1866         (WebCore::JSDOMWindow::getPrototype):
1867         (WebCore::JSDOMWindow::preventExtensions):
1868         (WebCore::JSDOMWindow::toStringName):
1869         (WebCore::JSDOMWindow::event const):
1870         (WebCore::DialogHandler::DialogHandler):
1871         (WebCore::DialogHandler::dialogCreated):
1872         (WebCore::DialogHandler::returnValue const):
1873         (WebCore::JSDOMWindow::showModalDialog):
1874         (WebCore::JSDOMWindow::queueMicrotask):
1875         (WebCore::JSDOMWindow::setOpener):
1876         (WebCore::JSDOMWindow::self const):
1877         (WebCore::JSDOMWindow::window const):
1878         (WebCore::JSDOMWindow::frames const):
1879         (WebCore::jsDOMWindowInstanceFunctionOpenDatabaseBody):
1880         (WebCore::IDLOperation<JSDOMWindow>::cast):
1881         (WebCore::jsDOMWindowInstanceFunctionOpenDatabase):
1882         (WebCore::JSDOMWindow::openDatabase const):
1883         (WebCore::JSDOMWindow::setOpenDatabase):
1884         * bindings/js/JSDOMWindowCustom.h:
1885         * bindings/js/JSDOMWindowProperties.cpp:
1886         (WebCore::jsDOMWindowPropertiesGetOwnPropertySlotNamedItemGetter):
1887         (WebCore::JSDOMWindowProperties::getOwnPropertySlot):
1888         (WebCore::JSDOMWindowProperties::getOwnPropertySlotByIndex):
1889         * bindings/js/JSDOMWindowProperties.h:
1890         * bindings/js/JSDOMWrapper.cpp:
1891         (WebCore::cloneAcrossWorlds):
1892         * bindings/js/JSDOMWrapper.h:
1893         * bindings/js/JSDOMWrapperCache.h:
1894         (WebCore::deprecatedGlobalObjectForPrototype):
1895         (WebCore::deprecatedGetDOMStructure):
1896         (WebCore::wrap):
1897         * bindings/js/JSDeprecatedCSSOMValueCustom.cpp:
1898         (WebCore::toJSNewlyCreated):
1899         (WebCore::toJS):
1900         * bindings/js/JSDocumentCustom.cpp:
1901         (WebCore::createNewDocumentWrapper):
1902         (WebCore::cachedDocumentWrapper):
1903         (WebCore::reportMemoryForDocumentIfFrameless):
1904         (WebCore::toJSNewlyCreated):
1905         (WebCore::toJS):
1906         * bindings/js/JSDocumentCustom.h:
1907         * bindings/js/JSDocumentFragmentCustom.cpp:
1908         (WebCore::toJSNewlyCreated):
1909         (WebCore::toJS):
1910         * bindings/js/JSElementCustom.cpp:
1911         (WebCore::toJS):
1912         (WebCore::toJSNewlyCreated):
1913         * bindings/js/JSErrorHandler.cpp:
1914         (WebCore::JSErrorHandler::handleEvent):
1915         * bindings/js/JSErrorHandler.h:
1916         (WebCore::createJSErrorHandler):
1917         * bindings/js/JSEventCustom.cpp:
1918         (WebCore::toJS):
1919         * bindings/js/JSEventListener.cpp:
1920         (WebCore::JSEventListener::handleEvent):
1921         (WebCore::createEventListenerForEventHandlerAttribute):
1922         (WebCore::setEventHandlerAttribute):
1923         (WebCore::setWindowEventHandlerAttribute):
1924         (WebCore::setDocumentEventHandlerAttribute):
1925         * bindings/js/JSEventListener.h:
1926         * bindings/js/JSEventTargetCustom.h:
1927         (WebCore::IDLOperation<JSEventTarget>::call):
1928         * bindings/js/JSExecState.cpp:
1929         (WebCore::JSExecState::didLeaveScriptContext):
1930         (WebCore::functionCallHandlerFromAnyThread):
1931         (WebCore::evaluateHandlerFromAnyThread):
1932         * bindings/js/JSExecState.h:
1933         (WebCore::JSExecState::currentState):
1934         (WebCore::JSExecState::call):
1935         (WebCore::JSExecState::evaluate):
1936         (WebCore::JSExecState::profiledCall):
1937         (WebCore::JSExecState::profiledEvaluate):
1938         (WebCore::JSExecState::runTask):
1939         (WebCore::JSExecState::loadModule):
1940         (WebCore::JSExecState::linkAndEvaluateModule):
1941         (WebCore::JSExecState::JSExecState):
1942         (WebCore::JSExecState::~JSExecState):
1943         (WebCore::JSExecState::setCurrentState):
1944         * bindings/js/JSExtendableMessageEventCustom.cpp:
1945         (WebCore::constructJSExtendableMessageEvent):
1946         (WebCore::JSExtendableMessageEvent::data const):
1947         * bindings/js/JSFileSystemEntryCustom.cpp:
1948         (WebCore::toJSNewlyCreated):
1949         (WebCore::toJS):
1950         * bindings/js/JSHTMLCollectionCustom.cpp:
1951         (WebCore::toJSNewlyCreated):
1952         (WebCore::toJS):
1953         * bindings/js/JSHTMLDocumentCustom.cpp:
1954         (WebCore::toJSNewlyCreated):
1955         (WebCore::toJS):
1956         * bindings/js/JSHTMLElementCustom.cpp:
1957         (WebCore::constructJSHTMLElement):
1958         (WebCore::JSHTMLElement::pushEventHandlerScope const):
1959         * bindings/js/JSHistoryCustom.cpp:
1960         (WebCore::JSHistory::state const):
1961         * bindings/js/JSIDBCursorCustom.cpp:
1962         (WebCore::JSIDBCursor::key const):
1963         (WebCore::JSIDBCursor::primaryKey const):
1964         (WebCore::toJSNewlyCreated):
1965         (WebCore::toJS):
1966         * bindings/js/JSIDBCursorWithValueCustom.cpp:
1967         (WebCore::JSIDBCursorWithValue::value const):
1968         * bindings/js/JSIDBRequestCustom.cpp:
1969         (WebCore::JSIDBRequest::result const):
1970         * bindings/js/JSImageDataCustom.cpp:
1971         (WebCore::toJSNewlyCreated):
1972         (WebCore::toJS):
1973         * bindings/js/JSLazyEventListener.cpp:
1974         (WebCore::JSLazyEventListener::initializeJSFunction const):
1975         * bindings/js/JSLocationCustom.cpp:
1976         (WebCore::getOwnPropertySlotCommon):
1977         (WebCore::JSLocation::getOwnPropertySlot):
1978         (WebCore::JSLocation::getOwnPropertySlotByIndex):
1979         (WebCore::putCommon):
1980         (WebCore::JSLocation::doPutPropertySecurityCheck):
1981         (WebCore::JSLocation::put):
1982         (WebCore::JSLocation::putByIndex):
1983         (WebCore::JSLocation::deleteProperty):
1984         (WebCore::JSLocation::deletePropertyByIndex):
1985         (WebCore::JSLocation::getOwnPropertyNames):
1986         (WebCore::JSLocation::defineOwnProperty):
1987         (WebCore::JSLocation::getPrototype):
1988         (WebCore::JSLocation::preventExtensions):
1989         (WebCore::JSLocation::toStringName):
1990         (WebCore::JSLocationPrototype::put):
1991         (WebCore::JSLocationPrototype::defineOwnProperty):
1992         * bindings/js/JSMediaStreamTrackCustom.cpp:
1993         (WebCore::toJSNewlyCreated):
1994         (WebCore::toJS):
1995         * bindings/js/JSMessageEventCustom.cpp:
1996         (WebCore::JSMessageEvent::ports const):
1997         (WebCore::JSMessageEvent::data const):
1998         * bindings/js/JSMicrotaskCallback.h:
1999         (WebCore::JSMicrotaskCallback::call):
2000         * bindings/js/JSNodeCustom.cpp:
2001         (WebCore::JSNode::pushEventHandlerScope const):
2002         (WebCore::createWrapperInline):
2003         (WebCore::createWrapper):
2004         (WebCore::toJSNewlyCreated):
2005         (WebCore::willCreatePossiblyOrphanedTreeByRemovalSlowCase):
2006         * bindings/js/JSNodeCustom.h:
2007         (WebCore::toJS):
2008         (WebCore::JSNode::nodeType const):
2009         * bindings/js/JSNodeListCustom.cpp:
2010         (WebCore::toJSNewlyCreated):
2011         * bindings/js/JSNodeListCustom.h:
2012         (WebCore::toJS):
2013         * bindings/js/JSPaymentMethodChangeEventCustom.cpp:
2014         (WebCore::JSPaymentMethodChangeEvent::methodDetails const):
2015         * bindings/js/JSPaymentResponseCustom.cpp:
2016         (WebCore::JSPaymentResponse::details const):
2017         * bindings/js/JSPerformanceEntryCustom.cpp:
2018         (WebCore::toJSNewlyCreated):
2019         (WebCore::toJS):
2020         * bindings/js/JSPluginElementFunctions.cpp:
2021         (WebCore::pluginScriptObject):
2022         (WebCore::pluginElementPropertyGetter):
2023         (WebCore::pluginElementCustomGetOwnPropertySlot):
2024         (WebCore::pluginElementCustomPut):
2025         (WebCore::callPlugin):
2026         * bindings/js/JSPluginElementFunctions.h:
2027         * bindings/js/JSPopStateEventCustom.cpp:
2028         (WebCore::JSPopStateEvent::state const):
2029         * bindings/js/JSReadableStreamSourceCustom.cpp:
2030         (WebCore::JSReadableStreamSource::start):
2031         (WebCore::JSReadableStreamSource::pull):
2032         (WebCore::JSReadableStreamSource::controller const):
2033         * bindings/js/JSRemoteDOMWindowCustom.cpp:
2034         (WebCore::JSRemoteDOMWindow::getOwnPropertySlot):
2035         (WebCore::JSRemoteDOMWindow::getOwnPropertySlotByIndex):
2036         (WebCore::JSRemoteDOMWindow::put):
2037         (WebCore::JSRemoteDOMWindow::putByIndex):
2038         (WebCore::JSRemoteDOMWindow::deleteProperty):
2039         (WebCore::JSRemoteDOMWindow::deletePropertyByIndex):
2040         (WebCore::JSRemoteDOMWindow::getOwnPropertyNames):
2041         (WebCore::JSRemoteDOMWindow::defineOwnProperty):
2042         (WebCore::JSRemoteDOMWindow::getPrototype):
2043         (WebCore::JSRemoteDOMWindow::preventExtensions):
2044         (WebCore::JSRemoteDOMWindow::toStringName):
2045         * bindings/js/JSSVGPathSegCustom.cpp:
2046         (WebCore::toJSNewlyCreated):
2047         (WebCore::toJS):
2048         * bindings/js/JSServiceWorkerClientCustom.cpp:
2049         (WebCore::toJSNewlyCreated):
2050         (WebCore::toJS):
2051         * bindings/js/JSStyleSheetCustom.cpp:
2052         (WebCore::toJSNewlyCreated):
2053         (WebCore::toJS):
2054         * bindings/js/JSTextCustom.cpp:
2055         (WebCore::toJSNewlyCreated):
2056         (WebCore::toJS):
2057         * bindings/js/JSTextTrackCueCustom.cpp:
2058         (WebCore::toJSNewlyCreated):
2059         (WebCore::toJS):
2060         * bindings/js/JSTrackCustom.cpp:
2061         (WebCore::toJS):
2062         * bindings/js/JSTrackCustom.h:
2063         * bindings/js/JSTypedOMCSSStyleValueCustom.cpp:
2064         (WebCore::toJSNewlyCreated):
2065         (WebCore::toJS):
2066         * bindings/js/JSValueInWrappedObject.h:
2067         (WebCore::cachedPropertyValue):
2068         * bindings/js/JSWebAnimationCustom.cpp:
2069         (WebCore::toJSNewlyCreated):
2070         (WebCore::toJS):
2071         (WebCore::constructJSWebAnimation):
2072         * bindings/js/JSWindowProxy.cpp:
2073         (WebCore::toJS):
2074         * bindings/js/JSWindowProxy.h:
2075         (WebCore::toJS):
2076         * bindings/js/JSWorkerGlobalScopeBase.cpp:
2077         (WebCore::toJS):
2078         * bindings/js/JSWorkerGlobalScopeBase.h:
2079         (WebCore::toJS):
2080         * bindings/js/JSWorkerGlobalScopeCustom.cpp:
2081         (WebCore::JSWorkerGlobalScope::queueMicrotask):
2082         * bindings/js/JSWorkletGlobalScopeBase.cpp:
2083         (WebCore::toJS):
2084         * bindings/js/JSWorkletGlobalScopeBase.h:
2085         (WebCore::toJS):
2086         * bindings/js/JSXMLDocumentCustom.cpp:
2087         (WebCore::toJSNewlyCreated):
2088         (WebCore::toJS):
2089         * bindings/js/JSXMLHttpRequestCustom.cpp:
2090         (WebCore::JSXMLHttpRequest::response const):
2091         * bindings/js/JSXPathNSResolverCustom.cpp:
2092         (WebCore::JSXPathNSResolver::toWrapped):
2093         * bindings/js/ReadableStream.cpp:
2094         (WebCore::ReadableStream::create):
2095         (WebCore::ReadableStreamInternal::callFunction):
2096         (WebCore::ReadableStream::pipeTo):
2097         (WebCore::ReadableStream::tee):
2098         (WebCore::ReadableStream::lock):
2099         (WebCore::checkReadableStream):
2100         (WebCore::ReadableStream::isDisturbed):
2101         * bindings/js/ReadableStream.h:
2102         (WebCore::JSReadableStreamWrapperConverter::toWrapped):
2103         (WebCore::toJS):
2104         * bindings/js/ReadableStreamDefaultController.cpp:
2105         (WebCore::readableStreamCallFunction):
2106         (WebCore::ReadableStreamDefaultController::invoke):
2107         * bindings/js/ReadableStreamDefaultController.h:
2108         (WebCore::ReadableStreamDefaultController::close):
2109         (WebCore::ReadableStreamDefaultController::error):
2110         (WebCore::ReadableStreamDefaultController::enqueue):
2111         (WebCore::ReadableStreamDefaultController::globalExec const): Deleted.
2112         * bindings/js/ScheduledAction.cpp:
2113         (WebCore::ScheduledAction::executeFunctionInContext):
2114         * bindings/js/ScriptController.cpp:
2115         (WebCore::ScriptController::evaluateInWorld):
2116         (WebCore::ScriptController::loadModuleScriptInWorld):
2117         (WebCore::ScriptController::linkAndEvaluateModuleScriptInWorld):
2118         (WebCore::ScriptController::evaluateModule):
2119         (WebCore::jsValueToModuleKey):
2120         (WebCore::ScriptController::setupModuleScriptHandlers):
2121         (WebCore::ScriptController::canAccessFromCurrentOrigin):
2122         (WebCore::ScriptController::collectIsolatedContexts):
2123         (WebCore::ScriptController::jsObjectForPluginElement):
2124         (WebCore::ScriptController::executeIfJavaScriptURL):
2125         * bindings/js/ScriptController.h:
2126         * bindings/js/ScriptControllerMac.mm:
2127         (WebCore::ScriptController::javaScriptContext):
2128         * bindings/js/ScriptModuleLoader.cpp:
2129         (WebCore::ScriptModuleLoader::resolve):
2130         (WebCore::rejectToPropagateNetworkError):
2131         (WebCore::ScriptModuleLoader::fetch):
2132         (WebCore::ScriptModuleLoader::moduleURL):
2133         (WebCore::ScriptModuleLoader::evaluate):
2134         (WebCore::rejectPromise):
2135         (WebCore::ScriptModuleLoader::importModule):
2136         (WebCore::ScriptModuleLoader::createImportMetaProperties):
2137         (WebCore::ScriptModuleLoader::notifyFinished):
2138         * bindings/js/ScriptModuleLoader.h:
2139         * bindings/js/ScriptState.cpp:
2140         (WebCore::domWindowFromExecState):
2141         (WebCore::frameFromExecState):
2142         (WebCore::scriptExecutionContextFromExecState):
2143         (WebCore::mainWorldExecState):
2144         (WebCore::execStateFromNode):
2145         (WebCore::execStateFromPage):
2146         (WebCore::execStateFromWorkerGlobalScope):
2147         (WebCore::execStateFromWorkletGlobalScope):
2148         * bindings/js/ScriptState.h:
2149         * bindings/js/SerializedScriptValue.cpp:
2150         (WebCore::CloneBase::CloneBase):
2151         (WebCore::CloneBase::shouldTerminate):
2152         (WebCore::wrapCryptoKey):
2153         (WebCore::unwrapCryptoKey):
2154         (WebCore::CloneSerializer::serialize):
2155         (WebCore::CloneSerializer::CloneSerializer):
2156         (WebCore::CloneSerializer::fillTransferMap):
2157         (WebCore::CloneSerializer::getProperty):
2158         (WebCore::CloneSerializer::toJSArrayBuffer):
2159         (WebCore::CloneSerializer::dumpArrayBufferView):
2160         (WebCore::CloneSerializer::dumpDOMPoint):
2161         (WebCore::CloneSerializer::dumpDOMRect):
2162         (WebCore::CloneSerializer::dumpDOMMatrix):
2163         (WebCore::CloneSerializer::dumpIfTerminal):
2164         (WebCore::CloneSerializer::write):
2165         (WebCore::CloneDeserializer::deserialize):
2166         (WebCore::CloneDeserializer::CachedString::jsString):
2167         (WebCore::CloneDeserializer::CloneDeserializer):
2168         (WebCore::CloneDeserializer::putProperty):
2169         (WebCore::CloneDeserializer::readArrayBufferView):
2170         (WebCore::CloneDeserializer::getJSValue):
2171         (WebCore::CloneDeserializer::readDOMPoint):
2172         (WebCore::CloneDeserializer::readDOMMatrix):
2173         (WebCore::CloneDeserializer::readDOMRect):
2174         (WebCore::CloneDeserializer::readDOMQuad):
2175         (WebCore::CloneDeserializer::readRTCCertificate):
2176         (WebCore::CloneDeserializer::readTerminal):
2177         (WebCore::maybeThrowExceptionIfSerializationFailed):
2178         (WebCore::SerializedScriptValue::create):
2179         (WebCore::SerializedScriptValue::deserialize):
2180         * bindings/js/SerializedScriptValue.h:
2181         * bindings/js/StructuredClone.cpp:
2182         (WebCore::cloneArrayBufferImpl):
2183         (WebCore::structuredCloneArrayBufferView):
2184         * bindings/js/StructuredClone.h:
2185         * bindings/js/WebCoreTypedArrayController.cpp:
2186         (WebCore::WebCoreTypedArrayController::toJS):
2187         * bindings/js/WebCoreTypedArrayController.h:
2188         * bindings/js/WorkerScriptController.cpp:
2189         (WebCore::WorkerScriptController::evaluate):
2190         (WebCore::WorkerScriptController::setException):
2191         (WebCore::WorkerScriptController::scheduleExecutionTermination):
2192         (WebCore::WorkerScriptController::attachDebugger):
2193         (WebCore::WorkerScriptController::detachDebugger):
2194         * bindings/scripts/CodeGeneratorJS.pm:
2195         (GenerateGetOwnPropertySlot):
2196         (GenerateGetOwnPropertySlotByIndex):
2197         (GenerateGetOwnPropertyNames):
2198         (GenerateInvokeIndexedPropertySetter):
2199         (GenerateInvokeNamedPropertySetter):
2200         (GeneratePut):
2201         (GeneratePutByIndex):
2202         (GenerateDefineOwnProperty):
2203         (GenerateDeletePropertyCommon):
2204         (GenerateDeleteProperty):
2205         (GenerateDeletePropertyByIndex):
2206         (GetArgumentExceptionFunction):
2207         (GetArgumentExceptionThrower):
2208         (GetAttributeExceptionFunction):
2209         (GetAttributeExceptionThrower):
2210         (AddAdditionalArgumentsForImplementationCall):
2211         (GenerateEnumerationImplementationContent):
2212         (GenerateEnumerationHeaderContent):
2213         (GenerateDefaultValue):
2214         (GenerateDictionaryHeaderContent):
2215         (GenerateDictionaryImplementationContent):
2216         (GenerateHeader):
2217         (GenerateOverloadDispatcher):
2218         (addUnscopableProperties):
2219         (GenerateImplementation):
2220         (GenerateAttributeGetterBodyDefinition):
2221         (GenerateAttributeGetterTrampolineDefinition):
2222         (GenerateAttributeSetterBodyDefinition):
2223         (GenerateAttributeSetterTrampolineDefinition):
2224         (GenerateOperationTrampolineDefinition):
2225         (GenerateOperationBodyDefinition):
2226         (GenerateOperationDefinition):
2227         (GenerateSerializerDefinition):
2228         (GenerateLegacyCallerDefinitions):
2229         (GenerateLegacyCallerDefinition):
2230         (GenerateCallWithUsingReferences):
2231         (GenerateCallWithUsingPointers):
2232         (GenerateConstructorCallWithUsingPointers):
2233         (GenerateCallWith):
2234         (GenerateArgumentsCountCheck):
2235         (GenerateParametersCheck):
2236         (GenerateCallbackImplementationContent):
2237         (GenerateImplementationFunctionCall):
2238         (GenerateImplementationCustomFunctionCall):
2239         (GenerateIterableDefinition):
2240         (JSValueToNative):
2241         (ToNativeForFunctionWithoutTypeCheck):
2242         (NativeToJSValueDOMConvertNeedsState):
2243         (NativeToJSValueDOMConvertNeedsGlobalObject):
2244         (NativeToJSValueUsingReferences):
2245         (NativeToJSValueUsingPointers):
2246         (NativeToJSValue):
2247         (GeneratePrototypeDeclaration):
2248         (GenerateConstructorDefinitions):
2249         (GenerateConstructorDefinition):
2250         (GenerateConstructorHelperMethods):
2251         * bindings/scripts/test/JS/JSInterfaceName.cpp:
2252         (WebCore::jsInterfaceNameConstructor):
2253         (WebCore::setJSInterfaceNameConstructor):
2254         (WebCore::toJSNewlyCreated):
2255         (WebCore::toJS):
2256         * bindings/scripts/test/JS/JSInterfaceName.h:
2257         (WebCore::toJS):
2258         (WebCore::toJSNewlyCreated):
2259         * bindings/scripts/test/JS/JSMapLike.cpp:
2260         (WebCore::JSMapLike::finishCreation):
2261         (WebCore::IDLAttribute<JSMapLike>::cast):
2262         (WebCore::IDLOperation<JSMapLike>::cast):
2263         (WebCore::jsMapLikeConstructor):
2264         (WebCore::setJSMapLikeConstructor):
2265         (WebCore::jsMapLikeSizeGetter):
2266         (WebCore::jsMapLikeSize):
2267         (WebCore::jsMapLikePrototypeFunctionGetBody):
2268         (WebCore::jsMapLikePrototypeFunctionGet):
2269         (WebCore::jsMapLikePrototypeFunctionHasBody):
2270         (WebCore::jsMapLikePrototypeFunctionHas):
2271         (WebCore::jsMapLikePrototypeFunctionEntriesBody):
2272         (WebCore::jsMapLikePrototypeFunctionEntries):
2273         (WebCore::jsMapLikePrototypeFunctionKeysBody):
2274         (WebCore::jsMapLikePrototypeFunctionKeys):
2275         (WebCore::jsMapLikePrototypeFunctionValuesBody):
2276         (WebCore::jsMapLikePrototypeFunctionValues):
2277         (WebCore::jsMapLikePrototypeFunctionForEachBody):
2278         (WebCore::jsMapLikePrototypeFunctionForEach):
2279         (WebCore::jsMapLikePrototypeFunctionAddBody):
2280         (WebCore::jsMapLikePrototypeFunctionAdd):
2281         (WebCore::jsMapLikePrototypeFunctionClearBody):
2282         (WebCore::jsMapLikePrototypeFunctionClear):
2283         (WebCore::jsMapLikePrototypeFunctionDeleteBody):
2284         (WebCore::jsMapLikePrototypeFunctionDelete):
2285         (WebCore::toJSNewlyCreated):
2286         (WebCore::toJS):
2287         * bindings/scripts/test/JS/JSMapLike.h:
2288         (WebCore::toJS):
2289         (WebCore::toJSNewlyCreated):
2290         * bindings/scripts/test/JS/JSReadOnlyMapLike.cpp:
2291         (WebCore::JSReadOnlyMapLike::finishCreation):
2292         (WebCore::IDLAttribute<JSReadOnlyMapLike>::cast):
2293         (WebCore::IDLOperation<JSReadOnlyMapLike>::cast):
2294         (WebCore::jsReadOnlyMapLikeConstructor):
2295         (WebCore::setJSReadOnlyMapLikeConstructor):
2296         (WebCore::jsReadOnlyMapLikeSizeGetter):
2297         (WebCore::jsReadOnlyMapLikeSize):
2298         (WebCore::jsReadOnlyMapLikePrototypeFunctionGetBody):
2299         (WebCore::jsReadOnlyMapLikePrototypeFunctionGet):
2300         (WebCore::jsReadOnlyMapLikePrototypeFunctionHasBody):
2301         (WebCore::jsReadOnlyMapLikePrototypeFunctionHas):
2302         (WebCore::jsReadOnlyMapLikePrototypeFunctionEntriesBody):
2303         (WebCore::jsReadOnlyMapLikePrototypeFunctionEntries):
2304         (WebCore::jsReadOnlyMapLikePrototypeFunctionKeysBody):
2305         (WebCore::jsReadOnlyMapLikePrototypeFunctionKeys):
2306         (WebCore::jsReadOnlyMapLikePrototypeFunctionValuesBody):
2307         (WebCore::jsReadOnlyMapLikePrototypeFunctionValues):
2308         (WebCore::jsReadOnlyMapLikePrototypeFunctionForEachBody):
2309         (WebCore::jsReadOnlyMapLikePrototypeFunctionForEach):
2310         (WebCore::toJSNewlyCreated):
2311         (WebCore::toJS):
2312         * bindings/scripts/test/JS/JSReadOnlyMapLike.h:
2313         (WebCore::toJS):
2314         (WebCore::toJSNewlyCreated):
2315         * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp:
2316         (WebCore::IDLAttribute<JSTestActiveDOMObject>::cast):
2317         (WebCore::IDLOperation<JSTestActiveDOMObject>::cast):
2318         (WebCore::jsTestActiveDOMObjectConstructor):
2319         (WebCore::setJSTestActiveDOMObjectConstructor):
2320         (WebCore::jsTestActiveDOMObjectExcitingAttrGetter):
2321         (WebCore::jsTestActiveDOMObjectExcitingAttr):
2322         (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunctionBody):
2323         (WebCore::jsTestActiveDOMObjectPrototypeFunctionExcitingFunction):
2324         (WebCore::jsTestActiveDOMObjectPrototypeFunctionPostMessageBody):
2325         (WebCore::jsTestActiveDOMObjectPrototypeFunctionPostMessage):
2326         (WebCore::toJSNewlyCreated):
2327         (WebCore::toJS):
2328         * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
2329         (WebCore::toJS):
2330         (WebCore::toJSNewlyCreated):
2331         * bindings/scripts/test/JS/JSTestCEReactions.cpp:
2332         (WebCore::IDLAttribute<JSTestCEReactions>::cast):
2333         (WebCore::IDLOperation<JSTestCEReactions>::cast):
2334         (WebCore::jsTestCEReactionsConstructor):
2335         (WebCore::setJSTestCEReactionsConstructor):
2336         (WebCore::jsTestCEReactionsAttributeWithCEReactionsGetter):
2337         (WebCore::jsTestCEReactionsAttributeWithCEReactions):
2338         (WebCore::setJSTestCEReactionsAttributeWithCEReactionsSetter):
2339         (WebCore::setJSTestCEReactionsAttributeWithCEReactions):
2340         (WebCore::jsTestCEReactionsReflectAttributeWithCEReactionsGetter):
2341         (WebCore::jsTestCEReactionsReflectAttributeWithCEReactions):
2342         (WebCore::setJSTestCEReactionsReflectAttributeWithCEReactionsSetter):
2343         (WebCore::setJSTestCEReactionsReflectAttributeWithCEReactions):
2344         (WebCore::jsTestCEReactionsStringifierAttributeGetter):
2345         (WebCore::jsTestCEReactionsStringifierAttribute):
2346         (WebCore::setJSTestCEReactionsStringifierAttributeSetter):
2347         (WebCore::setJSTestCEReactionsStringifierAttribute):
2348         (WebCore::jsTestCEReactionsAttributeWithCEReactionsNotNeededGetter):
2349         (WebCore::jsTestCEReactionsAttributeWithCEReactionsNotNeeded):
2350         (WebCore::setJSTestCEReactionsAttributeWithCEReactionsNotNeededSetter):
2351         (WebCore::setJSTestCEReactionsAttributeWithCEReactionsNotNeeded):
2352         (WebCore::jsTestCEReactionsReflectAttributeWithCEReactionsNotNeededGetter):
2353         (WebCore::jsTestCEReactionsReflectAttributeWithCEReactionsNotNeeded):
2354         (WebCore::setJSTestCEReactionsReflectAttributeWithCEReactionsNotNeededSetter):
2355         (WebCore::setJSTestCEReactionsReflectAttributeWithCEReactionsNotNeeded):
2356         (WebCore::jsTestCEReactionsStringifierAttributeNotNeededGetter):
2357         (WebCore::jsTestCEReactionsStringifierAttributeNotNeeded):
2358         (WebCore::setJSTestCEReactionsStringifierAttributeNotNeededSetter):
2359         (WebCore::setJSTestCEReactionsStringifierAttributeNotNeeded):
2360         (WebCore::jsTestCEReactionsPrototypeFunctionMethodWithCEReactionsBody):
2361         (WebCore::jsTestCEReactionsPrototypeFunctionMethodWithCEReactions):
2362         (WebCore::jsTestCEReactionsPrototypeFunctionMethodWithCEReactionsNotNeededBody):
2363         (WebCore::jsTestCEReactionsPrototypeFunctionMethodWithCEReactionsNotNeeded):
2364         (WebCore::toJSNewlyCreated):
2365         (WebCore::toJS):
2366         * bindings/scripts/test/JS/JSTestCEReactions.h:
2367         (WebCore::toJS):
2368         (WebCore::toJSNewlyCreated):
2369         * bindings/scripts/test/JS/JSTestCEReactionsStringifier.cpp:
2370         (WebCore::IDLAttribute<JSTestCEReactionsStringifier>::cast):
2371         (WebCore::IDLOperation<JSTestCEReactionsStringifier>::cast):
2372         (WebCore::jsTestCEReactionsStringifierConstructor):
2373         (WebCore::setJSTestCEReactionsStringifierConstructor):
2374         (WebCore::jsTestCEReactionsStringifierValueGetter):
2375         (WebCore::jsTestCEReactionsStringifierValue):
2376         (WebCore::setJSTestCEReactionsStringifierValueSetter):
2377         (WebCore::setJSTestCEReactionsStringifierValue):
2378         (WebCore::jsTestCEReactionsStringifierValueWithoutReactionsGetter):
2379         (WebCore::jsTestCEReactionsStringifierValueWithoutReactions):
2380         (WebCore::setJSTestCEReactionsStringifierValueWithoutReactionsSetter):
2381         (WebCore::setJSTestCEReactionsStringifierValueWithoutReactions):
2382         (WebCore::jsTestCEReactionsStringifierPrototypeFunctionToStringBody):
2383         (WebCore::jsTestCEReactionsStringifierPrototypeFunctionToString):
2384         (WebCore::toJSNewlyCreated):
2385         (WebCore::toJS):
2386         * bindings/scripts/test/JS/JSTestCEReactionsStringifier.h:
2387         (WebCore::toJS):
2388         (WebCore::toJSNewlyCreated):
2389         * bindings/scripts/test/JS/JSTestCallTracer.cpp:
2390         (WebCore::IDLAttribute<JSTestCallTracer>::cast):
2391         (WebCore::IDLOperation<JSTestCallTracer>::cast):
2392         (WebCore::jsTestCallTracerConstructor):
2393         (WebCore::setJSTestCallTracerConstructor):
2394         (WebCore::jsTestCallTracerTestAttributeInterfaceGetter):
2395         (WebCore::jsTestCallTracerTestAttributeInterface):
2396         (WebCore::setJSTestCallTracerTestAttributeInterfaceSetter):
2397         (WebCore::setJSTestCallTracerTestAttributeInterface):
2398         (WebCore::jsTestCallTracerTestAttributeSpecifiedGetter):
2399         (WebCore::jsTestCallTracerTestAttributeSpecified):
2400         (WebCore::setJSTestCallTracerTestAttributeSpecifiedSetter):
2401         (WebCore::setJSTestCallTracerTestAttributeSpecified):
2402         (WebCore::jsTestCallTracerTestAttributeWithVariantGetter):
2403         (WebCore::jsTestCallTracerTestAttributeWithVariant):
2404         (WebCore::setJSTestCallTracerTestAttributeWithVariantSetter):
2405         (WebCore::setJSTestCallTracerTestAttributeWithVariant):
2406         (WebCore::jsTestCallTracerTestReadonlyAttributeGetter):
2407         (WebCore::jsTestCallTracerTestReadonlyAttribute):
2408         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationInterfaceBody):
2409         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationInterface):
2410         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationSpecifiedBody):
2411         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationSpecified):
2412         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithArgumentsBody):
2413         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithArguments):
2414         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithNullableArgumentBody):
2415         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithNullableArgument):
2416         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithVariantArgumentBody):
2417         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithVariantArgument):
2418         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithNullableVariantArgumentBody):
2419         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithNullableVariantArgument):
2420         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithOptionalVariantArgumentBody):
2421         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithOptionalVariantArgument):
2422         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithDefaultVariantArgumentBody):
2423         (WebCore::jsTestCallTracerPrototypeFunctionTestOperationWithDefaultVariantArgument):
2424         (WebCore::toJSNewlyCreated):
2425         (WebCore::toJS):
2426         * bindings/scripts/test/JS/JSTestCallTracer.h:
2427         (WebCore::toJS):
2428         (WebCore::toJSNewlyCreated):
2429         * bindings/scripts/test/JS/JSTestCallbackFunction.cpp:
2430         (WebCore::JSTestCallbackFunction::handleEvent):
2431         * bindings/scripts/test/JS/JSTestCallbackFunctionRethrow.cpp:
2432         (WebCore::JSTestCallbackFunctionRethrow::handleEvent):
2433         * bindings/scripts/test/JS/JSTestCallbackFunctionWithThisObject.cpp:
2434         (WebCore::JSTestCallbackFunctionWithThisObject::handleEvent):
2435         * bindings/scripts/test/JS/JSTestCallbackFunctionWithTypedefs.cpp:
2436         (WebCore::JSTestCallbackFunctionWithTypedefs::handleEvent):
2437         * bindings/scripts/test/JS/JSTestCallbackInterface.cpp:
2438         (WebCore::convertEnumerationToJS):
2439         (WebCore::parseEnumeration<TestCallbackInterface::Enum>):
2440         (WebCore::convertDictionary<TestCallbackInterface::Dictionary>):
2441         (WebCore::JSTestCallbackInterface::callbackWithNoParam):
2442         (WebCore::JSTestCallbackInterface::callbackWithArrayParam):
2443         (WebCore::JSTestCallbackInterface::callbackWithSerializedScriptValueParam):
2444         (WebCore::JSTestCallbackInterface::callbackWithStringList):
2445         (WebCore::JSTestCallbackInterface::callbackWithBoolean):
2446         (WebCore::JSTestCallbackInterface::callbackRequiresThisToPass):
2447         (WebCore::JSTestCallbackInterface::callbackWithAReturnValue):
2448         (WebCore::JSTestCallbackInterface::callbackThatRethrowsExceptions):
2449         (WebCore::JSTestCallbackInterface::callbackThatSkipsInvokeCheck):
2450         (WebCore::JSTestCallbackInterface::callbackWithThisObject):
2451         * bindings/scripts/test/JS/JSTestCallbackInterface.h:
2452         * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.cpp:
2453         (WebCore::jsTestClassWithJSBuiltinConstructorConstructor):
2454         (WebCore::setJSTestClassWithJSBuiltinConstructorConstructor):
2455         (WebCore::toJSNewlyCreated):
2456         (WebCore::toJS):
2457         * bindings/scripts/test/JS/JSTestClassWithJSBuiltinConstructor.h:
2458         (WebCore::toJS):
2459         (WebCore::toJSNewlyCreated):
2460         * bindings/scripts/test/JS/JSTestDOMJIT.cpp:
2461         (WebCore::IDLAttribute<JSTestDOMJIT>::cast):
2462         (WebCore::IDLOperation<JSTestDOMJIT>::cast):
2463         (WebCore::jsTestDOMJITConstructor):
2464         (WebCore::setJSTestDOMJITConstructor):
2465         (WebCore::jsTestDOMJITAnyAttrGetter):
2466         (WebCore::jsTestDOMJITAnyAttr):
2467         (WebCore::jsTestDOMJITBooleanAttrGetter):
2468         (WebCore::jsTestDOMJITBooleanAttr):
2469         (WebCore::jsTestDOMJITByteAttrGetter):
2470         (WebCore::jsTestDOMJITByteAttr):
2471         (WebCore::jsTestDOMJITOctetAttrGetter):
2472         (WebCore::jsTestDOMJITOctetAttr):
2473         (WebCore::jsTestDOMJITShortAttrGetter):
2474         (WebCore::jsTestDOMJITShortAttr):
2475         (WebCore::jsTestDOMJITUnsignedShortAttrGetter):
2476         (WebCore::jsTestDOMJITUnsignedShortAttr):
2477         (WebCore::jsTestDOMJITLongAttrGetter):
2478         (WebCore::jsTestDOMJITLongAttr):
2479         (WebCore::jsTestDOMJITUnsignedLongAttrGetter):
2480         (WebCore::jsTestDOMJITUnsignedLongAttr):
2481         (WebCore::jsTestDOMJITLongLongAttrGetter):
2482         (WebCore::jsTestDOMJITLongLongAttr):
2483         (WebCore::jsTestDOMJITUnsignedLongLongAttrGetter):
2484         (WebCore::jsTestDOMJITUnsignedLongLongAttr):
2485         (WebCore::jsTestDOMJITFloatAttrGetter):
2486         (WebCore::jsTestDOMJITFloatAttr):
2487         (WebCore::jsTestDOMJITUnrestrictedFloatAttrGetter):
2488         (WebCore::jsTestDOMJITUnrestrictedFloatAttr):
2489         (WebCore::jsTestDOMJITDoubleAttrGetter):
2490         (WebCore::jsTestDOMJITDoubleAttr):
2491         (WebCore::jsTestDOMJITUnrestrictedDoubleAttrGetter):
2492         (WebCore::jsTestDOMJITUnrestrictedDoubleAttr):
2493         (WebCore::jsTestDOMJITDomStringAttrGetter):
2494         (WebCore::jsTestDOMJITDomStringAttr):
2495         (WebCore::jsTestDOMJITByteStringAttrGetter):
2496         (WebCore::jsTestDOMJITByteStringAttr):
2497         (WebCore::jsTestDOMJITUsvStringAttrGetter):
2498         (WebCore::jsTestDOMJITUsvStringAttr):
2499         (WebCore::jsTestDOMJITNodeAttrGetter):
2500         (WebCore::jsTestDOMJITNodeAttr):
2501         (WebCore::jsTestDOMJITBooleanNullableAttrGetter):
2502         (WebCore::jsTestDOMJITBooleanNullableAttr):
2503         (WebCore::jsTestDOMJITByteNullableAttrGetter):
2504         (WebCore::jsTestDOMJITByteNullableAttr):
2505         (WebCore::jsTestDOMJITOctetNullableAttrGetter):
2506         (WebCore::jsTestDOMJITOctetNullableAttr):
2507         (WebCore::jsTestDOMJITShortNullableAttrGetter):
2508         (WebCore::jsTestDOMJITShortNullableAttr):
2509         (WebCore::jsTestDOMJITUnsignedShortNullableAttrGetter):
2510         (WebCore::jsTestDOMJITUnsignedShortNullableAttr):
2511         (WebCore::jsTestDOMJITLongNullableAttrGetter):
2512         (WebCore::jsTestDOMJITLongNullableAttr):
2513         (WebCore::jsTestDOMJITUnsignedLongNullableAttrGetter):
2514         (WebCore::jsTestDOMJITUnsignedLongNullableAttr):
2515         (WebCore::jsTestDOMJITLongLongNullableAttrGetter):
2516         (WebCore::jsTestDOMJITLongLongNullableAttr):
2517         (WebCore::jsTestDOMJITUnsignedLongLongNullableAttrGetter):
2518         (WebCore::jsTestDOMJITUnsignedLongLongNullableAttr):
2519         (WebCore::jsTestDOMJITFloatNullableAttrGetter):
2520         (WebCore::jsTestDOMJITFloatNullableAttr):
2521         (WebCore::jsTestDOMJITUnrestrictedFloatNullableAttrGetter):
2522         (WebCore::jsTestDOMJITUnrestrictedFloatNullableAttr):
2523         (WebCore::jsTestDOMJITDoubleNullableAttrGetter):
2524         (WebCore::jsTestDOMJITDoubleNullableAttr):
2525         (WebCore::jsTestDOMJITUnrestrictedDoubleNullableAttrGetter):
2526         (WebCore::jsTestDOMJITUnrestrictedDoubleNullableAttr):
2527         (WebCore::jsTestDOMJITDomStringNullableAttrGetter):
2528         (WebCore::jsTestDOMJITDomStringNullableAttr):
2529         (WebCore::jsTestDOMJITByteStringNullableAttrGetter):
2530         (WebCore::jsTestDOMJITByteStringNullableAttr):
2531         (WebCore::jsTestDOMJITUsvStringNullableAttrGetter):
2532         (WebCore::jsTestDOMJITUsvStringNullableAttr):
2533         (WebCore::jsTestDOMJITNodeNullableAttrGetter):
2534         (WebCore::jsTestDOMJITNodeNullableAttr):
2535         (WebCore::jsTestDOMJITPrototypeFunctionGetAttributeBody):
2536         (WebCore::jsTestDOMJITPrototypeFunctionGetAttribute):
2537         (WebCore::jsTestDOMJITPrototypeFunctionGetAttributeWithoutTypeCheck):
2538         (WebCore::jsTestDOMJITPrototypeFunctionItemBody):
2539         (WebCore::jsTestDOMJITPrototypeFunctionItem):
2540         (WebCore::jsTestDOMJITPrototypeFunctionItemWithoutTypeCheck):
2541         (WebCore::jsTestDOMJITPrototypeFunctionHasAttributeBody):
2542         (WebCore::jsTestDOMJITPrototypeFunctionHasAttribute):
2543         (WebCore::jsTestDOMJITPrototypeFunctionHasAttributeWithoutTypeCheck):
2544         (WebCore::jsTestDOMJITPrototypeFunctionGetElementByIdBody):
2545         (WebCore::jsTestDOMJITPrototypeFunctionGetElementById):
2546         (WebCore::jsTestDOMJITPrototypeFunctionGetElementByIdWithoutTypeCheck):
2547         (WebCore::jsTestDOMJITPrototypeFunctionGetElementsByNameBody):
2548         (WebCore::jsTestDOMJITPrototypeFunctionGetElementsByName):
2549         (WebCore::jsTestDOMJITPrototypeFunctionGetElementsByNameWithoutTypeCheck):
2550         * bindings/scripts/test/JS/JSTestDerivedDictionary.cpp:
2551         (WebCore::convertDictionary<TestDerivedDictionary>):
2552         (WebCore::convertDictionaryToJS):
2553         * bindings/scripts/test/JS/JSTestDerivedDictionary.h:
2554         * bindings/scripts/test/JS/JSTestEnabledBySetting.cpp:
2555         (WebCore::JSTestEnabledBySettingPrototype::finishCreation):
2556         (WebCore::IDLAttribute<JSTestEnabledBySetting>::cast):
2557         (WebCore::IDLOperation<JSTestEnabledBySetting>::cast):
2558         (WebCore::jsTestEnabledBySettingConstructor):
2559         (WebCore::setJSTestEnabledBySettingConstructor):
2560         (WebCore::jsTestEnabledBySettingTestSubObjEnabledBySettingConstructorGetter):
2561         (WebCore::jsTestEnabledBySettingTestSubObjEnabledBySettingConstructor):
2562         (WebCore::setJSTestEnabledBySettingTestSubObjEnabledBySettingConstructorSetter):
2563         (WebCore::setJSTestEnabledBySettingTestSubObjEnabledBySettingConstructor):
2564         (WebCore::jsTestEnabledBySettingEnabledBySettingAttributeGetter):
2565         (WebCore::jsTestEnabledBySettingEnabledBySettingAttribute):
2566         (WebCore::setJSTestEnabledBySettingEnabledBySettingAttributeSetter):
2567         (WebCore::setJSTestEnabledBySettingEnabledBySettingAttribute):
2568         (WebCore::jsTestEnabledBySettingPrototypeFunctionEnabledBySettingOperationBody):
2569         (WebCore::jsTestEnabledBySettingPrototypeFunctionEnabledBySettingOperation):
2570         (WebCore::toJSNewlyCreated):
2571         (WebCore::toJS):
2572         * bindings/scripts/test/JS/JSTestEnabledBySetting.h:
2573         (WebCore::toJS):
2574         (WebCore::toJSNewlyCreated):
2575         * bindings/scripts/test/JS/JSTestEnabledForContext.cpp:
2576         (WebCore::IDLAttribute<JSTestEnabledForContext>::cast):
2577         (WebCore::jsTestEnabledForContextConstructor):
2578         (WebCore::setJSTestEnabledForContextConstructor):
2579         (WebCore::jsTestEnabledForContextTestSubObjEnabledForContextConstructorGetter):
2580         (WebCore::jsTestEnabledForContextTestSubObjEnabledForContextConstructor):
2581         (WebCore::setJSTestEnabledForContextTestSubObjEnabledForContextConstructorSetter):
2582         (WebCore::setJSTestEnabledForContextTestSubObjEnabledForContextConstructor):
2583         (WebCore::toJSNewlyCreated):
2584         (WebCore::toJS):
2585         * bindings/scripts/test/JS/JSTestEnabledForContext.h:
2586         (WebCore::toJS):
2587         (WebCore::toJSNewlyCreated):
2588         * bindings/scripts/test/JS/JSTestEventConstructor.cpp:
2589         (WebCore::convertDictionary<TestEventConstructor::Init>):
2590         (WebCore::JSTestEventConstructorConstructor::construct):
2591         (WebCore::IDLAttribute<JSTestEventConstructor>::cast):
2592         (WebCore::jsTestEventConstructorConstructor):
2593         (WebCore::setJSTestEventConstructorConstructor):
2594         (WebCore::jsTestEventConstructorAttr1Getter):
2595         (WebCore::jsTestEventConstructorAttr1):
2596         (WebCore::jsTestEventConstructorAttr2Getter):
2597         (WebCore::jsTestEventConstructorAttr2):
2598         (WebCore::jsTestEventConstructorAttr3Getter):
2599         (WebCore::jsTestEventConstructorAttr3):
2600         (WebCore::toJSNewlyCreated):
2601         (WebCore::toJS):
2602         * bindings/scripts/test/JS/JSTestEventConstructor.h:
2603         (WebCore::toJS):
2604         (WebCore::toJSNewlyCreated):
2605         * bindings/scripts/test/JS/JSTestEventTarget.cpp:
2606         (WebCore::JSTestEventTarget::getOwnPropertySlot):
2607         (WebCore::JSTestEventTarget::getOwnPropertySlotByIndex):
2608         (WebCore::JSTestEventTarget::getOwnPropertyNames):
2609         (WebCore::IDLOperation<JSTestEventTarget>::cast):
2610         (WebCore::jsTestEventTargetConstructor):
2611         (WebCore::setJSTestEventTargetConstructor):
2612         (WebCore::jsTestEventTargetPrototypeFunctionItemBody):
2613         (WebCore::jsTestEventTargetPrototypeFunctionItem):
2614         (WebCore::toJSNewlyCreated):
2615         (WebCore::toJS):
2616         * bindings/scripts/test/JS/JSTestEventTarget.h:
2617         (WebCore::toJS):
2618         (WebCore::toJSNewlyCreated):
2619         * bindings/scripts/test/JS/JSTestException.cpp:
2620         (WebCore::IDLAttribute<JSTestException>::cast):
2621         (WebCore::jsTestExceptionConstructor):
2622         (WebCore::setJSTestExceptionConstructor):
2623         (WebCore::jsTestExceptionNameGetter):
2624         (WebCore::jsTestExceptionName):
2625         (WebCore::toJSNewlyCreated):
2626         (WebCore::toJS):
2627         * bindings/scripts/test/JS/JSTestException.h:
2628         (WebCore::toJS):
2629         (WebCore::toJSNewlyCreated):
2630         * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp:
2631         (WebCore::JSTestGenerateIsReachablePrototype::finishCreation):
2632         (WebCore::IDLAttribute<JSTestGenerateIsReachable>::cast):
2633         (WebCore::jsTestGenerateIsReachableConstructor):
2634         (WebCore::setJSTestGenerateIsReachableConstructor):
2635         (WebCore::jsTestGenerateIsReachableASecretAttributeGetter):
2636         (WebCore::jsTestGenerateIsReachableASecretAttribute):
2637         (WebCore::toJSNewlyCreated):
2638         (WebCore::toJS):
2639         * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
2640         (WebCore::toJS):
2641         (WebCore::toJSNewlyCreated):
2642         * bindings/scripts/test/JS/JSTestGlobalObject.cpp:
2643         (WebCore::IDLAttribute<JSTestGlobalObject>::cast):
2644         (WebCore::IDLOperation<JSTestGlobalObject>::cast):
2645         (WebCore::jsTestGlobalObjectConstructor):
2646         (WebCore::setJSTestGlobalObjectConstructor):
2647         (WebCore::jsTestGlobalObjectRegularAttributeGetter):
2648         (WebCore::jsTestGlobalObjectRegularAttribute):
2649         (WebCore::setJSTestGlobalObjectRegularAttributeSetter):
2650         (WebCore::setJSTestGlobalObjectRegularAttribute):
2651         (WebCore::jsTestGlobalObjectPublicAndPrivateAttributeGetter):
2652         (WebCore::jsTestGlobalObjectPublicAndPrivateAttribute):
2653         (WebCore::setJSTestGlobalObjectPublicAndPrivateAttributeSetter):
2654         (WebCore::setJSTestGlobalObjectPublicAndPrivateAttribute):
2655         (WebCore::jsTestGlobalObjectPublicAndPrivateConditionalAttributeGetter):
2656         (WebCore::jsTestGlobalObjectPublicAndPrivateConditionalAttribute):
2657         (WebCore::setJSTestGlobalObjectPublicAndPrivateConditionalAttributeSetter):
2658         (WebCore::setJSTestGlobalObjectPublicAndPrivateConditionalAttribute):
2659         (WebCore::jsTestGlobalObjectEnabledAtRuntimeAttributeGetter):
2660         (WebCore::jsTestGlobalObjectEnabledAtRuntimeAttribute):
2661         (WebCore::setJSTestGlobalObjectEnabledAtRuntimeAttributeSetter):
2662         (WebCore::setJSTestGlobalObjectEnabledAtRuntimeAttribute):
2663         (WebCore::jsTestGlobalObjectTestCEReactionsConstructorGetter):
2664         (WebCore::jsTestGlobalObjectTestCEReactionsConstructor):
2665         (WebCore::setJSTestGlobalObjectTestCEReactionsConstructorSetter):
2666         (WebCore::setJSTestGlobalObjectTestCEReactionsConstructor):
2667         (WebCore::jsTestGlobalObjectTestCEReactionsStringifierConstructorGetter):
2668         (WebCore::jsTestGlobalObjectTestCEReactionsStringifierConstructor):
2669         (WebCore::setJSTestGlobalObjectTestCEReactionsStringifierConstructorSetter):
2670         (WebCore::setJSTestGlobalObjectTestCEReactionsStringifierConstructor):
2671         (WebCore::jsTestGlobalObjectTestCallTracerConstructorGetter):
2672         (WebCore::jsTestGlobalObjectTestCallTracerConstructor):
2673         (WebCore::setJSTestGlobalObjectTestCallTracerConstructorSetter):
2674         (WebCore::setJSTestGlobalObjectTestCallTracerConstructor):
2675         (WebCore::jsTestGlobalObjectTestCallbackInterfaceConstructorGetter):
2676         (WebCore::jsTestGlobalObjectTestCallbackInterfaceConstructor):
2677         (WebCore::setJSTestGlobalObjectTestCallbackInterfaceConstructorSetter):
2678         (WebCore::setJSTestGlobalObjectTestCallbackInterfaceConstructor):
2679         (WebCore::jsTestGlobalObjectTestClassWithJSBuiltinConstructorConstructorGetter):
2680         (WebCore::jsTestGlobalObjectTestClassWithJSBuiltinConstructorConstructor):
2681         (WebCore::setJSTestGlobalObjectTestClassWithJSBuiltinConstructorConstructorSetter):
2682         (WebCore::setJSTestGlobalObjectTestClassWithJSBuiltinConstructorConstructor):
2683         (WebCore::jsTestGlobalObjectTestDOMJITConstructorGetter):
2684         (WebCore::jsTestGlobalObjectTestDOMJITConstructor):
2685         (WebCore::setJSTestGlobalObjectTestDOMJITConstructorSetter):
2686         (WebCore::setJSTestGlobalObjectTestDOMJITConstructor):
2687         (WebCore::jsTestGlobalObjectTestDomainSecurityConstructorGetter):
2688         (WebCore::jsTestGlobalObjectTestDomainSecurityConstructor):
2689         (WebCore::setJSTestGlobalObjectTestDomainSecurityConstructorSetter):
2690         (WebCore::setJSTestGlobalObjectTestDomainSecurityConstructor):
2691         (WebCore::jsTestGlobalObjectTestEnabledBySettingConstructorGetter):
2692         (WebCore::jsTestGlobalObjectTestEnabledBySettingConstructor):
2693         (WebCore::setJSTestGlobalObjectTestEnabledBySettingConstructorSetter):
2694         (WebCore::setJSTestGlobalObjectTestEnabledBySettingConstructor):
2695         (WebCore::jsTestGlobalObjectTestEnabledForContextConstructorGetter):
2696         (WebCore::jsTestGlobalObjectTestEnabledForContextConstructor):
2697         (WebCore::setJSTestGlobalObjectTestEnabledForContextConstructorSetter):
2698         (WebCore::setJSTestGlobalObjectTestEnabledForContextConstructor):
2699         (WebCore::jsTestGlobalObjectTestEventConstructorConstructorGetter):
2700         (WebCore::jsTestGlobalObjectTestEventConstructorConstructor):
2701         (WebCore::setJSTestGlobalObjectTestEventConstructorConstructorSetter):
2702         (WebCore::setJSTestGlobalObjectTestEventConstructorConstructor):
2703         (WebCore::jsTestGlobalObjectTestEventTargetConstructorGetter):
2704         (WebCore::jsTestGlobalObjectTestEventTargetConstructor):
2705         (WebCore::setJSTestGlobalObjectTestEventTargetConstructorSetter):
2706         (WebCore::setJSTestGlobalObjectTestEventTargetConstructor):
2707         (WebCore::jsTestGlobalObjectTestExceptionConstructorGetter):
2708         (WebCore::jsTestGlobalObjectTestExceptionConstructor):
2709         (WebCore::setJSTestGlobalObjectTestExceptionConstructorSetter):
2710         (WebCore::setJSTestGlobalObjectTestExceptionConstructor):
2711         (WebCore::jsTestGlobalObjectTestGenerateIsReachableConstructorGetter):
2712         (WebCore::jsTestGlobalObjectTestGenerateIsReachableConstructor):
2713         (WebCore::setJSTestGlobalObjectTestGenerateIsReachableConstructorSetter):
2714         (WebCore::setJSTestGlobalObjectTestGenerateIsReachableConstructor):
2715         (WebCore::jsTestGlobalObjectTestGlobalObjectConstructorGetter):
2716         (WebCore::jsTestGlobalObjectTestGlobalObjectConstructor):
2717         (WebCore::setJSTestGlobalObjectTestGlobalObjectConstructorSetter):
2718         (WebCore::setJSTestGlobalObjectTestGlobalObjectConstructor):
2719         (WebCore::jsTestGlobalObjectTestIndexedSetterNoIdentifierConstructorGetter):
2720         (WebCore::jsTestGlobalObjectTestIndexedSetterNoIdentifierConstructor):
2721         (WebCore::setJSTestGlobalObjectTestIndexedSetterNoIdentifierConstructorSetter):
2722         (WebCore::setJSTestGlobalObjectTestIndexedSetterNoIdentifierConstructor):
2723         (WebCore::jsTestGlobalObjectTestIndexedSetterThrowingExceptionConstructorGetter):
2724         (WebCore::jsTestGlobalObjectTestIndexedSetterThrowingExceptionConstructor):
2725         (WebCore::setJSTestGlobalObjectTestIndexedSetterThrowingExceptionConstructorSetter):
2726         (WebCore::setJSTestGlobalObjectTestIndexedSetterThrowingExceptionConstructor):
2727         (WebCore::jsTestGlobalObjectTestIndexedSetterWithIdentifierConstructorGetter):
2728         (WebCore::jsTestGlobalObjectTestIndexedSetterWithIdentifierConstructor):
2729         (WebCore::setJSTestGlobalObjectTestIndexedSetterWithIdentifierConstructorSetter):
2730         (WebCore::setJSTestGlobalObjectTestIndexedSetterWithIdentifierConstructor):
2731         (WebCore::jsTestGlobalObjectTestInterfaceConstructorGetter):
2732         (WebCore::jsTestGlobalObjectTestInterfaceConstructor):
2733         (WebCore::setJSTestGlobalObjectTestInterfaceConstructorSetter):
2734         (WebCore::setJSTestGlobalObjectTestInterfaceConstructor):
2735         (WebCore::jsTestGlobalObjectTestInterfaceLeadingUnderscoreConstructorGetter):
2736         (WebCore::jsTestGlobalObjectTestInterfaceLeadingUnderscoreConstructor):
2737         (WebCore::setJSTestGlobalObjectTestInterfaceLeadingUnderscoreConstructorSetter):
2738         (WebCore::setJSTestGlobalObjectTestInterfaceLeadingUnderscoreConstructor):
2739         (WebCore::jsTestGlobalObjectTestIterableConstructorGetter):
2740         (WebCore::jsTestGlobalObjectTestIterableConstructor):
2741         (WebCore::setJSTestGlobalObjectTestIterableConstructorSetter):
2742         (WebCore::setJSTestGlobalObjectTestIterableConstructor):
2743         (WebCore::jsTestGlobalObjectTestJSBuiltinConstructorConstructorGetter):
2744         (WebCore::jsTestGlobalObjectTestJSBuiltinConstructorConstructor):
2745         (WebCore::setJSTestGlobalObjectTestJSBuiltinConstructorConstructorSetter):
2746         (WebCore::setJSTestGlobalObjectTestJSBuiltinConstructorConstructor):
2747         (WebCore::jsTestGlobalObjectTestMapLikeConstructorGetter):
2748         (WebCore::jsTestGlobalObjectTestMapLikeConstructor):
2749         (WebCore::setJSTestGlobalObjectTestMapLikeConstructorSetter):
2750         (WebCore::setJSTestGlobalObjectTestMapLikeConstructor):
2751         (WebCore::jsTestGlobalObjectTestMediaQueryListListenerConstructorGetter):
2752         (WebCore::jsTestGlobalObjectTestMediaQueryListListenerConstructor):
2753         (WebCore::setJSTestGlobalObjectTestMediaQueryListListenerConstructorSetter):
2754         (WebCore::setJSTestGlobalObjectTestMediaQueryListListenerConstructor):
2755         (WebCore::jsTestGlobalObjectTestNamedAndIndexedSetterNoIdentifierConstructorGetter):
2756         (WebCore::jsTestGlobalObjectTestNamedAndIndexedSetterNoIdentifierConstructor):
2757         (WebCore::setJSTestGlobalObjectTestNamedAndIndexedSetterNoIdentifierConstructorSetter):
2758         (WebCore::setJSTestGlobalObjectTestNamedAndIndexedSetterNoIdentifierConstructor):
2759         (WebCore::jsTestGlobalObjectTestNamedAndIndexedSetterThrowingExceptionConstructorGetter):
2760         (WebCore::jsTestGlobalObjectTestNamedAndIndexedSetterThrowingExceptionConstructor):
2761         (WebCore::setJSTestGlobalObjectTestNamedAndIndexedSetterThrowingExceptionConstructorSetter):
2762         (WebCore::setJSTestGlobalObjectTestNamedAndIndexedSetterThrowingExceptionConstructor):
2763         (WebCore::jsTestGlobalObjectTestNamedAndIndexedSetterWithIdentifierConstructorGetter):
2764         (WebCore::jsTestGlobalObjectTestNamedAndIndexedSetterWithIdentifierConstructor):
2765         (WebCore::setJSTestGlobalObjectTestNamedAndIndexedSetterWithIdentifierConstructorSetter):
2766         (WebCore::setJSTestGlobalObjectTestNamedAndIndexedSetterWithIdentifierConstructor):
2767         (WebCore::jsTestGlobalObjectTestNamedConstructorConstructorGetter):
2768         (WebCore::jsTestGlobalObjectTestNamedConstructorConstructor):
2769         (WebCore::setJSTestGlobalObjectTestNamedConstructorConstructorSetter):
2770         (WebCore::setJSTestGlobalObjectTestNamedConstructorConstructor):
2771         (WebCore::jsTestGlobalObjectAudioConstructorGetter):
2772         (WebCore::jsTestGlobalObjectAudioConstructor):
2773         (WebCore::setJSTestGlobalObjectAudioConstructorSetter):
2774         (WebCore::setJSTestGlobalObjectAudioConstructor):
2775         (WebCore::jsTestGlobalObjectTestNamedDeleterNoIdentifierConstructorGetter):
2776         (WebCore::jsTestGlobalObjectTestNamedDeleterNoIdentifierConstructor):
2777         (WebCore::setJSTestGlobalObjectTestNamedDeleterNoIdentifierConstructorSetter):
2778         (WebCore::setJSTestGlobalObjectTestNamedDeleterNoIdentifierConstructor):
2779         (WebCore::jsTestGlobalObjectTestNamedDeleterThrowingExceptionConstructorGetter):
2780         (WebCore::jsTestGlobalObjectTestNamedDeleterThrowingExceptionConstructor):
2781         (WebCore::setJSTestGlobalObjectTestNamedDeleterThrowingExceptionConstructorSetter):
2782         (WebCore::setJSTestGlobalObjectTestNamedDeleterThrowingExceptionConstructor):
2783         (WebCore::jsTestGlobalObjectTestNamedDeleterWithIdentifierConstructorGetter):
2784         (WebCore::jsTestGlobalObjectTestNamedDeleterWithIdentifierConstructor):
2785         (WebCore::setJSTestGlobalObjectTestNamedDeleterWithIdentifierConstructorSetter):
2786         (WebCore::setJSTestGlobalObjectTestNamedDeleterWithIdentifierConstructor):
2787         (WebCore::jsTestGlobalObjectTestNamedDeleterWithIndexedGetterConstructorGetter):
2788         (WebCore::jsTestGlobalObjectTestNamedDeleterWithIndexedGetterConstructor):
2789         (WebCore::setJSTestGlobalObjectTestNamedDeleterWithIndexedGetterConstructorSetter):
2790         (WebCore::setJSTestGlobalObjectTestNamedDeleterWithIndexedGetterConstructor):
2791         (WebCore::jsTestGlobalObjectTestNamedGetterCallWithConstructorGetter):
2792         (WebCore::jsTestGlobalObjectTestNamedGetterCallWithConstructor):
2793         (WebCore::setJSTestGlobalObjectTestNamedGetterCallWithConstructorSetter):
2794         (WebCore::setJSTestGlobalObjectTestNamedGetterCallWithConstructor):
2795         (WebCore::jsTestGlobalObjectTestNamedGetterNoIdentifierConstructorGetter):
2796         (WebCore::jsTestGlobalObjectTestNamedGetterNoIdentifierConstructor):
2797         (WebCore::setJSTestGlobalObjectTestNamedGetterNoIdentifierConstructorSetter):
2798         (WebCore::setJSTestGlobalObjectTestNamedGetterNoIdentifierConstructor):
2799         (WebCore::jsTestGlobalObjectTestNamedGetterWithIdentifierConstructorGetter):
2800         (WebCore::jsTestGlobalObjectTestNamedGetterWithIdentifierConstructor):
2801         (WebCore::setJSTestGlobalObjectTestNamedGetterWithIdentifierConstructorSetter):
2802         (WebCore::setJSTestGlobalObjectTestNamedGetterWithIdentifierConstructor):
2803         (WebCore::jsTestGlobalObjectTestNamedSetterNoIdentifierConstructorGetter):
2804         (WebCore::jsTestGlobalObjectTestNamedSetterNoIdentifierConstructor):
2805         (WebCore::setJSTestGlobalObjectTestNamedSetterNoIdentifierConstructorSetter):
2806         (WebCore::setJSTestGlobalObjectTestNamedSetterNoIdentifierConstructor):
2807         (WebCore::jsTestGlobalObjectTestNamedSetterThrowingExceptionConstructorGetter):
2808         (WebCore::jsTestGlobalObjectTestNamedSetterThrowingExceptionConstructor):
2809         (WebCore::setJSTestGlobalObjectTestNamedSetterThrowingExceptionConstructorSetter):
2810         (WebCore::setJSTestGlobalObjectTestNamedSetterThrowingExceptionConstructor):
2811         (WebCore::jsTestGlobalObjectTestNamedSetterWithIdentifierConstructorGetter):
2812         (WebCore::jsTestGlobalObjectTestNamedSetterWithIdentifierConstructor):
2813         (WebCore::setJSTestGlobalObjectTestNamedSetterWithIdentifierConstructorSetter):
2814         (WebCore::setJSTestGlobalObjectTestNamedSetterWithIdentifierConstructor):
2815         (WebCore::jsTestGlobalObjectTestNamedSetterWithIndexedGetterConstructorGetter):
2816         (WebCore::jsTestGlobalObjectTestNamedSetterWithIndexedGetterConstructor):
2817         (WebCore::setJSTestGlobalObjectTestNamedSetterWithIndexedGetterConstructorSetter):
2818         (WebCore::setJSTestGlobalObjectTestNamedSetterWithIndexedGetterConstructor):
2819         (WebCore::jsTestGlobalObjectTestNamedSetterWithIndexedGetterAndSetterConstructorGetter):
2820         (WebCore::jsTestGlobalObjectTestNamedSetterWithIndexedGetterAndSetterConstructor):
2821         (WebCore::setJSTestGlobalObjectTestNamedSetterWithIndexedGetterAndSetterConstructorSetter):
2822         (WebCore::setJSTestGlobalObjectTestNamedSetterWithIndexedGetterAndSetterConstructor):
2823         (WebCore::jsTestGlobalObjectTestNamedSetterWithOverrideBuiltinsConstructorGetter):
2824         (WebCore::jsTestGlobalObjectTestNamedSetterWithOverrideBuiltinsConstructor):
2825         (WebCore::setJSTestGlobalObjectTestNamedSetterWithOverrideBuiltinsConstructorSetter):
2826         (WebCore::setJSTestGlobalObjectTestNamedSetterWithOverrideBuiltinsConstructor):
2827         (WebCore::jsTestGlobalObjectTestNamedSetterWithUnforgablePropertiesConstructorGetter):
2828         (WebCore::jsTestGlobalObjectTestNamedSetterWithUnforgablePropertiesConstructor):
2829         (WebCore::setJSTestGlobalObjectTestNamedSetterWithUnforgablePropertiesConstructorSetter):
2830         (WebCore::setJSTestGlobalObjectTestNamedSetterWithUnforgablePropertiesConstructor):
2831         (WebCore::jsTestGlobalObjectTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsConstructorGetter):
2832         (WebCore::jsTestGlobalObjectTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsConstructor):
2833         (WebCore::setJSTestGlobalObjectTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsConstructorSetter):
2834         (WebCore::setJSTestGlobalObjectTestNamedSetterWithUnforgablePropertiesAndOverrideBuiltinsConstructor):
2835         (WebCore::jsTestGlobalObjectTestOverloadedConstructorsConstructorGetter):
2836         (WebCore::jsTestGlobalObjectTestOverloadedConstructorsConstructor):
2837         (WebCore::setJSTestGlobalObjectTestOverloadedConstructorsConstructorSetter):
2838         (WebCore::setJSTestGlobalObjectTestOverloadedConstructorsConstructor):
2839         (WebCore::jsTestGlobalObjectTestOverloadedConstructorsWithSequenceConstructorGetter):
2840         (WebCore::jsTestGlobalObjectTestOverloadedConstructorsWithSequenceConstructor):
2841         (WebCore::setJSTestGlobalObjectTestOverloadedConstructorsWithSequenceConstructorSetter):
2842         (WebCore::setJSTestGlobalObjectTestOverloadedConstructorsWithSequenceConstructor):
2843         (WebCore::jsTestGlobalObjectTestOverrideBuiltinsConstructorGetter):
2844         (WebCore::jsTestGlobalObjectTestOverrideBuiltinsConstructor):
2845         (WebCore::setJSTestGlobalObjectTestOverrideBuiltinsConstructorSetter):
2846         (WebCore::setJSTestGlobalObjectTestOverrideBuiltinsConstructor):
2847         (WebCore::jsTestGlobalObjectTestPluginInterfaceConstructorGetter):
2848         (WebCore::jsTestGlobalObjectTestPluginInterfaceConstructor):
2849         (WebCore::setJSTestGlobalObjectTestPluginInterfaceConstructorSetter):
2850         (WebCore::setJSTestGlobalObjectTestPluginInterfaceConstructor):
2851         (WebCore::jsTestGlobalObjectTestReadOnlyMapLikeConstructorGetter):
2852         (WebCore::jsTestGlobalObjectTestReadOnlyMapLikeConstructor):
2853         (WebCore::setJSTestGlobalObjectTestReadOnlyMapLikeConstructorSetter):
2854         (WebCore::setJSTestGlobalObjectTestReadOnlyMapLikeConstructor):
2855         (WebCore::jsTestGlobalObjectTestReportExtraMemoryCostConstructorGetter):
2856         (WebCore::jsTestGlobalObjectTestReportExtraMemoryCostConstructor):
2857         (WebCore::setJSTestGlobalObjectTestReportExtraMemoryCostConstructorSetter):
2858         (WebCore::setJSTestGlobalObjectTestReportExtraMemoryCostConstructor):
2859         (WebCore::jsTestGlobalObjectTestSerializationConstructorGetter):
2860         (WebCore::jsTestGlobalObjectTestSerializationConstructor):
2861         (WebCore::setJSTestGlobalObjectTestSerializationConstructorSetter):
2862         (WebCore::setJSTestGlobalObjectTestSerializationConstructor):
2863         (WebCore::jsTestGlobalObjectTestSerializationIndirectInheritanceConstructorGetter):
2864         (WebCore::jsTestGlobalObjectTestSerializationIndirectInheritanceConstructor):
2865         (WebCore::setJSTestGlobalObjectTestSerializationIndirectInheritanceConstructorSetter):
2866         (WebCore::setJSTestGlobalObjectTestSerializationIndirectInheritanceConstructor):
2867         (WebCore::jsTestGlobalObjectTestSerializationInheritConstructorGetter):
2868         (WebCore::jsTestGlobalObjectTestSerializationInheritConstructor):
2869         (WebCore::setJSTestGlobalObjectTestSerializationInheritConstructorSetter):
2870         (WebCore::setJSTestGlobalObjectTestSerializationInheritConstructor):
2871         (WebCore::jsTestGlobalObjectTestSerializationInheritFinalConstructorGetter):
2872         (WebCore::jsTestGlobalObjectTestSerializationInheritFinalConstructor):
2873         (WebCore::setJSTestGlobalObjectTestSerializationInheritFinalConstructorSetter):
2874         (WebCore::setJSTestGlobalObjectTestSerializationInheritFinalConstructor):
2875         (WebCore::jsTestGlobalObjectTestSerializedScriptValueInterfaceConstructorGetter):
2876         (WebCore::jsTestGlobalObjectTestSerializedScriptValueInterfaceConstructor):
2877         (WebCore::setJSTestGlobalObjectTestSerializedScriptValueInterfaceConstructorSetter):
2878         (WebCore::setJSTestGlobalObjectTestSerializedScriptValueInterfaceConstructor):
2879         (WebCore::jsTestGlobalObjectTestStringifierConstructorGetter):
2880         (WebCore::jsTestGlobalObjectTestStringifierConstructor):
2881         (WebCore::setJSTestGlobalObjectTestStringifierConstructorSetter):
2882         (WebCore::setJSTestGlobalObjectTestStringifierConstructor):
2883         (WebCore::jsTestGlobalObjectTestStringifierAnonymousOperationConstructorGetter):
2884         (WebCore::jsTestGlobalObjectTestStringifierAnonymousOperationConstructor):
2885         (WebCore::setJSTestGlobalObjectTestStringifierAnonymousOperationConstructorSetter):
2886         (WebCore::setJSTestGlobalObjectTestStringifierAnonymousOperationConstructor):
2887         (WebCore::jsTestGlobalObjectTestStringifierNamedOperationConstructorGetter):
2888         (WebCore::jsTestGlobalObjectTestStringifierNamedOperationConstructor):
2889         (WebCore::setJSTestGlobalObjectTestStringifierNamedOperationConstructorSetter):
2890         (WebCore::setJSTestGlobalObjectTestStringifierNamedOperationConstructor):
2891         (WebCore::jsTestGlobalObjectTestStringifierOperationImplementedAsConstructorGetter):
2892         (WebCore::jsTestGlobalObjectTestStringifierOperationImplementedAsConstructor):
2893         (WebCore::setJSTestGlobalObjectTestStringifierOperationImplementedAsConstructorSetter):
2894         (WebCore::setJSTestGlobalObjectTestStringifierOperationImplementedAsConstructor):
2895         (WebCore::jsTestGlobalObjectTestStringifierOperationNamedToStringConstructorGetter):
2896         (WebCore::jsTestGlobalObjectTestStringifierOperationNamedToStringConstructor):
2897         (WebCore::setJSTestGlobalObjectTestStringifierOperationNamedToStringConstructorSetter):
2898         (WebCore::setJSTestGlobalObjectTestStringifierOperationNamedToStringConstructor):
2899         (WebCore::jsTestGlobalObjectTestStringifierReadOnlyAttributeConstructorGetter):
2900         (WebCore::jsTestGlobalObjectTestStringifierReadOnlyAttributeConstructor):
2901         (WebCore::setJSTestGlobalObjectTestStringifierReadOnlyAttributeConstructorSetter):
2902         (WebCore::setJSTestGlobalObjectTestStringifierReadOnlyAttributeConstructor):
2903         (WebCore::jsTestGlobalObjectTestStringifierReadWriteAttributeConstructorGetter):
2904         (WebCore::jsTestGlobalObjectTestStringifierReadWriteAttributeConstructor):
2905         (WebCore::setJSTestGlobalObjectTestStringifierReadWriteAttributeConstructorSetter):
2906         (WebCore::setJSTestGlobalObjectTestStringifierReadWriteAttributeConstructor):
2907         (WebCore::jsTestGlobalObjectTestTypedefsConstructorGetter):
2908         (WebCore::jsTestGlobalObjectTestTypedefsConstructor):
2909         (WebCore::setJSTestGlobalObjectTestTypedefsConstructorSetter):
2910         (WebCore::setJSTestGlobalObjectTestTypedefsConstructor):
2911         (WebCore::jsTestGlobalObjectInstanceFunctionRegularOperationBody):
2912         (WebCore::jsTestGlobalObjectInstanceFunctionRegularOperation):
2913         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledAtRuntimeOperation1Body):
2914         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledAtRuntimeOperation2Body):
2915         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledAtRuntimeOperationOverloadDispatcher):
2916         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledAtRuntimeOperation):
2917         (WebCore::jsTestGlobalObjectConstructorFunctionEnabledAtRuntimeOperationStaticBody):
2918         (WebCore::jsTestGlobalObjectConstructorFunctionEnabledAtRuntimeOperationStatic):
2919         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledInSpecificWorldBody):
2920         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledInSpecificWorld):
2921         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledInSpecificWorldWhenRuntimeFeatureEnabledBody):
2922         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledInSpecificWorldWhenRuntimeFeatureEnabled):
2923         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledInSpecificWorldWhenRuntimeFeaturesEnabledBody):
2924         (WebCore::jsTestGlobalObjectInstanceFunctionEnabledInSpecificWorldWhenRuntimeFeaturesEnabled):
2925         (WebCore::jsTestGlobalObjectInstanceFunctionTestPrivateFunctionBody):
2926         (WebCore::jsTestGlobalObjectInstanceFunctionTestPrivateFunction):
2927         (WebCore::jsTestGlobalObjectInstanceFunctionCalculateSecretResultBody):
2928         (WebCore::jsTestGlobalObjectInstanceFunctionCalculateSecretResult):
2929         (WebCore::jsTestGlobalObjectInstanceFunctionGetSecretBooleanBody):
2930         (WebCore::jsTestGlobalObjectInstanceFunctionGetSecretBoolean):
2931         (WebCore::jsTestGlobalObjectInstanceFunctionTestFeatureGetSecretBooleanBody):
2932         (WebCore::jsTestGlobalObjectInstanceFunctionTestFeatureGetSecretBoolean):
2933         (WebCore::toJSNewlyCreated):
2934         (WebCore::toJS):
2935         * bindings/scripts/test/JS/JSTestGlobalObject.h:
2936         (WebCore::toJS):
2937         (WebCore::toJSNewlyCreated):
2938         * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.cpp:
2939         (WebCore::JSTestIndexedSetterNoIdentifier::getOwnPropertySlot):
2940         (WebCore::JSTestIndexedSetterNoIdentifier::getOwnPropertySlotByIndex):
2941         (WebCore::JSTestIndexedSetterNoIdentifier::getOwnPropertyNames):
2942         (WebCore::JSTestIndexedSetterNoIdentifier::put):
2943         (WebCore::JSTestIndexedSetterNoIdentifier::putByIndex):
2944         (WebCore::JSTestIndexedSetterNoIdentifier::defineOwnProperty):
2945         (WebCore::jsTestIndexedSetterNoIdentifierConstructor):
2946         (WebCore::setJSTestIndexedSetterNoIdentifierConstructor):
2947         (WebCore::toJSNewlyCreated):
2948         (WebCore::toJS):
2949         * bindings/scripts/test/JS/JSTestIndexedSetterNoIdentifier.h:
2950         (WebCore::toJS):
2951         (WebCore::toJSNewlyCreated):
2952         * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.cpp:
2953         (WebCore::JSTestIndexedSetterThrowingException::getOwnPropertySlot):
2954         (WebCore::JSTestIndexedSetterThrowingException::getOwnPropertySlotByIndex):
2955         (WebCore::JSTestIndexedSetterThrowingException::getOwnPropertyNames):
2956         (WebCore::JSTestIndexedSetterThrowingException::put):
2957         (WebCore::JSTestIndexedSetterThrowingException::putByIndex):
2958         (WebCore::JSTestIndexedSetterThrowingException::defineOwnProperty):
2959         (WebCore::jsTestIndexedSetterThrowingExceptionConstructor):
2960         (WebCore::setJSTestIndexedSetterThrowingExceptionConstructor):
2961         (WebCore::toJSNewlyCreated):
2962         (WebCore::toJS):
2963         * bindings/scripts/test/JS/JSTestIndexedSetterThrowingException.h:
2964         (WebCore::toJS):
2965         (WebCore::toJSNewlyCreated):
2966         * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp:
2967         (WebCore::JSTestIndexedSetterWithIdentifier::getOwnPropertySlot):
2968         (WebCore::JSTestIndexedSetterWithIdentifier::getOwnPropertySlotByIndex):
2969         (WebCore::JSTestIndexedSetterWithIdentifier::getOwnPropertyNames):
2970         (WebCore::JSTestIndexedSetterWithIdentifier::put):
2971         (WebCore::JSTestIndexedSetterWithIdentifier::putByIndex):
2972         (WebCore::JSTestIndexedSetterWithIdentifier::defineOwnProperty):
2973         (WebCore::IDLOperation<JSTestIndexedSetterWithIdentifier>::cast):
2974         (WebCore::jsTestIndexedSetterWithIdentifierConstructor):
2975         (WebCore::setJSTestIndexedSetterWithIdentifierConstructor):
2976         (WebCore::jsTestIndexedSetterWithIdentifierPrototypeFunctionIndexedSetterBody):
2977         (WebCore::jsTestIndexedSetterWithIdentifierPrototypeFunctionIndexedSetter):
2978         (WebCore::toJSNewlyCreated):
2979         (WebCore::toJS):
2980         * bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.h:
2981         (WebCore::toJS):
2982         (WebCore::toJSNewlyCreated):
2983         * bindings/scripts/test/JS/JSTestInheritedDictionary.cpp:
2984         (WebCore::convertDictionary<TestInheritedDictionary>):
2985         (WebCore::convertDictionaryToJS):
2986         * bindings/scripts/test/JS/JSTestInheritedDictionary.h:
2987         * bindings/scripts/test/JS/JSTestInterface.cpp:
2988         (WebCore::JSTestInterfaceConstructor::construct):
2989         (WebCore::IDLAttribute<JSTestInterface>::cast):
2990         (WebCore::IDLOperation<JSTestInterface>::cast):
2991         (WebCore::jsTestInterfaceConstructor):
2992         (WebCore::setJSTestInterfaceConstructor):
2993         (WebCore::jsTestInterfaceConstructorImplementsStaticReadOnlyAttrGetter):
2994         (WebCore::jsTestInterfaceConstructorImplementsStaticReadOnlyAttr):
2995         (WebCore::jsTestInterfaceConstructorImplementsStaticAttrGetter):
2996         (WebCore::jsTestInterfaceConstructorImplementsStaticAttr):
2997         (WebCore::setJSTestInterfaceConstructorImplementsStaticAttrSetter):
2998         (WebCore::setJSTestInterfaceConstructorImplementsStaticAttr):
2999         (WebCore::jsTestInterfaceImplementsStr1Getter):
3000         (WebCore::jsTestInterfaceImplementsStr1):
3001         (WebCore::jsTestInterfaceImplementsStr2Getter):
3002         (WebCore::jsTestInterfaceImplementsStr2):
3003         (WebCore::setJSTestInterfaceImplementsStr2Setter):
3004         (WebCore::setJSTestInterfaceImplementsStr2):
3005         (WebCore::jsTestInterfaceImplementsStr3Getter):
3006         (WebCore::jsTestInterfaceImplementsStr3):
3007         (WebCore::setJSTestInterfaceImplementsStr3Setter):
3008         (WebCore::setJSTestInterfaceImplementsStr3):
3009         (WebCore::jsTestInterfaceImplementsNodeGetter):
3010         (WebCore::jsTestInterfaceImplementsNode):
3011         (WebCore::setJSTestInterfaceImplementsNodeSetter):
3012         (WebCore::setJSTestInterfaceImplementsNode):
3013         (WebCore::jsTestInterfaceConstructorSupplementalStaticReadOnlyAttrGetter):
3014         (WebCore::jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr):
3015         (WebCore::jsTestInterfaceConstructorSupplementalStaticAttrGetter):
3016         (WebCore::jsTestInterfaceConstructorSupplementalStaticAttr):
3017         (WebCore::setJSTestInterfaceConstructorSupplementalStaticAttrSetter):
3018         (WebCore::setJSTestInterfaceConstructorSupplementalStaticAttr):
3019         (WebCore::jsTestInterfaceSupplementalStr1Getter):
3020         (WebCore::jsTestInterfaceSupplementalStr1):
3021         (WebCore::jsTestInterfaceSupplementalStr2Getter):
3022         (WebCore::jsTestInterfaceSupplementalStr2):
3023         (WebCore::setJSTestInterfaceSupplementalStr2Setter):
3024         (WebCore::setJSTestInterfaceSupplementalStr2):
3025         (WebCore::jsTestInterfaceSupplementalStr3Getter):
3026         (WebCore::jsTestInterfaceSupplementalStr3):
3027         (WebCore::setJSTestInterfaceSupplementalStr3Setter):
3028         (WebCore::setJSTestInterfaceSupplementalStr3):
3029         (WebCore::jsTestInterfaceSupplementalNodeGetter):
3030         (WebCore::jsTestInterfaceSupplementalNode):
3031         (WebCore::setJSTestInterfaceSupplementalNodeSetter):
3032         (WebCore::setJSTestInterfaceSupplementalNode):
3033         (WebCore::jsTestInterfaceReflectAttributeGetter):
3034         (WebCore::jsTestInterfaceReflectAttribute):
3035         (WebCore::setJSTestInterfaceReflectAttributeSetter):
3036         (WebCore::setJSTestInterfaceReflectAttribute):
3037         (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod1Body):
3038         (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod1):
3039         (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2Body):
3040         (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod2):
3041         (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod3Body):
3042         (WebCore::jsTestInterfacePrototypeFunctionImplementsMethod3):
3043         (WebCore::jsTestInterfaceConstructorFunctionImplementsMethod4Body):
3044         (WebCore::jsTestInterfaceConstructorFunctionImplementsMethod4):
3045         (WebCore::jsTestInterfacePrototypeFunctionTakeNodesBody):
3046         (WebCore::jsTestInterfacePrototypeFunctionTakeNodes):
3047         (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod1Body):
3048         (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod1):
3049         (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2Body):
3050         (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
3051         (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod3Body):
3052         (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod3):
3053         (WebCore::jsTestInterfaceConstructorFunctionSupplementalMethod4Body):
3054         (WebCore::jsTestInterfaceConstructorFunctionSupplementalMethod4):
3055         (WebCore::toJSNewlyCreated):
3056         (WebCore::toJS):
3057         * bindings/scripts/test/JS/JSTestInterface.h:
3058         (WebCore::toJS):
3059         (WebCore::toJSNewlyCreated):
3060         * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.cpp:
3061         (WebCore::IDLAttribute<JSTestInterfaceLeadingUnderscore>::cast):
3062         (WebCore::jsTestInterfaceLeadingUnderscoreConstructor):
3063         (WebCore::setJSTestInterfaceLeadingUnderscoreConstructor):
3064         (WebCore::jsTestInterfaceLeadingUnderscoreReadonlyGetter):
3065         (WebCore::jsTestInterfaceLeadingUnderscoreReadonly):
3066         (WebCore::toJSNewlyCreated):
3067         (WebCore::toJS):
3068         * bindings/scripts/test/JS/JSTestInterfaceLeadingUnderscore.h:
3069         (WebCore::toJS):
3070         (WebCore::toJSNewlyCreated):
3071         * bindings/scripts/test/JS/JSTestIterable.cpp:
3072         (WebCore::IDLOperation<JSTestIterable>::cast):
3073         (WebCore::jsTestIterableConstructor):
3074         (WebCore::setJSTestIterableConstructor):
3075         (WebCore::jsTestIterablePrototypeFunctionEntriesCaller):
3076         (WebCore::jsTestIterablePrototypeFunctionEntries):
3077         (WebCore::jsTestIterablePrototypeFunctionKeysCaller):
3078         (WebCore::jsTestIterablePrototypeFunctionKeys):
3079         (WebCore::jsTestIterablePrototypeFunctionValuesCaller):
3080         (WebCore::jsTestIterablePrototypeFunctionValues):
3081         (WebCore::jsTestIterablePrototypeFunctionForEachCaller):
3082         (WebCore::jsTestIterablePrototypeFunctionForEach):
3083         (WebCore::toJSNewlyCreated):
3084         (WebCore::toJS):
3085         * bindings/scripts/test/JS/JSTestIterable.h:
3086         (WebCore::toJS):
3087         (WebCore::toJSNewlyCreated):
3088         * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.cpp:
3089         (WebCore::IDLAttribute<JSTestJSBuiltinConstructor>::cast):
3090         (WebCore::IDLOperation<JSTestJSBuiltinConstructor>::cast):
3091         (WebCore::jsTestJSBuiltinConstructorConstructor):
3092         (WebCore::setJSTestJSBuiltinConstructorConstructor):
3093         (WebCore::jsTestJSBuiltinConstructorTestAttributeCustomGetter):
3094         (WebCore::jsTestJSBuiltinConstructorTestAttributeCustom):
3095         (WebCore::jsTestJSBuiltinConstructorTestAttributeRWCustomGetter):
3096         (WebCore::jsTestJSBuiltinConstructorTestAttributeRWCustom):
3097         (WebCore::setJSTestJSBuiltinConstructorTestAttributeRWCustomSetter):
3098         (WebCore::setJSTestJSBuiltinConstructorTestAttributeRWCustom):
3099         (WebCore::jsTestJSBuiltinConstructorPrototypeFunctionTestCustomFunctionBody):
3100         (WebCore::jsTestJSBuiltinConstructorPrototypeFunctionTestCustomFunction):
3101         * bindings/scripts/test/JS/JSTestJSBuiltinConstructor.h:
3102         * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
3103         (WebCore::IDLOperation<JSTestMediaQueryListListener>::cast):
3104         (WebCore::jsTestMediaQueryListListenerConstructor):
3105         (WebCore::setJSTestMediaQueryListListenerConstructor):
3106         (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethodBody):
3107         (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
3108         (WebCore::toJSNewlyCreated):
3109         (WebCore::toJS):
3110         * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
3111         (WebCore::toJS):
3112         (WebCore::toJSNewlyCreated):
3113         * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.cpp:
3114         (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::getOwnPropertySlot):
3115         (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::getOwnPropertySlotByIndex):
3116         (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::getOwnPropertyNames):
3117         (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::put):
3118         (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::putByIndex):
3119         (WebCore::JSTestNamedAndIndexedSetterNoIdentifier::defineOwnProperty):
3120         (WebCore::jsTestNamedAndIndexedSetterNoIdentifierConstructor):
3121         (WebCore::setJSTestNamedAndIndexedSetterNoIdentifierConstructor):
3122         (WebCore::toJSNewlyCreated):
3123         (WebCore::toJS):
3124         * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterNoIdentifier.h:
3125         (WebCore::toJS):
3126         (WebCore::toJSNewlyCreated):
3127         * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.cpp:
3128         (WebCore::JSTestNamedAndIndexedSetterThrowingException::getOwnPropertySlot):
3129         (WebCore::JSTestNamedAndIndexedSetterThrowingException::getOwnPropertySlotByIndex):
3130         (WebCore::JSTestNamedAndIndexedSetterThrowingException::getOwnPropertyNames):
3131         (WebCore::JSTestNamedAndIndexedSetterThrowingException::put):
3132         (WebCore::JSTestNamedAndIndexedSetterThrowingException::putByIndex):
3133         (WebCore::JSTestNamedAndIndexedSetterThrowingException::defineOwnProperty):
3134         (WebCore::jsTestNamedAndIndexedSetterThrowingExceptionConstructor):
3135         (WebCore::setJSTestNamedAndIndexedSetterThrowingExceptionConstructor):
3136         (WebCore::toJSNewlyCreated):
3137         (WebCore::toJS):
3138         * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterThrowingException.h:
3139         (WebCore::toJS):
3140         (WebCore::toJSNewlyCreated):
3141         * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.cpp:
3142         (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::getOwnPropertySlot):
3143         (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::getOwnPropertySlotByIndex):
3144         (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::getOwnPropertyNames):
3145         (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::put):
3146         (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::putByIndex):
3147         (WebCore::JSTestNamedAndIndexedSetterWithIdentifier::defineOwnProperty):
3148         (WebCore::IDLOperation<JSTestNamedAndIndexedSetterWithIdentifier>::cast):
3149         (WebCore::jsTestNamedAndIndexedSetterWithIdentifierConstructor):
3150         (WebCore::setJSTestNamedAndIndexedSetterWithIdentifierConstructor):
3151         (WebCore::jsTestNamedAndIndexedSetterWithIdentifierPrototypeFunctionNamedSetterBody):
3152         (WebCore::jsTestNamedAndIndexedSetterWithIdentifierPrototypeFunctionNamedSetter):
3153         (WebCore::jsTestNamedAndIndexedSetterWithIdentifierPrototypeFunctionIndexedSetterBody):
3154         (WebCore::jsTestNamedAndIndexedSetterWithIdentifierPrototypeFunctionIndexedSetter):
3155         (WebCore::toJSNewlyCreated):
3156         (WebCore::toJS):
3157         * bindings/scripts/test/JS/JSTestNamedAndIndexedSetterWithIdentifier.h:
3158         (WebCore::toJS):
3159         (WebCore::toJSNewlyCreated):
3160         * bindings/scripts/test/JS/JSTestNamedConstructor.cpp:
3161         (WebCore::JSTestNamedConstructorNamedConstructor::construct):
3162         (WebCore::jsTestNamedConstructorConstructor):
3163         (WebCore::setJSTestNamedConstructorConstructor):
3164         (WebCore::toJSNewlyCreated):
3165         (WebCore::toJS):
3166         * bindings/scripts/test/JS/JSTestNamedConstructor.h:
3167         (WebCore::toJS):
3168         (WebCore::toJSNewlyCreated):
3169         * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp:
3170         (WebCore::JSTestNamedDeleterNoIdentifier::getOwnPropertySlot):
3171         (WebCore::JSTestNamedDeleterNoIdentifier::getOwnPropertySlotByIndex):
3172         (WebCore::JSTestNamedDeleterNoIdentifier::getOwnPropertyNames):
3173         (WebCore::JSTestNamedDeleterNoIdentifier::deleteProperty):
3174         (WebCore::JSTestNamedDeleterNoIdentifier::deletePropertyByIndex):
3175         (WebCore::jsTestNamedDeleterNoIdentifierConstructor):
3176         (WebCore::setJSTestNamedDeleterNoIdentifierConstructor):
3177         (WebCore::toJSNewlyCreated):
3178         (WebCore::toJS):
3179         * bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.h:
3180         (WebCore::toJS):
3181         (WebCore::toJSNewlyCreated):
3182         * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp:
3183         (WebCore::JSTestNamedDeleterThrowingException::getOwnPropertySlot):
3184         (WebCore::JSTestNamedDeleterThrowingException::getOwnPropertySlotByIndex):
3185         (WebCore::JSTestNamedDeleterThrowingException::getOwnPropertyNames):
3186         (WebCore::JSTestNamedDeleterThrowingException::deleteProperty):
3187         (WebCore::JSTestNamedDeleterThrowingException::deletePropertyByIndex):
3188         (WebCore::jsTestNamedDeleterThrowingExceptionConstructor):
3189         (WebCore::setJSTestNamedDeleterThrowingExceptionConstructor):
3190         (WebCore::toJSNewlyCreated):
3191         (WebCore::toJS):
3192         * bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.h:
3193         (WebCore::toJS):
3194         (WebCore::toJSNewlyCreated):
3195         * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.cpp:
3196         (WebCore::JSTestNamedDeleterWithIdentifier::getOwnPropertySlot):
3197         (WebCore::JSTestNamedDeleterWithIdentifier::getOwnPropertySlotByIndex):
3198         (WebCore::JSTestNamedDeleterWithIdentifier::getOwnPropertyNames):
3199         (WebCore::JSTestNamedDeleterWithIdentifier::deleteProperty):
3200         (WebCore::JSTestNamedDeleterWithIdentifier::deletePropertyByIndex):
3201         (WebCore::IDLOperation<JSTestNamedDeleterWithIdentifier>::cast):
3202         (WebCore::jsTestNamedDeleterWithIdentifierConstructor):
3203         (WebCore::setJSTestNamedDeleterWithIdentifierConstructor):
3204         (WebCore::jsTestNamedDeleterWithIdentifierPrototypeFunctionNamedDeleterBody):
3205         (WebCore::jsTestNamedDeleterWithIdentifierPrototypeFunctionNamedDeleter):
3206         (WebCore::toJSNewlyCreated):
3207         (WebCore::toJS):
3208         * bindings/scripts/test/JS/JSTestNamedDeleterWithIdentifier.h:
3209         (WebCore::toJS):
3210         (WebCore::toJSNewlyCreated):
3211         * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp:
3212         (WebCore::JSTestNamedDeleterWithIndexedGetter::getOwnPropertySlot):
3213         (WebCore::JSTestNamedDeleterWithIndexedGetter::getOwnPropertySlotByIndex):
3214         (WebCore::JSTestNamedDeleterWithIndexedGetter::getOwnPropertyNames):
3215         (WebCore::JSTestNamedDeleterWithIndexedGetter::deleteProperty):
3216         (WebCore::JSTestNamedDeleterWithIndexedGetter::deletePropertyByIndex):
3217         (WebCore::jsTestNamedDeleterWithIndexedGetterConstructor):
3218         (WebCore::setJSTestNamedDeleterWithIndexedGetterConstructor):
3219         (WebCore::toJSNewlyCreated):
3220         (WebCore::toJS):
3221         * bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.h:
3222         (WebCore::toJS):
3223         (WebCore::toJSNewlyCreated):
3224         * bindings/scripts/test/JS/JSTestNamedGetterCallWith.cpp:
3225         (WebCore::JSTestNamedGetterCallWith::getOwnPropertySlot):
3226         (WebCore::JSTestNamedGetterCallWith::getOwnPropertySlotByIndex):
3227         (WebCore::JSTestNamedGetterCallWith::getOwnPropertyNames):
3228         (WebCore::jsTestNamedGetterCallWithConstructor):
3229         (WebCore::setJSTestNamedGetterCallWithConstructor):
3230         (WebCore::toJSNewlyCreated):
3231         (WebCore::toJS):
3232         * bindings/scripts/test/JS/JSTestNamedGetterCallWith.h:
3233         (WebCore::toJS):
3234         (WebCore::toJSNewlyCreated):
3235         * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.cpp:
3236         (WebCore::JSTestNamedGetterNoIdentifier::getOwnPropertySlot):
3237         (WebCore::JSTestNamedGetterNoIdentifier::getOwnPropertySlotByIndex):
3238         (WebCore::JSTestNamedGetterNoIdentifier::getOwnPropertyNames):
3239         (WebCore::jsTestNamedGetterNoIdentifierConstructor):
3240         (WebCore::setJSTestNamedGetterNoIdentifierConstructor):
3241         (WebCore::toJSNewlyCreated):
3242         (WebCore::toJS):
3243         * bindings/scripts/test/JS/JSTestNamedGetterNoIdentifier.h:
3244         (WebCore::toJS):
3245         (WebCore::toJSNewlyCreated):
3246         * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.cpp:
3247         (WebCore::JSTestNamedGetterWithIdentifier::getOwnPropertySlot):
3248         (WebCore::JSTestNamedGetterWithIdentifier::getOwnPropertySlotByIndex):
3249         (WebCore::JSTestNamedGetterWithIdentifier::getOwnPropertyNames):
3250         (WebCore::IDLOperation<JSTestNamedGetterWithIdentifier>::cast):
3251         (WebCore::jsTestNamedGetterWithIdentifierConstructor):
3252         (WebCore::setJSTestNamedGetterWithIdentifierConstructor):
3253         (WebCore::jsTestNamedGetterWithIdentifierPrototypeFunctionGetterNameBody):
3254         (WebCore::jsTestNamedGetterWithIdentifierPrototypeFunctionGetterName):
3255         (WebCore::toJSNewlyCreated):
3256         (WebCore::toJS):
3257         * bindings/scripts/test/JS/JSTestNamedGetterWithIdentifier.h:
3258         (WebCore::toJS):
3259         (WebCore::toJSNewlyCreated):
3260         * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.cpp:
3261         (WebCore::JSTestNamedSetterNoIdentifier::getOwnPropertySlot):
3262         (WebCore::JSTestNamedSetterNoIdentifier::getOwnPropertySlotByIndex):
3263         (WebCore::JSTestNamedSetterNoIdentifier::getOwnPropertyNames):
3264         (WebCore::JSTestNamedSetterNoIdentifier::put):
3265         (WebCore::JSTestNamedSetterNoIdentifier::putByIndex):
3266         (WebCore::JSTestNamedSetterNoIdentifier::defineOwnProperty):
3267         (WebCore::jsTestNamedSetterNoIdentifierConstructor):
3268         (WebCore::setJSTestNamedSetterNoIdentifierConstructor):
3269         (WebCore::toJSNewlyCreated):
3270         (WebCore::toJS):
3271         * bindings/scripts/test/JS/JSTestNamedSetterNoIdentifier.h:
3272         (WebCore::toJS):
3273         (WebCore::toJSNewlyCreated):
3274         * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.cpp:
3275         (WebCore::JSTestNamedSetterThrowingException::getOwnPropertySlot):
3276         (WebCore::JSTestNamedSetterThrowingException::getOwnPropertySlotByIndex):
3277         (WebCore::JSTestNamedSetterThrowingException::getOwnPropertyNames):
3278         (WebCore::JSTestNamedSetterThrowingException::put):
3279         (WebCore::JSTestNamedSetterThrowingException::putByIndex):
3280         (WebCore::JSTestNamedSetterThrowingException::defineOwnProperty):
3281         (WebCore::jsTestNamedSetterThrowingExceptionConstructor):
3282         (WebCore::setJSTestNamedSetterThrowingExceptionConstructor):
3283         (WebCore::toJSNewlyCreated):
3284         (WebCore::toJS):
3285         * bindings/scripts/test/JS/JSTestNamedSetterThrowingException.h:
3286         (WebCore::toJS):
3287         (WebCore::toJSNewlyCreated):
3288         * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.cpp:
3289         (WebCore::JSTestNamedSetterWithIdentifier::getOwnPropertySlot):
3290         (WebCore::JSTestNamedSetterWithIdentifier::getOwnPropertySlotByIndex):
3291         (WebCore::JSTestNamedSetterWithIdentifier::getOwnPropertyNames):
3292         (WebCore::JSTestNamedSetterWithIdentifier::put):
3293         (WebCore::JSTestNamedSetterWithIdentifier::putByIndex):
3294         (WebCore::JSTestNamedSetterWithIdentifier::defineOwnProperty):
3295         (WebCore::IDLOperation<JSTestNamedSetterWithIdentifier>::cast):
3296         (WebCore::jsTestNamedSetterWithIdentifierConstructor):
3297         (WebCore::setJSTestNamedSetterWithIdentifierConstructor):
3298         (WebCore::jsTestNamedSetterWithIdentifierPrototypeFunctionNamedSetterBody):
3299         (WebCore::jsTestNamedSetterWithIdentifierPrototypeFunctionNamedSetter):
3300         (WebCore::toJSNewlyCreated):
3301         (WebCore::toJS):
3302         * bindings/scripts/test/JS/JSTestNamedSetterWithIdentifier.h:
3303         (WebCore::toJS):
3304         (WebCore::toJSNewlyCreated):
3305         * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.cpp:
3306         (WebCore::JSTestNamedSetterWithIndexedGetter::getOwnPropertySlot):
3307         (WebCore::JSTestNamedSetterWithIndexedGetter::getOwnPropertySlotByIndex):
3308         (WebCore::JSTestNamedSetterWithIndexedGetter::getOwnPropertyNames):
3309         (WebCore::JSTestNamedSetterWithIndexedGetter::put):
3310         (WebCore::JSTestNamedSetterWithIndexedGetter::putByIndex):
3311         (WebCore::JSTestNamedSetterWithIndexedGetter::defineOwnProperty):
3312         (WebCore::IDLOperation<JSTestNamedSetterWithIndexedGetter>::cast):
3313         (WebCore::jsTestNamedSetterWithIndexedGetterConstructor):
3314         (WebCore::setJSTestNamedSetterWithIndexedGetterConstructor):
3315         (WebCore::jsTestNamedSetterWithIndexedGetterPrototypeFunctionNamedSetterBody):
3316         (WebCore::jsTestNamedSetterWithIndexedGetterPrototypeFunctionNamedSetter):
3317         (WebCore::jsTestNamedSetterWithIndexedGetterPrototypeFunctionIndexedSetterBody):
3318         (WebCore::jsTestNamedSetterWithIndexedGetterPrototypeFunctionIndexedSetter):
3319         (WebCore::toJSNewlyCreated):
3320         (WebCore::toJS):
3321         * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetter.h:
3322         (WebCore::toJS):
3323         (WebCore::toJSNewlyCreated):
3324         * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.cpp:
3325         (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::getOwnPropertySlot):
3326         (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::getOwnPropertySlotByIndex):
3327         (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::getOwnPropertyNames):
3328         (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::put):
3329         (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::putByIndex):
3330         (WebCore::JSTestNamedSetterWithIndexedGetterAndSetter::defineOwnProperty):
3331         (WebCore::IDLOperation<JSTestNamedSetterWithIndexedGetterAndSetter>::cast):
3332         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterConstructor):
3333         (WebCore::setJSTestNamedSetterWithIndexedGetterAndSetterConstructor):
3334         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterPrototypeFunctionNamedSetterBody):
3335         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterPrototypeFunctionNamedSetter):
3336         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterPrototypeFunctionIndexedSetter1Body):
3337         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterPrototypeFunctionIndexedSetter2Body):
3338         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterPrototypeFunctionIndexedSetterOverloadDispatcher):
3339         (WebCore::jsTestNamedSetterWithIndexedGetterAndSetterPrototypeFunctionIndexedSetter):
3340         (WebCore::toJSNewlyCreated):
3341         (WebCore::toJS):
3342         * bindings/scripts/test/JS/JSTestNamedSetterWithIndexedGetterAndSetter.h:
3343         (WebCore::toJS):
3344         (WebCore::toJSNewlyCreated):
3345         * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.cpp:
3346         (WebCore::JSTestNamedSetterWithOverrideBuiltins::getOwnPropertySlot):
3347         (WebCore::JSTestNamedSetterWithOverrideBuiltins::getOwnPropertySlotByIndex):
3348         (WebCore::JSTestNamedSetterWithOverrideBuiltins::getOwnPropertyNames):
3349         (WebCore::JSTestNamedSetterWithOverrideBuiltins::put):
3350         (WebCore::JSTestNamedSetterWithOverrideBuiltins::putByIndex):
3351         (WebCore::JSTestNamedSetterWithOverrideBuiltins::defineOwnProperty):
3352         (WebCore::jsTestNamedSetterWithOverrideBuiltinsConstructor):
3353         (WebCore::setJSTestNamedSetterWithOverrideBuiltinsConstructor):
3354         (WebCore::toJSNewlyCreated):
3355         (WebCore::toJS):
3356         * bindings/scripts/test/JS/JSTestNamedSetterWithOverrideBuiltins.h:
3357         (WebCore::toJS):
3358         (WebCore::toJSNewlyCreated):
3359         * bindings/scripts/test/JS/JSTestNamedSetterWithUnforgableProperties.cpp:
3360         (WebCore::JSTestNamedSetterWithUnforgableProperties::getOwnPropertySlot):
3361         (WebCore::JSTestNamedSetterWithUnforgableProperties::getOwnPropertySlotByIndex):
3362         (WebCore::JSTestNamedSetterWithUnforgableProperties::getOwnPropertyNames):
3363         (WebCore::JSTestNamedSetterWithUnforgableProperties::put):
3364         (WebCore::JSTestNamedSetterWithUnforgableProperties::putByIndex):
3365         (WebCore::JSTestNamedSetterWithUnforgableProperties::defineOwnProperty):
3366         (WebCore::IDLAttribute<JSTestNamedSetterWithUnforgableProperties>::cast):
3367