Commit Graph

315 Commits

Author SHA1 Message Date
Joel Maher
d3c43fac0f 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
2cbfd55a70 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
953b064187 Bug 624636, part 1: Allow reftests to override viewport+displayport. r=roc 2011-02-23 11:45:09 -06:00
Matt Woodrow
503e41f4c8 Bug 632636: Initialize cond when we have needs-focus. r=cjones a=bustage 2011-02-08 18:09:00 -06:00
Chris Jones
8991442744 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
cb50a6fc08 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
074ea795ea Make the parts of reftest-analyzer scroll independently. (Bug 612505) 2011-02-02 08:40:17 -08:00
Jonas Sicking
6c6a7cea3e Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal). 2011-01-29 18:47:17 -08:00
L. David Baron
8ea27a6080 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
f2437a7bed 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
5feb332b63 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
97a3f60be3 Backout changeset 3248feddc867 (bug 608030). 2011-01-23 22:00:04 -08:00
L. David Baron
0ac20ad07d 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
22bd7000f9 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
cf16f40272 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
c03b2288b7 Bug 612505 - Part 1: Whitespace cleanups. rs=dbaron 2011-01-23 20:21:40 -08:00
Robert O'Callahan
eff574fdb4 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
4bd9f2b371 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
8a617b421a Bug 621339. Protect against contentRootElement being null. r=dbaron. a=test 2010-12-26 21:16:00 -08:00
Robert O'Callahan
e4fdf4b155 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
8556c00903 Bug 617152. Part 8: Remove useless call to processUpdates. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
88756ca61b 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
30e7c85ced Bug 617152. Part 6: Improve diagnostic messages for reftest failures. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
92b4b5d97d 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
d2b800ff26 merge mozilla-central to tracemonkey 2010-11-19 15:54:33 -08:00
Alon Zakai
812bf3c258 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
cccb5b3f6b Make reftest-analyzer.xhtml work with build logs. r=dbaron, a=npob. 2010-11-08 23:08:56 +00:00
L. David Baron
3c42da9c90 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
f0ab23ffda 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
749fd527cc 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
92c12ef9d7 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
54d8736551 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
9ab1f355f5 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
a2b531c127 Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh 2010-09-23 16:06:13 -04:00
Scott Greenlay
4d41c8ea82 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
4c5979b1bf Backed out changeset c06ef0414fee, bug 596762. a=me 2010-09-20 22:13:13 -04:00
Scott Greenlay
c18a02206e 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
d9a0dffb85 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
af1d89a715 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
e5804675e4 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
cfa5c819a8 Backout 311fd7224fe6 due to oranges. a=backout 2010-09-16 20:58:37 -07:00
Oleg Romashin
7091cdfefe 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
2cecfc21ab 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
de34f39b12 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
6732099e5a 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
2fbfe063c1 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
1193fc52e4 Bug 593275. Take reftest snapshots by painting the toplevel window. r=dbaron 2010-09-03 23:21:14 -04:00
Jonas Sicking
21b686ea6a 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
394383312c 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
8195bd8837 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
76c7838dc0 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
afa21c712c Fix typo in reftest documentation. 2010-08-31 12:05:12 -04:00
Dão Gottwald
ff02b582e2 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
da390373cb 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
b58eb91fc9 Bug 583857. Expose whether D2D is enabled to reftests. r=roc 2010-08-13 11:44:21 -04:00
Boris Zbarsky
fcf146ef6f 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
8e7483c7aa 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
b22a1c4599 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
d81f0c30eb Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden
561338434b 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
ad556ab54f Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher 2010-07-26 18:43:34 -07:00
Clint Talbert
d2fb12a794 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
29ce16568f 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
b7f93d47f0 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
dc27c87402 Bug 572326 - build error in layout/tools/layout-debug/application.ini [r=ted] 2010-07-15 09:52:07 +02:00
Robert Sayre
6884a5b128 add some logging to reftest 2010-07-12 22:05:25 -07:00
Benjamin Smedberg
a2833452f8 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
63c0077443 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
3d83a9ad65 Merge various pieces of bug 568691. 2010-06-25 17:27:04 -04:00
Benjamin Smedberg
cff856ae30 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
e92cd2f48a 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
e57bd166ba Fix print-manifest-dirs.py when configuring with a relative source directory, r=ted 2010-06-25 13:53:31 -04:00
Benjamin Smedberg
7e862cd535 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
8a8835638e Fix test packaging and execution from bug 568691. 2010-06-22 20:44:44 -04:00
Benjamin Smedberg
5cab25b52b 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
45af085fff 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
9045c05660 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
31a929d36a 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
cebbffbde3 Add missing semicolon. No bug. 2010-06-25 18:45:11 -05:00
Boris Zbarsky
c2be2121f1 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
0b26e4bf5c Backed out changeset 5a07f228795b 2010-06-18 23:51:45 +12:00
Robert O'Callahan
f3ea04af03 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
880fe87fe3 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
L. David Baron
a33adff685 Add shortcuts for common widget conditions. (Bug 570329) r=roc 2010-06-08 18:44:32 -07:00
L. David Baron
5e162ad661 Move construction of reftest condition sandbox into its own function. (Bug 570329) r=roc 2010-06-08 18:44:32 -07:00
Clint Talbert
85e29968b5 Bug 573478 - Allow remote reftests to start their own httpd.js webserver r=jmaher 2010-06-24 02:32:01 -07:00
Clint Talbert
cc2d4b85a1 Bug 573263 - Refactor remote reftest to work on android, create shared remoteautomation class r=jmaher 2010-06-24 02:32:01 -07:00
L. David Baron
d8997b90d6 Enable the reporting of assertion failures in the reftest harness. (Bug 472557) 2010-05-21 13:17:58 -07:00
Ehsan Akhgari
cdd6eec761 Bug 534694 - Move the layout debug extension to layout/tools; r=ted,roc
--HG--
rename : extensions/layout-debug/Makefile.in => layout/tools/layout-debug/Makefile.in
rename : extensions/layout-debug/application.ini => layout/tools/layout-debug/application.ini
rename : extensions/layout-debug/chrome.manifest => layout/tools/layout-debug/chrome.manifest
rename : extensions/layout-debug/layoutdebug-prefs.js => layout/tools/layout-debug/layoutdebug-prefs.js
rename : extensions/layout-debug/makefiles.sh => layout/tools/layout-debug/makefiles.sh
rename : extensions/layout-debug/src/Makefile.in => layout/tools/layout-debug/src/Makefile.in
rename : extensions/layout-debug/src/nsDebugFactory.cpp => layout/tools/layout-debug/src/nsDebugFactory.cpp
rename : extensions/layout-debug/src/nsILayoutDebuggingTools.idl => layout/tools/layout-debug/src/nsILayoutDebuggingTools.idl
rename : extensions/layout-debug/src/nsILayoutRegressionTester.idl => layout/tools/layout-debug/src/nsILayoutRegressionTester.idl
rename : extensions/layout-debug/src/nsLayoutDebugCIID.h => layout/tools/layout-debug/src/nsLayoutDebugCIID.h
rename : extensions/layout-debug/src/nsLayoutDebugCLH.cpp => layout/tools/layout-debug/src/nsLayoutDebugCLH.cpp
rename : extensions/layout-debug/src/nsLayoutDebugCLH.h => layout/tools/layout-debug/src/nsLayoutDebugCLH.h
rename : extensions/layout-debug/src/nsLayoutDebuggingTools.cpp => layout/tools/layout-debug/src/nsLayoutDebuggingTools.cpp
rename : extensions/layout-debug/src/nsLayoutDebuggingTools.h => layout/tools/layout-debug/src/nsLayoutDebuggingTools.h
rename : extensions/layout-debug/src/nsRegressionTester.cpp => layout/tools/layout-debug/src/nsRegressionTester.cpp
rename : extensions/layout-debug/src/nsRegressionTester.h => layout/tools/layout-debug/src/nsRegressionTester.h
rename : extensions/layout-debug/ui/Makefile.in => layout/tools/layout-debug/ui/Makefile.in
rename : extensions/layout-debug/ui/content/layoutdebug-overlay.xul => layout/tools/layout-debug/ui/content/layoutdebug-overlay.xul
rename : extensions/layout-debug/ui/content/layoutdebug.js => layout/tools/layout-debug/ui/content/layoutdebug.js
rename : extensions/layout-debug/ui/content/layoutdebug.xul => layout/tools/layout-debug/ui/content/layoutdebug.xul
rename : extensions/layout-debug/ui/jar.mn => layout/tools/layout-debug/ui/jar.mn
rename : extensions/layout-debug/ui/locale/en-US/layoutdebug-overlay.dtd => layout/tools/layout-debug/ui/locale/en-US/layoutdebug-overlay.dtd
rename : extensions/layout-debug/ui/locale/en-US/layoutdebug.dtd => layout/tools/layout-debug/ui/locale/en-US/layoutdebug.dtd
2010-04-23 15:03:22 -04:00
L. David Baron
1788524eae Remove workaround for all reftest-print tests asserting on mac now that bug 564071 is fixed. (Bug 472557) 2010-05-17 11:31:24 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Ted Mielczarek
09691f1ca3 bug 563745 - Make automationutils.py's minidump processing able to send minidumps to minidump-stackwalk-cgi. r=catlee
--HG--
extra : rebase_source : ebbf745e5e77c55437cb05071f49d421d08956c6
2010-05-06 08:06:09 -04:00
L. David Baron
b70edfd24f Fix spelling of separate. 2010-04-08 21:03:47 -07:00
Ehsan Akhgari
995faa7109 Bug 555289 - Plugin crashed UI should be RTL in RTL locales (Further fixes + tests); r=dao,dbaron 2010-04-07 19:35:09 -04:00
Brian Crowder
5508bb999e Reverting an accidental deletion from my previous landing 2010-03-30 13:58:30 -07:00
Brian Crowder
cc6c908bab Bug 471917 - fix PNG reftests to respect color-management settings, r=mfinkle, sr=dbaron 2010-03-29 14:56:46 -07:00
Joel Maher
a431b763bf Bug 471676 Allow reftest harness to accept same chunking arguments as mochitest, used for maemo and other platforms r=ted 2010-03-29 10:57:51 -07:00
Ehsan Akhgari
e24e59c78c Bug 552359 - Tinderbox orange: layout/reftests/forms/placeholder/placeholder-7.html placeholder-8.html placeholder-9.html; r=roc 2010-03-27 11:16:53 -04:00
Joel Maher
a7f743f4eb Bug 553922 - Update remote test code to have MPL header and use devicemanager timeout properly (NPOTB) r=ctalbert 2010-03-24 10:51:17 -07:00
Olli Pettay
37a0a9ddb2 Bug 534478, prevent assertions caused by reftest pagemode, r=dbaron
--HG--
extra : rebase_source : c2bec911560c952009783a83a93ced887447937d
2010-03-22 16:24:18 +02:00