Changeset 203057 in webkit
- Timestamp:
- Jul 11, 2016, 7:37:32 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203055 r203057 1 2016-07-11 Eric Carlson <eric.carlson@apple.com> 2 3 Add a test for media control dropoff 4 https://bugs.webkit.org/show_bug.cgi?id=151287 5 <rdar://problem/23544666> 6 7 Reviewed by Antoine Quint. 8 9 * media/controls/inline-elements-dropoff-order-expected.txt: Added. 10 * media/controls/inline-elements-dropoff-order.html: Added. 11 * platform/mac-yosemite/media/controls: Added. 12 * platform/mac-yosemite/media/controls/inline-elements-dropoff-order-expected.txt: Added. 13 * platform/mac-elcapitan/media/controls: Added. 14 * platform/mac-elcapitan/media/controls/inline-elements-dropoff-order-expected.txt: Added. 15 1 16 2016-07-11 Frederic Wang <fwang@igalia.com> 2 17 -
trunk/Source/WebCore/ChangeLog
r203056 r203057 1 2016-07-11 Eric Carlson <eric.carlson@apple.com> 2 3 Add a test for media control dropoff 4 https://bugs.webkit.org/show_bug.cgi?id=151287 5 <rdar://problem/23544666> 6 7 Reviewed by Antoine Quint. 8 9 Test: media/controls/inline-elements-dropoff-order.html 10 11 * Modules/mediacontrols/mediaControlsApple.js: Expose more state to testing. 12 * testing/InternalSettings.cpp: 13 (WebCore::InternalSettings::setAllowsAirPlayForMediaPlayback): Renamed from setWirelessPlaybackDisabled. 14 (WebCore::InternalSettings::setWirelessPlaybackDisabled): Deleted. 15 * testing/InternalSettings.h: 16 * testing/InternalSettings.idl: 17 18 1 19 2016-07-11 Philippe Normand <pnormand@igalia.com> 2 20 -
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js
r202929 r203057 2289 2289 name: "Show Controls", 2290 2290 object: this.showControlsButton, 2291 extraProperties: ["hidden"] 2291 extraProperties: ["hidden"], 2292 2292 }, 2293 2293 { … … 2295 2295 object: this.controls.statusDisplay, 2296 2296 styleValues: ["display"], 2297 extraProperties: ["textContent"] 2297 extraProperties: ["textContent"], 2298 2298 }, 2299 2299 { 2300 2300 name: "Play Button", 2301 object: this.controls.playButton 2301 object: this.controls.playButton, 2302 extraProperties: ["hidden"], 2302 2303 }, 2303 2304 { 2304 2305 name: "Rewind Button", 2305 object: this.controls.rewindButton 2306 object: this.controls.rewindButton, 2307 extraProperties: ["hidden"], 2306 2308 }, 2307 2309 { 2308 2310 name: "Timeline Box", 2309 object: this.controls.timelineBox 2311 object: this.controls.timelineBox, 2310 2312 }, 2311 2313 { 2312 2314 name: "Mute Box", 2313 object: this.controls.muteBox 2315 object: this.controls.muteBox, 2316 extraProperties: ["hidden"], 2314 2317 }, 2315 2318 { 2316 2319 name: "Fullscreen Button", 2317 object: this.controls.fullscreenButton 2320 object: this.controls.fullscreenButton, 2321 extraProperties: ["hidden"], 2318 2322 }, 2319 2323 { … … 2326 2330 name: "Picture-in-picture Button", 2327 2331 object: this.controls.pictureInPictureButton, 2328 extraProperties: ["parentElement"], 2332 extraProperties: ["parentElement", "hidden"], 2333 }, 2334 { 2335 name: "Caption Button", 2336 object: this.controls.captionButton, 2337 extraProperties: ["hidden"], 2338 }, 2339 { 2340 name: "Timeline", 2341 object: this.controls.timeline, 2342 extraProperties: ["hidden"], 2343 }, 2344 { 2345 name: "Current Time", 2346 object: this.controls.currentTime, 2347 extraProperties: ["hidden"], 2348 }, 2349 { 2350 name: "Thumbnail Track", 2351 object: this.controls.thumbnailTrack, 2352 extraProperties: ["hidden"], 2353 }, 2354 { 2355 name: "Time Remaining", 2356 object: this.controls.remainingTime, 2357 extraProperties: ["hidden"], 2329 2358 }, 2330 2359 { 2331 2360 name: "Track Menu", 2332 object: this.captionMenu 2361 object: this.captionMenu, 2333 2362 }, 2334 2363 { -
trunk/Source/WebCore/testing/InternalSettings.cpp
r202018 r203057 228 228 { 229 229 #if ENABLE(WIRELESS_PLAYBACK_TARGET) 230 page->settings().setAllowsAirPlayForMediaPlayback(false);230 setAllowsAirPlayForMediaPlayback(false); 231 231 #endif 232 232 } … … 239 239 page()->settings().setForcePendingWebGLPolicy(false); 240 240 #if ENABLE(WIRELESS_PLAYBACK_TARGET) 241 page()->settings().setAllowsAirPlayForMediaPlayback(false);241 setAllowsAirPlayForMediaPlayback(false); 242 242 #endif 243 243 … … 382 382 } 383 383 384 void InternalSettings::set WirelessPlaybackDisabled(bool available)384 void InternalSettings::setAllowsAirPlayForMediaPlayback(bool allows) 385 385 { 386 386 #if ENABLE(WIRELESS_PLAYBACK_TARGET) 387 m_page->settings().setAllowsAirPlayForMediaPlayback(a vailable);388 #else 389 UNUSED_PARAM(a vailable);387 m_page->settings().setAllowsAirPlayForMediaPlayback(allows); 388 #else 389 UNUSED_PARAM(allows); 390 390 #endif 391 391 } -
trunk/Source/WebCore/testing/InternalSettings.h
r201956 r203057 139 139 void setMediaTypeOverride(const String& mediaType, ExceptionCode&); 140 140 void setCanStartMedia(bool, ExceptionCode&); 141 void set WirelessPlaybackDisabled(bool);141 void setAllowsAirPlayForMediaPlayback(bool); 142 142 void setEditingBehavior(const String&, ExceptionCode&); 143 143 void setPreferMIMETypeForImages(bool, ExceptionCode&); -
trunk/Source/WebCore/testing/InternalSettings.idl
r201956 r203057 54 54 [RaisesException] void setTimeWithoutMouseMovementBeforeHidingControls(unrestricted double time); 55 55 [RaisesException] void setMediaTypeOverride(DOMString mediaTypeOverride); 56 void set WirelessPlaybackDisabled(boolean available);56 void setAllowsAirPlayForMediaPlayback(boolean available); 57 57 58 58 [RaisesException] void setForcePendingWebGLPolicy(boolean forced);
Note:
See TracChangeset
for help on using the changeset viewer.