Commit Graph

1585 Commits

Author SHA1 Message Date
Andrea Marchesini
0bb228f8cc Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Boris Zbarsky
43f774459d Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -04:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
John Daggett
77f5e06d8f Bug 549861 - add missing files from reland patch. r=bustage 2013-05-20 12:47:32 +09:00
John Daggett
0eae803e8f Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
John Daggett
5b570d8745 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
Bobby Holley
9977596e52 Bug 860941 - Make dialogArguments default to |undefined| rather than |null|. r=jst
This is correct by my reading of the spec. Quoting:

The dialogArguments IDL attribute, on getting, must check whether its browsing
context's active document's origin is the same as the dialog arguments' origin.
If it is, then the browsing context's dialog arguments must be returned
unchanged. Otherwise, if the dialog arguments are an object, then the empty
string must be returned, and if the dialog arguments are not an object, then
the stringification of the dialog arguments must be returned.
2013-05-17 10:43:19 -07:00
Bobby Holley
cce2e96e58 Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.

The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.

This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.

The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-17 10:43:19 -07:00
Ed Morley
4521aa4875 Backed out changeset 0ad1a92ca568 (bug 860941) 2013-05-17 09:08:44 +01:00
Ed Morley
0a165f6339 Backed out changeset 90b318fb8375 (bug 860941) 2013-05-17 09:08:41 +01:00
Bobby Holley
f8a3b362a1 Bug 860941 - Make dialogArguments default to |undefined| rather than |null|. r=jst
This is correct by my reading of the spec. Quoting:

The dialogArguments IDL attribute, on getting, must check whether its browsing
context's active document's origin is the same as the dialog arguments' origin.
If it is, then the browsing context's dialog arguments must be returned
unchanged. Otherwise, if the dialog arguments are an object, then the empty
string must be returned, and if the dialog arguments are not an object, then
the stringification of the dialog arguments must be returned.
2013-05-16 23:33:14 -07:00
Bobby Holley
7b7f24f6d5 Bug 860941 - Separate the handling of |dialogArguments| and |arguments|, and use IDL for the |dialogArguments| getter. r=jst
This patch is bigger than I'd like it to be, but there are a lot of interlocked
dependencies and I eventually decided it was easier to just lump it together.

The semantics of |showModalDialog|/|window.dialogArguments| (an web-exposed
HTML5 feature) and |openDialog|/|window.arguments| (a XUL-proprietary feature)
are quite different. The former is essentially a security-checked JSVal, while
the latter gets converted into an array. We handled them together in the old
world, which led to a lot of confusion and muddled semantics. This patch
separates them.

This patch also eschews the roundabout resolve hook for dialogArguments in favor
of returning them directly from the XPIDL getter. This better matches the
behavior in the spec, especially because it allows dialogArguments to live on
the outer as they're supposed to, rather than the first inner that happens to
end up in the docshell. All in all, this should make this all very
straightforward to convert WebIDL when the time comes.

The current spec on the origin checks here is pretty fictional, so I've filed
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21932 to fix it. This patch
should more or less preserve the current security behavior.
2013-05-16 23:33:14 -07:00
Andrea Marchesini
5feea46ee3 Bug 853386 - Remove nsIDOMSVGRect and classinfo for SVGRect. r=Ms2ger 2013-05-09 13:42:12 -04:00
Andrea Marchesini
da5e259b0e Bug 866796 - Convert SVGAnimatedRect to WebIDL. r=Ms2ger 2013-05-09 13:42:12 -04:00
L. David Baron
acfaf1bdda Bug 868751: Remove support for obsolete document.createEvent("AnimationEvent"), document.createEvent("TransitionEvent"), AnimationEvent.initAnimationEvent, and TransitionEvent.initTransitionEvent. r=smaug 2013-05-08 13:45:35 -07:00
Colby Russell
1b1dd2fcc3 Bug 861495 - Part 1: Add nsIWindowMediator.getOuterWindowWithId and warn on nsIDOMWindowUtils.getOuterWindowWithId use. r=bz 2013-05-07 12:34:20 -04:00
Olli Pettay
5c7b9fa539 Bug 848293 - Update AnimationEvent to be compatible with the spec, r=dbaron
--HG--
extra : rebase_source : 04f2cb9c5aa56549da0af3c722b35f3dab5746c3
2013-05-05 16:22:29 +03:00
Olli Pettay
cbb79393f6 Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron 2013-05-04 17:41:20 +03:00
Phil Ringnalda
1aef9755fb Merge Birch and m-c 2013-05-03 19:38:56 -07:00
Gregory Szorc
522764dec4 Bug 863069 - Part 1: Sort lists in moz.build files; r=mshal 2013-05-03 09:54:45 -07:00
Yoshi Huang
4119128067 Bug 847741 - Part 1: Remove getSimContacts from ContactManager. r=gwagner. sr=mounir 2013-03-06 10:22:26 +08:00
Boris Zbarsky
91afbd4476 Bug 742206 part 4. Start using the new Date stuff for HTMLInputElement.valueAsDate. r=smaug 2013-05-02 14:38:20 -04:00
Ryan VanderMeulen
5b207a88f1 Merge m-c to inbound. 2013-05-16 20:30:29 -04:00
Ryan VanderMeulen
c87dc8562f Merge m-c to birch. 2013-05-16 16:18:21 -04:00
Dave Hylands
70ed43e46c Bug 872170 - Fix camera file saving with composite device storage. r=mikeh 2013-05-16 11:12:29 -07:00
Gregory Szorc
cda3054fe8 Bug 863069 - Part 4: Reorder lists to be alphabetical; r=ted
--HG--
extra : rebase_source : 87ed9d862bc32824d518438b0be74b47a77c198a
2013-05-16 15:37:18 -07:00
Ryan VanderMeulen
06809c83ef Merge m-c to birch. 2013-05-14 16:25:48 -04:00
Fabrice Desré
d97443504d Bug 852848 - Add support for app-specific redirections r=bz,ferjm 2013-05-14 12:00:09 -07:00
Ryan VanderMeulen
4038e4710f Merge m-c to inbound. 2013-05-13 12:02:04 -04:00
Masatoshi Kimura
de5b4fd388 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Dave Hylands
c53a4e7f72 Bug 858416 - Create a composite device storage interface. r=dougt
* * *
Bug 858416 - Fix try test failures
2013-05-11 02:10:18 -07:00
Ryan VanderMeulen
bc36900668 Backed out changeset dbf0c9f4a4b9 (bug 858416) for B2G mochitest-3 failures. 2013-05-11 09:47:37 -04:00
Dave Hylands
a1b72bb10c Bug 858416 - Create a composite device storage interface. r=dougt 2013-05-11 02:10:18 -07:00
Cameron McCormack
f5a84d4c82 Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
f72487c6d0 Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
2d7305fa0a Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Ryan VanderMeulen
79ecc61ccd Merge the last PGO-green inbound changeset to m-c. 2013-04-30 21:49:23 -04:00
Andrea Marchesini
7968f36851 Bug 866679 - Convert DOMSVGZoomEvent to WebIDL. r=Ms2ger 2013-04-30 13:43:25 -04:00
Ryan VanderMeulen
074c62ae8d Merge m-c to inbound. 2013-04-30 08:09:43 -04:00
Ryan VanderMeulen
0acaef916d Merge m-c to birch. 2013-04-29 21:22:24 -04:00
Ryan VanderMeulen
0050771e43 Merge m-c to inbound. 2013-04-29 13:09:28 -04:00
Andrea Marchesini
a16c235c84 Bug 844462 - Update the nsIDOMMozBrowserFrame.mozbrowser docs to reflect the fact that mozbrowser is not exposed on HTMLFrameElement; r=ehsan
DONTBUILD since it's a comment only change.
2013-04-29 12:53:38 -04:00
Reuben Morais
a07ac0a77a Bug 860559 - Add pref field to ContactField and ContactAddress. r=gwagner sr=mounir
--HG--
extra : rebase_source : 098d9071232058bdf4a0f9547398eca9c4303106
2013-04-27 08:28:53 -07:00
Reuben Morais
bab0a99a2b Bug 864556 - Expose database revision in Contacts API. r=gwagner sr=mounir
--HG--
extra : rebase_source : b36e856f9fd85155096f88cb0c8ad41038052a25
2013-04-25 10:15:47 -07:00
David Zbarsky
7a28fe1f0b Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
842496f8c2 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
Ms2ger
36946ecd83 Bug 864166 - Part a: Handle window.alert(null) in the binding layer; r=mounir 2013-04-26 08:50:02 +02:00
Ms2ger
6739364f0a Bug 864145 - Cleanup nsDOMTouchEvent's TouchList getters; r=smaug 2013-04-26 08:48:00 +02:00
Ryan VanderMeulen
e4aa6e2ced Bug 861605 - Rev uuids. r=Ms2ger 2013-04-29 09:33:06 -04:00
Andrea Marchesini
ca92e02d67 Bug 861605 - Make the arguments to Window.alert, Window.confirm optional. r=Ms2ger 2013-04-29 08:32:01 -04:00
Boris Zbarsky
d22f45504a Bug 704063. Add an unprefixed version of requestAnimationFrame. r=roc, sr=smaug 2013-04-25 11:13:21 -04:00
Masayuki Nakano
adac26ba1f Bug 842927 part.1 Implement D3E KeyboardEvent.key r=smaug, sr=smaug 2013-04-24 12:49:46 +09:00
Antonio M. Amaya
a7269d0ea8 Bug 814136 - Part 2: Changes on the package installation code to check that a version number and package identifier are provided for signed apps. r=bsmith, r=fabrice 2013-01-25 10:57:14 +01:00
Brandon Waterloo
2bd5581bfd Bug 863841 - Implement recognition of double-tap gestures with smartMagnifyWithEvent (Mountain Lion and up), and magnifyWithEvent (Lion). r=smichaud, r=masayuki
On 10.6 SDK, it was necessary to change nsCocoaWindow.mm/h in order to make it call magnifyWithEvent for double-tap gestures properly.
2013-04-29 11:24:26 -04:00
Steven Michaud
98ce0c16a8 Bug 851128 - Backout patch because it caused bug 862417 and bug 864053. r=bgirard 2013-04-22 16:41:50 -05:00
David Zbarsky
a37e4f4223 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
Ms2ger
93a0f1af78 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
324337bb0f Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug 2013-04-21 08:42:00 +02:00
David Zbarsky
e53f8be330 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
617294231c Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Boris Zbarsky
04924966b8 Bug 862917. Remove the non-standard window.defaultStatus. r=smaug,gavin 2013-04-19 23:03:02 -04:00
Honza Bambas
f29df2e52f Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Ms2ger
b3380bd0d9 Bug 856629 - Part b: Implement ChildNode.remove(); r=bz 2013-04-13 09:08:47 +02:00
Ms2ger
096dddd2e4 Bug 826740 - Part d: Use implicit_jscontext to simplify nsIDOMHTMLCanvasElement.getContext; r=khuey 2013-04-13 09:05:33 +02:00
Ms2ger
a0616a7d2a Bug 826740 - Part c: Pass a JS::Value instead of an nsIVariant to nsIDOMHTMLCanvasElement.toDataURL; r=khuey 2013-04-13 09:05:22 +02:00
Ms2ger
bd2685689e Bug 826740 - Part b: Remove unused arguments from nsIDOMHTMLCanvasElement; r=khuey 2013-04-13 09:04:53 +02:00
Ms2ger
c4090d9585 Bug 858211 - Use more webidl features for HTMLAudioElement; r=bz 2013-04-13 08:59:30 +02:00
Guilherme Gonçalves
60b4bd6ca2 Bug 850442 - Part 4 - Make nsIDOMGeoGeolocation non-scriptable. r=bz 2013-04-12 13:01:29 -07:00
Guilherme Gonçalves
bc55011071 Bug 850442 - Part 3 - Convert callbacks, Geolocation and Position. r=bz 2013-04-12 13:01:29 -07:00
Reuben Morais
8ff4cab9e0 Bug 856042 - Tighten up sanitization of arguments to the Contacts API. r=bz r=gwagner 2013-04-05 12:22:00 -07:00
Reuben Morais
8f6efd9315 Bug 856358 - Remove ContactProperties types from window. r=gwagner
--HG--
rename : dom/interfaces/contacts/nsIDOMContactProperties.idl => dom/interfaces/contacts/nsIContactProperties.idl
2013-04-10 16:09:10 -07:00
Guilherme de Araujo ext:(%2C%20Brandon%20Waterloo%20%3Cbrandon.waterloo%40gmail.com%3E)
9b3c9bf246 Bug 851128 - Introduce custom recognition for the double-tap gesture. r=smichaud
Cocoa does not implement the double-tap gesture by default, so the gesture had to be recognized manually.
2013-04-10 14:38:26 -04:00
Ryan VanderMeulen
60dbee1a3e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Ryan VanderMeulen
4ee5d0b139 Backed out changeset 5e573a8f7ce1 (bug 856358) for bustage on a CLOSED TREE.
--HG--
rename : dom/interfaces/contacts/nsIContactProperties.idl => dom/interfaces/contacts/nsIDOMContactProperties.idl
2013-04-11 15:48:38 -04:00
Reuben Morais
211e11853d Bug 856358 - Remove ContactProperties types from window. r=gwagner
--HG--
rename : dom/interfaces/contacts/nsIDOMContactProperties.idl => dom/interfaces/contacts/nsIContactProperties.idl
extra : rebase_source : 3581687c7285ed8e9c653d1d71f2b60837708679
2013-04-10 16:09:10 -07:00
Ms2ger
b8470e21af bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Honza Bambas
26d97547b7 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Ted Mielczarek
a2a18ddfeb Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage. 2013-04-11 09:23:14 -04:00
Ms2ger
48e1538b4a bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug 2013-04-09 08:43:25 -04:00
Andrea Marchesini
c6c2308a42 Bug 858893 - Port DesktopNotification to WebIDL. r=Ms2ger 2013-04-10 10:20:43 -04:00
Bas Schouten
839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Stephen Pohl
0cd77e174b Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
Gavin Sharp
96ec4237c9 Bug 691647 Part 1: clean up nsISidebar interface by removing the non-standard addPersistentPanel/addPanel methods, and adjusting method arguments to avoid the use of string/wstring. r=jst, sr=sicking
--HG--
extra : rebase_source : f8214c757d49f433c37563e9ceed86e81f25eb1e
2013-04-08 19:22:48 -07:00
David Zbarsky
3febe3b914 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
Drew Willcoxon
4a9fc1a0fe Bug 858192 - Correct error in nsIContentPrefService2 documentation about callbacks and observers. r=mak 2013-04-05 12:24:11 -07:00
Eitan Isaacson
d1abd880d7 Bug 858136 - Rename nsIDOMSpeechSynthesisGetter as nsISpeechSynthesisGetter. r=smaug
--HG--
rename : dom/interfaces/base/nsIDOMSpeechSynthesisGetter.idl => dom/interfaces/base/nsISpeechSynthesisGetter.idl
2013-04-04 15:12:34 -07:00
Eitan Isaacson
998738aff3 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Nathan Froyd
91e7c9d346 Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Andrea Marchesini
66a7bbac51 Bug 857549 - Remove nsIDOMDOMLocator.idl. r=Ms2ger 2013-04-03 11:58:31 -04:00
Dave Hylands
1c497c8b8c Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Matt Brubeck
b83706b89d Back out bug 839103 for build errors on a CLOSED TREE 2013-04-02 08:18:27 -07:00
Nathan Froyd
c5c2e7a70e Bug 839103 - part 3 - send StyleSheet{Added,Removed} chrome notifications when stylesheets are added/removed; r=bz 2013-03-27 14:16:50 -04:00
Boris Zbarsky
2cb912c299 Bug 856752. Reinstate Node.hasAttributes. r=khuey 2013-04-02 00:04:19 -04:00
Andrew Quartey
1517b703db Bug 742537 - Remove HTMLMediaElement.initialTime attribute. r=cpearce,doublec 2013-04-01 20:38:54 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Jan Varga
f6d1ba4c72 Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
Ms2ger
e5c6be8742 Bug 853158 - Update the uuid of nsIDOMEventTarget and subclasses. 2013-03-30 10:45:37 +01:00
Drew Willcoxon
6d412106aa Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00