⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 175477 in webkit


Ignore:
Timestamp:
Nov 3, 2014, 11:19:55 AM (12 years ago)
Author:
ap@apple.com
Message:

REGRESSION: Using a media element changes window.name
https://bugs.webkit.org/show_bug.cgi?id=138278
rdar://problem/18704134

Apply the same fix to mediaControlsBase.js. I do not know who uses this file, but
there is no reason to have the bug there.

  • Modules/mediacontrols/mediaControlsBase.js:

(Controller.prototype.addVideoListeners):
(Controller.prototype.removeVideoListeners):
(Controller.prototype.disconnectControls):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r175475 r175477  
     12014-11-03  Alexey Proskuryakov  <ap@apple.com>
     2
     3        REGRESSION: Using a media element changes window.name
     4        https://bugs.webkit.org/show_bug.cgi?id=138278
     5        rdar://problem/18704134
     6
     7        Apply the same fix to mediaControlsBase.js. I do not know who uses this file, but
     8        there is no reason to have the bug there.
     9
     10        * Modules/mediacontrols/mediaControlsBase.js:
     11        (Controller.prototype.addVideoListeners):
     12        (Controller.prototype.removeVideoListeners):
     13        (Controller.prototype.disconnectControls):
     14
    1152014-11-03  Andreas Kling  <akling@apple.com>
    216
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsBase.js

    r173401 r175477  
    156156    addVideoListeners: function()
    157157    {
    158         for (name in this.HandledVideoEvents) {
     158        for (var name in this.HandledVideoEvents) {
    159159            this.listenFor(this.video, name, this.HandledVideoEvents[name]);
    160160        };
     
    182182    removeVideoListeners: function()
    183183    {
    184         for (name in this.HandledVideoEvents) {
     184        for (var name in this.HandledVideoEvents) {
    185185            this.stopListeningFor(this.video, name, this.HandledVideoEvents[name]);
    186186        };
     
    438438    disconnectControls: function(event)
    439439    {
    440         for (item in this.controls) {
     440        for (var item in this.controls) {
    441441            var control = this.controls[item];
    442442            if (control && control.parentNode)
Note: See TracChangeset for help on using the changeset viewer.