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
Jim Blandy
39dc0c6097
Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
...
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):
- Never set the buffer's mode.
Years ago, Emacs did not have a good JavaScript mode, so it made sense
to use Java or C++ mode in .js files. However, Emacs has had js-mode for
years now; it's perfectly serviceable, and is available and enabled by
default in all major Emacs packagings.
Selecting a mode in the -*- file variable line -*- is almost always the
wrong thing to do anyway. It overrides Emacs's default choice, which is
(now) reasonable; and even worse, it overrides settings the user might
have made in their '.emacs' file for that file extension. It's only
useful when there's something specific about that particular file that
makes a particular mode appropriate.
- Correctly propagate settings that establish the correct indentation
level for this file: c-basic-offset and js2-basic-offset should be
js-indent-level. Whatever value they're given should be preserved;
different parts of our tree use different indentation styles.
- We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
Remove tab-width: settings, at least in files that don't contain tab
characters.
- Remove js2-mode settings that belong in the user's .emacs file, like
js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Patrick Brosset
dbc18851c5
Bug 1023116 - Always briefly highlight nodes upon selection in the markup-view; r=bgrins
2014-06-23 17:20:01 +02:00
Patrick Brosset
cdddd71c0e
Bug 1025880 - Avoid highlighting the default selection when the page is reloaded or when the inspector is opened; r=miker
2014-06-17 13:50:41 +02:00
Vikneshwar
ee78456672
Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen
2014-06-14 06:49:00 -04:00
Brian Grinstead
b17b5b16bc
Bug 1022780 - Cmd+H triggers 'hide markup', should only be triggered by H. r=pbrosset
2014-06-16 07:43:00 -04:00
Patrick Brosset
fc2789b39a
Bug 1014547 - Add a css transform highlighter to the style-inspector; r=bgrins
2014-06-13 16:27:10 +02:00
Patrick Brosset
a4af3f527d
Bug 911209 - Display hidden nodes differently in the markup-view; r=miker
2014-06-05 14:50:03 +02:00
Carsten "Tomcat" Book
142bb9685d
Backed out changeset 52068b669c2a (bug 911209) for causing type errors in tests
2014-06-05 08:55:26 +02:00
Patrick Brosset
8dd574e20e
Bug 911209 - Display hidden nodes differently in the markup-view; r=miker
2014-06-04 21:42:16 +02: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
Michael Ratcliffe
c40013a7b0
Bug 988102 - Opening inspector scrolls the content page all the way to the top;r=bgrins
2014-04-14 15:33:06 +01:00
Alexandre Poirot
6789687497
Bug 977043 - Prevent markupview from breaking selection. r=jwalker
2014-03-22 09:02:14 +01:00
Patrick Brosset
081d371e54
Bug 966424 - Intermittent browser_bug765105_background_image_tooltip.js; r=jwalker
2014-03-19 10:11:34 +01:00
Brandon Benvie
4520a9d6f2
Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell
2014-03-17 11:11:00 -07:00
Michael Ratcliffe
07faa00a6b
Bug 663778 - Box Model Highlighter r=jwalker
2014-03-13 21:36:48 +00:00
Michael Ratcliffe
2e943c9d37
Bug 663778 - Misc fixes r=pbrosset
2014-03-09 17:03:00 +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
d4a5d856cd
Bug 663778 - Box Model Highlighter r=jwalker
2014-03-13 13:54:02 +00:00