Ignore:
Timestamp:
03/08/12 12:32:56 (3 years ago)
Author:
commit-queue@webkit.org
Message:

Add a method to window.internals to enable testing of inspector highlight rects
https://bugs.webkit.org/show_bug.cgi?id=80338

Patch by Max Vujovic <mvujovic@adobe.com> on 2012-03-08
Reviewed by Pavel Feldman.

.:

  • Source/autotools/symbols.filter: Export symbols for GTK.

Source/WebCore:

Add window.internals.inspectorHighlightRects, a method which makes it possible to test the
positions and sizes of inspector highlight rects.

Test: inspector/elements/highlight-node.html

  • WebCore.exp.in: Export symbols.
  • testing/Internals.cpp:

(WebCore::Internals::inspectorHighlightRects): Call InspectorController::getHighlight and
return the highlight's quads as a ClientRectList.
(WebCore):

  • testing/Internals.h:

(WebCore):
(Internals):

  • testing/Internals.idl:

Add inspectorHighlightRects to the window.internals interface.

Source/WebKit2:

  • win/WebKit2.def: Export symbols for win.
  • win/WebKit2CFLite.def: Same as above.

LayoutTests:

  • inspector/elements/highlight-node-expected.txt: Added.
  • inspector/elements/highlight-node.html: Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r110189 r110191  
     12012-03-08  Max Vujovic  <mvujovic@adobe.com> 
     2 
     3        Add a method to window.internals to enable testing of inspector highlight rects 
     4        https://bugs.webkit.org/show_bug.cgi?id=80338 
     5 
     6        Reviewed by Pavel Feldman. 
     7 
     8        * inspector/elements/highlight-node-expected.txt: Added. 
     9        * inspector/elements/highlight-node.html: Added. 
     10 
    1112012-03-07  Ojan Vafai  <ojan@chromium.org> 
    212 
Note: See TracChangeset for help on using the changeset viewer.