L. David Baron
49b7670edf
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
L. David Baron
a8ee400190
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Gregory Szorc
c97c97b484
Bug 840177 - Part 5: Add observer notification for keyword searches; r=gavin
...
The intent is for this to be captured by Firefox Health Report.
2013-02-14 14:47:47 -08:00
Marco Bonardo
4f925597b9
Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
...
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Andres Hernandez
65d963886b
Bug 739217 - Part 2: docshell replacement of synchronous isVisited with asynchronous isURIVisited. r=mak
...
--HG--
rename : docshell/test/bug94514-postpage.html => toolkit/components/places/tests/mochitest/bug94514-postpage.html
rename : docshell/test/test_bug94514.html => toolkit/components/places/tests/mochitest/test_bug_94514.html
2013-02-01 10:36:28 -06:00
Kartikaya Gupta
10bdfb407a
Bug 827836 - Apply a hack to a test that fails intermittently. r=jmaher
2013-02-04 10:02:11 -05:00
Ryan VanderMeulen
0a9157ef27
Backed out 7 changesets (bug 739217) for mochitest-1 orange on a CLOSED TREE.
...
--HG--
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => docshell/test/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => docshell/test/test_bug94514.html
2013-01-31 19:36:04 -05:00
Andres Hernandez
86c8bcdf63
Bug 739217 - Part 2: docshell replacement of synchronous isVisited with asynchronous isURIVisited. r=mak
...
--HG--
rename : docshell/test/bug94514-postpage.html => toolkit/components/places/tests/mochitest/bug94514-postpage.html
rename : docshell/test/test_bug94514.html => toolkit/components/places/tests/mochitest/test_bug_94514.html
2013-01-17 14:52:44 -06:00
Ehsan Akhgari
565d0479c3
Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
...
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Ehsan Akhgari
2dc569ce0e
Bug 829383 follow-up: make the test only run in per-window private browsing builds
2013-01-24 18:53:14 -05:00
Josh Matthews
1c26029ced
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-22 18:06:30 +00:00
Josh Matthews
9f8c41d2ca
Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me.
2013-01-21 16:22:38 +00:00
Josh Matthews
775c1bf54a
Bug 829383 - Ensure hidden private window docshells aren't counted towards private session lifetime. r=bz
2013-01-21 14:42:16 +00:00
Henri Sivonen
9f3b77fe34
Bug 234628 part 4 - Test cases for character encoding override code. r=bzbarsky.
...
--HG--
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-1.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-10.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-11.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-2.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-3.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-4.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-5.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-6.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-7.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-8.js
rename : docshell/test/browser/browser_bug134911.js => docshell/test/browser/browser_bug234628-9.js
2013-01-18 16:27:03 +02:00
Henri Sivonen
2583554bc9
Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky.
2013-01-18 16:27:03 +02:00
Olli Pettay
1defaa48e6
Bug 825544: backout Bug 825544, Bug 825544, Bug 765192 and Bug 808035 to bring back the old .location=val behavior, r=bz
2013-01-15 13:46:35 +02:00
Peter Van der Beken
c466c4597c
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings). r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
extra : rebase_source : f287e7530fa829a6159537476dc1418bbc9f40e5
2012-12-21 15:07:28 +01:00
Boris Zbarsky
4d4f8f6904
Back out bug 818371 because what we used to do actually matches the spec.
2012-12-16 00:16:47 -05:00
Joel Maher
80d940dc17
Bug 805404 - docshell/test/test_bug590573.html fails on panda boards. r=jlebar
2012-12-14 14:23:56 -05:00
Boris Zbarsky
5b75fd5eff
Bug 818371. Don't fire visibility change events until we're done updating vsibility states in the entire docshell tree. r=smaug
2012-12-06 15:21:18 -05:00
Frank Wein
074d23a851
Bug 792899 - docshell/test/chrome/test_bug789773.xul uses about:home which SeaMonkey doesn't have, r=bholley
2012-12-06 18:42:00 +01:00
Ed Morley
ef6f927110
Bug 813242 - Disable browser_bug343515.js on Windows for too many intermittent failures
2012-12-04 21:39:04 +00:00
Ed Morley
86e68466ed
Bug 684176 - Disable test_bug454235.xul on Linux for too many intermittent failures
2012-12-04 21:38:56 +00:00
Gavin Sharp
d72e8a5f0a
Attempt to fix orange in bug 772823
...
--HG--
extra : transplant_source : %C82%CF%EC%AD%E8%D1%87%19%22%10k%9E%F3%EA%CF%FB%F9%8FC
2012-11-21 13:29:17 -08:00
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