Commit Graph

137 Commits

Author SHA1 Message Date
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