Commit Graph

1044 Commits

Author SHA1 Message Date
Jonas Sicking
b5d168a6b4 Bug 774585: Make about: redirectors reset channel owner to null rather than set an explicit principal so that we'll go through the normal code paths in GetChannelPrincipal. r=bz 2012-07-17 22:22:19 -07:00
Ehsan Akhgari
c7dd4ebaab Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (docshell parts); r=bzbarsky 2012-07-10 23:59:52 -04:00
Ehsan Akhgari
2407172a43 Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky 2012-07-16 22:44:22 -04:00
Tim Taubert
f0fe1419bd merge m-c to fx-team 2012-07-11 08:44:05 +02:00
Tim Taubert
aa3440397a Bug 724239 - Loading a page in a new tab enables the back button; r=gavin,bz 2012-07-10 17:54:41 +02:00
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
Justin Lebar
3a1c239b62 Bug 770239 - Make X-Frame-Options work correctly with <iframe mozbrowser>, and remove the disable X-Frame-Options pref (added in bug 707893). r=bz
--HG--
extra : rebase_source : 6dbcc596dac24dbc2b19b7292f6e5b924bd2908d
2012-07-09 16:42:17 -04:00
Tim Taubert
f5427b077d Bug 669603 - Part 2 - Add sessionStorage helpers to nsIDocShell; r=smaug,mayhemer 2012-07-05 12:12:55 +02:00
Devdatta Akhawe
7a3e5d2a07 Bug 767134 - Stuff the source principal into nsIContentPolicy (r=bz, sr=jst) 2012-07-02 16:16:11 -07:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gavin Sharp
a0fc0ea03a Bug 769771: add support for specifying content type of an html:iframe, r=bz
--HG--
extra : transplant_source : %97%CDKKQ%11%F4%98%C0%D6e%B81%BE6a%3Ah_%07
2012-06-29 15:03:53 -04:00
Masayuki Nakano
a9a8364195 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Justin Lebar
88ca4ab69b Bug 767957 - Remove dead null-check for shistory in {push,replace}State. r=bz
--HG--
extra : rebase_source : 29940d3fe6ee905d2f32777c7caf05a846081277
2012-06-26 17:18:10 +02:00
Jonathan Watt
6380335603 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ed Morley
0ba9aa86c4 Backout 714c402f3050, 80d09e39cd0d & 3a1129278710 (bug 764718) for frequent intermittent failures 2012-06-22 11:04:47 +01:00
Justin Lebar
471d7dec38 Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 21:17:52 -04:00
Brian Nicholson
ae0d3aaabc Bug 766757 - Add LOAD_REPLACE_BYPASS_CACHE load type. r=bz 2012-06-21 10:31:07 -07:00
Ed Morley
40934fb818 Backout fed89ccfe0c2, 5fb8d7a3852f & d220195a8b95 (bug 764718) for mochitest-2 failures 2012-06-21 18:18:40 +01:00
Justin Lebar
5773d8495d Bug 764718 - Part 1: Set the initial principal of in-process <iframe mozbrowser> correctly. r=bz 2012-06-21 11:58:49 -04:00
David Zbarsky
0bfb22bda4 Bug 766341 - Fix debug warnings in nsDocShell.cpp r=smaug 2012-06-19 17:10:14 -07:00
Justin Lebar
cc43cd9859 Bug 742944 - Part 1: Always set nsDocShell::isBrowserFrame to true, for in- and out-of-process iframes. r=bz
--HG--
extra : rebase_source : ab7e051cf7c2038ec362376277a1d97c69c5717c
2012-06-12 18:01:24 -04:00
Gabor Krizsanits
63752270f6 Bug 763496 - Use nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell. r=bz 2012-06-12 17:06:37 -04:00
Sid Stamm
639e036eae bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Oonishi Atsushi
2af905ca06 Bug 606286 - Block javascript redirection when "accessibility.blockjsredirection" is set true and the user is browsing back/forward history. r=bz 2012-06-09 17:07:17 -04:00
Phil Ringnalda
67d2032444 Bug 751575 - disable test_pb_notification.js because it needs to schedule precise GC, and can't, r=luke 2012-06-06 21:33:46 -07:00
Ed Morley
22d9b9afc4 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Ms2ger
1a2d55bdac Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Geoff Lankow
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Justin Lebar
7b0e8c519b Bug 757376. r=bz
--HG--
extra : rebase_source : 5de9b8594742c470381f1e36c3629d393c264c6e
2012-06-05 12:55:59 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Olli Pettay
95b7529009 Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Kyle Huey
daec3cf6f2 Merge m-c to b-s. 2012-05-27 22:31:06 -07:00
Kyle Huey
a7ce7f38da Merge m-c to b-s. 2012-05-26 14:22:26 -07:00
Kyle Huey
9c34c902d6 Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst 2012-05-25 12:00:32 -07:00
Aryeh Gregor
c1e77a8721 Bug 748307 part 5 - Support insertText, forwardDelete, insertParagraph per spec; r=ehsan 2012-05-22 12:37:17 +03:00
Ed Morley
05ff81b305 Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html 2012-05-25 12:51:32 +01:00
Josh Matthews
11cd0538f9 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-25 12:20:31 +01:00
Simon Montagu
b28eb77c41 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu
615e4a9afa Make tests that use non-UTF-8 content use file URLs instead of chrome URLs. Bug 644209, r=emk 2012-05-24 22:41:38 +03:00
Josh Matthews
f799ef06a1 Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer 2012-05-26 09:37:58 +01:00
Josh Matthews
9e27223a3d Bug 722845 - Part 5: Disable offline cache entries for private channels. r=mayhemer 2012-05-24 16:31:54 +01:00
Boris Zbarsky
514dfeebbb Bug 748276. Don't record a navigationStart for javascript: URI loads that don't produce a document. r=smaug 2012-05-23 12:44:48 -04:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Neil Rashbrook
0efdc15974 Bug 678726 Improved diagnostics to try to figure out what this random orange is r=ted 2012-05-10 22:46:15 +01:00
Marco Castelluccio
ba6e05d3c1 Bug 615213 - Remove nsIGlobalHistory.
r=bsmedberg
2012-05-09 21:30:41 +02:00
Oonishi Atsushi
5bbbd85991 Bug 745530 - Check that the decoded and unescaped ref is not empty. r=smaug 2012-05-08 18:49:14 -04:00
L. David Baron
e0f7819e29 Expose DocumentViewerImpl::CallChildren with an API that fills an array. (Bug 747231, patch 3) r=roc
--HG--
extra : transplant_source : %FFc%40%AE%D6%22%40%1D%7F%F7%A8%BC%1A%ECG%98G%DCFf
2012-05-05 15:25:45 +02:00
Ed Morley
11a1dc5920 Backout 8d220661ef24 (bug 751575) for timing out on pgo linux 2012-05-04 10:10:34 +01:00
Luke Wagner
3250e70d87 Bug 751575 - fix and reenable test_pb_notification_ipc.js (r=jst)
--HG--
extra : rebase_source : e2d52414cd17c15792e9c4be9cc48bfdb3b02318
2012-05-03 16:25:20 -07:00
Ed Morley
4204e13034 Bug 751575 - Disable test_pb_notification_ipc.js for permafailing in a CPG world; r=jst CLOSED TREE 2012-05-03 17:15:58 +01:00
Oonishi Atsushi
5cfaf515a1 Bug 750145 - iframe should not inherit LOAD_ERROR_PAGE. r=smaug 2012-05-03 06:22:33 -04:00
Oonishi Atsushi
9e1803fc9a Bug 478927 - Add new test. r=smaug 2012-05-03 06:22:32 -04:00
Oonishi Atsushi
13f066d77c Bug 478927 - Add a new flag LOCATION_CHANGE_ERROR_PAGE for onLocationChangeBug. r=smaug, sr=bzbarsky 2012-05-03 06:22:32 -04:00
Boris Zbarsky
6908ac2ac3 Bug 748803. Don't autofocus the Try Again button in error pages if the error page is not a toplevel page. r=mounir 2012-04-30 21:57:16 -04:00
Eric Wong
ce47dc155c Bug 724841 - Retain case when sending location bar text to search engine service r=bz 2012-04-28 18:39:14 -07:00
Oonishi Atsushi
2db63a757f Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Matt Brubeck
2993d5d45a Back out a0bc511b1d75 (bug 744910) and c85d6a254baa (bug 673752) on suspicion of causing Win debug "make check" hangs 2012-04-24 20:47:13 -07:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Josh Matthews
fb756f895a Bug 729162 - Add per-docshell privacy mode transition observers. r=bz 2012-04-19 23:19:54 -04:00
Josh Matthews
6b9a8a5fe2 Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz 2012-04-19 20:13:20 -04:00
Justin Lebar
354aaee162 Bug 745502 - Fix a null-pointer exception in pushState. r=smaug 2012-04-16 19:54:08 +10:00
Ms2ger
17ded04bad Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
3cce5883de Bug 742837 - Remove dead code and cleanup around nsDOMScriptObjectFactory; r=bz 2012-04-14 15:03:16 +02:00
Oonishi Atsushi
d68ee01d3a Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Paolo Amadini
f59a485dfb Bug 737133 - getFaviconURLForPage and getFaviconDataForPage should invoke nsIFaviconDataCallback even if the favicon is not available. r=mak sr=gavin
--HG--
extra : rebase_source : 70f0139a7b87b4a3f4de785a7c29f3f36e2055a9
2012-04-12 12:27:14 +02:00
Josh Matthews
2cc5f8574f Bug 725210 - Add observer notification for last PB docshell going away. r=bz 2012-02-21 12:32:17 -05:00
Justin Lebar
ee4d74361d Bug 737307 - Don't clobber mLoadType in short-circuited loads. r=bz
--HG--
extra : rebase_source : 9ae25aa8144136f202251b61050adb6b05fe08af
2012-03-29 11:27:13 -07:00
Marco Bonardo
7bf2e7218c Bug 738762 - Pass redirect and error information to global history.
r=bz
2012-03-29 15:07:09 +02:00
Oonishi Atsushi
2d0c83212c Bug 680727 - Part 2: docshell should pass a reloaded page to global history. r=smaug 2012-03-28 21:51:01 +02:00
Justin Lebar
8dd521e600 Bug 736688 - Part 6: Add BrowserElementAPI.js, implementing loadstart, loadend, locationchange, and the window.{top,parent,frameElement} override for <iframe mozbrowser>. r=smaug
--HG--
extra : rebase_source : 7ed3e56bbf06d97a9b0127eecf87128c5389a1b1
2012-03-28 11:36:50 -07:00
Justin Lebar
76f85b36c5 Back out changesets 6a2c57fa8edf, 34526f45d863 (bug 737307) due to web-facing regressions (e.g. bug 739478). r=bz
--HG--
extra : rebase_source : 4b595ee4ef7ab60a1d831bf50f1c973161e3187c
2012-03-26 17:10:07 -07:00
Gavin Sharp
d52625521a Bug 738804: back out keyword.URL prompting code while we investigate other larger changes, r=fryn
--HG--
extra : transplant_source : %F0G%AD%A1%89%C6%93%BB%CB/t%9E%DE%14%E9%7D2%91%EFF
2012-03-23 16:27:54 -07:00
Mark Capella
1e7fdd17b2 Bug 734023 - Remove language arguments from nsIScriptGlobalObject methods, r=jst, f=ms2ger 2012-03-23 18:13:29 +01:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Justin Lebar
7fbfb4bae3 Bug 737307 - Part 2: Fix. r=bz 2012-03-21 09:53:40 -04:00
Justin Lebar
d64a9f844b Back out 4d69dc0ec681 (bug 737307) due to orange. 2012-03-21 08:57:14 -04:00
Justin Lebar
6dc75a3ff2 Fix bug 737307. r=bz 2012-03-21 07:38:01 -04:00
Gavin Sharp
7ab87937cc Bug 718088: offer to re-set keyword.URL if it has a non-default value, r=bz on the docshell parts, r=fryn on the rest, ui-r=limi
--HG--
extra : transplant_source : F%5E%C6ge%1B%5B%14%0C%20%C4%C7%82%DA%D9%96%C0%86%A5%C6
2012-02-22 16:35:56 -08:00
Justin Lebar
d77dae5390 Bug 725796 - Make window.{top,parent,frameElement} respect <iframe mozbrowser>. r=bz 2012-03-04 11:02:00 -05:00
Tim Taubert
2a877d9dd5 merge m-c to fx-team 2012-02-27 09:44:06 +01:00
Tim Taubert
9d1d0d49a3 Bug 683953 - Part 2 - Add a docShell's history ID to the debug output; r=jlebar 2012-02-25 12:48:06 +01:00
Honza Bambas
e9c33fe76e Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Ed Morley
ef395cb269 Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Justin Lebar
13191e1263 Bug 728939 - Part 2: Add tests. r=bz
--HG--
extra : rebase_source : 00ea8c6aba6d41d719334ae8adaed07e7d9273f1
2012-02-22 16:54:11 +01:00
Justin Lebar
d7c3e50635 Bug 728939 - Part 1: Changing a URI's hash should update document.URL. r=bz
--HG--
extra : rebase_source : a41d88a9375d60a05ed61a6214003762119b7370
2012-02-22 16:53:58 +01:00
Rob Campbell
eb749cad65 merge fx-team to m-c 2012-02-22 12:47:22 -04:00
Nicholas Nethercote
f407686454 Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Jared Wein
1c58f1711c Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Oonishi Atsushi
c249205cdc Bug 382702 - Create a blank URL for session history when an invalid protocol is used. r=biesi 2011-12-15 08:03:00 -05:00
O. Atsushi
e866554637 Bug 312680 - Unknown protocol error should cause an error page instead of a dialog. r=biesi 2012-02-15 23:28:19 +01:00
Josh Matthews
91559e0581 Bug 729140 - Add de-XPCOMed getter for private browsing status on nsILoadContext. r=bz 2012-02-21 12:08:22 -05:00
Geoff Lankow
baa4881110 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part B, remove uses of nsIPrefBranch2 in modules/libpref/ ; r=bsmedberg 2012-01-16 21:47:13 +13:00
Josh Matthews
9114a9d0a4 Backing out bug 725210, changeset 01259925085c r=orange 2012-02-08 02:34:00 -05:00
Josh Matthews
fafb3fc1de Bug 725210 - Add observer notification for last PB docshell going away. r=bz 2012-02-08 01:52:39 -05:00
Josh Matthews
7c3ef60c66 Bug 722840 - Add private browsing attribute to docshells. r=bz 2012-02-02 14:03:46 -05: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
Gavin Sharp
68c7507d6c Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher
--HG--
extra : transplant_source : %02%AC%FC%98%E8%23%FE%9A%3D%BC%DEck%16%9FP%CE%95%B3%AF
2012-02-01 10:11:53 -08:00