Commit Graph

103 Commits

Author SHA1 Message Date
Ehsan Akhgari
f4bd388765 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Dave Camp
073fd902de Bug 761665: [rule view] double clicking on a property value does weird things. r=paul 2012-06-19 10:22:29 -07:00
Dave Camp
7142b5ce83 Bug 740543 - Rule view does not update when window is resized. r=robcee 2012-06-02 15:18:33 -07:00
Dave Camp
4028077414 Bug 745961 - Hard to find the clickable region for adding a new CSS property in the Style Inspector. r=paul 2012-06-01 15:13:48 -07:00
Dave Camp
a2ac316de4 Bug 734365 - Rule view focus management needs an overhaul. r=paul 2012-06-01 15:13:48 -07:00
Dave Camp
28c51b8427 Bug 757253 - Implement real update in the rule view. r=robcee 2012-05-30 19:49:10 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Ratcliffe
a15521ba69 Bug 733747 - Highlight changed items in the rule view. r=msucan 2012-04-17 10:35:12 +01:00
Dave Camp
6932bbe470 Bug 702411 - Rule view shouldn't update during highlighting. r=robcee 2012-04-19 11:13:44 -07:00
Dave Camp
75189ca2b0 Bug 740662 - Replace InspectorStore dictionaries with Inspector instances. r=robcee 2012-04-19 11:13:42 -07:00
Dave Camp
db226ca396 Bug 707809 - Refactor creation of registered sidebar tools iframes in InspectorUI. r=robcee 2012-04-19 11:04:46 -07:00
Michael Ratcliffe
42af291e09 Bug 740603 - "Copy Rule" in the rule view includes expanded shorthand properties; r=dcamp 2012-04-16 12:20:46 +01:00
Dave Camp
dc6de1215a Bug 740615 - Move rule view copy code into CssRuleView.jsm. r=paul 2012-04-04 09:36:35 -07:00
Michael Ratcliffe
7a6016f459 Bug 734259 - Clicking a system stylesheet in the style inspector does not open the source; r=msucan 2012-03-19 18:38:13 +00:00
Bobby Holley
caf429f9f6 Bug 739432 - Access the inplaceEditor expando with an explicit API. r=dcamp 2012-03-26 15:26:21 -07:00
Michael Ratcliffe
89145df39c Bug 736014 - "Copy rule" with some text selected copies that text additionally; r=paul 2012-03-15 14:37:58 +00:00
Michael Ratcliffe
c123568a11 Bug 705276 - Split style inspector CSS between content & document CSS; r=prouget 2012-03-11 20:36:46 +00:00
Michael Ratcliffe
5fd42189d3 Bug 703643 - Be able to copy from the rules view; r=prouget 2012-03-11 14:01:38 +00:00
Blake Winton
2ae0ef09d3 Bug 704223 - styles added in data urls are displayed badly in the rule view; r=prouget 2012-03-08 20:27:55 -05:00
Dave Camp
fe17b3258c Bug 719916 - Rule view loses focus after entering attribute name. r=jwalker 2012-03-08 18:27:37 -08:00
Michael Ratcliffe
7e6857ae51 Bug 722196 - Rule view showing rules in the wrong order; r=jwalker 2012-03-01 19:13:12 +00:00
Michael Ratcliffe
2cf7d50191 Bug 728833 - String change in styleinspector.properties whitout changing name; r=past 2012-02-20 11:53:33 +00:00
Michael Ratcliffe
fbd7565ae5 Bug 727867 - Rule view indicate when invalid values are entered; r=dcamp 2012-02-25 15:30:51 +00:00
Michael Ratcliffe
ed782042d5 Bug 707940 - Rule view should maintain user entered values; r=msucan,dcamp 2012-02-23 12:24:23 +00:00
Michael Ratcliffe
819c51eb4d Bug 592743 - Style inspector specificity calculator makes mistakes; r=jwalker 2012-02-28 14:26:05 +00:00
Heather Arthur
b48717b0bf Bug 707740 - Ability to lock in a pseudo class in the page inspector. r=dcamp 2012-02-24 16:01:29 -08:00
Dave Camp
75f6d97bc9 Bug 696755: Open the inspector sidebar on inspect if previously active. r=rcampbell 2012-01-28 14:48:00 +01:00
Michael Ratcliffe
ab8600eadb Bug 705707 - Style Inspector doesn't take into account chrome:// stylesheets; r=msucan f=dao 2012-02-13 11:26:33 +00:00
Michael Ratcliffe
1b68b1e901 Bug 585563 - The inspector style panel should link to the CSS editor; r=dcamp f=cedricv 2012-02-10 13:39:47 +00:00
Michael Ratcliffe
9b5ca429b8 Bug 720980 - Quick rule view ... quick layout fix until we have mockups - Only hide checkboxes. r=paul 2012-01-31 13:55:03 +00:00
Paul Rouget
55e734dbf3 Bug 719783 - In the Rule View, pressing Escape close the whole Inspector. r=dcamp 2012-01-20 16:36:35 +01:00
Dao Gottwald
b3580fe0bd Bug 719849 - global variables pollute the browser window during devtools tests; r=rcampbell 2012-01-23 11:50:11 -04:00
Till Schneidereit
20167f82ca Bug 718518. Remove in-tree uses of the nonstandard third argument to String.prototype.replace. r=dcamp,jgriffin,dao,ted,dtownsend 2012-01-18 16:10:39 -05:00
Dave Camp
ff39062228 Bug 706886 - Line-through disappears after editing overridden rule in style inspector; f=rcampbell; r=joewalker 2012-01-13 13:05:49 -05:00
Paul Rouget
6261ca9f30 Bug 715887 - Rename Properties to Computed in the Style sidebar; r=rcampbell 2012-01-09 17:45:53 +01:00
Paul Rouget
e99a51c75c Bug 704017 - [RTL] The Inspector rules view should be LTR; r=dao 2012-01-05 12:42:30 +01:00
Michael Ratcliffe
011154c10c Bug 589375 - Inspector: style panel keyboard access. r=msucan 2011-12-19 14:57:42 +01:00
Michael Ratcliffe
2eef92a501 Bug 704132 - Style Inspector's left column should auto-fit text contents. r=dao r=paul 2011-12-19 14:16:43 +01:00
Rob Campbell
2a892f4725 Bug 712113 - Either brace should be clickable to add new properties in the Style panel's Rule View; r=jwalker 2011-12-22 14:58:17 -04:00
Ms2ger
92ad4ee2b8 Merge m-c to m-i. 2011-12-16 21:04:41 +01:00
Rob Campbell
a7771298ef merge fx-team to m-c 2011-12-16 14:42:54 -04:00
Masayuki Nakano
6d0584bbea Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Ed Morley
a472bbea4e Bug 692625 - Move browser/devtools/styleinspector/test/browser/ to browser/devtools/styleinspector/test/; r=rcampbell 2011-12-16 09:11:21 +00:00
Michael Ratcliffe
2e1c5e0eeb Bug 702861 - browser chrome mochitests trigger uncaught JS exception in CssHtmlTree.jsm; r=dcamp 2011-11-16 10:51:05 +01:00
Joe Walker
0258aee2ac Bug 705074 - All uses of DOMTemplate should use new template function; r=dcamp 2011-12-08 12:39:04 +00:00
Cameron McCormack
6633b9a247 Bug 703176 - Ensure all browser chrome mochitests do fail when uncaught JS exceptions occur. (v1.1) r=jmaher 2011-12-02 23:25:03 +11:00
Ed Morley
dea4dc53c8 Bug 703874 - Remove redundant |ifneq (mobile,$(MOZ_BUILD_APP))| from makefiles in browser; r=ted 2011-11-30 18:37:57 +00:00
Mihai Sucan
601419e5e4 Bug 700331 - Remove inspectstyle() from the Web Console; r=rcampbell,l10n 2011-11-16 18:37:15 +02:00
Dave Camp
9e564ee37a Bug 700770 - Style Inspector's Rule View can't scroll vertically followup, fixes inplace editing. r=robcee. 2011-11-15 16:47:14 -08:00
Michael Ratcliffe
91c3bffdde Bug 700770 - Style Inspector's Rule View can't scroll vertically; r=dao,rcampbell 2011-11-14 16:21:34 +01:00