RESOLVED FIXED 30014
Web Inspector: add initial layout tests for web inspector.
https://bugs.webkit.org/show_bug.cgi?id=30014
Summary Web Inspector: add initial layout tests for web inspector.
Pavel Feldman
Reported 2009-10-02 04:25:43 PDT
Add initial tests for the framework itself, elements panel and console.
Attachments
patch (9.57 KB, patch)
2009-10-02 04:33 PDT, Pavel Feldman
timothy: review-
patch with comments addressed (9.57 KB, patch)
2009-10-03 11:40 PDT, Pavel Feldman
timothy: review+
skip patch (4.91 KB, patch)
2009-10-14 10:26 PDT, Pavel Feldman
no flags
[PATCH] Enable developers extras in inspector tests (3.03 KB, patch)
2009-10-14 12:24 PDT, Pavel Feldman
no flags
[PATCH] Enable tests (remove from skipped) (8.94 KB, patch)
2009-10-15 04:51 PDT, Pavel Feldman
timothy: review+
Pavel Feldman
Comment 1 2009-10-02 04:33:57 PDT
Timothy Hatcher
Comment 2 2009-10-02 11:13:23 PDT
Comment on attachment 40510 [details] patch It looks like LayoutTests/inspector/elements-panel-structure-expected.txt has funny line endings.
Pavel Feldman
Comment 3 2009-10-03 11:39:51 PDT
(In reply to comment #2) > (From update of attachment 40510 [details]) > It looks like LayoutTests/inspector/elements-panel-structure-expected.txt has > funny line endings. These are 'ZERO WIDTH SPACE' (U+200B) characters that are returned as a part of textContent. Anyway, replacing them with "" to avoid confusion in my next patch.
Pavel Feldman
Comment 4 2009-10-03 11:40:55 PDT
Created attachment 40579 [details] patch with comments addressed
Timothy Hatcher
Comment 5 2009-10-03 16:07:36 PDT
Comment on attachment 40579 [details] patch with comments addressed Hmm I wonder why it had zero-width spaces…
Pavel Feldman
Comment 6 2009-10-04 02:41:00 PDT
(In reply to comment #5) > (From update of attachment 40579 [details]) > Hmm I wonder why it had zero-width spaces… utilities.js, function nodeTitleInfo, search for "&#8203".
Pavel Feldman
Comment 7 2009-10-13 04:54:03 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog A LayoutTests/inspector/console-tests-expected.txt A LayoutTests/inspector/console-tests.html A LayoutTests/inspector/elements-panel-structure-expected.txt A LayoutTests/inspector/elements-panel-structure.html A LayoutTests/inspector/evaluate-in-frontend-expected.txt A LayoutTests/inspector/evaluate-in-frontend.html A LayoutTests/inspector/evaluate-in-frontend.js Committed r49499
Pavel Feldman
Comment 8 2009-10-13 05:15:47 PDT
Needed to revert since tests were failing on bots. Will look into the reasons... Committing to http://svn.webkit.org/repository/webkit/trunk ... D LayoutTests/inspector/console-tests-expected.txt D LayoutTests/inspector/console-tests.html D LayoutTests/inspector/elements-panel-structure-expected.txt D LayoutTests/inspector/elements-panel-structure.html D LayoutTests/inspector/evaluate-in-frontend-expected.txt D LayoutTests/inspector/evaluate-in-frontend.html D LayoutTests/inspector/evaluate-in-frontend.js M LayoutTests/ChangeLog Committed r49500
Pavel Feldman
Comment 9 2009-10-14 10:26:19 PDT
Created attachment 41167 [details] skip patch
Pavel Feldman
Comment 10 2009-10-14 10:35:23 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog M LayoutTests/platform/gtk/Skipped M LayoutTests/platform/mac-leopard/Skipped M LayoutTests/platform/mac-snowleopard/Skipped M LayoutTests/platform/mac-tiger/Skipped M LayoutTests/platform/mac/Skipped M LayoutTests/platform/qt/Skipped M LayoutTests/platform/win/Skipped Committed r49573
Pavel Feldman
Comment 11 2009-10-14 12:24:15 PDT
Created attachment 41178 [details] [PATCH] Enable developers extras in inspector tests
Pavel Feldman
Comment 12 2009-10-15 01:56:40 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebKitTools/ChangeLog M WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm M WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp Committed r49613
Pavel Feldman
Comment 13 2009-10-15 04:51:36 PDT
Created attachment 41216 [details] [PATCH] Enable tests (remove from skipped)
Timothy Hatcher
Comment 14 2009-10-15 06:56:15 PDT
Comment on attachment 41216 [details] [PATCH] Enable tests (remove from skipped) > + // layoutTestController.showWebInspector(); Should this be uncommented or removed?
Pavel Feldman
Comment 15 2009-10-15 09:21:37 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog M LayoutTests/inspector/elements-panel-structure-expected.txt M LayoutTests/inspector/elements-panel-structure.html M LayoutTests/inspector/evaluate-in-frontend.js M LayoutTests/platform/mac-leopard/Skipped M LayoutTests/platform/mac-snowleopard/Skipped M LayoutTests/platform/mac-tiger/Skipped M LayoutTests/platform/mac/Skipped M LayoutTests/platform/win/Skipped M WebCore/ChangeLog M WebCore/inspector/InspectorController.cpp Committed r49629
Note You need to log in before you can comment on or make changes to this bug.