Commit Graph

147 Commits

Author SHA1 Message Date
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
e7ff56366a Bug 722868 - Part 4: Make the view source window aware of the deleteTemporaryPrivateFileWhenPossible API; r=Mossop 2012-04-24 23:14:16 -04:00
Ed Morley
a82421537c Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari
5259bfd587 Bug 722868 - Part 4: Make the view source window aware of the deleteTemporaryPrivateFileWhenPossible API; r=Mossop 2012-04-24 23:14:16 -04:00
Ehsan Akhgari
45fe6d3ae2 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
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Ian Neal
8121ad3ea5 Bug 756784 - Make file menu popup more consistent and easier to overlay r=gavin 2012-06-17 16:40:30 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
e51e8007e8 Bug 738589 Avoid JavaScript strict warning by not explicitly passing the default value in r=gavin 2012-04-02 00:02:01 +01:00
aceman
b6293e05e9 Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin 2012-03-29 11:48:40 +02:00
Phil Ringnalda
6e9250f387 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
aceman
5506b28ad7 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-28 21:00:14 -04:00
Gavin Sharp
69d8ffac0e backout 110452fddc2a (bug 738568) since it broke viewsource 2012-03-27 18:06:10 -07:00
aceman
0b394e2937 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-27 19:17:35 -04:00
Geoff Lankow
004486d3c8 Bug 700361 - View Source line numbers are busted for plain-text documents - test; r=gavin 2012-02-20 14:39:57 +13:00
Geoff Lankow
59152fec8a Bug 710978 - Title attribute of a window is not updated in nsXULWindow::SetTitle; r=Neil 2011-12-20 00:47:18 +13:00
Geoff Lankow
8d531a8d9b Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Phil Ringnalda
18c63067ed Back out 3d8fc342348b (bug 469434) for browser_contextmenu.js timeouts 2012-02-22 22:11:48 -08:00
Geoff Lankow
30543d19e0 Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Masatoshi Kimura
d1bbe6a3ba Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Geoff Lankow
6eed344790 Bug 728655 - Test for bug 713810; r=neil f=jwein 2012-02-22 12:13:24 +13:00
Geoff Lankow
bdf68f3086 Bug 728655 - Create some view partial source UI mochitests - utility functions; r=neil,dao f=jwein 2011-11-09 01:28:48 +13:00
Serge Gautherie
f9245fd161 Bug 728628. (Av1) browser_viewsourceprefs.js: Use "about:mozilla", instead of "about:robots", to support non-Firefox applications. f=jwein r=neil. 2012-02-21 03:41:10 +01:00
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Ed Morley
df5e69d443 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura
6022955a50 Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Simon Montagu
a7648e1a49 Rename BrowserSetForcedDetector and remove unnecessary parameter. Bug 720310, r=gavin 2012-01-24 11:52:05 +02:00
Simon Montagu
6d25747926 Remove unused forcedDetector property. Bug 713825, r=bz 2012-01-24 11:52:05 +02:00
Simon Montagu
4feaa1e8f3 Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu
07bbd70b32 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Henri Sivonen
39aeb30a12 Bug 713810 - Use the HTMLness mode of the original document for the View Selection Source serialization. r=gavin.sharp. 2012-01-19 09:51:49 +02:00
Henri Sivonen
0ed62b3996 Bug 710142 - Make external View Source editor work again when the content comes from nsIWebBrowserPersist. r=gavin.sharp. 2011-12-20 09:41:08 +02:00
Henri Sivonen
e3192d032a Bug 700034 - Wait for the view source doc to load before reading its .body.textContent when feeding an external editor. r=gavin.sharp, a=Unfocused. 2011-12-12 10:53:48 +02:00
Geoff Lankow
0652dd9a1e Bug 703965 - View source prefs not obeyed in non-HTML documents - tests; r=hsivonen
--HG--
rename : toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js => toolkit/components/viewsource/test/browser/browser_viewsourceprefs_nonhtml.js
2011-12-01 13:09:33 +13:00
Henri Sivonen
08bb8d42f9 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Matt Brubeck
41aa9b3c38 Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Geoff Lankow
7d4ca79d72 Bug 703965 - View source prefs not obeyed in non-HTML documents - tests. r=hsivonen.
--HG--
rename : toolkit/components/viewsource/test/browser/browser_viewsourceprefs.js => toolkit/components/viewsource/test/browser/browser_viewsourceprefs_nonhtml.js
2011-11-26 11:43:08 +13:00
Henri Sivonen
c832d4cbd9 Bug 699356 - Show the URL of the page in the title of the View Source window. r=smaug. 2011-11-30 19:44:31 +02:00
Geoff Lankow
b49eb3fd70 Bug 702448 - Create some view source UI mochitests; r=jwein 2011-11-21 00:34:33 +13:00
Henri Sivonen
a7be029d4b Bug 700361 - Make viewSource.js assume a pre without an id starts on line 1. r=gavin.sharp. 2011-11-16 09:38:51 +02:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Henri Sivonen
d91f7c72fc Bug 482921 part 9 - Support tooltips in the View Source window. r=gavin.sharp. 2011-11-01 13:33:11 +02:00
arno renevier
ae39c696bb Bug 684908 - Save viewSource uri with content cacheKey; r=neil 2011-10-10 15:27:05 +01:00
Boris Zbarsky
3bc22ea6af Bug 624763. When cloning the fragment we'll munge, clone it into a data document. r=smaug 2011-09-26 17:25:17 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Gavin Sharp
0f6891df9b Bug 652542: "Ignore warning" link in the view-source window no longer works, r=neil 2011-04-26 09:24:10 -04:00
Dão Gottwald
d00035f67a Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
Robert Kaiser
1a1d1d5a7f bug 567587 - consistent IDs for view(Partial)Source, kill unused page editing function, r=gavin 2010-05-24 14:48:24 +02:00
Ehsan Akhgari
a534fc7fef Back out changeset 6fc5d661ca55 because of a11y test failures 2010-05-19 10:48:30 -04:00
Asaf Romano
4613bbc1fa Bug 566736 - Lazily initialize the findbar. r=gavin. 2010-05-19 15:23:43 +03:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Simon Montagu
16606db5c5 Bug 411511: Make nsIProcess accept Unicode paths as well as native charset, r=bsmedberg 2010-03-18 10:37:12 +02:00
Olli Pettay
ecf6194456 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
435c946f5c backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
04889fec16 Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Blair McBride
483286803f Bug 397937 - Handle view-source on malware and error pages more gracefully, r=mconnor 2009-12-23 22:03:37 -05:00
Dão Gottwald
72f04db1ba Bug 525708 - mIconURL shouldn't need to be accessed outside of tabbrowser.xml. r=mano 2009-12-15 08:49:08 +01:00
Tom Dyas
ff21c67765 Bug 465265 - Support swipe gestures in View Source windows on Mac OS X. r=gavin, ui-r=faaborg 2009-11-06 17:38:22 +01:00
Taras Glek
b0e277f707 Bug 522229 - XML Pretty-Print no longer colored r=bz
--HG--
extra : rebase_source : a4bac99887fcdae4b82e02e05e765cb9388858aa
2009-10-14 14:34:50 -07:00
Dão Gottwald
71070ef739 Bug 517755 - use smart getters in View Source window. r=neil 2009-10-03 11:36:04 +02:00
Dão Gottwald
cb7e8eb12e Bug 517768 - crash with view page source and external editor [@nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, unsigned int) ]. r=bz 2009-10-02 20:33:55 +02:00
Neil Deakin
2737a14b5e Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
Masahiro Yamada
9f2119ab96 Bug 425588 "Go to line" should always parse line number as decimal r=mconnor, sr=roc 2009-06-18 14:23:04 +09:00
Phil Ringnalda
d54e367f42 Bug 480080 - updateStatusBar not defined in gSelectionListener in viewSource.js (when it's getting notified of a selection change after the window has already closed), r=gavin 2009-05-08 21:36:55 -07:00
Josh Aas
bcde3caab0 Backed out changeset 9f9b05760fff, bug 480080, to see if it fixes orange 2009-05-08 13:42:19 -04:00
Phil Ringnalda
c370c23653 Bug 480080 - updateStatusBar not defined in gSelectionListener in viewSource.js (when it's getting notified of a selection change after the window has already closed), r=gavin 2009-05-07 20:28:04 -07:00
Boris Zbarsky
64b2d5e1bf Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Phil Ringnalda
c0abf9373e Bug 379822 - Make view source character encoding menuitems work in Thunderbird by not reloading from history if history is disabled, r=gavin 2009-05-03 09:28:43 -07:00
Curtis Bartley
149c2c2662 Bug 475542 - history/cache problem with view page source issuing a GET on an already POSTed form. r=gavin 2009-02-05 17:38:17 -05:00
Phil Ringnalda
5384f79cd5 Bug 473034 - Scrape the underscore off viewsource's content, r=gavin 2009-01-15 20:02:20 -08:00
timeless@mozdev.org
e2afb0b428 Bug 469535 - Cr is not defined in viewSource.js, r=gavin 2008-12-31 22:10:19 -08:00
Stappel
7c36e5a30e Bug 469302 - Page source code after form submit shows initial form page instead of new page, r=gavin, sr=mrbkap 2008-12-30 20:45:05 -08:00
Boris Zbarsky
b88062639a Bug 465806. Use all of our security information from a single place. r+sr=jst 2008-12-11 16:00:37 -05:00
Curtis Bartley
2ebe85f49f Bug 463176 - NS_ERROR_FACTORY_NOT_REGISTERED from nsIDocShellHistory.useGlobalHistory opening view source; Disable all BACK/FORWARD UI and logic when disablehistory="true"; r=gavin.sharp 2008-12-06 18:06:59 +01:00
Steffen Wilberg
fbc2dafa74 Bug 464361: Add support for back and forward mouse buttons to View Source. r=gavin, a=beltzner 2008-11-15 18:32:08 +01:00
Curtis Bartley
10cc9afe12 Bug 17612: front end patch to enable view-source link browsing, r=gavin 2008-11-04 23:01:33 -05:00
Jason Barnabe
c6373484d6 Bug 318048 - viewing source in external editor never deletes the temp. file; r=gavin.sharp 2008-09-22 21:16:27 +02:00
Gavin Sharp
43846126f2 Bug 454022: external editor doesn't work on Mac, r=zeniko 2008-09-15 09:15:43 -04:00
Dão Gottwald
9e167ed4c8 Bug 331940 - Should be able to pass a line number to the external viewer/editor (add missing semicolon) 2008-09-08 14:10:11 +02:00
Simon Bünzli
e5ebc38a43 Bug 331940 - Should be able to pass a line number to the external viewer/editor. r=gavin 2008-09-08 14:06:06 +02:00
mkmelin+mozilla@iki.fi
0d4bb0ef56 [Bug 350693] "Character Encoding" in "View Source" window doesn't work p=Simon Montagu <smontagu@smontagu.org>, r=neil, sr=mscott, approval1.9=mtschrep 2008-05-09 13:38:49 -07:00
masayuki@d-toybox.com
3af995a512 Bug 426501 ZoomIn/ZoomOut/ZoomReset should have alternative accel keys for localized builds. XUL part: r+ui-r=mconnor, a1.9=beltzner, XBL part: r=enndeakin, sr=neil, a1.9=dsicore 2008-04-23 01:04:08 -07:00
gavin@gavinsharp.com
3a1c17b043 Bug 428653: 'view MathML source' broken due to bug 397791, r=mano, sr=jst, a=beltzner 2008-04-22 13:50:08 -07:00
masayuki@d-toybox.com
46ba5df63b backing out the previous patch. b=426501 2008-04-07 20:48:15 -07:00
masayuki@d-toybox.com
d01fd05f5f Bug 426501 ZoomIn/ZoomOut/ZoomReset should have alternative accel keys for localized builds #2 (xul part) r=moconnor, ui-r=mconnor+beltzner a1.9=mconnor+beltzner 2008-04-07 17:01:45 -07:00
reed@reedloden.com
f8f60497c7 Bug 415664 - "Source viewer needs menu icons" [p=ispence@gmail.com (Ian Spence) r=Mano a1.9=beltzner] 2008-03-19 23:06:46 -07:00
reed@reedloden.com
d36fe99b43 Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a1.9=beltzner] 2008-02-26 17:49:46 -08:00
reed@reedloden.com
d08bf067da Bug 389628 - "Implement UI for full page zoom" [p=dao r=mconnor r+sr=sicking (for content/events/) a=blocking-firefox3+ for M9] 2007-10-25 16:02:20 -07:00
gerv@gerv.net
2c4fa4403c Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
reed@reedloden.com
6fe03ffba7 Bug 396176 - "Make change in viewSource() due to Bug 382074 backward compatible" [p=philip.chee@gmail.com (Philip Chee) r=Mano a1.9=mconnor] 2007-09-17 18:07:14 -07:00
philringnalda@gmail.com
2bfce0c869 Bug 321954 - Make it easier for apps to hook into toolkit's printing component, patch nearly all by Ian Neal <iann_bugzilla@blueyonder.co.uk> with very little from me, r=gavin 2007-08-22 21:07:30 -07:00
smontagu@smontagu.org
09aa09022c Only override the charset in viewsource if the document charset was forced by the user. Bug 382074, r=mano 2007-08-11 11:55:27 -07:00
sdwilsh@shawnwilsher.com
5e8119e353 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00