Commit Graph

428 Commits

Author SHA1 Message Date
Mark Banner
eafc43d9dd Bug 886263 - Make places be enabled by default in all xpcshell-tests to avoid having to set it in lots of places (so that tests work with apps where places is disabled by default). r=mak 2013-06-26 10:06:30 +01:00
Tim Taubert
a3515f5036 Bug 453650 - implement reflow observers for docShells; r=bz 2013-06-01 12:00:12 +02:00
Cykesiopka
3bd9f9c4d6 Bug 443015 - Remove deprecated nsIPrefetchService methods. r=bz 2013-05-29 20:56:10 -04:00
Gavin Sharp
9191f2606a Bug 873857: fix bug in patch for bug 862401 that caused nsDocShell::LoadURI to always drop passed-in post data, r=bz
--HG--
rename : browser/base/content/test/print_postdata.sjs => docshell/test/browser/print_postdata.sjs
extra : transplant_source : C%AA%3D%DC%C5Pl%DD%5Ca%08%FB%10%D7%86%CD%CA%07k%89
2013-05-23 18:56:44 -07:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Felipe Gomes
e8108a8d5a Bug 765192 - Reenable and attempt to fix intermittent browser_bug343515.js. r=gavin 2013-05-13 15:00:12 -03:00
Joel Maher
f0b4079343 Bug 867745 - leaking docshell mochitest-chrome test causes many other tests to fail, pass, etc. r=armenzg 2013-05-13 09:36:53 -04:00
Felipe Gomes
66ce8f02b2 Bug 765192 - Add some debugging info for browser_bug343515.js r=me 2013-05-09 22:16:49 -03:00
Joel Maher
cce5794fcc Bug 867745 - Leaking docshell mochitest-chrome test causes many other tests to fail, pass, etc. r=armenzg 2013-05-09 13:42:13 -04:00
Ed Morley
625b96e463 Bug 765192 - Disable browser_bug343515.js on OS X as well, for too many intermittent failures
CLOSED TREE
2013-05-03 12:01:07 +01:00
Boris Zbarsky
c3b61c3b32 Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug 2013-05-01 23:44:11 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Margaret Leibovic
5939abd93c Bug 823230 - (Part 1) Pass search term along with "keyword-search" notification. r=gavin 2013-04-10 11:02:04 -07:00
Mike de Boer
9b701a78f4 Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Phil Ringnalda
44417e0b7c Back out ec6dd0cc8053:3c55e92d87a6 (bug 738818) for being on top of bustage, and b50153f9e011 (bug 819493) for bustage
CLOSED TREE
2013-04-09 21:14:56 -07:00
Mike de Boer
5f809e9eca Bug 738818 part 1: replace originalDefaultEngine with defaultEngine and make defaultEngine a settable. r=gavin 2013-04-09 17:04:22 -07:00
Eddy Bruel
4dec20fb13 Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin 2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
e3d0d9b344 Backed out changeset d5d98779e401 (bug 846906) - again - for test failures on a CLOSED TREE. 2013-04-04 10:58:33 -04:00
Eddy Bruel
d92940e322 Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin 2013-04-04 15:24:32 +02:00
Ryan VanderMeulen
c9335ef67e Backed out changeset 061b9318815b (bug 846906) for accidentally removing mach. 2013-04-04 10:42:28 -04:00
Eddy Bruel
4d43690a0c Bug 846906 - Implement nsAppShellService::CreateWindowlessBrowser; r=bz; sr=benjamin 2013-04-04 15:24:32 +02:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
William Chen
6e9706f49f Bug 782211 - Part 5: Implement Notification API. r=smaug
--HG--
rename : docshell/test/test_bug344861.html => docshell/test/navigation/test_bug344861.html
2013-03-18 06:24:54 -07:00
Josh Matthews
89c1cb5690 Bug 849723 - Introduce API to use the private hidden window correctly. r=ehsan 2013-03-14 17:51:49 -04:00
Ryan VanderMeulen
bfc82f06d8 Backed out changeset 921e9f7f8924 (bug 849723) for mochitest-other failures on a CLOSED TREE. 2013-03-15 15:44:38 -04:00
Josh Matthews
1e188f032b Bug 849723 - Introduce API to use the private hidden window correctly. r=ehsan 2013-03-14 17:51:49 -04:00
L. David Baron
a5d7289b7f Bug 404077: Adjust annotations of expected assertions. 2013-02-28 12:44:57 -08:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
L. David Baron
75a073371a Bug 404077: Adjust annotations of expected assertions. 2013-02-27 23:41:31 -08:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
L. David Baron
e4c097aa5e Bug 404077: Adjust annotations of expected assertions. 2013-02-27 20:14:02 -08:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
856e3d02b4 Bug 784841 - Part 18h: Convert /docshell; r=glandium f=Ms2ger 2013-02-25 12:47:19 -08:00
L. David Baron
239da2d4cf Bug 404077: Adjust annotations of expected assertions. 2013-02-27 10:37:19 -08:00
L. David Baron
b00a9d9c85 Bug 404077: Adjust annotations of expected assertions. CLOSED TREE 2013-02-27 18:12:17 -08:00
L. David Baron
a144cc1c82 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
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Gregory Szorc
436a1df10c 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
e7a888df87 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Andres Hernandez
25b05a23c8 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
e48a081b6b Bug 827836 - Apply a hack to a test that fails intermittently. r=jmaher 2013-02-04 10:02:11 -05:00
Ryan VanderMeulen
a9c703a4ce 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
fd816b2fd1 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
84c4ac3c75 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
419d0879dd 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
6b3a78a869 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
d39dd58633 Backed out changeset cc665373ff61 (bug 829383). CLOSED TREEs don't bother me. 2013-01-21 16:22:38 +00:00
Josh Matthews
6fd3b6e328 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
019ae01d3f 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
18704e2d42 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
46d4422369 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
a9c13b2cd4 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
5e83f7f535 Back out bug 818371 because what we used to do actually matches the spec. 2012-12-16 00:16:47 -05:00
Joel Maher
6075e1ac68 Bug 805404 - docshell/test/test_bug590573.html fails on panda boards. r=jlebar 2012-12-14 14:23:56 -05:00
Boris Zbarsky
f0b49397bb 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
615bcf223d 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
8df2ff45a4 Bug 813242 - Disable browser_bug343515.js on Windows for too many intermittent failures 2012-12-04 21:39:04 +00:00
Ed Morley
e102dbbec2 Bug 684176 - Disable test_bug454235.xul on Linux for too many intermittent failures 2012-12-04 21:38:56 +00:00
Gavin Sharp
e89e2da5bc 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
2a1f87cb39 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
2d87c88a68 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
24669bbc88 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
e10394e272 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
57b5dd072c Bug 808035 - Test. r=smaug 2012-11-07 18:04:23 -05:00
Oonishi Atsushi
f0d30acf35 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
cc9e8c3305 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
7df6ef521b Bug 797909, null principal for initial about:blank, r=bz 2012-10-05 02:01:34 +03:00
Chris Jones
021c26b6fe 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
76851c6ca6 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
bbe623164c Bug 780863 - Disable test_bug270414.html on mobile for too many intermittent failures 2012-09-28 15:42:39 +01:00
Gavin Sharp
da31fbcf8e 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
16293a6f1e Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley
9f03f90fb7 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
7f912ddc79 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
83e13fade1 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
d85ae1407d Bug 422543 - part 2 - add tests for multiple session history listeners; r=smaug 2012-09-20 16:41:49 +02:00
Bobby Holley
601e6d2e11 Bug 789773 - Tests. r=bz 2012-09-18 12:16:05 +02:00
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Blair McBride
9bc4755453 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
1dc8dd0dba 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
c75af6c281 Revert e3e9040a6eb9 for M2 failures 2012-08-08 21:58:23 -07:00
Boris Zbarsky
6d358255e3 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
364da93593 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Matt Brubeck
ccfa10cbd2 Back out 551b6acdafb9 and ae0b0dd6dfa2 (bug 754029) on suspicion of causing mochitest-other timeouts 2012-07-27 17:03:23 -07:00
Oonishi Atsushi
8f81f3b4d1 Bug 754029 - Tests. r=smaug 2012-07-27 17:51:53 -04:00
Nathan Froyd
a7eb97f896 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
a0fc0ea03a 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
a9a8364195 Bug 768736 Define constants for system native virtual keys for nsIDOMWindowUtils::SendNativeKeyEvent() r=roc 2012-06-27 11:26:38 +09:00
Phil Ringnalda
67d2032444 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
d4eb7d5782 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
b28eb77c41 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu
615e4a9afa 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
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Neil Rashbrook
0efdc15974 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
11a1dc5920 Backout 8d220661ef24 (bug 751575) for timing out on pgo linux 2012-05-04 10:10:34 +01:00