Commit Graph

48 Commits

Author SHA1 Message Date
J. Ryan Stinnett
7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Jan Odvarko
4e795eb442 Bug 1036949 - Test for markup view 'form' event. r=pbrosset 2015-05-28 18:02:02 +02:00
Patrick Brosset
679fd5573c Bug 921102 - 4 - Tests for the open/copy links on markup-view attributes; r=bgrins 2015-05-02 23:00:13 +02:00
Brian Grinstead
9979f66d32 Bug 1036324 - Adds option to walker.parents() to not traverse DocShellTreeItems of different types
This option helps avoiding blank inspector situations when trying to use the right-click ctx
menu in the browser to inspect an element *while* the page is reloading.
2015-04-15 13:49:00 +02:00
Patrick Brosset
54d6ed5393 Bug 1146568 - Avoid unsafe CPOW usage in markupview tests, in assertAttributes helper; r=bgrins
The common assertAttributes helper test function used to access DOM nodes in the
content page directly (CPOW). It now becomes an async function that goes through
a frame-script to retrieve the list of attributes for a node, given its selector.
All tests were passing with this change but one: browser_markupview_tag_edit_06.js
This one was checking camelcase attribute names while the actual names on the
node were lowercased by the browser. The way we were asserting attributes before
didn't care about the case. Now it does.
2015-03-25 14:11:36 +01:00
Patrick Brosset
acf5e50eb2 Bug 1146568 - Avoid unsafe CPOW usage warnings in browser_markupview_tag_edit_08.js; r=bgrins
Making use of the devtools test frame-script to set the test node's attributes instead of
using a CPOW.
2015-03-25 11:17:05 +01:00
Patrick Brosset
a28a03ab6f Bug 1146566 - 2 - Avoid using CPOWs in test browser_markupview_tag_edit_03.js; r=bgrins
This change updates the browser_markupview_tag_edit_03.js test by making use of the
getDomElementInfo message listener to retrieve information about the tested nodes
without having to go through CPOWs.
2015-03-24 10:55:02 +01:00
Patrick Brosset
dd9c1738cc Bug 1146566 - 1 - Use devtools common frame-script in markupview tests and add helper; r=bgrins
This change loads the devtools common frame-script-utils.js frame-script in the browser message
manager when a new test tab is opened by a test, and it adds a new getDomElementInfo message
listener useful for many tests to retrieve data about a node without having to go through a
CPOW.
2015-03-25 10:53:24 +01:00
Brian Grinstead
367fb1ae01 Bug 1139644 - Make markupview use sdk timers instead of individual timers for each window;r=pbrosset 2015-03-24 14:57:54 -07:00
Mahdi Dibaiee
c6b8e75613 Bug 858038 - Allow moving elements in the markupview by drag/drop; r=pbrosset 2014-12-26 02:53:00 -08:00
Athena
57ebfa1877 Bug 911148 - Tabbing when editing an attribute stays in edit mode. r=pbrosset 2015-01-14 19:46:00 -05:00
Brian Grinstead
67c121f412 Bug 1119276 - Show all native anon content in browser toolbox with devtools.inspector.showAllAnonymousContent pref. r=pbrosset 2015-01-09 09:27:00 +01:00
Patrick Brosset
bb9603f20a Bug 1075319 - Use native add_task in devtools mochitests rather than custom asyncTest. r=miker 2014-12-15 03:37:00 -05:00
Sami Jaktholm
0a1155777b Bug 1056048 - Replace deprecated-sync-thenables with Promise.jsm in Markup View. r=pbrosset 2014-12-15 02:52:00 -05:00
Tomasz Kołodziejski
260a02f850 Bug 1094622 - Deleting node in inspector now selects previous sibling and not parent. r=bgrins
---
 browser/devtools/markupview/markup-view.js         | 15 +++++----
 .../test/browser_markupview_tag_edit_04.js         | 38 +++++++++++++++-------
 browser/devtools/markupview/test/head.js           |  2 +-
 toolkit/devtools/server/actors/inspector.js        | 14 +++++++-
 .../tests/mochitest/test_inspector-remove.html     | 23 +++++++++----
 5 files changed, 65 insertions(+), 27 deletions(-)
2014-11-21 12:48:04 -08:00
Patrick Brosset
39f6247a54 Bug 985597 - Tests for the new highlighter implementation using the AnonymousContent API; r=miker r=jwalker 2014-11-06 13:04:37 +01:00
Brian Grinstead
8cb3638a5d Bug 920141 - Add support for inspecting anonymous content. r=pbrosset 2014-09-29 09:29:00 +02:00
Michael Ratcliffe
daa284a31c Bug 1044932 - Add JQuery support to visual events r=pbrosset 2014-08-28 12:46:25 +01:00
Michael Ratcliffe
300f2020f2 Bug 1041284 - Fix GC issues and re-enable browser_markupview_events.js r=jwalker 2014-08-07 22:35:19 +01:00
Michael Ratcliffe
584afa1e41 Bug 994732 - Make "Disable Cache" in Devtools persist (only when the toolbox is open) r=jwalker, r=pbrosset 2014-07-17 10:39:56 +01:00
Patrick Brosset
3ea0049432 bug 1034601 - Enable devtools/markupview tests with e10s; r=bgrins 2014-07-16 22:17:30 +02:00
Michael Ratcliffe
3fdad7a259 Bug 1032721 - Re-enable browser_inspector_infobar.js when oranges are fixed r=pbrosset 2014-07-12 20:20:28 +01:00
Paolo Amadini
6d99e32a9f Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
Patrick Brosset
9f6a07f76e Bug 997622 - Expand all descendant nodes on alt-click in markup-view; r=jwalker 2014-04-17 23:39:29 +02:00
Patrick Brosset
4376c7b288 Bug 968727 - Move common test runner parts in external helper files; r=bgrins 2014-03-26 14:38:06 +01:00
Patrick Brosset
09c22d7ab5 Bug 968727 - Split the markupview bc attribute edition test; r=bgrins 2014-03-25 09:55:18 +01:00
Patrick Brosset
ab5751701e Bug 968727 - Split browser_inspector_markup_add_attributes.js to avoid timeouts;r=bgrins 2014-03-25 09:55:15 +01:00
Patrick Brosset
c53788f1c6 Bug 968727 - Split browser/devtools/markupview/test/browser_inspector_markup_edit_outerhtml.js to avoid timeouts; r=bgrins 2014-03-25 09:55:09 +01:00
Patrick Brosset
634b6c5c6f Bug 968727 - Cleans up all markupview tests for consistency and to reduce file sizes; r=bgrins 2014-03-25 09:55:05 +01:00
Michael Ratcliffe
6a28402ad5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Michael Ratcliffe
2b3238df82 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Ryan VanderMeulen
c633e65783 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
f4a47052ae Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Michael Ratcliffe
c925e482b5 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Michael Ratcliffe
243d53b35a Bug 974056 - Add logging of devtools event emitter emit calls r=harth 2014-03-06 09:37:59 +00:00
Patrick Brosset
f2f2876836 Bug 962647 - Nodes searched in the inspector selector-search box now appear correctly in the markup-view; r=harth 2014-02-25 16:33:57 +01:00
Patrick Brosset
9eee10d6f0 Bug 904953 - Splits browser_inspector_markup_edit.js into 5 to avoid long running test, r=jwalker 2014-02-12 16:23:43 +01:00
Patrick Brosset
7847887339 Bug 968316 - Keep the highlighter visible when selecting the currently hovered node in the markup-view, r=bgrins 2014-02-06 19:45:40 +01:00
Patrick Brosset
dd27ff1d92 Bug 964014 - Adds copy-image-data-uri option to images in the markup-view, r=harth 2014-01-30 17:33:53 +01:00
Brian Grinstead
55f8aa74fd Bug 895561 - 'Edit As HTML' option in the markup view - browser changes, r=jwalker 2013-10-24 08:41:03 -05:00
Patrick Brosset
d93e6645ca Bug 911982 - Markup mutations are flashed in the markup-view; r=jwalker 2013-09-23 08:46:12 +02:00
Dave Camp
d707105af5 Bug 886032 - Port the markup view to the inspector actor (readonly). r=paul 2013-06-10 21:18:46 -07:00
Dave Camp
e923fe56c4 Bug 867485: Move the devtools loader into toolkit/ r=jwalker 2013-05-01 09:27:24 -07:00
Dave Camp
31ce67e5e0 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau 2013-04-11 13:59:08 -07:00
Dave Camp
a5c65f65e2 Backed out changeset 9117c7ad29d5 for MaxHeap regression. 2013-04-28 14:42:23 -07:00
Dave Camp
fee966b388 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau 2013-04-11 13:59:08 -07:00
Joe Walker
9632928486 Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
Dave Camp
8c1b573376 Bug 777085: New markup panel for the inspector. r=jwalker 2012-08-23 11:00:43 -07:00