Граф коммитов

165 Коммитов

Автор SHA1 Сообщение Дата
Scott Johnson 948f478584 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Ehsan Akhgari ce71c8bd00 Bug 815001 - Pass in the privacy information for the view sourced document to the web browser persist service when using an external view source program; r=jdm 2012-11-26 13:08:00 -05:00
Neil Rashbrook 2e0327bdb4 Bug 803661 Can't save files from the view source window r=jdm 2012-10-20 00:37:35 +01:00
Josh Matthews be721d5624 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Masayuki Nakano cde384043e Bug 789852 Use getComplexValue() with nsIFile for view_source.editor.path, which supports unicode path r=gavin 2012-09-11 17:20:06 +09:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Nathan Froyd bfff055672 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 2d1d49791d 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 9f814b505f Backout a6175c97f365, 3ceeeaf0519f, bde34cebdcdc, 66dfa9606626, 86762d8c4de9, 717f908c990a, aa83d71fe7ee (bug 722868) for compilation failures 2012-06-28 19:00:30 +01:00
Ehsan Akhgari 72c7201a2d 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 f4b598bf08 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 eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Ian Neal db0e0d280a Bug 756784 - Make file menu popup more consistent and easier to overlay r=gavin 2012-06-17 16:40:30 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook 3fd8367fa5 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 d2a90f50d5 Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin 2012-03-29 11:48:40 +02:00
Phil Ringnalda 9b1872fcc9 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 36a12e41b8 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-28 21:00:14 -04:00
Gavin Sharp 6bae99c0d1 backout 110452fddc2a (bug 738568) since it broke viewsource 2012-03-27 18:06:10 -07:00
aceman 8e811fc635 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-27 19:17:35 -04:00
Geoff Lankow e9e7101bcd 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 5a1e52fbea 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 2abd364d27 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 06fa50e27e Back out 3d8fc342348b (bug 469434) for browser_contextmenu.js timeouts 2012-02-22 22:11:48 -08:00
Geoff Lankow c646f211b4 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 d7e66cef1d Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Geoff Lankow e738b353e7 Bug 728655 - Test for bug 713810; r=neil f=jwein 2012-02-22 12:13:24 +13:00
Geoff Lankow 737c5a5ea1 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 232661ce62 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 9c7dfb9706 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 0ce8f75531 Backout 0e6b1dfaa99c (bug 720208) for M1 orange 2012-02-01 12:58:07 +00:00
Masatoshi Kimura c70d70f634 Bug 720208 - Implement DOM4 DOMException types and codes. r=ms2ger,smaug 2012-02-01 11:36:42 +01:00
Simon Montagu d7c7ea501c Rename BrowserSetForcedDetector and remove unnecessary parameter. Bug 720310, r=gavin 2012-01-24 11:52:05 +02:00
Simon Montagu b94da4bbfd Remove unused forcedDetector property. Bug 713825, r=bz 2012-01-24 11:52:05 +02:00
Simon Montagu 01326f327c Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu 6055067770 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Henri Sivonen 819df8bb79 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 9703080969 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 3436362f5a 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 cbd4adeb93 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 960819c184 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 12c396afdf Back out 38814e0bafb9 through c5d44e6e957b because of test failures 2011-11-30 11:44:50 -08:00
Geoff Lankow 8e317da4cb 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 69efc69ab9 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 597ad92f7e Bug 702448 - Create some view source UI mochitests; r=jwein 2011-11-21 00:34:33 +13:00
Henri Sivonen 3214082cc0 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 7ea8e12caa 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 ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00