Commit Graph

362 Commits

Author SHA1 Message Date
Brad Lassey
4b1620e2a2 bug 684176 - Intermittent failure in test_bug454235.xul | offscreen browser is not visible r=smaug 2012-11-13 11:44:36 -08:00
Oonishi Atsushi
c74618361b Bug 808035 - Test. r=smaug 2012-11-07 18:04:23 -05:00
Oonishi Atsushi
34863fccc0 Bug 754029 - Navigating from a new script tag does not add a session history entry. r=smaug, r=bz 2012-10-13 13:20:55 -04:00
Ed Morley
bd0d1f6c0a Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Olli Pettay
81315380c7 Bug 797909, null principal for initial about:blank, r=bz 2012-10-05 02:01:34 +03:00
Chris Jones
70742854ac Bug 784908: Part 0: Make this test actually test session history instead of scroll port clamping. irc-r=roc 2012-09-28 03:33:29 -07:00
Ed Morley
139fb7bd45 Bug 780863 - Disable test_bug270414.html on Android for too many intermittent failures (mark 2) 2012-09-28 18:47:30 +01:00
Ed Morley
dbc69b7c44 Bug 780863 - Disable test_bug270414.html on mobile for too many intermittent failures 2012-09-28 15:42:39 +01:00
Gavin Sharp
948734d812 Bug 772823: try to work around intermittent failure of this test on Linux by not trying to focus the opener from under a domwindowclosed notification 2012-09-25 17:49:04 -07:00
Bobby Holley
4000987cdb Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley
5af5a73d3d Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
c64d31c5e0 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Gavin Sharp
dd200d2bfa Bug 772823: try to work around intermittent failure of this test on Linux by avoiding closing the window during onload
--HG--
extra : transplant_source : %3C%2B%B3%3A%F5S%AF%97t%80%DC%D4%C4%F1%26%8A%E6%8A%B5%B7
2012-09-23 17:13:01 -07:00
Tim Taubert
eab6b04f72 Bug 422543 - part 2 - add tests for multiple session history listeners; r=smaug 2012-09-20 16:41:49 +02:00
Bobby Holley
2c63b03ffc Bug 789773 - Tests. r=bz 2012-09-18 12:16:05 +02:00
Bobby Holley
d806bf9ec7 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Blair McBride
5ccfa4bdc2 Bug 783763 - Move browser_bug435325.js to /browser/ and remove reference to nsIDOMWindowUtils. r=dolske
--HG--
rename : docshell/test/browser/browser_bug435325.js => browser/base/content/test/browser_bug435325.js
2012-08-21 19:42:30 +12:00
Boris Zbarsky
3d616ae6f5 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Chris Jones
7804d3c78b Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky
f82e20d150 Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst 2012-08-08 23:47:04 -04:00
Bobby Holley
943789da00 Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matt Brubeck
4191774b1c Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts 2012-07-27 17:03:23 -07:00
Oonishi Atsushi
e4236f7c24 Bug 754029 - Tests. r=smaug 2012-07-27 17:51:53 -04:00
Nathan Froyd
5b30baa4c3 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
Gavin Sharp
f7ba48e261 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
716e1fb23c Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Phil Ringnalda
72034e800f 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
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Simon Montagu
4332bd83c0 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu
df869772de 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
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
6c452f6526 Bug 678726 Improved diagnostics to try to figure out what this random orange is r=ted 2012-05-10 22:46:15 +01:00
Ed Morley
3a83db790e Backout 8d220661ef24 (bug 751575) for timing out on pgo linux 2012-05-04 10:10:34 +01:00
Luke Wagner
90406e4550 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
6cb1c1f730 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
1dd86ec7a4 Bug 478927 - Add new test. r=smaug 2012-05-03 06:22:32 -04:00
Oonishi Atsushi
2f5c073699 Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Matt Brubeck
c9d5f18376 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
c7d143b9fa Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Josh Matthews
03e6832624 Bug 729162 - Add per-docshell privacy mode transition observers. r=bz 2012-04-19 23:19:54 -04:00
Josh Matthews
fb81af3718 Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz 2012-04-19 20:13:20 -04:00
Oonishi Atsushi
c128b4bf71 Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Ed Morley
04577d02d6 Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Justin Lebar
89994f37c5 Bug 728939 - Part 2: Add tests. r=bz
--HG--
extra : rebase_source : 00ea8c6aba6d41d719334ae8adaed07e7d9273f1
2012-02-22 16:54:11 +01:00
Jared Wein
43f524eb6a Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Gavin Sharp
0ccc9e38e5 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
Gavin Sharp
93f574f547 Bug 723808: don't allow loads in type=content docshells to inherit the system principal, r=bz
--HG--
extra : transplant_source : %E6%25%A7%C1.%DA%02%CC%BF%DA%ED%BEZ%E8%FB%CD%28%0A%FE8
2012-01-30 18:29:44 -08:00
Simon Montagu
e756bff57b Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Jared Wein
843a61d98d Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Steffen Wilberg
84ee8aac3e Bug 707570: Use Services.prefs instead of gPrefService in browser_bug435325.js. r=bz 2011-12-29 10:42:57 +01:00
Rafael Ávila de Espíndola
4f1b786f7d Bug 712754 - Call do_get_profile. r=mak. 2011-12-28 08:46:04 -05:00
Masayuki Nakano
6636e9efaf Bug 504586 test_bug430723.html should listen to scroll event after sending key events r=smaug 2011-12-16 22:38:45 +09:00
Masayuki Nakano
b4506dd72f 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
Masayuki Nakano
b26f243504 backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
67ab8bc88a Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Simon Montagu
2739b17bd4 Use BrowserSetForcedCharacterSet instead of Firefox-specific SetForcedCharset. Bug 705943, r=dao 2011-11-30 11:10:41 +02:00
Igor Bazarny
ca81aeea3a Bug 694612. Hook up the performance timing APIs even inside an <object>. r=bzbarsky 2011-11-17 10:24:03 +13:00
Oonishi Atsushi
5db5ec8f54 Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00
Igor Bazarny
535e6bbafd Bug 691547. Don't record a navigationStart for a docshell when one of its descendants navigates. r=bzbarsky 2011-11-08 11:51:20 -05:00
Ed Morley
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Justin Lebar
f1b1dbc9b2 Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Joel Maher
af676940c5 Bug 674321 - port docshell_helpers.js to SpecialPowers. r=ted 2011-10-19 05:35:05 -04:00
Justin Lebar
c49c011b9d Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
e7ce3fbda2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
e295b19833 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Boris Zbarsky
31d91ff3a9 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
Joel Maher
be5ce7dc85 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
Matt Brubeck
4a976aab61 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
Mounir Lamouri
6c638adde5 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
357f4e6801 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
Jonathan Griffin
378ef8cf62 Bug 673285 - Remove unnecessary timeouts in test, r=smaug, a=testonly
--HG--
extra : rebase_source : d4dd42e4233e478edf1024536751a225ff1e0428
2011-08-24 10:47:54 -07:00
Justin Lebar
7e582ce643 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
5a0b04f098 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
Malini Das
960a7c7495 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
02665c9658 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
da32b5cbd3 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
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
Justin Lebar
aa17ad67fe 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
8e5777e1a0 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
5692e9c245 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
fd3b50e945 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
f5dd994368 merge the last green changeset on fx-team to m-c 2011-08-02 14:21:37 +02:00
Tim Taubert
6f626c2d9a 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
Boris Zbarsky
100cd4b0dd 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
Dão Gottwald
165f87025b Backed out changeset 7ad075ec023b 2011-07-31 21:40:55 +02:00
Justin Lebar
a705cbbdb9 Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-31 13:17:55 -04:00
Joel Maher
c830090389 Bug 674321 - port docshell_helpers.js to SpecialPowers, r=jgriffin, a=test-only 2011-07-28 12:03:59 -04:00
Matt Brubeck
f77383a536 Back out f57324fe25c9 (Bug 673467) because of mochitest-1 failures 2011-07-26 15:17:02 -07:00
Justin Lebar
22a16aaeef Bug 673467 - Don't create an extra SHEntry for dynamically-added iframes. r=bz 2011-07-26 13:07:48 -04:00
Justin Lebar
dc90d67bd7 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
Phil Ringnalda
49ca3d9624 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
a2f1b7e521 Bug 668513 - make the w3c tests for navigationtiming pass
r=smaug

--HG--
extra : rebase_source : 791001cf9c9fa54448d9f5f25cf92de4b8cc8d5e
2011-07-04 11:30:43 +02:00
Joe Drew
bcb9088b38 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
6013ac2db8 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
301a37eb71 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
Igor Bazarny
39a01edf21 bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Dão Gottwald
9e3c046bbe more random browser chrome test cleanup (no bug) 2011-06-11 16:54:23 +02:00
Steffen Wilberg
3b7e75b4ce 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