Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Issue 169363004: Remove the mediaEnabled setting (Closed)

Created:
6 years, 10 months ago by philipj_slow
Modified:
6 years, 10 months ago
CC:
blink-reviews, fs, eric.carlson_apple.com, apavlov+blink_chromium.org, adamk+blink_chromium.org, aandrey+blink_chromium.org, rwlbuis, caseq+blink_chromium.org, krit, yurys+blink_chromium.org, dglazkov+blink, devtools-reviews_chromium.org, pdr., nessy, loislo+blink_chromium.org, lushnikov+blink_chromium.org, eustas+blink_chromium.org, paulirish+reviews_chromium.org, gyuyoung.kim_webkit.org, vcarbune.chromium, feature-media-reviews_chromium.org, alph+blink_chromium.org, gasubic, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, ed+blinkwatch_opera.com, f(malita), Stephen Chennney
Visibility:
Public.

Description

Remove the mediaEnabled setting This setting only prevented HTMLMediaElement::load() from running, which very rarely makes any difference, since scripts modifying the DOM will almost always implicitly invoke resource selection. The exceptions are adding source elements when networkState is not NETWORK_EMPTY, removing the src attribute, and removing source elements. Since the callers to setMediaEnabled(false) seems to have survived without actually disabling media, just remove the setting for now. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167575

Patch Set 1 #

Patch Set 2 : remove test #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -23 lines) Patch
D LayoutTests/media/media-disable-crash.html View 1 1 chunk +0 lines, -16 lines 0 comments Download
D LayoutTests/media/media-disable-crash-expected.txt View 1 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/frame/Settings.in View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorOverlay.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
philipj_slow
6 years, 10 months ago (2014-02-17 17:41:22 UTC) #1
acolwell GONE FROM CHROMIUM
I'm not sure I agree with your premise. Just because the setting wasn't 100% effective ...
6 years, 10 months ago (2014-02-18 19:03:52 UTC) #2
philipj_slow
Fair enough :) The SVGImage case is from this commit: commit ac06b0abaeb2a22eeb4e4fa0a0d953c3b5ecd16a Author: japhet@chromium.org <japhet@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> ...
6 years, 10 months ago (2014-02-19 03:38:34 UTC) #3
acolwell GONE FROM CHROMIUM
Thanks for looking into this. I'm not as worried about the inspector use. The SVG ...
6 years, 10 months ago (2014-02-19 16:35:04 UTC) #4
philipj_slow
On 2014/02/19 16:35:04, acolwell wrote: > Thanks for looking into this. I'm not as worried ...
6 years, 10 months ago (2014-02-19 17:25:30 UTC) #5
acolwell GONE FROM CHROMIUM
On 2014/02/19 17:25:30, philipj wrote: > On 2014/02/19 16:35:04, acolwell wrote: > > Thanks for ...
6 years, 10 months ago (2014-02-19 17:32:13 UTC) #6
philipj_slow
Thanks! I'll wait 24 hours to give the people I emailed some time to come ...
6 years, 10 months ago (2014-02-19 17:41:42 UTC) #7
jschuh
The original CL was to fix a security vulnerability due to a bad cast. It ...
6 years, 10 months ago (2014-02-19 21:03:30 UTC) #8
philipj_slow
On 2014/02/19 21:03:30, Justin Schuh wrote: > The original CL was to fix a security ...
6 years, 10 months ago (2014-02-20 07:32:58 UTC) #9
jschuh
On 2014/02/20 07:32:58, philipj wrote: > On 2014/02/19 21:03:30, Justin Schuh wrote: > > The ...
6 years, 10 months ago (2014-02-21 04:16:29 UTC) #10
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 10 months ago (2014-02-21 04:21:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/169363004/40001
6 years, 10 months ago (2014-02-21 04:22:05 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 04:22:07 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/core/frame/Settings.in: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-02-21 04:22:08 UTC) #14
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 10 months ago (2014-02-21 04:27:23 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/169363004/260001
6 years, 10 months ago (2014-02-21 04:27:30 UTC) #16
commit-bot: I haz the power
6 years, 10 months ago (2014-02-21 06:49:55 UTC) #17
Message was sent while issue was closed.
Change committed as 167575

Powered by Google App Engine
This is Rietveld 408576698