Changeset 139871 in webkit


Ignore:
Timestamp:
Jan 16, 2013 4:16:41 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: fix backward compatibility issues with Element.remove() method
https://bugs.webkit.org/show_bug.cgi?id=106996

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-01-16
Reviewed by Vsevolod Vlasov.

Add javascript implementations for CharacterData.prototype.remove and DocumentType.prototype.remove.

No new tests: no change in behaviour.

  • inspector/front-end/DOMExtension.js:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r139870 r139871  
     12013-01-16  Andrey Lushnikov  <lushnikov@chromium.org>
     2
     3        Web Inspector: fix backward compatibility issues with Element.remove() method
     4        https://bugs.webkit.org/show_bug.cgi?id=106996
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        Add javascript implementations for CharacterData.prototype.remove and DocumentType.prototype.remove.
     9
     10        No new tests: no change in behaviour.
     11
     12        * inspector/front-end/DOMExtension.js:
     13
    1142013-01-16  Zeno Albisser  <zeno@webkit.org>
    215
  • trunk/Source/WebCore/inspector/front-end/DOMExtension.js

    r139614 r139871  
    218218}
    219219
     220CharacterData.prototype.remove = Element.prototype.remove;
     221DocumentType.prototype.remove = Element.prototype.remove;
     222
    220223/**
    221224 * @param {Node} fromNode
Note: See TracChangeset for help on using the changeset viewer.