Commit Graph

453 Commits

Author SHA1 Message Date
Igor Bazarny
e3b8ae6d1f 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
7ea8e12caa 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
ac65d0d88e Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Justin Lebar
b79dd11cfa 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
c273428753 Bug 674321 - port docshell_helpers.js to SpecialPowers. r=ted 2011-10-19 05:35:05 -04:00
Justin Lebar
84c0c28718 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
8a9b2241c2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
6ac6233eb1 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
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
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
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
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
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
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
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
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
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
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
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
Dão Gottwald
9fcefcce6d Backed out changeset 7ad075ec023b 2011-07-31 21:40:55 +02:00
Justin Lebar
a905f9f7b5 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
a96b3eaa39 Bug 674321 - port docshell_helpers.js to SpecialPowers, r=jgriffin, a=test-only 2011-07-28 12:03:59 -04: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
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
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
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
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
Igor Bazarny
3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02: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
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
3ba7b67ccf Bug 662200: Regression test. 2011-06-07 13:08:07 -07:00
Justin Lebar
9f1a41f0a7 Bug 662170 - Navigating to anchor '#' should scroll to top of the page. r=bz 2011-06-08 14:08:29 -04:00
Dão Gottwald
e0abfe934e Bug 658738 - remove event listeners in browser chrome tests 2011-06-07 16:45:26 +02:00
Boris Zbarsky
526936ad90 Bug 660404. Allow storing the previous page in bfcache even if the new one is a multipart response. r=smaug 2011-06-01 16:00:36 -04:00
Philipp von Weitershausen ext:(%2C%20Justin%20Lebar%20%3Cjustin.lebar%40gmail.com%3E)
00510b3b3f Bug 420605 - Notify the favicon service when we do a hash navigation so fragment history entries get favicons correctly. r=sicking 2011-05-22 12:51:55 -04:00
Justin Lebar
bbf62ae869 Bug 653741 - You should be able to scoll back to the current anchor by focusing the location bar and pressing <enter>. r=bz
--HG--
extra : rebase_source : fde3ce1083868e7d398c626628344bc521224666
2011-05-09 17:59:16 -04:00
Steven Michaud
b75cd94d3c Backed out changeset ae5b84b96fd7 (bug 570341) due to test failures DONTBUILD. a=sheriff 2011-05-24 01:54:23 -05:00
Igor Bazarny
a1cc18f0fb bug 570341 - Initial implementation of web timing specification
r=jduell sr=biesi
2011-05-23 19:19:24 -07:00
Joel Maher
193c66083d Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Justin Lebar
f5a1eb9932 Bug 655270 - push/replaceState should update the favicon. r=mak, sr=gavin 2011-05-20 08:37:02 -04:00
Justin Lebar
e51146545b Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking
--HG--
extra : rebase_source : 72b12b4f2ff34510c350dc529b736f694b35bf6e
2011-05-09 14:54:36 -04:00
Gavin Sharp
479d8a0b0c Bug 656815: make loading javascript: URIs in a docshell work for DISALLOW_INHERIT_OWNER loads, r=bz
--HG--
extra : rebase_source : 6b0e289ac80ffab967813b06e2e28f2842921b70
2011-05-13 10:40:22 -07:00
Gavin Sharp
0a1ed803a8 Bug 656433: don't allow URIs loaded into the location bar to inherit the currently loaded document's principal, r=bz, r=dao
--HG--
extra : rebase_source : 3eed0612c5740d6a52ba5898d7ae130cfadd9641
2011-05-12 10:52:25 -07:00
Justin Lebar
eef568fc90 Backing out rev 355db79ef6b6 due to orange.
--HG--
extra : rebase_source : 196fc1d1d009a9d9c02c5b2132e6d30721594fd6
2011-05-15 21:51:04 -04:00
Justin Lebar
e1969f5e1d Bug 655273 - SHEntries created by history.pushState should have their titles set. r=sicking 2011-05-09 14:54:36 -04:00
Boris Zbarsky
f526ea25e6 Bug 508369 part 3. Stop using timeouts in the test. r=ehsan
The zip file change is just a change to replace top.poke() with parent.poke() so that the refresh test will be useful in the harness too.
2011-05-11 11:28:53 -04:00
Boris Zbarsky
932bc3f051 Bug 508369 part 2. Change the test to catch the error fixed in part 1 in the future. This is just removing an extra .parent from the scripts in anchors.html inside the zip file. r=jst 2011-05-11 11:28:53 -04:00
Boris Zbarsky
8cd62c7ea7 Bug 508369 part 1. Move the detection of loads inheriting a principal later in InternalLoad so that we catch ones that pass in a non-null owner directly. r=jst 2011-05-11 11:28:53 -04:00
Justin Lebar
a8ba1048dc Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Justin Lebar
ed7edc01a2 Bug 490153 - Fix intermittent orange in test_not-opener.html. r=sicking
--HG--
extra : rebase_source : 1865a51f62271e34f4d718ad9b9ed019a5c4fdb3
2011-04-27 16:53:52 -04:00
Marco Bonardo
604caf65ce Bug 641531 - Close Places containers after use (mechanical changes)
rs=me
2011-04-23 02:09:13 +02:00
Justin Lebar
932b228cd4 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
0f22799642 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
2759ff18ea 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
cd179a175b Backed out changeset 80451fb8f11c (bug 585152) as per discussion in the bug. 2011-04-13 14:35:06 +01:00
Paul Biggar
1beff55e64 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
d40bf9a237 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
80fee229de 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
d82a6bf3cf 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
62372c8bce 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
ce5698e6e2 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
187d172f47 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
44db5ba090 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)
94f6d9d6bd 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
8a515d68b5 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
f15d2639f5 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
985dbafd23 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
ca2ed756b9 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Jeff Walden
e7b350156f More orange-fixing. r=yellowish-red 2011-01-22 22:52:02 -08:00
Joel Maher
0cdbc319b0 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
5039e47c46 Bug 615061 - Dispatch the hashchange event synchronously. r=smaug, a2.0=blocking 2010-11-29 11:13:12 -08:00
Dão Gottwald
cabbfa8f10 remove FUEL usage from these tests. a=tests-only
--HG--
extra : rebase_source : 646bf40bb3acf773ded5471bc42f745e3c356003
2010-11-28 21:02:03 +01:00
Jonas Sicking
9db8689cdf 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
e75ff29689 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
630ed7a4a6 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
c6b8f8093f 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
6eeec006e0 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
e539a829cf 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
f827ce02de 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
8c31c92e64 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
cb7cc8a6a5 A test for Bug 534178, a=testcase for a blocker 2010-09-06 15:36:32 +03:00
Kyle Huey
55beafe241 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
f9c0cf9c19 Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey
12d0992fbc 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
3e387d5361 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
fdb8524e3e 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
8015553874 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
9e4c9097c8 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
8c67461b8d 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
32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
e3359fd310 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
ffb4b3d6d5 Backed out changeset 7ba410f45f42 2010-08-18 17:11:27 -07:00
Justin Lebar
f8d507aa2b 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
4606a9bb94 Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Bobby Holley
942a2f67b5 Tests for bug 343515 - Active tab API. r=dolske 2010-08-02 14:13:13 -04:00
Marco Bonardo
3bee4c1b4c Backed out changeset b1e658a33221 on CLOSED TREE 2010-08-10 00:14:59 +02:00
Marco Bonardo
da59314c8d Bug 552023 - Kill Places partitioned temp tables. r=sdwilsh a=blocking 2010-08-09 17:59:59 +02:00
Dão Gottwald
43c01a016d Bug 380960 follow-up fix for test_bug511449.html 2010-08-07 10:11:30 +02:00
Blake Kaplan
ba9c727b64 Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Robert Kaiser
0bccc8ae0a 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
3566c16b72 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
1773ea498d 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
34df2d1f07 Bug 499828 - kill LAZY_ADD and use async storage instead. r=sdwilsh 2010-07-22 14:09:10 +02:00
Masayuki Nakano
e75f1ffb27 backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
a6e67f7876 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Ehsan Akhgari
28c6c438ba 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
599142a072 Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Ehsan Akhgari
921c7faf01 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
37dc5913e1 Bug 577320 - Remove tabs progress listener callback stubs. r=gavin 2010-07-10 01:44:55 +02:00
Joel Maher
0cd2bcdce1 Bug 571649 Re-enable docshell tests after bug 535922 r=dbaron 2010-06-15 13:02:07 -07:00
Dão Gottwald
90a1c2bddf Fix obvious bugs in browser_bug554155.js 2010-06-12 07:43:58 +02:00
Justin Wood
4772e175b2 Disable Docshell Tests (again), see Bug 571649. rs+=#developers 2010-06-12 01:27:28 -04:00
Justin Wood
55183ae219 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
39a886795d Bug 493381 - mochitest-plain: test_bug386782.html fails intermittently; r=roc 2010-06-10 22:46:51 -04:00
Joel Maher
7bb6fe4f0e Bug 535922 - Genereate mobile specific browser chrome test package files r=ted 2010-05-27 13:01:37 -07:00
Michael Kohler
8550fb091a 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
a24406dc4e 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
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