Граф коммитов

135 Коммитов

Автор SHA1 Сообщение Дата
Hiroyuki Ikezoe df09492fe4 Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug 2016-01-06 14:21:00 -05:00
Michael Layzell 316de91dc0 Bug 1231193 - Restore the onselectionchange property to the document object, r=ehsan 2015-12-10 11:48:05 -05:00
Gijs Kruitbosch 8e06164f35 Bug 636905 - part 1: add a flag that tracks whether the user has interacted with a given document, r=smaug
--HG--
extra : commitid : ACnhGw56lMO
extra : rebase_source : 31c54c568da52ff724f11a9b7c0e833095171ae5
2015-09-26 14:54:29 +01:00
Masatoshi Kimura fce903a0f0 Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz 2015-09-23 09:32:29 +09:00
Michael Layzell fc03111ce2 Bug 1196479 - Fire selectstart and selectionchange events on the input node when the selection in that editor changes. r=ehsan 2015-09-12 17:56:46 -04:00
Michael Layzell fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Martin Thomson 86f8c5c0cb Bug 1153294 - Exposing Document.documentLoadGroup to Chrome JS, r=sicking 2015-04-15 14:19:21 -07:00
Brian Birtles 6b5fcefb36 Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.

--HG--
rename : dom/animation/AnimationTimeline.cpp => dom/animation/DocumentTimeline.cpp
rename : dom/animation/AnimationTimeline.h => dom/animation/DocumentTimeline.h
rename : dom/animation/test/animation-timeline/test_animation-timeline.html => dom/animation/test/document-timeline/test_document-timeline.html
rename : dom/animation/test/animation-timeline/test_request_animation_frame.html => dom/animation/test/document-timeline/test_request_animation_frame.html
2015-04-10 10:34:22 +09:00
Alex Verstak d0c9d91dc1 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Ryan VanderMeulen b83ba6b825 Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Deian Stefan 88942a6436 Bug 671389 - Part 2: Export document sandbox flags to chrome JS r=smaug 2015-02-03 23:45:00 +01:00
Brian Birtles 6199ac3d6e Bug 1112422 - Turn on the Web Animations API by default for chrome callers; r=bz 2015-01-08 13:53:24 +09:00
Patrick Brosset 159aa067df Bug 1020244 - Ability to insert AnonymousContent nodes in the canvasFrame via a chrome-only Document API; r=smaug; r=roc; r=ehsan 2014-10-28 11:15:25 +01:00
Cameron McCormack 8c4dd6fb24 Bug 1028497 - Part 2: Add Web IDL interfaces for CSS Font Loading API. r=bzbarsky 2014-10-02 12:32:05 +10:00
Boris Zbarsky 6c258577ab Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey 2014-09-24 09:11:29 -04:00
William Chen 9ffebc939f Bug 1000199 - Enable web components for certified apps. r=gabor,smaug 2014-07-07 19:02:03 -07:00
Brian Birtles 248c1facd0 Bug 998246 part 3 - Add timeline member to Document interface; r=bz 2014-05-13 16:22:12 +09:00
Ms2ger f63e8cd248 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-12 10:18:54 +02:00
Ed Morley 18e2a8f432 Backed out changeset 02d0214c5e37 (bug 738196) 2014-04-10 15:47:57 +01:00
Ms2ger 165fd8f857 Bug 738196 - Part b: move StyleSheetList to WebIDL; r=bz 2014-04-10 13:24:26 +02:00
William Chen d361199fce Bug 983282 - Enable web components custom element for certified apps. r=sicking 2014-03-18 18:20:06 -07:00
William Chen e78ac9ead3 Bug 856140 - Sync our document.registerElement implementation to the current version of the spec. r=mrbkap 2014-02-23 13:01:26 -08:00
Boris Zbarsky b4b3e1de20 Bug 966710. Flag document.getElementsByTagNameNS as being able to throw, since it can. r=smaug 2014-02-03 11:03:54 -05:00
Andrea Marchesini 0c4368fac6 Bug 962626 - Browser API: mozmetachanged triggered when a meta element is added to the dom., r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_Iconchange.html => dom/browser-element/mochitest/test_browserElement_inproc_Metachange.html
rename : dom/browser-element/mochitest/test_browserElement_oop_Iconchange.html => dom/browser-element/mochitest/test_browserElement_oop_Metachange.html
2014-01-30 09:31:34 -08:00
Boris Zbarsky c388b489bd Bug 937461. Make cloneNode/importNode "deep" arg default to false, since the spec changed on us. r=sicking 2013-12-20 14:28:17 -05:00
Trevor Saunders 0c6e1524c9 bug 946946 - add Document.docShell r=bz 2013-12-05 16:28:21 -05:00
Boris Zbarsky 4ffa18ba5a Bug 938355 part 2. Relax the restriction on [Pure] not mixing with [Throws] and annotate some more things as [Pure]. r=peterv 2013-12-02 09:50:34 -05:00
Boris Zbarsky e4913a06ef Bug 938294 part 4. Add more [Pure] annotations on Node/Element/Document. r=peterv 2013-11-25 20:59:39 -05:00
Jared Wein 6a0deca9e6 Bug 704326 - Standalone audio files should have different style so they don't look awkward. r=smaug,dolske 2013-10-28 13:27:53 -04:00
Boris Zbarsky 20b04d6057 Bug 882541 part 4. Treat undefined as missing for optional WebIDL arguments. r=khuey,ms2ger 2013-10-11 12:28:24 -04:00
Peter Van der Beken 20d1345d89 Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
--HG--
extra : rebase_source : 9cfba32241add4c79d67fb0323178228b00bf631
2013-10-08 17:51:15 +02:00
Peter Van der Beken 70d1256549 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 80791f28acbf8e2cc21946b0d62bb8555b53fc99
2013-09-30 18:32:22 +02:00
Ed Morley ef2d7c5fe8 Backed out changeset 64a19bc0e198 (bug 922159) for compilation failures on a CLOSED TREE 2013-10-23 15:51:48 +01:00
Ed Morley 80176a649f Backed out changeset dddecb33b337 (bug 922160) 2013-10-23 15:51:18 +01:00
Peter Van der Beken bb44a6154b Bug 922160 - Bring EventHandler.webidl more in line with the spec, remove NodeEventHandlers. r=bz.
--HG--
extra : rebase_source : f43383fb1447174ef8f791240ddfe27052ef0aa3
2013-10-08 17:51:15 +02:00
Peter Van der Beken 538eed5d23 Bug 922159 - Rename Creator WebIDL extended attribute to NewObject. r=bz.
--HG--
extra : rebase_source : 2c09c54f42a111d27b0d57346ca7d80f440eca09
2013-09-30 18:32:22 +02:00
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