Commit Graph

2830 Commits

Author SHA1 Message Date
Boris Zbarsky
8614a6bea8 Bug 690056. Implement a vendor-prefixed version of the visibility API. r=sicking
The idea is to fire the visibilitychange event synchronously during pageshow and pagehide, since we're
already running script there for the pageshow/pagehide events.  For docshell active state changes, we
fire the event asynchronously.  In all cases, the actual state changes just before the event fires.
2011-10-11 17:29:12 -04:00
Ed Morley
e9329ec38b Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley
e5ead17a8f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Joel Maher
30e9deddd9 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Justin Lebar
9428594606 Back out bug 622315 (ffead16f25eb) due to numerous regressions. r=bz
--HG--
extra : rebase_source : c4047ba2db97ebd31ae8dbbbd4d6e7057abf67fe
2011-10-03 17:43:36 -04:00
Boris Zbarsky
a0a5a60a29 Bug 685782. SetHistoryEntry should start syncing at the root of the docshell tree, not at its parent docshell. r=smaug 2011-10-03 15:13:35 -04:00
Matt Brubeck
644a223e89 Back out 2780356be1a1 (bug 675574) and 9928fb9a32b1 (bug 690220) on suspicion of causing browser-chrome shutdown hangs 2011-09-29 14:44:36 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Mounir Lamouri
aac1c5db8b Bug 675574 - Do not allow more than one call to window.open() when we allow popups. r=jst 2011-09-28 23:23:36 +02:00
Boris Zbarsky
7bfad6ee6f Bug 677643 part 1. Clone the URI argument in OnLinkClickSync to work around content policies mutating the URI which is shared with some random caller. r=smaug 2011-09-26 18:03:14 -04:00
Boris Zbarsky
01048cecb4 Bug 688681. Back out the fix for bug 674321 because it broke a bunch of docshell tests. r=khuey 2011-09-23 12:26:37 -04:00
Boris Zbarsky
70b13b1eaf Bug 444641 part 2. Factor out the channel owner setting from docshell so other consumers can use it too. r=jst,dveditz 2011-09-20 17:00:42 -04:00
Boris Zbarsky
73cb28130e Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst 2011-09-20 17:00:41 -04:00
Henri Sivonen
2d0e422226 Bug 684695 - Document the effect of non-null mLSHE on how subframe loads behave for session history purposes. r=bzbarsky. 2011-09-08 17:31:27 +03:00
Ms2ger
ccea776176 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Marco Castelluccio
a1151d128d Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Ed Morley
713d051a87 Merge tip of m-c to m-i (will need clobber) 2011-08-25 08:45:33 +01:00
Ed Morley
cba35094d2 Merge last green changeset of mozilla-inbound to mozilla-central 2011-08-25 01:09:05 +01:00
Jonathan Griffin
2a9adb8f59 Bug 673285 - Remove unnecessary timeouts in test, r=smaug, a=testonly
--HG--
extra : rebase_source : d4dd42e4233e478edf1024536751a225ff1e0428
2011-08-24 10:47:54 -07:00
Daniel Holbert
46861b7709 Bug 666901 followup: remove now-unused variable 'rv'. r=masayuki 2011-08-24 19:28:07 -07:00
Kyle Huey
d12d1798a1 Bug 678872: Test. 2011-08-24 10:55:22 -04:00
Kyle Huey
a6f6192a67 Bug 680344: Properly fix up a pending history navigation in nsSHistory::RemoveDuplicate. r=smaug sr=bz 2011-08-24 08:48:17 -04:00
Daniel Holbert
b28f1c56e9 Bug 570341 followup: Fix nsDocShell init list ordering to address GCC warning. r=gavin r=biesi 2011-08-23 15:17:30 -07:00
Justin Lebar
68a4215535 Bug 680257 - Always call nsDocShell::ScrollToAnchor on short-circuited loads, so as to make sure the target pseudo-class is updated correctly. r=bz 2011-08-22 22:39:37 -04:00
Ehsan Akhgari
3c1768b9c5 Bug 675201 - Wait until the window opened by layout/generic/test/test_bug514732.html is closed before running the next test, hopefully fixing the intermittent orange in layout/generic/test/test_bug632379.xul; r=volkmar 2011-08-18 11:09:16 -04:00
Matheus Kerschbaum
033d960531 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
Paolo Amadini
f42744f84d Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi] 2011-08-15 18:08:48 -07:00
Ms2ger
fe7e298f75 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug
* * *
Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage
2011-08-14 19:22:29 +02:00
Ms2ger
352b5b2d9d Backout bug 675075 for bustage 2011-08-14 20:05:20 +02:00
Ms2ger
9f85d33591 Bug 675075 - Followup: remove nsIDOMWindowInternal.h includes; r=bustage 2011-08-14 19:52:28 +02:00
Ms2ger
a74e67b366 Bug 675075 - Reinstate nsIDOMWindowInternal; r=smaug 2011-08-14 19:22:29 +02:00
Steffen Wilberg
ea8e34f343 Bug 678660: Hide about:newaddon from about:about, because it closes itself. r=rstrong 2011-08-14 10:00:25 +02:00
Dave Townsend
308b60ecc8 Bug 476430: Disable third-party add-ons by default and offer them to the user. r=Unfocused, r=robstrong 2011-08-12 13:50:47 -07:00
Malini Das
132054c82e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
ee09d54d6f Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
91a27b5ddc Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
ea71db787e 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
Justin Lebar
5766614c7b Bug 678274 - Remove declaration of SetDocIdentifier() from nsSHEntryShared, since that method's implementation was removed. r=smaug 2011-08-11 15:18:37 -04:00
Michael Wu
fbcd07dca0 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Justin Lebar
4ac70e6801 Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug
--HG--
extra : rebase_source : 431dafff170f2e6c8aa3429d5ec0f444efc53a10
2011-05-13 15:42:36 -04:00
Justin Lebar
6a78d85a21 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Matheus Kerschbaum
df5d3eff0b Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Justin Lebar
8c0b7d5fbc Bug 673252 - Allow +++DOCSHELL and +++DOMWINDOW printfs to be silenced via MOZ_QUIET environment variable. r=bz 2011-08-04 11:43:50 -04:00
Justin Lebar
c0e449690d Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz
--HG--
extra : rebase_source : 2af3094ea2dc95e30db3a9aa4d36766718efa009
2011-08-01 19:45:47 -04:00
Tim Taubert
8425ed5cfc merge the last green changeset on fx-team to m-c 2011-08-02 14:21:37 +02:00
Tim Taubert
5822d4664c Bug 670318 - Google+ home page creates multiple SHEntries, and if you go back to the first one, you can no longer go forward; r=smaug 2011-08-01 23:45:45 +02:00
Neil Rashbrook
224383fa11 Bug 671466 Prevent persistence of disabled state of 'Try Again' button on error pages r=bz 2011-07-29 21:42:59 +01:00
Boris Zbarsky
f4f445d775 Bug 675587. Change the location on hash changes even if we can't scroll right then. r=jlebar 2011-08-01 13:43:23 -04:00
Joel Maher
a96b3eaa39 Bug 674321 - port docshell_helpers.js to SpecialPowers, r=jgriffin, a=test-only 2011-07-28 12:03:59 -04:00
Michael Wu
46a170c5f0 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Matt Brubeck
909cdb7cdf Back out f57324fe25c9 (Bug 673467) because of mochitest-1 failures 2011-07-26 15:17:02 -07:00
Justin Lebar
663c68a124 Bug 673467 - Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-26 13:07:48 -04:00
Patrick McManus
958d4193a0 bug 628561 release http persistent connection on force reload r=bz
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.
2011-07-22 12:31:37 -04:00
Ed Morley
7689e76a8c Bug 671282 - Replace nsDebugAutoBoolTrueSetter in docshell and AutoBoolSetter in SMIL with AutoRestore; r=bz 2011-07-19 12:04:55 +02:00
Ms2ger
8c78d3f478 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Kyle Huey
460091a3b1 Bug 665964: If the nsISHistoryListener vetoes navigation, reset mRequestedIndex to make it clear that the navigation has been cancelled. r=bz 2011-07-08 14:30:36 -07:00
Justin Lebar
05cf9c1e16 Bug 669671 - When navigating to a history entry created via pushState or touched by replaceState, we should not force the load from cache. r=bz 2011-07-07 09:12:14 -04:00
Marco Bonardo
9234f5517b Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-05 10:15:27 +02:00
Phil Ringnalda
88f8b91d7f Bug 634834 (long delayed) followup, it puts the iframe after the function for its onload, or it gets the "is not defined" error again 2011-07-04 20:53:49 -07:00
Igor Bazarny
b55f33b563 Bug 659126 - Implement additional NavigationTiming properties
r=smaug
2011-07-04 18:44:00 +02:00
Igor Bazarny
c76c86d255 Bug 668513 - make the w3c tests for navigationtiming pass
r=smaug

--HG--
extra : rebase_source : 791001cf9c9fa54448d9f5f25cf92de4b8cc8d5e
2011-07-04 11:30:43 +02:00
Marco Bonardo
e1de548d00 Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Honza Bambas
5555f4736c bug 658894 - Collect basic telemetry for HTTP requests and page load. r=jduell 2011-07-01 22:22:18 +02:00
Joe Drew
3482c8aee5 Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-07-01 13:03:43 -04:00
Marco Bonardo
8ee34defda Backout bug 552605 and bug 619048 due to increase in random failures in reftests on a CLOSED TREE 2011-07-01 18:08:24 +02:00
Joe Drew
c32bb8010a Bug 552605 - Write tests to make sure we reload images that are redirected with a Cache-Control: no-cache header. r=bz 2011-06-30 21:58:36 -04:00
Olli Pettay
e5f1a50b21 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Joe Drew
0169905f3e Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Honza Bambas
1b92ab5f6e Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell+tglek 2011-06-28 16:49:45 +02:00
Boris Zbarsky
935cbbf81b Bug 650806. Make sure to only trigger links if their owner document's inner window is still the docshell's current inner window when OnLinkClickSync fires. r=jst 2011-06-26 12:48:37 -04:00
Matt Brubeck
23b2d18bb6 Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Jan Varga
1887d020e9 Bug 635673 - Content inside xul:iframe with type=content is always able to resize top chrome window. r=bz 2011-06-25 13:42:41 +02:00
Masayuki Nakano
d3e078cfbc Bug 666901 docshell should use mozilla::Preferences r=bz 2011-06-25 10:55:46 +09:00
Ed Morley
3f49fdcb2a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Steffen Wilberg
7593ba5c1c Bug 641195: Remove about:licence, but keep about:license. r=bsmedberg 2011-06-25 09:56:11 +02:00
Jonas Sicking
cd52437ea7 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
07c1f0b90f Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Ehsan Akhgari
580f3127a0 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-23 12:28:57 -04:00
Igor Bazarny
3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Josh Matthews
3b87fa1e32 Bug 663922 - Prevent null dereference of history transactions. r=smaug 2011-06-22 12:52:41 -04:00
Jesse Ruderman
c44b527a13 Add crashtest from bug 614499 2011-06-20 11:42:05 -07:00
Ed Morley
79970c2a33 Bug 664979 - Merge nsISHistory_2_0_BRANCH into nsISHistory; r=bz 2011-06-18 11:03:17 +02:00
Neil Rashbrook
483a311b55 Bug 664125 Offline error pages should appear for non-cacheable channels too r=bz 2011-06-16 21:26:22 +01:00
Dão Gottwald
dea1dade04 Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02:00
Ted Mielczarek
b9712b1eab merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Dão Gottwald
ef51dab09c more random browser chrome test cleanup (no bug) 2011-06-11 16:54:23 +02:00
Steffen Wilberg
93d5df660d Bug 435325: Offline mode error page should go online when clicking 'Try Again'. Add a goOnline() method to nsDOMWindowUtils, and call that from about:neterror in the netOffline case. ui-r=faaborg, r=bz, gavin. 2011-06-11 15:38:40 +02:00
Honza Bambas
6a8e4a1ddc Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas
6128e602b0 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Ehsan Akhgari
381ce2b6f1 Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Kyle Huey
22c5117a8a Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Kyle Huey
12b5e9e908 Bug 622315: Refuse to navigate if a navigation is already pending. r=bz 2011-06-07 13:10:47 -07:00
Kyle Huey
3ba7b67ccf Bug 662200: Regression test. 2011-06-07 13:08:07 -07:00
Kyle Huey
beb2ddd648 Bug 662200: Update the session history object for reloads. r=bz 2011-06-07 13:04:13 -07:00
Oonishi Atsushi
5fc1479298 Bug 311007 - Add onLocationChange2 which distinguishes between same-document and different-document location changes to web progress listeners. r=smaug, sr=bzbarsky 2011-06-04 05:31:07 +09:00
Mounir Lamouri
f74ab87984 Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Kyle Huey
4be4919017 Bug 662125: Fix nsDocShell::ConfirmRepost to initialize a PRBool before passing it through XPConnect. r=bz 2011-06-06 10:58:49 -07:00
Kyle Huey
35b2ee8d9a Backed out changeset 52b9e864be0e due to Bug 662200. 2011-06-05 16:21:42 -07:00
Kyle Huey
d0fb2e315c Bug 622315: Refuse to navigate if a navigation is already pending. r=bz 2011-06-05 12:09:47 -07:00