Commit Graph

392 Commits

Author SHA1 Message Date
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
Oleg Romashin
c155d35cf1 Bug 607417 - Reconcile position:fixed with async scrolling and displayport+meta-viewport. reftests r=jones.chris.g
--HG--
extra : rebase_source : 74649055179f4612dce53928f75bea55359eeeb4
2011-04-08 09:35:21 -07:00
Robert O'Callahan
83635085a0 Bug 635373. Add layersOpenGL to the reftest harness. r=dbaron 2011-04-01 10:33:46 +13:00
Joel Maher
94e66b3075 Bug 473817 - allow conditional 'include' in reftest manifests. r=dbaron, a=test-only 2011-03-31 13:08:05 -04:00
Ehsan Akhgari
2c668ef797 Merge cedar into mozilla-central 2011-03-30 13:53:35 -04:00
Mounir Lamouri
3172845672 Bug 640545 - Specify that the load has failed in the error message when a reftest load failed. r=dbaron 2011-03-30 14:38:44 +02:00
Joel Maher
6cc848442e Bug 643440 - when using --extra-profile-files, we can overwrite user.js settings from the harness. r=ted, a=test-only 2011-03-28 14:37:08 -04:00
Ms2ger
4b1168a59f Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz 2011-03-29 22:24:54 -04:00
Benjamin Smedberg
e6d50195a6 Bug 617539 - Fold in nsIFrameLoader_MOZILLA_2_0_BRANCH, r=bz 2011-03-25 11:03:35 -04:00
Ehsan Akhgari
fb4cc4b7ca Bug 613109 - Make it possible to run a mochitest-* test suite with an extension installed; r=ted 2010-11-18 17:15:54 -05:00
Benjamin Stover
9bb1728211 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-15 16:20:19 -07:00
Joel Maher
c23fd79b8d Bug 636641 - remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB 2011-03-11 09:15:34 -05:00
Joel Maher
69ccb3b80f Bug 637660 - add sandbox.Android, and skip a few crashtests so we can run green on Android. r=dbaron, a=tests 2011-03-11 09:15:33 -05:00
Joel Maher
bb0dcdea4a Bug 636641 remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB 2011-02-26 13:19:56 -05:00
Joel Maher
33f1772d43 Bug 636450 - add a --host-os option for remote testing scripts. r=ctalbert, a=NPOTB 2011-02-24 14:45:42 -05:00
Joel Maher
da1d32d704 Bug 632895 - Reftests on device cannot require 800x1000 window size. r=ctalbert, a=NPOTB 2011-02-23 14:38:59 -05:00
Joel Maher
cadb3b3032 Bug 629266 - org.mozilla.fennec is left running after dm.updateApp(). r=ctalbert, a=NPOTB 2011-02-23 14:38:56 -05:00
Chris Jones
f36a95b0ed Bug 624636, part 2: Allow reftests to disable layers-sync-before-snapshot, in order to test "natural" widget repainting. r=roc a=a 2011-02-23 11:45:09 -06:00
Chris Jones
176eb6eee2 Bug 624636, part 1: Allow reftests to override viewport+displayport. r=roc 2011-02-23 11:45:09 -06:00
Matt Woodrow
10479ab383 Bug 632636: Initialize cond when we have needs-focus. r=cjones a=bustage 2011-02-08 18:09:00 -06:00
Chris Jones
97685d6934 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
L. David Baron
dd21ec36e9 Ensure that 'load' and 'script' tests do layout and painting before we go on to the next test. (Bug 624279) r=roc a2.0=blocking
(It's tempting to remove both the direct call to RecordResult() (and
instead always go through WaitForTestEnd) and the setupPrintMode() call
not inside WaitForTestEnd, but that's probably more than I should tackle
right now.)
2011-02-02 08:40:17 -08:00
L. David Baron
037169e1c2 Make the parts of reftest-analyzer scroll independently. (Bug 612505) 2011-02-02 08:40:17 -08:00
Jonas Sicking
809bbcd2c3 Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal). 2011-01-29 18:47:17 -08:00
L. David Baron
dd6d9fe788 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:08 -08:00
L. David Baron
177b2600d0 Clean up setting of preferences for reftest. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:07 -08:00
L. David Baron
b88aad3dcd Backout changeset ffebdc3ddb62 (bug 608030) due to reftest orange related to color-management pref. a=orange 2011-01-23 22:00:32 -08:00
L. David Baron
db60dba864 Backout changeset 3248feddc867 (bug 608030). 2011-01-23 22:00:04 -08:00
L. David Baron
163d15ca63 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-23 20:21:40 -08:00
L. David Baron
1e56301746 Clean up setting of preferences for reftest. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-23 20:21:40 -08:00
Cameron McCormack
60574b4fd9 Bug 612505 - Part 2: Add a pixel value inspection panel to the reftest analyzer rs=dbaron 2011-01-23 20:21:40 -08:00
Cameron McCormack
19a6a69bce Bug 612505 - Part 1: Whitespace cleanups. rs=dbaron 2011-01-23 20:21:40 -08:00
Robert O'Callahan
ef2cb91508 Bug 624279. Setup print mode for non-reftest-wait documents as soon as 'load' fires. This ensures that the initial reflow will happen in print mode. r=dbaron, a=test
This patch also ensures that the root element at the time of 'load' firing
is the element we always look for test metadata on --- even if the document
is removed from the window, or the root element is removed or replaced by
another root element, etc.
2011-01-10 02:55:00 -08:00
Oleg Romashin
4293c01910 Bug 568204 - Fennec on xulrunner does not build with --enable-debug. r=dbaron,benjamin a=approval2.0
--HG--
extra : rebase_source : 287ca4159a954ef3d8d513f10d08ac34d0bcf9cc
2011-01-04 17:37:20 +02:00
Robert O'Callahan
08ee908f44 Bug 621339. Protect against contentRootElement being null. r=dbaron. a=test 2010-12-26 21:16:00 -08:00
Robert O'Callahan
77ca493695 Bug 617512. Part 10: Don't wait for pending paints to flush in crashtests. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
f3891c9989 Bug 617152. Part 8: Remove useless call to processUpdates. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
8b0f0ac88a Bug 617152. Part 7: Take a full snapshot after we've set up our listeners. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
cd07e8ea6a Bug 617152. Part 6: Improve diagnostic messages for reftest failures. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
ef264ec2e0 Bug 617152. Part 3: Fix reftest.js harness to have much simpler logic for waiting for a test to end. r=dbaron 2010-12-20 14:37:42 +13:00
Robert Sayre
cc61a33126 merge mozilla-central to tracemonkey 2010-11-19 15:54:33 -08:00
Alon Zakai
b2176c5568 Bug 610046 - Let jsreftests that should silently fail do so. r=dbaron,bc a=test 2010-11-18 14:14:57 -08:00
Jonathan Watt
452d544c36 Make reftest-analyzer.xhtml work with build logs. r=dbaron, a=npob. 2010-11-08 23:08:56 +00:00
L. David Baron
40259ec87e Make the reftest image comparison tests have a more informative message so they're easier to distinguish from the rest. (Bug 611702) r=ted a2.0=tests 2010-11-16 09:56:03 -08:00
Joel Maher
039e73cdb1 Bug 609040 Remote reftests need to be smarter with how they handle webserver and jsreftest r=ctalbert a=NPOTB 2010-11-04 17:01:13 -07:00
Johnny Stenback
36c5c9ec0f Bug 580128. Remove usage of old wrapper type which isn't needed any more. r=mrbkap@gmail.com 2010-10-10 15:41:37 -07:00
Scott Greenlay
8b4e6b735f Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-27 16:42:43 -04:00
Josh Aas
e8615565e7 Back out patch for 596762, running the test plugin out-of-process on 64-bit Mac OS X is exposing a bug that causes a lot of intermittent orange. a=josh 2010-09-24 15:08:30 -04:00
Scott Greenlay
138d798f41 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-24 10:32:02 -04:00
Josh Aas
7fa21e948b Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh 2010-09-23 16:06:13 -04:00
Scott Greenlay
5842fbcc5f Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-23 13:21:55 -04:00
Josh Aas
0475184a60 Backed out changeset c06ef0414fee, bug 596762. a=me 2010-09-20 22:13:13 -04:00
Scott Greenlay
20c58a1c26 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-20 20:21:55 -04:00
Joel Maher
0495b389bc Bug 595269 Remote reftest assumes ./server.js instead of reftest/server.js r=ctalbert a=NPOTB 2010-09-17 17:18:06 -07:00
Joel Maher
14ecea9259 Bug 595294 Remotereftest should not assume process.txt exists when using a log file r=ctalbert a=NPOTB 2010-09-17 17:18:06 -07:00
Oleg Romashin
b908fe94e8 Bug 556487 - handle async plugin layers rendering in reftests runner. r=dbaron a=blocking2.0 2010-09-16 10:07:35 -07:00
Oleg Romashin
ada1a03ec8 Backout 311fd7224fe6 due to oranges. a=backout 2010-09-16 20:58:37 -07:00
Oleg Romashin
cad96dc0b8 Bug 556487 - handle async plugin layers rendering in reftests runner. r=dbaron a=blocking2.0 2010-09-16 10:07:35 -07:00
Boris Zbarsky
c5329c4084 Bug 589667 test. Make sure no one breaks my layout-debug again. r=ted, a=npob 2010-09-10 17:26:42 -04:00
Robert O'Callahan
1507349168 Bug 593275 part 2 - Dynamically recompute drawWindow flags, in case our window is asynchronously resized on us. r=dbaron a=blocking2.0:beta6+ 2010-09-04 23:39:35 -04:00
Robert O'Callahan
35d8542aa1 Bug 593275. Take reftest snapshots by painting the toplevel window. r=dbaron a=blocking2.0:beta6+ 2010-09-04 23:39:32 -04:00
Joe Drew
95b6aeb65f Back out roc's reftest patch, which broke reftests on non-accelerated layer managers. 2010-09-04 00:32:36 -04:00
Robert O'Callahan
9c2950db18 Bug 593275. Take reftest snapshots by painting the toplevel window. r=dbaron 2010-09-03 23:21:14 -04:00
Jonas Sicking
ec1a4a941c Bug 590870: Allow mochitest domains that don't support XUL/XBL. r=ted a=test-only 2010-09-03 15:53:28 -07:00
Joe Drew
3535a09d4b Bug 590844. reftest: fix the condition setting layersGPUAccelerated. r=vlad, a=b
Frig. I accidentally reversed the condition here.
2010-09-03 17:15:10 -04:00
Joe Drew
bf190e3ce4 Bug 590844 - Add layersGPUAccelerated to the reftest sandbox when we're using accelerated layers. r=dbaron a=blocking2.0:beta6+ 2010-09-03 14:02:23 -04:00
Robert O'Callahan
5eeb4518f0 Bug 580410. Hide reftest window title bar so the reftest window fits on our Mac test machines. test-only change, a=me. 2010-09-02 16:47:12 +12:00
L. David Baron
38ecccd2a6 Fix typo in reftest documentation. 2010-08-31 12:05:12 -04:00
Dão Gottwald
d9866fd9ab Bug 581008 - Remove support for appending arbitrary data to the User Agent string. r=jst,khuey sr=dveditz 2010-08-27 09:02:10 +02:00
Jonas Sicking
a66617aa2d Bug 546857 Part 5: Add a default permissions.sqlite to unit test profiles. r=ted a=blocker 2010-08-19 16:12:46 -07:00
Jeff Muizelaar
5f05dd6ee5 Bug 583857. Expose whether D2D is enabled to reftests. r=roc 2010-08-13 11:44:21 -04:00
Boris Zbarsky
be8b706b89 Bug 575336 part 3. Change the reftest harness to do its initial flush on all subframes, not just the root one. r=roc 2010-08-05 14:39:39 -04:00
L. David Baron
fdbe24a04c Remove the MOZ_WIDGET_TOOLKIT backwards-compatibility definition in the reftest condition sandbox. (Bug 570329) r=roc 2010-08-05 21:59:18 -07:00
Jeff Walden
82a3451969 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
5f201100e1 Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden
629a60bd96 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Clint Talbert
65a508d873 Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher 2010-07-26 18:43:34 -07:00
Clint Talbert
f960b0cffd Bug 573694 Optionally allow reftest harness to write output to log file for android r=dbaron 2010-07-26 18:43:33 -07:00
Robert O'Callahan
b2d82bd07e Bug 576453. Let the reftest window auto-size itself to fit the browser element. r=dbaron 2010-07-16 09:07:44 +12:00
Robert O'Callahan
0587a61cc8 Bug 573953. Ensure that zoom factors are chosen in reftests so appunits-per-dev-pixel is an integer. r=dbaron 2010-07-16 09:04:16 +12:00
Vivien Nicolas
6a97b9aa91 Bug 572326 - build error in layout/tools/layout-debug/application.ini [r=ted] 2010-07-15 09:52:07 +02:00
Robert Sayre
fd700087bc add some logging to reftest 2010-07-12 22:05:25 -07:00
Benjamin Smedberg
e17740e1ab Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
040a241c5a Merge various pieces of bug 568691. 2010-06-25 17:27:04 -04:00
Benjamin Smedberg
2b520c0d73 Stop trying (and failing) to build layout-debug as a standalone XULRunner app in XR builds: it has to be linked into libxul. 2010-06-25 15:13:29 -04:00
Benjamin Smedberg
b2380781d9 Fix the reftest component to package itself and the httpserver correctly with a single chrome.manifest. 2010-06-25 13:56:51 -04:00
Benjamin Smedberg
5ec8b1960a Fix print-manifest-dirs.py when configuring with a relative source directory, r=ted 2010-06-25 13:53:31 -04:00
Benjamin Smedberg
2be0746f06 Fix reftest so that components are registered in the root chrome.manifest when it is packaged as an extension instead of in-tree. 2010-06-25 08:27:10 -04:00
Benjamin Smedberg
ea00533489 Fix test packaging and execution from bug 568691. 2010-06-22 20:44:44 -04:00
Benjamin Smedberg
31432df1fb Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
c611ebcd81 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Robert O'Callahan
c3d3dba89e Bug 568392. Part 3: Make reftest harness draw with scrollbars and use the window's layer tree, when possible. r=dbaron 2010-06-28 12:32:16 +12:00
Reed Loden
b2dc7394dc Add missing semicolon. No bug. 2010-06-25 18:45:11 -05:00
Boris Zbarsky
ec64564b48 Fix the reftest harness so that a 'load' test that uses reftest-wait doesn't cause following '==' tests to fail. r=roc pending 2010-06-18 11:29:52 -04:00
Robert O'Callahan
4401f7c29f Backed out changeset 5a07f228795b 2010-06-18 23:51:45 +12:00
Robert O'Callahan
14f325ad0f Bug 56839. Part 3: Make reftest harness draw with scrollbars and use the window's layer tree, when possible. r=dbaron 2010-06-18 21:25:16 +12:00
Jesse Ruderman
3f11bd09e1 Bug 570730 - automation.py should indicate which test crashed (or timed out) for reftests and mochitests. r=ctalbert 2010-06-10 18:46:18 -07:00