Commit Graph

323 Commits

Author SHA1 Message Date
Justin Lebar
da9030925d bug 562080: Fix JavaScript error in test_bug509055.html. r=smaug 2010-05-02 12:49:12 +02:00
Justin Lebar
9ba98bff56 Bug 554155 - history.pushState should fire onLocationChange only once. r=smaug 2010-05-02 10:31:07 +02:00
Philipp von Weitershausen
59d39b9054 Bug 560311 - "incomplete history observer impl in browser_bug503832.js" [r=sdwilsh] 2010-04-21 08:58:00 -04:00
Timothy Nikkel
bb4887772e Bug 502937. Part 1.1. Fix up another test. r=bzbarsky 2010-04-16 13:15:28 -05:00
Justin Lebar
532c2b03e9 Bug 556684 Move test for bug 550565 r=dao
--HG--
rename : docshell/test/browser/browser_bug550565.js => browser/base/content/test/browser_bug550565.js
rename : docshell/test/browser/file_bug550565_favicon.ico => browser/base/content/test/file_bug550565_favicon.ico
rename : docshell/test/browser/file_bug550565_popup.html => browser/base/content/test/file_bug550565_popup.html
2010-04-11 20:52:59 +01:00
L. David Baron
7a857e9b5a Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
Dão Gottwald
986b546ddd use Services.* in browser chrome tests 2010-04-02 09:20:42 +02:00
Marco Bonardo
75db30109e Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Justin Lebar
4c5a4c96cd Bug 550565: Calling history.pushState during onDOMContentLoaded drops a favicon. r=dao 2010-03-24 10:22:13 +01:00
Henri Sivonen
c5c79cad7e Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman.
--HG--
extra : rebase_source : 8a0b6e679c70c6d2429a9fdbf469cc59d285ca2f
2010-02-22 14:17:33 +02:00
Joel Maher
f56bbbf726 Follow on patch for bug 503832 to fix orange due to bug 544097 having landed. 2010-03-08 20:41:00 -08:00
Philipp von Weitershausen
81f833c19e Bug 503832. Visiting a new fragmentid (scrolling to named anchor) should set the title of the page in the global history for the url with that anchor. r=bzbarsky 2010-03-08 19:30:02 -05:00
Joel Maher
6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Boris Zbarsky
ef4ee99cc9 Backed out changeset dc835fb21c0c (bug 503832) on suspicion of causing a Tsspider regression.
--HG--
extra : rebase_source : b15b7bbd372fcbd768e653e89049804fed9070c8
2010-03-09 09:35:14 -05:00
Boris Zbarsky
6f0a02b9be Backed out changeset 2da8ac54d264 (followup to bug 503832)
--HG--
extra : rebase_source : 18787ca6131d944ee344c9428f5fa909b5e78a52
2010-03-09 09:32:35 -05:00
Kyle Huey
ef9946d39a Backing out Bug 544097 due to test failures. 2010-03-09 01:16:43 -05:00
Kyle Huey
9f31ade692 Backing out Bug 544097 due to test failures 2010-03-09 01:15:59 -05:00
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Kyle Huey
4bdc331ace Backed out changeset 817634616c8b 2010-03-09 01:13:12 -05:00
L. David Baron
85324b60ed Don't leak the world in this new test. (Bug 503832)
--HG--
extra : transplant_source : %14%CB%9Er%1F%93%F6l%F3%11%3Dx%93%97%C3%3D%99%C4%CD%C5
2010-03-08 21:19:30 -08:00
Joel Maher
93847954ff Follow on patch to fix oranges from changeset 8ce70abd7777 2010-03-08 20:41:00 -08:00
Joel Maher
694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Philipp von Weitershausen
48a002ddce Bug 503832. Visiting a new fragmentid (scrolling to named anchor) should set the title of the page in the global history for the url with that anchor. r=bzbarsky 2010-03-08 19:30:02 -05:00
Clint Talbert
5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Shawn Wilsher
a7bee173ee Bug 461199 (Part 24) - Update docshell tests to work with the new async isVisited API
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
cd57f8901b Backed out changeset 26f7974bf6ef 2010-02-18 09:55:05 -08:00
Shawn Wilsher
92c883c857 Bug 461199 (Part 24) - Update docshell tests to work with the new async isVisited API
r=bz
2010-02-17 14:04:32 -08:00
Henri Sivonen
2ec98df333 Bug 541050 - Add greater-than signs to test_bug404548.html to make it not fail with the HTML5 parser. r=bzbarsky. 2010-02-03 14:40:05 +02:00
Henri Sivonen
6bc836bfaa Bug 540576 - Remove trailing white space from a blank document to make its body have no WS with the HTML5 parser. r=bzbarsky.
--HG--
extra : rebase_source : f076d370d72787b495b96895fb321e0af02457a4
2010-01-22 10:15:43 +02:00
Olli Pettay
8f9e916c89 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Justin Lebar
46de8dd77f Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Robert O'Callahan
92e0cd3300 Back out bug 515190 due to test failures 2010-01-07 15:17:40 +13:00
Robert O'Callahan
52d6a35781 Backed out changeset ad1892e1bb82 2010-01-07 15:17:15 +13:00
Robert O'Callahan
b291a585bc Bug 508369. Fix test. r=bzbarsky 2010-01-07 14:14:38 +13:00
Justin Lebar
3c5c37e7fc Bug 515190: Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Boris Zbarsky
a6883fa73a Update bug 529119 tests to not rely on error page titles. 2009-11-19 20:42:00 -05:00
Honza Bambas
4caede5829 Bug 529119 - Funky behavior with XUL error pages, r=bz 2009-11-18 17:02:28 +01:00
Neil Deakin
8491400c96 Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug 2009-10-16 10:32:05 -04:00
Jonathan Griffin
30323afdf4 Test for bug 301397. r=bzbarsky 2009-08-12 18:42:10 -04:00
Justin Lebar
a980bf6bde Bug 509055: Changing document.title does not change SHEntry's title if document was loaded from history. r=smaug 2009-08-10 13:45:09 -07:00
Jonathan Griffin
8e66c04740 Remove unneeded focus check in order to fix bug 508188 2009-08-04 10:43:15 -07:00
Jonathan Griffin
d0b8cb8bf2 Another attempt to fix bug 503988: change the way we invoke find, check the Find bar's status afterwards. 2009-07-28 17:16:51 -07:00
Jonathan Griffin
a93485a741 Another attempt to fix bug 503988 2009-07-24 09:33:20 -04:00
Justin Lebar
3cf42d7d8d Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug 2009-07-21 14:17:15 -07:00
Jonathan Griffin
2fe86d51fe Another attempt to fix random orange bug 503988 2009-07-21 13:41:57 -04:00
Johnny Stenback
16bda017ab Backed out changeset a28347623d0f due to mochitest failures. 2009-07-20 18:20:49 -07:00
Justin Lebar
88226e8c85 Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug
--HG--
extra : rebase_source : 977f304a4f318c9371da5065cab600f57804ea0d
2009-07-20 14:09:04 -07:00
Boris Zbarsky
9033e4dee5 Trying to fix bug 503988 2009-07-17 23:35:09 -04:00
Boris Zbarsky
78ae88221d Make the test output somewhat more useful. 2009-07-13 20:33:02 -07:00
Simon Montagu
90c570e3d9 Replace timeouts by event listeners in test cases for bug 92473 and bug 134911 2009-07-13 01:16:52 -07:00
Jonathan Griffin
9aa74f12f9 Adding test for bug 396649. r=bzbarsky 2009-07-10 22:41:13 -07:00
Jonathan Griffin
af6bc04a2d Adding test for bug 360511. r=bzbarsky 2009-07-10 22:41:12 -07:00
Jonathan Griffin
2a3653edcf Adding test for bug 298622. r=bzbarsky 2009-07-10 22:41:12 -07:00
Jonathan Griffin
5fa11894f5 Adding test for bug 321671. r=bzbarsky 2009-07-09 21:49:48 -07:00
Jonathan Griffin
087deb58f7 Adding test for bug 293235. r=bzbarsky 2009-07-09 14:09:44 -07:00
Jonathan Griffin
08d19aa0b3 Add test for bug 294258. r=bzbarsky 2009-07-09 14:09:44 -07:00
Jonathan Griffin
d9ffebffea Adding test for bug 303267. r=mrbkap 2009-07-09 14:09:44 -07:00
jlebar
8e7e8ce329 Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Jonathan Griffin
ab7b52672e Bug 501235 - "add new mochitest sub-harness for docshell testing." r=bzbarsky 2009-06-30 18:35:32 -07:00
Neil Deakin
15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
L. David Baron
f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Dave Camp
39401f5525 Bug 481342 - Fix some unpacking logic. r+sr=bz
--HG--
rename : docshell/test/bug369814.zip => docshell/test/bug369814.jar
2009-03-10 14:58:00 -07:00
Jonas Sicking
86a18a593a Bug 475636: Disallow refresh to javascript uris. r/sr=bz
--HG--
extra : rebase_source : 1fdfc3148c257aee22001be045258cc985ee027a
2009-03-09 23:03:39 -07:00
Asaf Romano
3ed64fb5a5 comments and a hard-tab fix 2009-02-26 16:01:11 -08:00
Asaf Romano
8900bd48d4 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Dave Camp
bf4b7538a7 Bug 442584 - Prefetching stops working until Firefox is restarted. r=jduell, sr=jst 2009-02-24 23:12:12 -08:00
Boris Zbarsky
36a2d9ec15 Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
Jonas Sicking
2c8b4e0b19 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Peter Van der Beken
0b7ffe2664 Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Jonas Sicking
77010e3913 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Boris Zbarsky
9ab3dc1969 Bug 449780. When doing a frameloader swap, clear the bfcache on both docshells, since we can't deal with all those presentations. r+sr=jst 2009-01-13 14:32:30 -05:00
Boris Zbarsky
25c80fe5bc Bug 468189. Stop failing the test if we don't finish within 5 seconds. It causes sporadic failures. 2009-01-07 09:23:56 -05:00
Boris Zbarsky
3d37a465e1 Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst 2008-12-28 10:34:00 -08:00
Boris Zbarsky
33ae8fd77e Add a workaround for bfcache suckage and reenable these tests. r=sheriff for CLOSED TREE 2008-12-04 15:51:25 -05:00
Markus Stange
030716b190 Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Boris Zbarsky
a0a14baffb Disable tests for now to fix orange 2008-12-03 14:44:33 -05:00
Graeme McCutcheon
38c89ebd70 Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Graeme McCutcheon
8acb0849b5 Adding tests for bug 112564 and bug 92598 2008-12-03 12:52:49 -05:00
Boris Zbarsky
7945609a52 Adding test 2008-11-18 17:57:13 -05:00
Boris Zbarsky
d25c8a9a25 Bug 456980. Make it possible to swap chrome docshells as well, if there is no session history involved. Can be used for sidebars and such. r+sr=jst 2008-10-08 09:04:32 -04:00
Brad Lassey
819ff924cb Bug 454235 - IME events not fired when clicking on text input box, adds IsOffScreenBrowser property to DocShell r=smaug sr=bz 2008-09-19 12:57:56 -04:00
Gavin Sharp
af9cc41693 Bug 455611: tweak docshell/test/navigation/NavigationUtils.js so that it works in non-Firefox apps, r=bz 2008-09-19 11:44:33 -04:00
Robert Kaiser
720062e552 bug 454513 - browser_bug453896.js fails on all SeaMonkey unit test boxes, remove event listeners added by the tests when they aren't needed any more, r=dbaron 2008-09-11 02:07:52 +02:00
Boris Zbarsky
4c0efcaf45 Bug 113934 tests 2008-08-25 13:21:28 -04:00
Mark Banner
712e9200d7 Bug 431130 xpcshell test test_nsIDownloadHistory.js fails on Thunderbird. r=sdwilsh 2008-07-17 15:04:27 +01:00
Johnathan Nightingale [johnath]
573184f322 Bug 441169 - [r=bzbarsky sr=dveditz] 2008-07-12 05:22:34 -05:00
Boris Zbarsky
a374b87643 fix typo in previous push (bug 439164) 2008-07-08 18:05:50 -04:00
Boris Zbarsky
6fe6e7f3e0 Bug 439164: refactor test_bug413310 to avoid intermittent timing-related failures 2008-07-08 18:04:40 -04:00
kairo@kairo.at
9b6caac281 bug 431453 - Make browser-chrome mochitests pass on SeaMonkey: make some platform tests Firefox-only or non-SeaMonkey (as applicable), r=smontagu for docshell, r=dwitte for cookie, r=gavin for dlmgr, a1.9=damons for platform tests; make SeaMonkey sanitizer tests pass, sr=Neil 2008-05-02 06:13:19 -07:00
peterv@propagandism.org
6f9bbd6446 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
roc+@cs.cmu.edu
a8cda1608f Bug 430723. Don't prematurely detach and reattach the editor object. patch by Chris Pearce, r+sr=jst,a=schrep 2008-05-01 02:00:11 -07:00
johnath@mozilla.com
932022246b SSL Error page for domain mismatch should hyperlink to correct site (sometimes). b=402210 r=gavin r=kengert r=axel ui-r=beltzner moa/sr=biesi a=beltzner Significant chunks of p=timeless 2008-04-30 13:10:22 -07:00
roc+@cs.cmu.edu
e39f69c653 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner 2008-04-23 14:36:17 -07:00
dveditz@cruzio.com
8335e5b350 bug 428288 chrome crash in nsDocShell::ValidateOrigin, problem found by timeless, r/sr=bzbarsky, a=beltzner 2008-04-12 14:18:06 -07:00
reed@reedloden.com
bd0bacb44e Typo fix - s/resuls/results/. 2008-03-30 00:09:27 -07:00
vladimir@pobox.com
d561f09369 fix up unit test to accept '.jpeg' on linux 2008-03-20 16:55:44 -07:00
vladimir@pobox.com
a8432bdec9 b=414201, [relanding] JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner 2008-03-20 15:57:44 -07:00
vladimir@pobox.com
2ad261f33d backing out 414201 because I hate 10.4 2008-03-20 14:56:31 -07:00
vladimir@pobox.com
7f0c005ec5 b=414201, JPEG images dragged to Finder have file extension changed to .jfif; r=stan,sr=shaver,a=beltzner 2008-03-20 14:39:09 -07:00
ajschult@verizon.net
a72f519cba Bug 396519 test to ensure content viewers are saved and evicted at appropriate times. 2008-03-07 23:24:41 -08:00
bzbarsky@mit.edu
310ab212ad Fix longstanding issue where anchor scrolls on a POST result page could lead to a silent re-POST during history traversal. Bug 413310, r+sr=biesi, a=dsicore,beltzner,righteousness. 2008-02-28 20:21:39 -08:00
reed@reedloden.com
465e2b40ed Bug 416622 - "docshell navigation tests intermittently failing with NS_ERROR_XPC_BAD_OP_ON_WN_PROTO" (Tolerate partially-constructed windows) [p=hk9565@gmail.com (Adam Barth) r=bzbarsky] 2008-02-11 20:35:19 -08:00
sdwilsh@shawnwilsher.com
397b5b4be3 Bug 94514 - POST result page should not appear in global history or history autocomplete results. r=bz, sr=bz 2008-02-06 10:18:07 -08:00
bzbarsky@mit.edu
c0ac3ae4c3 Make the test work in embedding builds too. Bug 414303, patch by Adam Barth <hk9565@gmail.com> and Collin Jackson <mozilla@collinjackson.com>, r+sr=bzbarsky. 2008-01-28 19:43:47 -08:00
bzbarsky@mit.edu
5d7a1e0522 Fixing build bustage 2008-01-27 12:16:29 -08:00
bzbarsky@mit.edu
147ee0e4ae Tighten up the named-target navigation policy to better match the HTML5 spec and Safari. Bug 408052, patch by Adam Barth <hk9565@gmail.com> and Collin Jackson <mozilla@collinjackson.com>, r=jst, sr=bzbarsky. 2008-01-27 11:39:10 -08:00
dcamp@mozilla.com
1b9adf5c62 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
neil@parkwaycc.co.uk
9ff8d79e8e Fix SeaMonkey tinderbox test bustage b=401174 r=sdwilsh 2007-11-24 14:11:31 -08:00
sdwilsh@shawnwilsher.com
babafd75f6 Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor 2007-11-23 12:20:41 -08:00
bzbarsky@mit.edu
2ea8702452 Fix bug 404548. r+sr=jst, a=schrep 2007-11-21 11:59:42 -08:00
smontagu@smontagu.org
72efa0c82d Testcase for bug 134911 2007-11-11 12:03:33 -08:00
smontagu@smontagu.org
0b73a0cc1c Preserve history on charset reload. Bug 134911, r+sr=bz, a=roc 2007-11-11 11:48:09 -08:00
bzbarsky@mit.edu
db5f5d91fc Adding test 2007-10-12 11:59:46 -07:00
smontagu@smontagu.org
b17709fa08 Regression test for bug 92473 2007-10-01 07:14:57 -07:00
bzbarsky@mit.edu
8be43399c4 Adding tests. 2007-09-02 21:58:05 -07:00
ginn.chen@sun.com
d0ed3cca65 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
bzbarsky@mit.edu
1bd1d3484f Adding test. 2007-07-15 15:33:21 -07:00
bzbarsky@mit.edu
177208f7d9 Adding test. 2007-07-13 22:02:22 -07:00
bzbarsky@mit.edu
66fab0864e Add test. Patch by Sylvain Pasche <sylvain.pasche@gmail.com>, r=smaug 2007-07-11 10:33:46 -07:00
sayrer@gmail.com
b80cfd9871 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00