Commit d258786
Remove more custom JavaScript bindings
https://bugs.webkit.org/show_bug.cgi?id=161293
Patch by Sam Weinig <sam@webkit.org> on 2016-08-27
Reviewed by Darin Adler.
Source/WebCore:
Remove custom bindings for AudioContext, DOMFormData, MediaSession and WebKitPoint.
* Modules/mediasession/MediaSession.cpp:
(WebCore::MediaSession::MediaSession):
* Modules/mediasession/MediaSession.h:
Change to take Document explicitly, since that is what it
expecting.
* Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::create):
* Modules/webaudio/AudioContext.h:
Remove unused ExceptionCode parameter.
* Modules/webaudio/AudioContext.idl:
* html/DOMFormData.idl:
* html/HTMLFormElement.idl:
* page/WebKitPoint.idl:
Switch to use the generated constructor.
* CMakeLists.txt:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSBindingsAllInOne.cpp:
Remove files.
* bindings/js/JSAudioContextCustom.cpp: Removed.
* bindings/js/JSDOMFormDataCustom.cpp: Removed.
* bindings/js/JSMediaSessionCustom.cpp: Removed.
* bindings/js/JSWebKitPointCustom.cpp: Removed.
Remove in favor of generated variants.
* bindings/js/JSHTMLInputElementCustom.h: Removed.
Remove unused header.
* page/WebKitPoint.h:
(WebCore::WebKitPoint::create):
(WebCore::WebKitPoint::WebKitPoint):
Move NaN replacement into the implementation and out of the bindings.
LayoutTests:
* webaudio/audionode-expected.txt:
* webaudio/audionode.html:
Update test for correct behavior of the constructor.
Canonical link: https://commits.webkit.org/179462@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@205088 268f45cc-cd09-0410-ab3c-d52691b4dbfc1 parent 1956c60 commit d258786
21 files changed
Lines changed: 104 additions & 358 deletions
File tree
- LayoutTests
- webaudio
- Source/WebCore
- Modules
- mediasession
- webaudio
- WebCore.xcodeproj
- bindings/js
- html
- page
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
1 | 12 | | |
2 | 13 | | |
3 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | | - | |
1116 | 1115 | | |
1117 | 1116 | | |
1118 | 1117 | | |
| |||
1141 | 1140 | | |
1142 | 1141 | | |
1143 | 1142 | | |
1144 | | - | |
1145 | 1143 | | |
1146 | 1144 | | |
1147 | 1145 | | |
| |||
1244 | 1242 | | |
1245 | 1243 | | |
1246 | 1244 | | |
1247 | | - | |
1248 | 1245 | | |
1249 | 1246 | | |
1250 | 1247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
1 | 46 | | |
2 | 47 | | |
3 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
0 commit comments