Commit Graph

114 Commits

Author SHA1 Message Date
Robert O'Callahan
1b94d7fe2c Bug 681192. Part 6: Test that various scrolling operations inside scaled transforms don't trigger unnecessary repainting. r=matspal
--HG--
extra : rebase_source : a72afaa7ebb5e9b59cf574cd973f966eee5c7f45
2012-05-10 17:24:19 +12:00
Robert O'Callahan
9324e765b3 Bug 702739. When a element has an active transform and the element's content (before being transformed) is no larger than the window, prerender its entire contents into layers when any of it is visible, so we don't have to rerender it and/or resize its layers as it moves into or out of view. r=mats 2011-12-19 10:57:35 +13:00
Matt Brubeck
7d451f6bac Back out bug 710521, bug 672013, bug 702739 because of Mac reftest failures 2011-12-18 08:15:09 -08:00
Robert O'Callahan
cfa4fb4af5 Bug 702739. When a element has an active transform and the element's content (before being transformed) is no larger than the window, prerender its entire contents into layers when any of it is visible, so we don't have to rerender it and/or resize its layers as it moves into or out of view. r=mats 2011-12-18 21:46:44 +13:00
Robert O'Callahan
5d77758ae9 Bug 708062. Root view bounds should not include viewport frame overflow area. r=tn 2011-12-08 17:17:42 +13:00
Robert O'Callahan
c92029c06f Bug 699351. Part 4: Fix test. r=tnikkel 2011-12-06 01:39:48 +13:00
Robert O'Callahan
854ef91454 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-12-06 01:38:46 +13:00
Brad Lassey
8d2f605b6d Bug 687972 - backing out changesets b17ab862bbc1 and a6db0c6c94a3 r=orange 2011-11-30 22:59:00 -05:00
Robert O'Callahan
a86c192475 Bug 699351. Add nsIFrameLoader::clipSubdocument API to allow XUL <iframe> and <browser> to not clip the subdocument. r=tnikkel,sr=bzbarsky 2011-11-30 21:14:26 -05:00
Oonishi Atsushi
ebc58fb880 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
Ed Morley
6a998be2c5 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
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Joel Maher
d46dfae76b Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted 2011-10-14 07:52:02 -04:00
Boris Zbarsky
095402dd70 Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug 2011-09-28 11:54:50 -04:00
Boris Zbarsky
8347ad6a37 Bug 677002. Back out the patch for bug 666643 because it disabled a bunch of tests. r=khuey 2011-09-23 12:27:18 -04:00
Malini Das
e306b1b5aa 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
Joel Maher
17c6b0a950 Bug 666643 - convert snapshotWindow to SpecialPowers. r=ted, a=test-only 2011-07-21 16:21:24 -04:00
Ehsan Akhgari
8eb45f129e Bug 668267 - Make sure that the print preview tests close the window they open on Mac; r=roc
--HG--
extra : rebase_source : fc54922908a848265d7fae6597c4fb2b0014daf0
2011-06-29 21:02:09 -04:00
Ehsan Akhgari
844412f551 Followup to the backout of bug 664152: use the old path to the test file 2011-06-29 17:00:16 -04:00
Ehsan Akhgari
f8c9c35167 Backout changeset ae2dbbb7b935 (bug 664152) because moving test_reftests_with_caret to mochitest-chrome causes the test to not finish properly 2011-06-29 14:22:39 -04:00
Joel Maher
35c52e9bf1 Bug 663856 - move layout/base/tests/test_bug495648.xul to mochitest-chrome. r=bz, a=test-only
--HG--
rename : layout/base/tests/bug495648.rdf => layout/base/tests/chrome/bug495648.rdf
rename : layout/base/tests/test_bug495648.xul => layout/base/tests/chrome/test_bug495648.xul
2011-06-23 11:46:35 -04:00
Joel Maher
06cf098e62 Bug 664152 - move layout/base tests that depend heavily on enablePrivilege to mochitest-chrome. r=ehsan, a=test-only
--HG--
rename : layout/base/tests/bug106855-1-ref.html => layout/base/tests/chrome/bug106855-1-ref.html
rename : layout/base/tests/bug106855-1.html => layout/base/tests/chrome/bug106855-1.html
rename : layout/base/tests/bug106855-2.html => layout/base/tests/chrome/bug106855-2.html
rename : layout/base/tests/bug240933-1-ref.html => layout/base/tests/chrome/bug240933-1-ref.html
rename : layout/base/tests/bug240933-1.html => layout/base/tests/chrome/bug240933-1.html
rename : layout/base/tests/bug240933-2.html => layout/base/tests/chrome/bug240933-2.html
rename : layout/base/tests/bug389321-1-ref.html => layout/base/tests/chrome/bug389321-1-ref.html
rename : layout/base/tests/bug389321-1.html => layout/base/tests/chrome/bug389321-1.html
rename : layout/base/tests/bug389321-2-ref.html => layout/base/tests/chrome/bug389321-2-ref.html
rename : layout/base/tests/bug389321-2.html => layout/base/tests/chrome/bug389321-2.html
rename : layout/base/tests/bug389321-3-ref.html => layout/base/tests/chrome/bug389321-3-ref.html
rename : layout/base/tests/bug389321-3.html => layout/base/tests/chrome/bug389321-3.html
rename : layout/base/tests/bug482484-ref.html => layout/base/tests/chrome/bug482484-ref.html
rename : layout/base/tests/bug482484.html => layout/base/tests/chrome/bug482484.html
rename : layout/base/tests/bug512295-1-ref.html => layout/base/tests/chrome/bug512295-1-ref.html
rename : layout/base/tests/bug512295-1.html => layout/base/tests/chrome/bug512295-1.html
rename : layout/base/tests/bug512295-2-ref.html => layout/base/tests/chrome/bug512295-2-ref.html
rename : layout/base/tests/bug512295-2.html => layout/base/tests/chrome/bug512295-2.html
rename : layout/base/tests/bug585922-ref.html => layout/base/tests/chrome/bug585922-ref.html
rename : layout/base/tests/bug585922.html => layout/base/tests/chrome/bug585922.html
rename : layout/base/tests/bug597519-1-ref.html => layout/base/tests/chrome/bug597519-1-ref.html
rename : layout/base/tests/bug597519-1.html => layout/base/tests/chrome/bug597519-1.html
rename : layout/base/tests/bug602141-1-ref.html => layout/base/tests/chrome/bug602141-1-ref.html
rename : layout/base/tests/bug602141-1.html => layout/base/tests/chrome/bug602141-1.html
rename : layout/base/tests/bug602141-2-ref.html => layout/base/tests/chrome/bug602141-2-ref.html
rename : layout/base/tests/bug602141-2.html => layout/base/tests/chrome/bug602141-2.html
rename : layout/base/tests/bug602141-3-ref.html => layout/base/tests/chrome/bug602141-3-ref.html
rename : layout/base/tests/bug602141-3.html => layout/base/tests/chrome/bug602141-3.html
rename : layout/base/tests/bug602141-4-ref.html => layout/base/tests/chrome/bug602141-4-ref.html
rename : layout/base/tests/bug602141-4.html => layout/base/tests/chrome/bug602141-4.html
rename : layout/base/tests/bug612271-1.html => layout/base/tests/chrome/bug612271-1.html
rename : layout/base/tests/bug612271-2.html => layout/base/tests/chrome/bug612271-2.html
rename : layout/base/tests/bug612271-3.html => layout/base/tests/chrome/bug612271-3.html
rename : layout/base/tests/bug612271-ref.html => layout/base/tests/chrome/bug612271-ref.html
rename : layout/base/tests/bug613433-1.html => layout/base/tests/chrome/bug613433-1.html
rename : layout/base/tests/bug613433-2.html => layout/base/tests/chrome/bug613433-2.html
rename : layout/base/tests/bug613433-3.html => layout/base/tests/chrome/bug613433-3.html
rename : layout/base/tests/bug613433-ref.html => layout/base/tests/chrome/bug613433-ref.html
rename : layout/base/tests/bug613807-1-ref.html => layout/base/tests/chrome/bug613807-1-ref.html
rename : layout/base/tests/bug613807-1.html => layout/base/tests/chrome/bug613807-1.html
rename : layout/base/tests/bug632215-1.html => layout/base/tests/chrome/bug632215-1.html
rename : layout/base/tests/bug632215-2.html => layout/base/tests/chrome/bug632215-2.html
rename : layout/base/tests/bug632215-ref.html => layout/base/tests/chrome/bug632215-ref.html
rename : layout/base/tests/bug633044-1-ref.html => layout/base/tests/chrome/bug633044-1-ref.html
rename : layout/base/tests/bug633044-1.html => layout/base/tests/chrome/bug633044-1.html
rename : layout/base/tests/bug634406-1-ref.html => layout/base/tests/chrome/bug634406-1-ref.html
rename : layout/base/tests/bug634406-1.html => layout/base/tests/chrome/bug634406-1.html
rename : layout/base/tests/bug644428-1-ref.html => layout/base/tests/chrome/bug644428-1-ref.html
rename : layout/base/tests/bug644428-1.html => layout/base/tests/chrome/bug644428-1.html
rename : layout/base/tests/bug646382-1-ref.html => layout/base/tests/chrome/bug646382-1-ref.html
rename : layout/base/tests/bug646382-1.html => layout/base/tests/chrome/bug646382-1.html
rename : layout/base/tests/bug646382-2-ref.html => layout/base/tests/chrome/bug646382-2-ref.html
rename : layout/base/tests/bug646382-2.html => layout/base/tests/chrome/bug646382-2.html
rename : layout/base/tests/test_reftests_with_caret.html => layout/base/tests/chrome/test_reftests_with_caret.html
2011-06-23 11:46:35 -04:00
Robert O'Callahan
eec1211b36 Bug 640899. Have test_leaf_layers_partition_browser_window.xul test maximized windows as well as normal windows; on Windows XP, don't test normal windows because we know the resizer overlaps there. r=tnikkel 2011-05-17 11:04:53 +12:00
Olli Pettay
132add9eb2 Bug 307258 - Support beforeprint and afterprint events, r=mats, sr=roc
--HG--
extra : rebase_source : f14da5d6e282fe6ab4813c121d3366844dd89af6
2011-05-14 15:03:58 +03:00
Chris Leary
4d1fba5db8 Merge mozilla-central and tracemonkey. 2011-05-13 15:06:53 -07:00
Ehsan Akhgari
15252ef290 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Blake Kaplan
a3b8fcc68e Fixing bustage from bug 641342.
--HG--
extra : rebase_source : 4d0dc461bb21028b4f0dba4de8c1f925a3c85a47
2011-05-12 17:12:00 -07:00
Blake Kaplan
6f695315f5 Bug 641342 - Treat chrome DOM objects like DOM objects. r=gal/jst 2011-05-10 14:41:25 -07:00
Joel Maher
2901b56356 Bug 651013 - a couple of layout/base mochitests should be moved to mochitest-chrome tests. r=roc, a=test-only
--HG--
rename : layout/base/tests/test_bug370436.html => layout/base/tests/chrome/test_bug370436.html
rename : layout/base/tests/test_bug420499.xul => layout/base/tests/chrome/test_bug420499.xul
2011-04-20 08:52:15 -04:00
Ehsan Akhgari
6d0857c194 Bug 649012 - Fix some flaky mochitests which rely on non-zero timeout values; rs=ted
--HG--
extra : rebase_source : 88fc16ca38ded79ca87bb861dc4cef92a69dd548
2011-04-16 19:39:34 -04:00
Benjamin Smedberg
d758fb0d7e Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:33 -04:00
Phil Ringnalda
dcfcb67938 Bug 640889 - Disable test in debug Windows < Vista while work proceeds on making it pass with the XP resizer in the way, r=tn, a=test 2011-03-11 21:59:30 -08:00
Olli Pettay
0ee7b9841d Bug 635434, dispatch to gKeyDownTarget using the right presshell, r=enn, f=masayuki, a=hardblocker 2011-02-21 18:39:21 +02:00
Serge Gautherie
19f67354d4 Bug 632408 - [SeaMonkey, Windows] mochitest-chrome: permanent "test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window" failure, since landing; (Av1) Improve test code somewhat.
r=roc (a=test-only).
2011-02-09 10:35:25 +01:00
Robert O'Callahan
114f358978 Bug 625288. Part 3: Test that a browser window containing a single empty tab builds a layer tree whose leaf layers form a non-overlapping partition of the window. r=tnikkel,a=test 2011-02-03 21:47:11 +13:00
Neil Deakin
d791f40aa9 Bug 619089, retarget key events if the focus changes during a keydown event from content to chrome, r=olli,a=blocking 2011-02-01 09:46:48 -05:00
Jeff Walden
15fda24aa9 Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan 2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3 Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity 2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523 Another round of orange fixes, sigh. r=orange yet again 2011-01-23 00:12:05 -08:00
Joel Maher
a1ced5aa8a Bug 601245 Stop packaging test files which are in tests.jar r=ctalbert a=test-only 2010-12-09 14:47:21 -08:00
Robert O'Callahan
50f59c86bf Bug 598470. Treat all chrome display items as opaque when we're computing plugin visibility regions; this ensures translucent chrome content is visible above windowed plugins. r=tnikkel,a=blocker 2010-11-08 22:06:14 +13:00
Ehsan Akhgari
43a9abec75 Bug 595337 - Crash [@ nsTextEditorState::InitializeKeyboardEventListeners] on print preview close with iframe, position:fixed and input; r=roc a=blocking-final+ 2010-09-24 15:09:25 -04:00
Peter Van der Beken
70746efa4b bug 580128 - Fix test_printpreview.xul. r=mrbkap 2010-10-10 15:48:13 -07:00
Kyle Huey
a846b63dba Bug 583863: Refactor <input> implementation to deal with files that aren't on the disk. r=sicking a=blocking-fennec
--HG--
extra : rebase_source : 2b3605042aea4e4c8273cdad5ec7f05af15959cc
2010-09-05 14:00:05 -04:00
Kyle Huey
73e9690f8f Backed out changeset af1365b24066 2010-09-05 11:32:57 -04:00
Kyle Huey
bde906120c Bug 583863: Refactor <input> implementation to deal with files that are not on the disk. r=sicking a=blocking-fennec 2010-09-05 09:09:04 -04:00
Robert O'Callahan
f23546c84d Bug 574621. Ensure that the prescontext DefaultBackgroundColor is painted on the background of root content documents. r=tnikkel 2010-08-26 22:01:43 -05:00
Neil Deakin
838688f1fb Bug 551434 - Store the keydown target and retarget the keypress/keyup events when focus changes from chrome to content. r=smaug 2010-08-17 14:37:50 +02:00
Timothy Nikkel
7e149ba847 Bug 579621. Fix print preview tests to be content subdocuments. r=roc 2010-08-13 21:57:29 +12:00
Serge Gautherie
5113026175 Bug 492476 - [MacOSX] mochitest-chrome: the 3 layout/base/tests/test_printpreview*.xul need to report 'todo'; (Bv1) Add missed |var todo = window.opener.wrappedJSObject.todo;|.
(bustage fix) [CLOSED TREE]
2010-04-14 04:53:31 +02:00
Serge Gautherie
221bac9b5e Bug 492476 - [MacOSX] mochitest-chrome: the 3 layout/base/tests/test_printpreview*.xul need to report 'todo'; (Av1) Remove useless |var printerEnumerator|, Use a todo().
r=roc.
2010-04-14 02:24:47 +02:00
Serge Gautherie
ebb98f44a1 Bug 556686 - [Debug Windows SeaMonkey 2.1] mochitest-chrome: layout/base/tests/chrome/test_bug396024.xul, /test_bug482976.xul and test_printpreview.xul time out; (Av1) Bug 501100 follow-up: s/DIRS/PARALLEL_DIRS/, Clean up remnant comment, Rename them to test_printpreview*.xul.
r=roc.

Bug 501100 - Print preview mochitests should be chrome tests

--HG--
rename : layout/base/tests/chrome/bug396024_helper.xul => layout/base/tests/chrome/printpreview_bug396024_helper.xul
rename : layout/base/tests/chrome/bug482976_helper.xul => layout/base/tests/chrome/printpreview_bug482976_helper.xul
rename : layout/base/tests/chrome/test_bug396024.xul => layout/base/tests/chrome/test_printpreview_bug396024.xul
rename : layout/base/tests/chrome/test_bug482976.xul => layout/base/tests/chrome/test_printpreview_bug482976.xul
2010-04-13 06:04:48 +02:00
Robert O'Callahan
de8fd32344 Bug 532569. Support 'transparent' attribute on XUL IFRAMEs to integrate content documents into the chrome rendering hierarchy, with their background defaulting to transparent. r=mats,sr=bz 2010-03-05 11:52:59 +13:00
Henri Sivonen
d5a5b4a235 Bug 539896 - Add a single quote to test_bug533845.xul to make it not fail with the HTML5 parser. r=Olli.Pettay. 2010-02-03 15:53:23 +02:00
Olli Pettay
afce7361da Bug 539060 - Crash [@ do_QueryFrame::operator<nsIPageSequenceFrame> nsIPageSequenceFrame*() ] in print preview , r=roc
--HG--
extra : rebase_source : 246c540277da95dbc670bcfc899dc9f9796f603e
2010-01-25 13:15:25 +02:00
Olli Pettay
136f3f85ca Bug 533845 - Mouse events don't work in content iframe, if iframe is inside a xul panel, r=roc
--HG--
extra : rebase_source : 8270dcfedb49c555a5deb6bb7a29e4a500cd7a90
2010-01-13 11:02:11 +02:00
Timothy Nikkel
c581600f0c Bug 396367. Make the tests reset the textzoom after changing it.
--HG--
extra : rebase_source : 5afddd159099314576ad6623d11649266a7b4e77
2009-12-26 21:36:12 -06:00
Timothy Nikkel
bd15675d9d Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : c6aa412247ab70f5bf3a4688f262edcccd2d6fdd
2009-12-22 18:09:10 -06:00
Timothy Nikkel
1172cc4cd0 Backed out changeset 63d4a49fbec1 (bug 396367) 2010-01-01 20:34:05 -06:00
Timothy Nikkel
6a84e052f2 Bug 396367. Make sure that we have flushed content notifications anytime we process restyles that might cause frame construction. r=bzbarsky
--HG--
extra : rebase_source : 67d99a197a4974684f57f23873033b85c276ef86
2009-12-22 18:09:10 -06:00
Olli Pettay
2f4c5ea761 Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Robert O'Callahan
e4bc55769e Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
Robert O'Callahan
942fad5d31 Bug 504311. Test.
--HG--
extra : rebase_source : 3df96915b133a9926310757ed0415beaefd635a3
2009-08-03 13:59:18 +12:00
Robert O'Callahan
56699ae2e0 Bug 501100. Convert print preview tests to chrome tests. r=martijn
--HG--
rename : layout/base/tests/test_bug396024.html => layout/base/tests/chrome/bug396024_helper.xul
rename : layout/base/tests/test_bug482976.html => layout/base/tests/chrome/bug482976_helper.xul
rename : layout/base/tests/test_printpreview.html => layout/base/tests/chrome/printpreview_helper.xul
2009-07-04 21:50:43 +12:00