Commit Graph

49 Commits

Author SHA1 Message Date
Olli Pettay
9283cd2a76 Bug 916879, remove SetterThrows from eventhandlers, r=emk 2013-09-17 14:01:28 +03:00
Bobby Holley
90c812b572 Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-06 09:12:56 -07:00
Boris Zbarsky
276a31d596 Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug 2013-07-22 08:15:43 -04:00
Ryan VanderMeulen
7c21303600 Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE. 2013-07-22 18:18:17 -04:00
Boris Zbarsky
38eb5bd229 Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug 2013-07-22 08:15:43 -04:00
Mina Almasry
c6c9679d1d Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz 2013-07-15 17:28:33 -04:00
Peter Van der Beken
343818a218 Bug 734503 - Add new DOM binding for TouchList; r=jst. 2013-07-10 11:53:53 +02:00
James Kitchener
a9a453c8d2 Bug 802895 - ns(I)document changes for iframe srcdoc implementation r=bz 2013-06-28 23:13:22 -04:00
Cameron McCormack
ff36f3c73d Bug 839103 - Part 6: Allow style sheet change event enabling to be controlled through a chrome-only attribute on Documents. r=bz 2013-05-16 17:13:35 +10:00
Boris Zbarsky
e335c1f797 Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey 2013-05-09 13:08:29 -04:00
Ryan VanderMeulen
9edc2f4aa0 Backed out 6 changesets (bug 868996, bug 867903, bug 869014, bug 870219, bug 861587) for PGO bustage.
CLOSED TREE
2013-05-09 17:11:59 -04:00
Boris Zbarsky
53db24c110 Bug 869014. Don't allow name collisions between external interfaces and other objects. r=khuey 2013-05-09 13:08:29 -04:00
Simon Montagu
30a9b6835f Fix document.dir getters and setters to (a) work and (b) conform to HTML5. Bug 151407, r=ehsan 2013-04-14 05:37:48 -07:00
David Zbarsky
f74bee9734 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
David Zbarsky
e6aa93ec28 Bug 852055 - Pass an EventTarget argument to Document.createTouch in WebIDL r=bz 2013-04-19 04:49:20 -04:00
Aryeh Gregor
329a95c725 Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz 2013-04-10 17:15:54 +03:00
Aryeh Gregor
337756f144 Bug 857102 part 4 - Make NS_NewCommentNode and nsIDocument::CreateCommentNode infallible; r=bz 2013-04-04 15:02:22 +03:00
Aryeh Gregor
5925b452a5 Bug 857102 part 2 - Make NS_NewTextNode and nsIDocument::CreateTextNode infallible; r=bz 2013-04-04 15:01:08 +03:00
Andrea Marchesini
3d17116fda Bug 851470 - Attr to WebIDL. r=Ms2ger 2013-04-09 17:29:47 +02:00
Trevor Saunders
585a307b78 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
97983b5f15 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
bcb6f556e0 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
William Chen
a9e43bd562 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Boris Zbarsky
8cfff048ee 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
c952e87e03 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
08d376c598 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
Boris Zbarsky
516de3340f Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Ryan VanderMeulen
b30facb288 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
Boris Zbarsky
b033377f9c Bug 842726. Kill off GetterShim and the classinfo support for chrome-only stuff on Document now that we can do that via WebIDL. r=peterv 2013-02-22 09:56:29 -05:00
Trevor Saunders
1b867cc29f bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Boris Zbarsky
fca783ab1c Bug 838691 part 5. Uncomment touch stuff on Document, since now it's controlled on a per-member basis, which is supported even for quickstubs. r=peterv 2013-02-19 11:54:41 -05:00
Boris Zbarsky
e55647f4f1 Bug 838691 part 3. Switch touch event handler attributes to using a function to check whether they're enabled. r=peterv 2013-02-19 11:54:41 -05:00
Boris Zbarsky
afda50b640 Bug 835417 part 2. Implement WebIDL parser and codegen support for marking things pure. r=peterv 2013-01-29 17:53:53 -05:00
Boris Zbarsky
527c8d1698 Bug 829072 part 2. Move the event handlers that are shared by HTMLElement and Document onto a NodeEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Boris Zbarsky
d1840b512d Bug 829072 part 1. Move the event handlers that are shared by HTMLElement, Document, and Window onto a GlobalEventHandlers interface that can be on the RHS of 'implements'. r=peterv 2013-01-29 08:44:00 -05:00
Bobby Holley
c865dc3ca6 Bug 833412 - Remove AddBinding/RemoveBinding and remove dead code. r=bz 2013-01-24 18:45:50 +01:00
Boris Zbarsky
8d0e59d7f2 Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey 2013-01-10 10:49:07 -05:00
Boris Zbarsky
8c90a7ce52 Bug 826703 part 4. Convert ProcessingInstruction to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Boris Zbarsky
6cc36c1682 Bug 826703 part 2. Convert CDATASection to WebIDL. r=peterv 2013-01-08 15:45:06 -05:00
Scott Johnson
9904b56d5f Bug 825499: Add caretPositionFromPoint to Document.webidl. [r=Ms2ger]
--HG--
rename : content/base/test/test_bug654352.html => content/base/test/test_caretPositionFromPoint.html
2013-01-07 11:56:48 -06:00
William Chen
f34fa488f4 Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Boris Zbarsky
d81fad890e Bug 824823 part 8. Convert nsTextNode to WebIDL. r=peterv 2013-01-04 12:02:14 -05:00
Boris Zbarsky
4bebfa7b67 Bug 824824. Add support for passing multiple touches as arguments to createTouchList. r=mbrubeck,peterv 2012-12-31 10:37:22 -08:00
Boris Zbarsky
a3b4bd9774 Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Boris Zbarsky
3a7914c772 Bug 816180. Convert DocumentFragment to WebIDL. r=peterv 2012-12-24 19:35:19 -08:00
Boris Zbarsky
b39b127157 Bug 816387 part 2. Hook up the Document WebIDL API to quickstubs. r=peterv 2012-12-23 14:34:22 -08:00
Boris Zbarsky
f267cd20a4 Bug 816387 part 1. Hook up the WebIDL bindings for Document. r=peterv 2012-12-23 14:33:33 -08:00
Boris Zbarsky
53a5112fb0 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Peter Van der Beken
ed510d3506 Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00