John Pavlicek
bbe9a64f87
Bug 1159725 - Links in markup-view attributes should open with middle-click; r=pbro
2015-07-07 13:40:00 +02:00
J. Ryan Stinnett
70f1707d67
Bug 1161072 - Fix pending requests in markup view tests. r=pbrosset
2015-07-08 18:55:17 -05:00
Julian Descottes
eb82d20c8b
Bug 968241 - Copy outerHTML using keyboard shortcut. r=pbrosset
...
Copy outerHTML of the currently selected node of the inspector.
Works for ELEMENT, DOCUMENT_TYPE and COMMENT node types.
- bound "copy" event in markup-view to copy outerHTML
- added doctypeString property to NodeFront in actors/inspector.js
- markup-view.js is also using this property now
- added mochitest with dedicated html
2015-07-02 22:43:19 +02:00
Phil Ringnalda
7b80069fd3
Back out 85ce4ef19b93 (bug 1179048) for a wide variety of devtools test failures
2015-07-01 20:18:09 -07:00
Eric Rahm
a1a1e3c758
Bug 1179048 - Use mouseout instead of mouseleave in devtools. r=fitzgen
...
Using mouseleave in chrome code generates a warning in docshell about
performance which notes mouseout should be used instead. This patch replaces
usage of mouseleave with mouseout across the devtools codebase.
2015-07-01 17:27:14 -07:00
Jan Odvarko
a32f03430a
Bug 1036949 - Support for markup view customization. r=pbrosset, r=jryans
2015-05-21 13:03:54 +02:00
Phil Ringnalda
0eefe0c506
Merge f-t to m-c, a=merge
2015-05-23 14:28:07 -07:00
Patrick Brosset
923cdc222d
Bug 1167617 - Remove SpiderMonkey specific JS syntax from inspector; r=jryans
2015-05-22 20:50:01 +02:00
Patrick Brosset
03753b11fd
Bug 1122605 - Focus selected inspector node after user selection. r=bgrins
2015-05-21 15:41:53 +02:00
Birunthan Mohanathas
fe337d7c5e
Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan
2015-05-21 21:49:30 +01:00
Dave Camp
d8f1a95b1f
Bug 892935 - Auto-expand elements with only text in the markup view;r=pbrosset,r=bgrins
2015-05-13 14:55:09 -07:00
Brian Grinstead
c40a221a45
Bug 1159938 - Remove dead nodeChanged() function;r=pbrosset
2015-05-11 07:47:24 -07:00
Brian Grinstead
f26de3ff50
Bug 1127423 - Don't scroll horizontally when selecting an element in markup view;r=jryans
2015-05-08 20:39:23 -07:00
Brian Grinstead
2ff405cf8a
Backed out changeset f407ab8f7129 (bug 1127423) for suspicion of causing a timeout on browser_mdn-docs-01.js
2015-05-08 22:42:05 -07:00
Brian Grinstead
b0ec7295a6
Bug 1127423 - Don't scroll horizontally when selecting an element in markup view;r=jryans
2015-05-08 20:39:23 -07:00
Patrick Brosset
42e723179f
Bug 921102 - 3 - Open/copy markup-view attribute links; r=bgrins
...
This part adds contextual menu items that become enabled when
the user right clicks on an attribute that has a link.
Depending on the nature of the link, a new tab will be opened or a node
selected.
The user can also choose to copy the link in the clipboard.
2015-05-02 22:37:45 +02:00
Patrick Brosset
c2c0627641
Bug 921102 - 1 - Linkify URIs in the inspector; r=tromey, miker
...
This first part adds a parser for node attributes which, given some node
information and an attribute name, generates a small AST-like array of
objects that tells which parts of the attribute (if any) are links, and
what they link to.
Using this, the markup-view generates the right HTML structure to display
these parts as links.
This part 1 doesn't yet allow users to follow these links.
2015-04-30 10:43:04 +02:00
Patrick Brosset
e0304c84b6
Bug 1158781 - Make sure attributes gets focused when clicked in the inspector. r=bgrins
...
This used to work fine, but regressed when bug 1153635 got fixed.
This fixes the issue and introduces a new test to prevent further regressions.
2015-04-29 17:05:37 +02:00
Brian Grinstead
2bad301f58
Bug 1153022 - Add trimOutput option to inplace editor;r=pbrosset
2015-04-29 17:27:19 -07:00
ziyunfei
649e7033e4
Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till
2015-04-30 00:32:05 +09:00
Alexandre Poirot
942288c0b3
Bug 1022765 - Ensure ESC opens the split console on first try in the inspector. r=pbrosset
2015-04-21 13:01:40 -07: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
744d785c3f
Bug 1153635 - Focus first focusable element in MarkupContainer when line is clicked; r=bgrins
2015-04-20 17:49:11 +02:00
Patrick Brosset
6db45a36e4
Bug 1121528 - Avoid the inspector going blank when quickly navigating; r=bgrins
...
This prevents the WalkerActor from failing at handling various requests when
those requests are about DeaedNodes. Indeed, the async nature of the devtools
protocol means that the client could be asking for information about a node that
doesn't exist anymore because it was part of a page that was navigated away from.
The WalkerActor should know how to deal with such cases, so the patch adds a
number of early returns and a new test for them.
This helps avoiding the inspector-panel from going blank in some edge cases.
2015-04-17 12:09:58 +02:00
Brian Grinstead
e781e32f0f
Bug 1147128 - Make sure attribute shows up in markup view after removing and setting to the previous value;r=mratcliffe
2015-03-27 07:30:09 -07:00
Brian Grinstead
137c5e3652
Bug 1147325 - Clear box model timer on markup view destroy. r=pbrosset
...
Prevents 'this._inspector.toolbox is null' spam in mochitest-dt
2015-03-25 12:19:00 -04:00
Brian Grinstead
976e48ff93
Bug 1139644 - Flash only relevant attributes in markup view when changed;r=pbrosset
2015-03-24 14:57:57 -07: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
Brian Grinstead
2dedf81645
Bug 1139569 - Optimize update function for element editors in markup view;r=mratcliffe
...
Previously, any call to update() would destroy and recreate all attribute
editors. This got really slow and caused a lot of unnecessary work, since
this ran any time any attribute changed. Also, old attributes wouldn't
end up getting removed but would simply be hidden. With this patch, we
update each attribute if it's changed, and any unused attributes are removed.
2015-03-09 10:02:21 -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
Vaibhav Choudhary
bdab3d6a89
Bug 1127417 - Replaced hardcoded string with internationalized version in markup-view.js;r=bgrins
2015-02-03 10:30:45 -08:00
J. Ryan Stinnett
e4ece6dd49
Bug 1118974 - Toolbox fails to shut down when highlighter actor is gone. r=pbrosset
2015-01-26 14:38:00 +01:00
Athena
57ebfa1877
Bug 911148 - Tabbing when editing an attribute stays in edit mode. r=pbrosset
2015-01-14 19:46: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
Fayolle Florent
cd51b7a548
Bug 1108212 - In the DevTools Inspector tree, pressing delete should move to the next element. r=bgrins
2014-12-07 14:54:00 -05:00
Patrick Brosset
b53c7a05e7
Bug 1103993 - 3 - Only refresh the rule/computed views when active; r=bgrins r=ochameau
2014-12-10 09:09:19 +01:00
Tim P.
e6a996537e
Bug 1090874 - Avoid always re-creating the node when editing a tagname in the markup-view; r=pbrosset
2014-12-04 16:34:47 -08:00
fayolle-florent@orange.fr
1b02acfe41
Bug 1095521 - Implement more paste commands for the inspector panel. r=pbrosset
2014-11-22 08:48:00 +01: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
c95d4d952b
Bug 917696 - Makes markup-view tag name edition go through the protocol; r=bgrins
2014-10-08 15:46:16 -07:00
Brian Grinstead
8cb3638a5d
Bug 920141 - Add support for inspecting anonymous content. r=pbrosset
2014-09-29 09:29:00 +02:00
Shu-yu Guo
6cfc2eb110
Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo)
2014-09-15 16:30:46 -07:00
Patrick Brosset
ba16702bc2
Bug 1063463 - Simplify how case is preserved when editing attributes in the inspector. r=bgrins
2014-09-08 08:30:00 -04:00
Patrick Brosset
e3b6cc465a
Bug 1008584 - Preserve case when editing attributes in the inspector; r=bgrins
2014-09-04 10:28:24 +02:00
Alexey Novak
6891c27af8
Bug 1036297 - markupview updateNodeOuterHTML method jsdoc is incorrect and should return a promise, r=pbrosset
2014-08-21 12:59:53 -04:00
Patrick Brosset
972eb5dc33
Bug 1000716 - Intermittent race condition in markupview/test/browser_markupview_mutation_02.js. r=miker
2014-08-11 04:43:00 -04:00
Michael Ratcliffe
6fb614b1fa
Bug 736078 - Show which elements have listeners attached r=jwalker,bgrins
2014-07-20 12:03:59 +01:00
Michael Ratcliffe
7f526f4e74
Backed out changeset 89669f18bd2d (bug 736078) for dt test timeouts
2014-07-19 23:36:56 +01:00
Michael Ratcliffe
ad961acbd3
Bug 736078 - Show which elements have listeners attached r=jwalker,bgrins
2014-07-18 14:25:03 +01:00
Patrick Brosset
67ce18012c
bug 971662 - part 0 - The BoxModelHighlighter has options for drawing regions and guides; r=miker
2014-06-25 16:40:34 +02:00