Changeset 104757 in webkit
- Timestamp:
- Jan 11, 2012 3:56:24 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r104755 r104757 1 2012-01-11 Adam Barth <abarth@webkit.org> 2 3 iframe sandbox doesn't block videos from autoplaying (IETC automatic-feature-block-autoplay-video) 4 https://bugs.webkit.org/show_bug.cgi?id=76111 5 6 Reviewed by Eric Seidel. 7 8 Test based on video-no-autoplay.html. 9 10 * media/no-auto-play-in-sandbox-expected.txt: Added. 11 * media/no-auto-play-in-sandbox.html: Added. 12 * media/resources/no-auto-play-in-sandbox-iframe.html: Added. 13 1 14 2012-01-11 Joshua Bell <jsbell@chromium.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r104756 r104757 1 2012-01-09 Avi Drissman <avi@chromium.org> 2 3 https://bugs.webkit.org/show_bug.cgi?id=75860 4 [Chromium Mac] no background is drawn for input elements 5 6 Reviewed by Eric Seidel. 7 8 Reverts r104240 for Chromium. Unfortunately the code that uses Cocoa 9 API misbehaves when built with the 10.5 SDK, so we use SPI. For now. 10 11 * rendering/RenderThemeChromiumMac.h: 12 * rendering/RenderThemeChromiumMac.mm: 13 (WebCore::RenderThemeChromiumMac::paintTextField): 14 15 <<<<<<< .mine 16 2012-01-11 Adam Barth <abarth@webkit.org> 17 18 iframe sandbox doesn't block videos from autoplaying (IETC automatic-feature-block-autoplay-video) 19 https://bugs.webkit.org/show_bug.cgi?id=76111 20 21 Reviewed by Eric Seidel. 22 23 Test: media/no-auto-play-in-sandbox.html 24 25 * dom/SecurityContext.h: 26 - Add a flag for sandboxing automatic features, per the HTML5 spec. 27 * html/HTMLMediaElement.cpp: 28 (WebCore::HTMLMediaElement::setReadyState): 29 - Implement requirement in the HTML5 spec to not autoplay media 30 when automatic features are sandboxed. 31 32 ======= 1 33 2012-01-11 Nate Chapin <japhet@chromium.org> 2 34 … … 41 73 * storage/IDBObjectStoreBackendImpl.cpp: 42 74 75 >>>>>>> .r104756 43 76 2012-01-11 Greg Billock <gbillock@google.com> 44 77 -
trunk/Source/WebCore/dom/SecurityContext.h
r100117 r104757 39 39 40 40 enum SandboxFlag { 41 // See http://www.whatwg.org/specs/web-apps/current-work/#attr-iframe-sandbox for a list of the sandbox flags. 41 42 SandboxNone = 0, 42 43 SandboxNavigation = 1, … … 46 47 SandboxScripts = 1 << 4, 47 48 SandboxTopNavigation = 1 << 5, 48 SandboxPopups = 1 << 6, 49 SandboxPopups = 1 << 6, // See https://www.w3.org/Bugs/Public/show_bug.cgi?id=12393 50 SandboxAutomaticFeatures = 1 << 7, 51 // FIXME: Add http://www.whatwg.org/specs/web-apps/current-work/#sandboxed-seamless-iframes-flag when we implement seamless. 49 52 SandboxAll = -1 // Mask with all bits set to 1. 50 53 }; -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r104669 r104757 1399 1399 scheduleEvent(eventNames().playingEvent); 1400 1400 1401 if (m_autoplaying && m_paused && autoplay() ) {1401 if (m_autoplaying && m_paused && autoplay() && !document()->isSandboxed(SandboxAutomaticFeatures)) { 1402 1402 m_paused = false; 1403 1403 invalidateCachedTime();
Note: See TracChangeset
for help on using the changeset viewer.