Commit Graph

1167 Commits

Author SHA1 Message Date
Olli Pettay
80d42d5fb5 Bug 459848 - backout bug 346984 r+sr=bz 2008-10-17 01:35:45 +03:00
Olli Pettay
3b8529ad0e bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking 2008-10-15 12:41:54 +03:00
sharparrow1@yahoo.com
d5a8112b79 Bug 42976, cloneNode() HTML Document nodes, r=smaug,sr=jst 2008-09-18 14:15:47 +03:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Doug Turner
afa3c45986 Bug 445180. More geolocation mochitests. Patch by harthur@cmu.edu, r=dougt@meer.net 2008-09-04 16:31:09 -07:00
Olli Pettay
73fb4c834b Bug 452566, navigator.geolocation optional parameters on getCurrentPosition and watchPosition are not optional, r=dougt, sr=jst 2008-08-29 10:26:34 +03:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Robert O'Callahan
b66bd8b92d Bug 379616. Fix offset tests to not assume getComputedStyle()['width'/'height'] works on SVG elements 2008-08-25 21:20:22 +12:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Neil Deakin
a3d15d68b0 Bug 111034, add clientXXX, scrollXXX properties, attempt 2, r+sr=roc, attempt 2 with microformat fix 2008-08-15 18:26:37 -04:00
Ted Mielczarek
7118a4b9e3 Backed out changeset 2e8dfe209f09 due to unit test bustage 2008-08-15 12:59:30 -04:00
Neil Deakin
a31ad2e174 Add clientXXX and scrollXXX properties to XUL elements, also add width/height properties to ClientRect, r+sr=roc 2008-08-15 11:17:17 -04:00
Clint Talbert
f96cb14537 Bug 450009, patch by Harthur, r=ted" 2008-08-14 10:26:45 -07:00
Doug Turner
632ed97807 bug 449508. update geolocation code to editor's draft. r+sr=jst 2008-08-14 09:35:49 -07:00
Clint Talbert
7d48708a98 Bug 424813, Jquery test suite update, patch by harthur, r=sdwilsh 2008-08-07 16:18:37 -07:00
Ben Newman
864cbb4b30 Bug 437361. Propagate exceptions from showModalDialog's guts to script as needed instead of dropping them on the floor. r+sr=bzbarsky 2008-07-28 22:52:53 -07:00
Doug Turner
a80ad2cbd6 Inital geolocation implementation. bug=437948, r/sr=jst 2008-07-15 16:37:48 -07:00
Doug Turner
d78266a72c Backed out changeset 27942c109154
unit test seg fault at shutdown.
2008-07-11 22:25:02 -07:00
Doug Turner
2005d15cc0 Initial implementation of Gelocation. Bug 437948. Relanded after fixing memory leaks 2008-07-11 18:35:03 -07:00
Doug Turner
83738d2763 it seems we are leaking on the RLk test.
Backed out changeset ebfc2ad982f4
2008-07-10 23:38:35 -07:00
Doug Turner
ad874bf1f0 Relanding 437948. Geolocation. Fixed memory leak. r=jst. 2008-07-10 22:48:16 -07:00
Benjamin Smedberg
ca9347e54c Backed out changeset e5014dc700ad - appears to cause unit test failures in test_419731.js (windows) or focus issues (mac) but that could just be test wonkiness, but this appeared right after this commit and was mostly green before. 2008-07-10 09:36:24 -04:00
Doug Turner
9b03605052 bug 437948. inital implementation of gelocation. roughly following http://dev.w3.org/geo/api/spec-source.html. r+sr=jst 2008-07-09 20:43:38 -07:00
Dave Camp
f619e9fd41 Bug 422264: retrieving iterator of applicationCache throws NS_ERROR_DOM_INVALID_STATE_ERR. r+sr=jst 2008-06-27 17:22:16 -07:00
Johnny Stenback
55d2121fbe Fixing bug 440572. Make child frames whose names conflict with properties defined in IDL be accessable through XOWs again. r+sr=mrbkap@gmail.com 2008-06-25 17:07:22 -07:00
Johnny Stenback
8d2a15b00b Fixing bug 440572. Make child frames whose names conflict with properties defined in IDL be accessable through XOWs again. r+sr=mrbkap@gmail.com 2008-06-25 17:06:38 -07:00
Robert O'Callahan
ed1fb00196 Remove DOM testcase from exclusions now that it passes 2008-06-14 22:33:54 +12:00
gavin@gavinsharp.com
ecca1e136b Bug 431986: ApplicationCache doesn't implement EventTarget, patch by dcamp@mozilla.com, r+sr=jst, a=schrep 2008-05-08 17:10:49 -07:00
gavin@gavinsharp.com
264eb91ab9 Bug 432055: applicationCache.status is 0 through the update process, patch by dcamp@mozilla.com, r+sr=jst, a=schrep 2008-05-08 17:09:26 -07:00
gavin@gavinsharp.com
ca5faf7f66 Re-enable these tests now that there's another xserve collecting core dumps (bug 432471) 2008-05-08 15:00:36 -07:00
gavin@gavinsharp.com
fb0bb9ac23 Disable these again to try and work around the crashes (bug 432729) 2008-05-07 18:06:32 -07:00
gavin@gavinsharp.com
3c35ac552c Reenabled these tests now that we have code dumps enabled on the crashing machine (bug 432471) 2008-05-07 13:07:04 -07:00
gavin@gavinsharp.com
bc19f4ddc6 Disable test_characterdatagetlength.html to see whether it fixes the bm-xserve01 crashes (bug 432471) 2008-05-07 12:53:48 -07:00
gavin@gavinsharp.com
031a071481 Disable test_characterdatagetdata.html to see whether it fixes the bm-xserve01 crashes (bug 432471, a=jimm) 2008-05-07 12:08:50 -07:00
jwalden@mit.edu
cea0828eea Bug 430251 - Update to latest HTML5 and make postMessage dispatch its event asynchronously, as well as dispatch at the window, not the document. r=jst, r=smaug, sr=sicking, a=damons, c=cookie 2008-05-02 12:26:47 -07:00
Olli.Pettay@helsinki.fi
a94491e27d Bug 430276, new XMLHttpRequest() after document.write throws an exception, patch2, r+sr=jst, a=beltzner 2008-04-29 12:22:24 -07:00
Olli.Pettay@helsinki.fi
aa8ad34275 Bug 430276, new XMLHttpRequest() after document.write throws an exception, r+sr=jst, a=beltzner 2008-04-25 02:45:58 -07:00
dolske@mozilla.com
5db8c69268 Bug 427878 - mochitest crash in test_HTMLBodyElement08.html (disabling tests until a cause is found) 2008-04-22 15:00:07 -07:00
dcamp@mozilla.com
299ba58c7b Bug 425792: Properly update and use expiration times when updating the offline cache. r/sr=biesi, b1.9=damons 2008-04-08 22:22:32 -07:00
bmlk@gmx.de
e1772852cc disable dom html2 on mac 2008-03-30 05:26:03 -07:00
bmlk@gmx.de
624f696d66 disable java tests as Macs do not like them. 2008-03-30 03:01:48 -07:00
bmlk@gmx.de
c9558dd4df fix nsinstall bustage 2008-03-30 02:41:24 -07:00
bmlk@gmx.de
38099676c8 activate the DOM Level 2 HTML tests bug 421674 r=sayrer 2008-03-30 02:19:54 -07:00
reed@reedloden.com
27ae6d427a Remove file accidentally added by bernd. 2008-03-29 19:50:09 -07:00
bmlk@gmx.de
ed20cc197e initial checkin of the DOM-TS Level 2 HTML testcases converted into mochitests, the work is based on what rsayrer has done for the other dom test suites The main difference is that there is exeption.js, todos are marked in the testcases themself. bug 421674 a=testonly 2008-03-29 12:06:20 -07:00
reed@reedloden.com
b456d95bcc Bug 424093 - "CNN Video page will not load" [p=dcamp@mozilla.com (Dave Camp) r=Enn sr=jst a1.9b5=beltzner] 2008-03-20 23:46:57 -07:00
jwalden@mit.edu
f81dbedcf7 Also run createElement(?:NS)? tests on XML/XHTML documents, in addition to on an HTML document. We don't have any bugs that this exposes, but it seems like a good idea to add them, since another implementation (WebKit) was passing all our tests but failing the Yahoo! webmail does-it-work smoketest due to this. a=itsatest 2008-03-20 18:23:49 -07:00
dcamp@mozilla.com
a998ea3234 Bug 407839: restrict globalStorage to same host. r=enndeakin, sr=jst, blocking1.9=pavlov 2008-03-18 18:27:35 -07:00
reed@reedloden.com
7666927a21 Bug 375457 - "toDataURL has incorrect type-checking logic" (a simple test that just ensures we throw an exception when calling toDataURL with null and objects) [p=joe@drew.ca (Joe Drew [JOEDREW!])] 2008-03-18 12:55:12 -07:00
jst@mozilla.org
0cbe6b969b Fixing bug 414291. Make window.open() ignore modal=yes for backwards compatibility. r+sr=bzbarsky@mit.edu and jonas@sicking.cc 2008-03-14 14:31:24 -07:00
jwalden@mit.edu
f57d2e7968 Bug 421767 - element.attributes.removeNamedItemNS(<non-existent attribute NS and name>) returns null instead of throwing. acid3++ r+sr=jst, a=beltzner 2008-03-10 16:02:36 -07:00
jwalden@mit.edu
347503284f Make one test that relies on popup blocking being disabled fail quickly if popup blocking is enabled, and make another test non-Mozilla-specific because HTML5 got updated and now matches our behavior with respect to the origin of data: URIs (they have the origin of the window/script that opened them). rs=sicking 2008-03-06 18:32:21 -08:00
jwalden@mit.edu
3bdf362531 Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null. 2008-02-26 22:03:38 -08:00
jwalden@mit.edu
5809da44ed Bug 417075 - Update postMessage and MessageEvent to reflect domain/uri being replaced by origin, optional origin argument. r+sr=sicking, a=beltzner 2008-02-26 19:48:54 -08:00
jonas@sicking.cc
65f4571f58 Bug 416534: Clean up cross-site xmlhttprequest security checks. With fixes to tests this time. r/sr=peterv 2008-02-26 19:45:29 -08:00
reed@reedloden.com
ce8dfb0807 Bug 409349 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=Enn sr=dveditz a1.9=damons a=blocking1.9+] 2008-02-26 17:01:01 -08:00
jst@mozilla.org
9df1fbb330 Fixing bug 418755. Revert our decision to throw WRONG_DOCUMENT_ERR per the DOM spec as the web expects that not to happen. r+sr=jonas@sickin.cc 2008-02-21 18:18:43 -08:00
jwalden@mit.edu
c94942c6d0 Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner 2008-02-15 15:22:55 -08:00
jwalden@mit.edu
5ccb25d679 Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
jwalden@mit.edu
9bb11a71df Adding a test to ensure .uri on a postMessage-generated event contains a hash reference from the caller, if one was present. No bug or code changes. 2008-02-11 12:27:32 -08:00
jruderman@hmc.edu
7e1fd6b92b Add mochitest 2008-02-09 02:35:51 -08:00
jruderman@hmc.edu
9892d16836 Add mochitest for "new HTMLDocument()" throwing and not asserting 2008-02-08 16:24:43 -08:00
jwalden@mit.edu
ddfc96b454 Bug 414812 - document.domain = "0.0.1" on a page on 127.0.0.1 should not work. r=dwitte, sr=jst, a=schrep 2008-02-07 12:58:56 -08:00
jwalden@mit.edu
f61ebc4f6c Bug 414815 - Add a window.postMessage test in the presence of a <base> tag (addresses the only postMessage test WebKit had for their implementation which we didn't). a=itsatest 2008-02-02 18:09:34 -08:00
jwalden@mit.edu
035ea5179c Bug 387706 - Implement HTML5's cross-document messaging API (postMessage), enabling secure cross-origin communication between windows. r+sr=sicking, sr=jst, a=jst 2008-01-29 17:31:29 -08:00
reed@reedloden.com
ba1ebe6e9b Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+] 2008-01-28 23:54:54 -08:00
dcamp@mozilla.com
bac18b5c8e Bug 405695: Use asciiHost/asciiSpec for offline cache ownership keys. p=Honza Bambas, r=me, sr=biesi 2008-01-22 20:31:50 -08:00
dcamp@mozilla.com
9a3a47ed20 Bug 402272: Replace <link rel="offline-resource"> with manifests, and navigator.offlineResources/pendingOfflineLoads with window.applicationCache. p=dcamp/Honza Bombas, r=biesi, r+sr=jst, blocking1.9=jst 2008-01-16 13:54:33 -08:00
martijn.martijn@gmail.com
485471a1de Mochitest for bug 397571, r=martijn.martijn 2007-12-21 06:42:27 -08:00
mrbkap@gmail.com
d3cd1df667 Fix mochitest fallout from bug 396849 2007-12-18 13:56:14 -08:00
ted.mielczarek@gmail.com
08ab0d988a bug 400204 - window.innerWidth throws exception when called on a non-displayed frame (mochitest). r=jst 2007-12-04 08:52:23 -08:00
ted.mielczarek@gmail.com
319f72faea bug 400204 - window.innerWidth throws exception when called on a non-displayed frame (mochitest). r=jst 2007-12-04 08:45:15 -08:00
dcamp@mozilla.com
5ddd1d31b3 Bug 405479: fix race condition in test for bug 377539. r=bz 2007-11-26 20:08:19 -08:00
bzbarsky@mit.edu
db65ca12c1 Adding test. 2007-11-23 15:31:51 -08:00
reed@reedloden.com
104d37e84d Bug 319968 - "Some DOM functions don't work in XPCShell (classinfo broken)" [p=Mossop r+sr=jst a1.9=schrep] 2007-11-13 02:35:49 -08:00
jwalden@mit.edu
6349c0d4bb Bug 389366 - Canvas's .getImageData is returning premultiplied alpha pixels. r=dolske on my mochitestification of the test he wrote but was too slackerly to convert to a Mochitest :-P 2007-10-29 14:30:45 -07:00
bzbarsky@mit.edu
fa9ec1b622 Fix a few scriptable helpers to correctly communicate NS_SUCCESS_I_DID_SOMETHING. Bug 396843, r+sr+a=jst 2007-09-28 07:28:16 -07:00
bzbarsky@mit.edu
3d72bc9b42 Adding test. 2007-09-20 20:39:37 -07:00
jwalden@mit.edu
79066f5a93 Bug 393974 - Tree walkers leak with a non-null filter. r=smaug, sr=sicking, a=blocking1.9 2007-08-28 16:42:41 -07:00
enndeakin@sympatico.ca
bc948c49b0 Bug 389083, domstorage tests not outputing results, r=sayrer 2007-08-10 14:44:28 -07:00
sayrer@gmail.com
88b28837d6 Bug 375543. Add better diagnostics to failures. Patch by John Resig. r=sayrer 2007-08-08 22:48:58 -07:00
jst@mozilla.org
1592d59c6c Backing out tests to fix orange. 2007-08-06 17:30:30 -07:00
jst@mozilla.org
6c211e48e4 Landing tests for bug 280959. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com 2007-08-06 16:11:52 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
dcamp@mozilla.com
2223d6fa5f disable some offline tests with problems, b=390494, r=vlad, a=damons 2007-08-01 11:46:32 -07:00
dcamp@mozilla.com
0eee14ff27 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
bzbarsky@mit.edu
b9ed3a0a0f Adding test. 2007-07-16 10:41:29 -07:00
jwalden@mit.edu
c1fc2bbd75 I think I figured out the problem with bug 384192; the code added to quit.js is also used in the browser tests, but it triggers an undefined-variable exception there, and I think the tests are getting killed by test timeout code that doesn't print a helpful 'tests timed out' message to give a little help determining the cause of the failure. We shall see... 2007-07-12 20:38:31 -07:00
jwalden@mit.edu
80614fd3e7 Fix line endings. 2007-07-12 17:17:38 -07:00
jwalden@mit.edu
e56925513a Back out 384192. 2007-07-12 01:46:07 -07:00
jwalden@mit.edu
76bb7db098 Bug 384192 - Mochitest needs to support subdomain tests; use a proxy hack to pretend the tests are available on example.com, example.org, and various subdomains of each, on various ports, to satisfy this need. r=robcee 2007-07-11 22:38:47 -07:00
dcamp@mozilla.com
d746712d75 implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
dcamp@mozilla.com
41ad48abf4 implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -07:00
sdwilsh@shawnwilsher.com
c0551dcb6a Bug 386109 - Integrate jQuery Test Suite (adding missing file). Patch by John Resig <jresig@mozilla.com>. r=rcampbell 2007-06-29 08:53:36 -07:00
rcampbell@mozilla.com
c77de12eb0 bug 386109 - Integrate jQuery Test Suite, patch by John Resig <jresig@mozilla.com>, r+=robcee 2007-06-29 08:10:42 -07:00
rcampbell@mozilla.com
63a28085f4 bug 381001 - Integrate Scriptaculous Test Suite, patch by John Resig <jresig@mozilla.com>, r+=me 2007-06-27 10:04:26 -07:00
rcampbell@mozilla.com
3afc873e2b bug 379506, Integrate MochiKit Test Suite, patch by John Resig, <jresig@mozilla.com> 2007-06-21 07:13:56 -07:00
peterv@propagandism.org
97650672c8 Fix for bug 384122 (QueryInterface shouldn't be enumerable on DOM interface objects). r/sr=jst. 2007-06-14 03:03:44 -07:00
jonas@sicking.cc
82a7fdf84a Bug 383511: Support multi-domain tests in mochitest. r=sayrer 2007-06-11 14:55:28 -07:00
rcampbell@mozilla.com
c1e34db8a4 Commenting MochiKit until fixed on Linux 2007-06-07 09:59:24 -07:00
rcampbell@mozilla.com
435f0e4e3c Fixed case error in Makefile 2007-06-06 14:29:18 -07:00
rcampbell@mozilla.com
7573ef5550 More makefile oddness 2007-06-06 14:15:37 -07:00
rcampbell@mozilla.com
039741b813 Spaces in Makefile.in, entabified 2007-06-06 13:59:40 -07:00
rcampbell@mozilla.com
75e9c10576 Bug 379506 - Integrate MochiKit Test Suite, patch by John Resig <jresig@mozilla.com> 2007-06-06 13:33:16 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
peterv@propagandism.org
9eba56a764 Test for bug 370098 (Some constructors raise a "XXX is not a function" exception when called (DOMParser, XMLSerializer, XMLHttpRequest, XPathEvaluator, XSLTProcessor)). r=jst. 2007-05-25 09:06:02 -07:00
mats.palmgren@bredband.net
689855b929 Mochitest for bug 377539. b=377539 r=bzbarsky 2007-05-09 06:27:59 -07:00
bzbarsky@mit.edu
36656a88fa Allow getting the lineNumber of XPConnect expceptions. Bug 291377, r=sicking,sr=jst. r=mrbkap, sr=jst for the test. 2007-04-26 21:19:11 -07:00
enndeakin@sympatico.ca
7e98f6b0e7 Bug 371127, add a test for domstorage in chrome, r=sayrer 2007-04-26 08:35:57 -07:00
sayrer@gmail.com
60a57fa0e2 bug 375543. One last resource in the Makefile to fix bustage. 2007-04-23 22:25:13 -07:00
sayrer@gmail.com
add691fc93 bug 375543. alter Makefiles to prevent Windows bustage. 2007-04-23 21:41:41 -07:00
sayrer@gmail.com
fe7436e0d2 Add Prototype.js library unit tests. Hopefully the first of many AJAX test suites. Patch by John Resig <jresig@mozilla.com>. r=sayrer 2007-04-23 21:01:42 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00