Commit Graph

193 Commits

Author SHA1 Message Date
Trevor Saunders
2bffe03733 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
31d866ff72 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Ms2ger
a75666050c Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
933d9c7a9b Bug 802560 - Handle the second argument to DOMImplementation.createDocument correctly; r=bz 2013-03-10 08:58:42 +01:00
Olli Pettay
8f72caeb73 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Boris Zbarsky
615c1738c3 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ryan VanderMeulen
238b010bd5 Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
24d39ed923 Bug 776536 part 4. Turn on WebIDL bindings for NodeIterator and TreeWalker. r=peterv
The behavior here is a bit weird because Document is still not a
WebIDL object, so calling createNodeIterator or createTreeWalker via
an Xray will call the XPCOM versions of those methods.  That means
that I can't just disable XPCOM-based wrapping for TreeWalker and
NodeIterator altogether, unfortunately, which means a web page could
try stashing a TreeWalker in something like userdata and then getting
it back and end up wrapping it as an XPCOM object the second time.

I could "fix" that by adding a wrapper cache and whatnot, I guess, if
desired...  But the problem will go away once we convert Document in
any case.
2013-02-28 12:56:42 -05:00
Ms2ger
27b1511473 Bug 784841 - Part 18j: Convert dom/imptests with parseFailures.py output; rs=gps 2013-02-25 12:47:19 -08:00
Ms2ger
9d41654174 Bug 784841 - Part 18i: Convert dom/imptests with importTestsuite.py output; rs=gps 2013-02-25 12:47:19 -08:00
Gregory Szorc
c0f7a6b9ad Bug 784841 - Part 15: Produce moz.build files for dom imported tests; r=Ms2ger
--HG--
rename : dom/imptests/writeMakefile.py => dom/imptests/writeBuildFiles.py
2013-02-25 12:46:50 -08:00
David Humphrey (:humph)
88eee16b7a Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen 2013-02-22 10:07:42 -05:00
Ryan VanderMeulen
486f369f1f Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-22 15:30:06 -05:00
Ryan VanderMeulen
1b1d4736df Merge m-c to inbound. 2013-02-22 12:45:21 -05:00
Gregory Szorc
dedf8506c0 Bug 784841 - Part 14: Use 4-space indent on Python scripts in dom/imptests; rs=Ms2ger 2013-02-21 10:56:48 -08:00
David Humphrey (:humph)
51cb2d6252 Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen 2013-02-22 10:07:42 -05:00
Trevor Saunders
0900a6537c bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Ms2ger
5a60c5bfc1 Bug 838088 - Update html tests; rs=mounir
--HG--
rename : dom/imptests/failures/html/tests/submission/Opera/microdata/Makefile.in => dom/imptests/failures/html/old-tests/submission/Opera/microdata/Makefile.in
rename : dom/imptests/failures/html/tests/submission/Opera/microdata/test_001.html.json => dom/imptests/failures/html/old-tests/submission/Opera/microdata/test_001.html.json
rename : dom/imptests/html/tests/submission/Mozilla/test_pageload-image.html => dom/imptests/html/html/browsers/browsing-the-web/read-media/test_pageload-image.html
rename : dom/imptests/html/tests/submission/Mozilla/test_pageload-video.html => dom/imptests/html/html/browsers/browsing-the-web/read-media/test_pageload-video.html
rename : dom/imptests/html/tests/submission/Mozilla/test_script-for-onload.html => dom/imptests/html/html/semantics/scripting-1/the-script-element/test_script-for-onload.html
rename : dom/imptests/html/tests/submission/Mozilla/test_body-onload.html => dom/imptests/html/html/webappapis/scripting/events/test_body-onload.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-parse-error.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-parse-error.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-runtime-error-throw.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error-throw.html
rename : dom/imptests/html/tests/submission/Mozilla/test_window-onerror-runtime-error.html => dom/imptests/html/html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error.html
rename : dom/imptests/html/tests/submission/Opera/microdata/Makefile.in => dom/imptests/html/old-tests/submission/Opera/microdata/Makefile.in
rename : dom/imptests/html/tests/submission/Opera/microdata/test_001.html => dom/imptests/html/old-tests/submission/Opera/microdata/test_001.html
2013-02-12 10:54:30 +01:00
Ms2ger
11a7b6f347 No bug - Remove windows line endings from Opera's microdata test in preparation for an update. 2013-02-12 10:53:21 +01:00
Alexandre Poirot
a665cb3ea1 Bug 821695 - Do not load videocontrols.xml if the audio/video tag does not need it. r=roc
--HG--
extra : rebase_source : 567194ec6ee1862af1d7988aa9a0c3b50f07788a
2013-02-01 08:47:55 -05:00
Jet Villegas
4277332c32 Bug 812638: Add new known font size test failures. r=ehsan 2013-02-06 16:48:37 -08:00
Boris Zbarsky
ebdd009711 Bug 838518 part 2. Fix nodeiterator callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Boris Zbarsky
d71214e1ed Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Boris Zbarsky
42d12beb79 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
Boris Zbarsky
cf7864a07b Bug 826703 part 4. Convert ProcessingInstruction to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Boris Zbarsky
bcaadc54fb Bug 824823 part 9. Convert Comment to WebIDL. r=peterv 2013-01-04 12:02:14 -05:00
Boris Zbarsky
983645df38 Bug 824823 part 8. Convert nsTextNode to WebIDL. r=peterv 2013-01-04 12:02:14 -05:00
Boris Zbarsky
f1eff3b63b Bug 824823 part 7. Implement WebIDL CharacterData API on nsGenericDOMDataNode. r=peterv 2013-01-04 12:02:14 -05:00
David Zbarsky
e4c797e0ed Bug 824603 Part 1: Enable binding for DocumentType r=bz 2012-12-28 20:34:02 -05:00
Boris Zbarsky
ab0dbf07d1 Bug 816180. Convert DocumentFragment to WebIDL. r=peterv 2012-12-24 19:35:19 -08:00
Boris Zbarsky
ab90afd3d9 Bug 816387 followup. Remove more todo stuff from tests now that we made it work. r=bustage 2012-12-23 15:48:20 -08:00
Boris Zbarsky
df1030e8d7 Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv 2012-12-23 14:34:22 -08:00
Boris Zbarsky
b3efacb80d Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv 2012-12-23 14:33:33 -08:00
Ms2ger
519fc6202b Merge PGO-green changeset from inbound to m-c. 2012-12-22 12:06:37 +01:00
Ms2ger
80914b261f Bug 793151 - Change the length property of a WebIDL method to the mimimum number of arguments, instead of the maximum; r=bz 2012-12-22 09:04:17 +01:00
Olli Pettay
04a744cce4 Bug 790978 - Convert MutationObserver to webidl, r=bz
--HG--
extra : rebase_source : 86b4120ef1f3bedc6554761af715de8413f01343
2012-12-18 16:50:52 +02:00
Peter Van der Beken
09bb1c4675 Fix for bug 821606 (Turn on WebIDL bindings for Element and HTMLElement). r=bz.
--HG--
extra : rebase_source : f85002d801871a3a99c1b8bc121509ae87d2f665
2012-11-22 12:09:57 +01:00
Ms2ger
d43148f01f Bug 816056 - bug 817288 - bug 817980 - bug 820847 - bug 822037 - Disable tests due to too many timeouts. 2012-12-15 22:26:47 +01:00
Boris Zbarsky
b3a1d6f000 Bug 816375. Switch NodeFilter to WebIDL bindings. r=peterv 2012-12-14 14:10:49 -05:00
Ms2ger
0423afe5fe Bug 776539 - Move FormData to Paris bindings; r=bz 2012-12-11 19:09:56 +01:00
Peter Van der Beken
651e0b5988 Fix for bug 817420 (new bindings api for element broke cloud9/apf) - don't register Element prototype yet, we need to convert plain elements to the new DOM binding first. r=bz. 2012-12-03 15:26:44 +01:00
Ms2ger
d548f0aac7 Bug 816103 - Part b: Update webapps tests; r=bz 2012-12-02 09:52:36 +01:00
Ms2ger
3190e0b923 Bug 816103 - Part a: Handle encodings explicitly in parseFailures.py; r=jhammel 2012-12-02 09:52:18 +01:00
Peter Van der Beken
567c46a640 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz. 2012-11-22 12:09:43 +01:00
Ed Morley
e19c72f00c Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE 2012-11-29 11:17:11 +00:00
Peter Van der Beken
f19a710259 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Ehsan Akhgari
69c983597a Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Peter Van der Beken
d376ba5130 Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Ms2ger
bc72302163 Bug 814777 - Try to fix timeout handling for testharness.js tests; r=jgraham 2012-11-24 20:05:37 +01:00
Peter Van der Beken
b045a6d2b2 Fix for bug 812333 (Replace Node quickstubs with new binding methods) - part 2: install Node's binding methods on the XPConnect proto. r=bz. 2012-11-22 12:09:41 +01:00
Mats Palmgren
02f2e08262 Bug 803924 - Crash with range, splitText. r=smaug 2012-11-20 21:14:15 +01:00
Ms2ger
df39365066 Bug 811068 - Copy ^headers^ file in importTestsuite.py; r=jhammel (DONTBUILD) 2012-11-12 23:20:19 +01:00
Ms2ger
487715ed83 No bug - Add a step I forgot to dom/imptests/README. DONTBUILD 2012-11-12 21:39:10 +01:00
Boris Zbarsky
892b323c34 Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger 2012-11-05 11:58:03 -05:00
Ms2ger
8322ba7e54 Bug 804005 - Update dom/imptests python to be py3k-compatible; r=jhammel 2012-11-04 09:00:06 +01:00
Aryeh Gregor
b45ac130db Bug 801425 - Make hasFeature() and isSupported() always return true for non-SVG features; r=bz 2012-10-15 13:59:38 +02:00
Boris Zbarsky
48f9a54684 Bug 798151. Support stringifier operations (but not yet attributes!) on non-proxy bindings, and fix Object.prototype.toString for proxy bindings. r=peterv 2012-10-22 13:08:52 -04:00
Ms2ger
3accfeaf06 Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz 2012-10-21 09:38:41 +02:00
Trevor Saunders
6c294d1802 Bug 742191 - Part d: Throw TypeErrors for Paris binding exceptions; r=bz 2012-10-16 14:06:10 -04:00
Ryan VanderMeulen
1598bd50f0 Merge inbound to m-c. 2012-10-14 16:39:23 -04:00
Ms2ger
ad5b756360 Bug 742191 - Part c: Update testharness.js and friends some more; r=Aryeh 2012-10-14 09:48:14 +02:00
Ms2ger
fdc6b5d2e7 Bug 742191 - Part b: Update testharness.js and friends; r=Aryeh 2012-10-14 09:46:57 +02:00
Ms2ger
95d93e21be Bug 742191 - Part a: Regenerate expected failures; r=Aryeh 2012-10-14 09:46:53 +02:00
Ms2ger
2055f6e4fa Bug 742191 - Part 0: Fix the editing/ special case in parseFailures.py to actually work; r=Aryeh 2012-10-14 09:46:46 +02:00
Aryeh Gregor
0159561890 Bug 799905 - .URL and .compatMode should be defined on Document, not HTMLDocument; r=bz 2012-10-11 14:48:31 +02:00
Peter Van der Beken
b5b5988316 Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Ms2ger
25d9fb725b No bug - Fix stupid bug because I don't know Python; hat-tip=tbsaunde (NPOTB, DONTBUILD) 2012-09-30 21:24:25 +02:00
Ms2ger
38f9926cde No bug - Remove some dead code from importTestsuite.py. (NPOTB, DONTBUILD) 2012-09-30 09:53:39 +02:00
Ms2ger
8ebabf48bc Bug 794891 - Format known-failures JSON files according to local conventions for now. (NPOTB, DONTBUILD) 2012-09-30 09:52:06 +02:00
Aryeh Gregor
ce628824b1 Bug 794891 - Don't reorder expected failures in parseFailures.py; r=Ms2ger 2012-09-28 12:25:35 +02:00
Aryeh Gregor
b1198b8031 Bug 787432 - Don't strip existing empty wrappers when inserting text; r=ehsan 2012-09-27 14:39:39 +02:00
Ryan VanderMeulen
a76e94c127 Backout bug 792215 for suspected Windows m-oth leaks.
CLOSED TREE
2012-09-25 22:40:56 -04:00
Kannan Vijayan
07bdefab0b Bug 792215 part 2. Convert old proxy bindings to JSNative getters and setters. r=peterv,ejpbruel 2012-09-25 14:44:40 -04:00
Peter Van der Beken
d21c8a19b6 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Ms2ger
7e83e5dc1f Bug 782651 - Get importTestsuite.py working again; r=jhammel
--HG--
rename : dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_Range-intersectsNode.html => dom/imptests/webapps/DOMCore/tests/submissions/Ms2ger/test_Range-intersectsNode-binding.html
2012-09-06 09:14:48 +02:00
Mike Hommey
d6149f7d5f Bug 780457 - Adapt importTestsuite.py to changes from bug 774032. r=Ms2ger 2012-08-07 09:30:04 +02:00
Ms2ger
98e86f287a Bug 600111 - Throw the correct exceptions in XMLHttpRequest.setRequestHeader(); r=sicking 2012-08-04 09:44:01 +02:00
Ms2ger
22b67e1f96 Bug 714279 - range.compareBoundaryPoints should throw NOT_SUPPORTED_ERR when called with an invalid 'how' argument; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
b2e7e838fd Bug 774705 - Part b: Throw a TypeError when trying to construct an interface without a constructor; r=bz 2012-08-04 09:44:00 +02:00
Ms2ger
72d96ac7e7 Bug 774705 - Part a: Update /resources. 2012-08-04 09:43:59 +02:00
Ms2ger
09f8cdd61a Bug 771934 - Throw NOT_FOUND_ERR instead of HIERARCHY_REQUEST_ERR from nsINode::RemoveChild; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
47cc33d531 Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Ms2ger
87558e3d09 Bug 771932 - Import some more DOM4 tests; r=sicking 2012-08-04 09:43:59 +02:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
e4f17021c9 Bug 600111 - Throw the correct exceptions in XMLHttpRequest.setRequestHeader(); r=sicking 2012-08-04 09:44:01 +02:00
Ms2ger
596febcbe1 Bug 714279 - range.compareBoundaryPoints should throw NOT_SUPPORTED_ERR when called with an invalid 'how' argument; r=smaug 2012-08-04 09:44:00 +02:00
Ms2ger
e8f42a2d03 Bug 774705 - Part b: Throw a TypeError when trying to construct an interface without a constructor; r=bz 2012-08-04 09:44:00 +02:00
Ms2ger
3a16363144 Bug 774705 - Part a: Update /resources. 2012-08-04 09:43:59 +02:00
Ms2ger
5c5ea9ab03 Bug 771934 - Throw NOT_FOUND_ERR instead of HIERARCHY_REQUEST_ERR from nsINode::RemoveChild; r=bz 2012-08-04 09:43:59 +02:00
Ms2ger
a09f691532 Bug 768310 - Don't throw from Event.initEvent if it's called during event dispatch; r=smaug 2012-08-04 09:43:59 +02:00
Ms2ger
c0a858d76f Bug 771932 - Import some more DOM4 tests; r=sicking 2012-08-04 09:43:59 +02:00
Aryeh Gregor
15948adb1f Bug 291789 part 3 - Try not to ever delete across table boundaries; r=ehsan 2012-07-27 17:03:28 +03:00
Benjamin Peterson
22a7b2002f Bug 761723 - Save script sources to implement Function.prototype.toString. r=jorendorff,njn,jimb,jst,Ms2ger
--HG--
extra : rebase_source : de1b55647780a30f98fe84d29ee3cb4a437a3ece
2012-07-20 20:17:38 +02:00
Nathan Froyd
d78fb899e9 Bug 772202 - fix writeMakefile.py to conform to new mochitest world order; r=Ms2ger 2012-07-09 16:35:49 -04:00
Ms2ger
8e6fe375ab Bug 579638 - Reinstate Range.intersectsNode; r=smaug 2012-07-18 12:36:08 +02:00
Ms2ger
d900ce7ddd Bug 765464 - Part c: Throw some TypeErrors; r=khuey 2012-07-18 12:36:08 +02:00
Ms2ger
c945778dd4 No bug - Also log the number of elided messages when finishing the test. 2012-07-18 12:36:08 +02:00
Ms2ger
a02dd9c733 No bug - Add an extra message when TestRunner.js calls timeout. 2012-07-18 12:36:08 +02:00