Commit Graph

415 Commits

Author SHA1 Message Date
Bobby Holley
8a4a8afa44 Bug 765192 - Fix broken test. r=dolske
There were a couple of things wrong here:
1 - The whole recursive frame load waiting thing was totally unnecessary. Load
doesn't fire on the window until all descendant iframes have loaded.

2 - The chrome event handler wasn't filtering by target, which it should. This
is probably to blame for the intermittent orange.

3 - Setting window.location during document load actually invokes
window.location.replace.

4 - Session history navigation seems to have weird behavior when called from
an onload handler. I wanted to investigate this further, but I've already spent
too much time on this. SimpleTest.executeSoon() seems to do the trick here.
2012-11-18 19:02:41 -08:00
Boris Zbarsky
2cd0f8f7b1 Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug 2012-11-16 14:22:56 -08:00
Boris Zbarsky
6d9ddce866 Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug 2012-11-16 14:22:56 -08:00
Brad Lassey
8c41c8d21a 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
b07f733d1a Bug 808035 - Test. r=smaug 2012-11-07 18:04:23 -05:00
Oonishi Atsushi
44213f6f12 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
24678699d7 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
6011112b41 Bug 797909, null principal for initial about:blank, r=bz 2012-10-05 02:01:34 +03:00
Chris Jones
dda6595530 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
8a66f47ae2 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
390f6a8b1b Bug 780863 - Disable test_bug270414.html on mobile for too many intermittent failures 2012-09-28 15:42:39 +01:00
Gavin Sharp
5ca2bb0c0b 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
1b5d4b63ec Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley
a25701a3f7 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
8188b09b4e 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
53f692e76c 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
63b9788a07 Bug 422543 - part 2 - add tests for multiple session history listeners; r=smaug 2012-09-20 16:41:49 +02:00
Bobby Holley
d01188167e Bug 789773 - Tests. r=bz 2012-09-18 12:16:05 +02:00
Bobby Holley
f978d43865 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Blair McBride
dda1c1585c 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
71ec9e6ab2 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
a6ec6f5d33 Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky
cc86c6a349 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
1895527d8c 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
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matt Brubeck
2c56bfa56b Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts 2012-07-27 17:03:23 -07:00
Oonishi Atsushi
b6893746c6 Bug 754029 - Tests. r=smaug 2012-07-27 17:51:53 -04:00
Nathan Froyd
bfff055672 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
458448b3c3 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
a16ae57d35 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Phil Ringnalda
eae57001c8 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
68d38d677f 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
886fbfecc5 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu
e3f832b63f 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
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
b29321080b 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
a136d4c2bc Backout 8d220661ef24 (bug 751575) for timing out on pgo linux 2012-05-04 10:10:34 +01:00
Luke Wagner
7843f94eb3 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
ec39ca018c 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
e431d02474 Bug 478927 - Add new test. r=smaug 2012-05-03 06:22:32 -04:00
Oonishi Atsushi
cf4f808f6d Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Matt Brubeck
2b509d78a7 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
166aca09f9 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
Josh Matthews
a83b61e9e2 Bug 729162 - Add per-docshell privacy mode transition observers. r=bz 2012-04-19 23:19:54 -04:00
Josh Matthews
7e78dba969 Bug 729204 - Make docshell privacy notifications work across multiple processes. r=bz 2012-04-19 20:13:20 -04:00
Oonishi Atsushi
1c9029e5ec Bug 673752 - Every error page fires onLocationChange twice. r=smaug 2012-04-24 19:49:58 -04:00
Ed Morley
26fe274d1d Merge mozilla-central to mozilla-inbound 2012-02-23 01:03:16 +00:00
Justin Lebar
d125e439ea Bug 728939 - Part 2: Add tests. r=bz
--HG--
extra : rebase_source : 00ea8c6aba6d41d719334ae8adaed07e7d9273f1
2012-02-22 16:54:11 +01:00
Jared Wein
bcbb16588c Bug 725700 - Keyboard arrow keys and scrollbar buttons should have consistent scrolling distances. 2012-02-20 11:24:36 -05:00
Gavin Sharp
43cb6910c2 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
355b10c4c9 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
6055067770 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Jared Wein
c3725ef355 Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Steffen Wilberg
0261152e71 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
aff68ffc8b Bug 712754 - Call do_get_profile. r=mak. 2011-12-28 08:46:04 -05:00
Masayuki Nakano
fa47ebe749 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
efe739e3f9 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
5ff35fa5ae backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano
705962c806 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
dd1892c67b Use BrowserSetForcedCharacterSet instead of Firefox-specific SetForcedCharset. Bug 705943, r=dao 2011-11-30 11:10:41 +02:00
Igor Bazarny
d1283e88fa Bug 694612. Hook up the performance timing APIs even inside an <object>. r=bzbarsky 2011-11-17 10:24:03 +13:00
Oonishi Atsushi
8f0353652d 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
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