Commit Graph

240 Commits

Author SHA1 Message Date
Marco Bonardo
a75d40810e Bug 641531 - Close Places containers after use (mechanical changes)
rs=me
2011-04-23 02:09:13 +02:00
Justin Lebar
331607e5aa Bug 628069 - Add newURL, oldURL properties to hashchange event. r=smaug
--HG--
extra : rebase_source : 865194e9c50612599ad029815314c0819de60124
2011-03-31 16:30:32 -04:00
Justin Lebar
f50c4cd27d Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Ehsan Akhgari
680e9b757e Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted 2011-04-16 19:39:34 -04:00
Jonathan Kew
20281c115e Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Boris Zbarsky
aae915ec33 Bug 629559. Clone child session history entries on anchor navigation. r=dtownsend,smaug
--HG--
rename : dom/tests/mochitest/general/historyframes.html => docshell/test/historyframes.html
rename : dom/tests/mochitest/general/test_framedhistoryframes.html => docshell/test/test_framedhistoryframes.html
rename : dom/tests/mochitest/general/test_windowedhistoryframes.html => docshell/test/test_windowedhistoryframes.html
2011-03-30 13:40:48 -04:00
Boris Zbarsky
6814200abd Bug 637644. Start layout on the new document we just created in nsGlobalWindow::SetOpenerScriptPrincipal, since if we don't do it here no one ever will. r=jst 2011-03-02 14:45:13 -05:00
Jonas Sicking
9adba11f73 Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst 2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298 Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner 2011-02-28 23:08:56 -08:00
Justin Lebar
ef161c8702 Bug 634834 - Throw an error if JSON stringification during history.push/replaceState navigates the page. r=bz, a=blocking 2011-02-18 16:15:42 -08:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Serge Gautherie
6fe9a94662 Bug 628890 - mochitests-2: test_bug509055.html should not call SimpleTest.finish() before it actually has; (Av1) Wrap the call in SimpleTest.executeSoon() (ftb).
r=Olli.Pettay a=(test-only).
2011-01-26 17:07:28 +01:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Jeff Walden
a04ed905d9 More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00
Joel Maher
a1ced5aa8a Bug 601245 Stop packaging test files which are in tests.jar r=ctalbert a=test-only 2010-12-09 14:47:21 -08:00
Justin Lebar
71e63abc25 Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking 2010-11-29 11:13:12 -08:00
Dão Gottwald
f02608aecf remove FUEL usage from these tests. a=tests-only
--HG--
extra : rebase_source : 646bf40bb3acf773ded5471bc42f745e3c356003
2010-11-28 21:02:03 +01:00
Jonas Sicking
0b34446294 Bug 608669: Make chrome-document-global-created be properly dispatched on newly opened windows. r=jst a=blocker 2010-11-23 00:50:56 -08:00
Mark Banner
055848b769 Bug 610974 - Ensure places is enabled for places related tests; r=sdwilsh, a=test-only change 2010-11-19 13:23:35 +00:00
Ehsan Akhgari
0450182992 Bug 611182 - Part 2: Correct the definition of EndOfDocument for the HTML editor in order to fix some tests which have been relying on the bogus node existing in non-empty editable documents; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:55 -05:00
Johnny Stenback
41120f4b7c Bug 580128. Fix various mochi chrome tests to work with the new wrappers. r=mrbkap@gmail.com 2010-10-10 15:37:28 -07:00
Phil Ringnalda
b21a69cdb2 Bug 464946 - try to eliminate timeouts in test_bug428288.html by loading about:blank in the iframe instead of mozilla.com, a=orange
--HG--
extra : rebase_source : ad520f92a90bacb31c9853b8bf94e0914f8496a1
2010-10-03 21:39:18 -07:00
Justin Lebar
0e71fe597f Bug 593144 - Try to fix intermittent orange in test_bug593573.html. rs=sicking, a=test-only 2010-09-21 21:10:31 -04:00
Jonas Sicking
aac728d04b Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE 2010-09-15 15:54:00 -07:00
Joel Maher
3b1fb9d8ce Bug 592859 Update browser chrome tests to only use chrome paths for mochitest to prep for android support r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Olli Pettay
a42909ef55 A test for Bug 534178, a=testcase for a blocker 2010-09-06 15:36:32 +03:00
Kyle Huey
a846b63dba Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey
bde906120c Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec 2010-09-05 09:09:04 -04:00
Jonas Sicking
58149cb308 Bug 582176: Only send content-document-global-created (and its chrome counter part) when a new window was actually created. Not when we fast-backed to one. r=jst a=blocker 2010-09-03 15:53:28 -07:00
Justin Lebar
5284bf7d11 Bug 590573 - pushState should save the scroll position of the old SHEntry, and going between pushStated entries should respect the saved scroll position. r=bzbarsky a2.0=blocking 2010-08-27 14:19:45 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Justin Lebar
d55e665d20 Bug 580069 - replaceState should clear the SHEntry's POST data. r+a2.0=sicking
--HG--
extra : rebase_source : 269b6c86730354ea829e2e6bffae3f2e19ba6bb3
2010-08-11 16:49:43 -07:00
Justin Lebar
5aaa5f807f Bug 589933 - Fix racy test_bug94514.html. r+a=sdwilsh
--HG--
extra : rebase_source : ccaa4e2f64ef6aeeaf6371fba3f3d15c3ed7a340
2010-08-23 19:58:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Justin Lebar
994a2d25b2 Backed out changeset 7ba410f45f42 2010-08-18 17:11:27 -07:00
Justin Lebar
4e754fd28f Bug 580069 - replaceState should clear the SHEntry's POST data. r+a2.0=sicking
--HG--
extra : rebase_source : 48bcebb876ff77a4c8a7157c5aa15746846dd007
2010-08-11 16:49:43 -07:00
Olli Pettay
75b4ffdc0e Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Bobby Holley
df84e7c4c1 Tests for bug 343515 - Active tab API. r=dolske 2010-08-02 14:13:13 -04:00
Marco Bonardo
53e4c40b17 Backed out changeset b1e658a33221 on CLOSED TREE 2010-08-10 00:14:59 +02:00
Marco Bonardo
8b758ffd5b Bug 552023 - Kill Places partitioned temp tables. r=sdwilsh a=blocking 2010-08-09 17:59:59 +02:00
Dão Gottwald
7176189879 Bug 380960 follow-up fix for test_bug511449.html 2010-08-07 10:11:30 +02:00
Blake Kaplan
45243e880e Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Robert Kaiser
8ede1fe029 bug 582657 - Docshell test failures after SeaMonkey switch to tabbed browsing - just add a null-check for win.location, r=bz a=test-only 2010-07-28 20:56:58 +02:00
Marco Bonardo
e3f81960a0 Bug 581018 - random failure in docshell test_bug293235.xul - wait both visit and pageShow. r=sdwilsh 2010-07-23 00:40:04 +02:00
Masayuki Nakano
660981e020 Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
Marco Bonardo
847239132b Bug 499828 - kill LAZY_ADD and use async storage instead. r=sdwilsh 2010-07-22 14:09:10 +02:00
Masayuki Nakano
d7540e477b backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Ehsan Akhgari
0ad20714f9 Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky 2010-07-11 17:48:46 -04:00
Ehsan Akhgari
7dcf9d424a Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Ehsan Akhgari
d288e15ecd Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Dão Gottwald
1472cbbfd4 Bug 577320 - Remove tabs progress listener callback stubs. r=gavin 2010-07-10 01:44:55 +02:00
Joel Maher
9487c3e758 Bug 571649 Re-enable docshell tests after bug 535922 r=dbaron 2010-06-15 13:02:07 -07:00
Dão Gottwald
528fc33adf Fix obvious bugs in browser_bug554155.js 2010-06-12 07:43:58 +02:00
Justin Wood
616043353d Disable Docshell Tests (again), see Bug 571649. rs+=#developers 2010-06-12 01:27:28 -04:00
Justin Wood
7eb105907c Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
Ehsan Akhgari
84ee4adf3c Bug 493381 - mochitest-plain: test_bug386782.html fails intermittently; r=roc 2010-06-10 22:46:51 -04:00
Joel Maher
c18ae0e88f Bug 535922 - Genereate mobile specific browser chrome test package files r=ted 2010-05-27 13:01:37 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Henri Sivonen
f2b6c78e1e Bug 562319 - Make NavigationUtils.js try harder when detecting if a frame is done loading. r=bzbarsky. 2010-04-29 14:22:27 +03:00
Justin Lebar
08875e9792 bug 562080: Fix JavaScript error in test_bug509055.html. r=smaug 2010-05-02 12:49:12 +02:00
Justin Lebar
809707c50c Bug 554155 - history.pushState should fire onLocationChange only once. r=smaug 2010-05-02 10:31:07 +02:00
Philipp von Weitershausen
cb06ca4724 Bug 560311 - "incomplete history observer impl in browser_bug503832.js" [r=sdwilsh] 2010-04-21 08:58:00 -04:00
Timothy Nikkel
8a51b309e8 Bug 502937. Part 1.1. Fix up another test. r=bzbarsky 2010-04-16 13:15:28 -05:00
Justin Lebar
4a1fdd7a81 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
c6cfc1d0a4 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
bbecfef399 use Services.* in browser chrome tests 2010-04-02 09:20:42 +02:00
Marco Bonardo
fa71af01e3 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
968d7bb30d Bug 550565: Calling history.pushState during onDOMContentLoaded drops a favicon. r=dao 2010-03-24 10:22:13 +01:00
Henri Sivonen
1b6028dc09 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
4504b6300e 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
d4bf31c763 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
d050afae06 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
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 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
4ba91335f4 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
f49fb1bb5a Backed out changeset 2da8ac54d264 (followup to bug 503832)
--HG--
extra : rebase_source : 18787ca6131d944ee344c9428f5fa909b5e78a52
2010-03-09 09:32:35 -05:00
Kyle Huey
7517f91287 Backing out Bug 544097 due to test failures. 2010-03-09 01:16:43 -05:00
Kyle Huey
6e25b11a13 Backing out Bug 544097 due to test failures 2010-03-09 01:15:59 -05:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Kyle Huey
b8ed778b90 Backed out changeset 817634616c8b 2010-03-09 01:13:12 -05:00
L. David Baron
95a96fcf2d 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
6da8018fc9 Follow on patch to fix oranges from changeset 8ce70abd7777 2010-03-08 20:41:00 -08:00
Joel Maher
cee9b522a0 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
8004b896f5 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
7ffd9496bc 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
ef6c5fda3d 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
0a2aa1b513 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
4b7fe56c88 Backed out changeset 26f7974bf6ef 2010-02-18 09:55:05 -08:00
Shawn Wilsher
f5428e410b 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
5e6425522f 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
3fa60b0eb8 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
bd950481d6 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00