Commit Graph

1326 Commits

Author SHA1 Message Date
Masatoshi Kimura
0c190ee3ec Bug 871786 - Remove KeyboardEvent classinfo. r=smaug 2013-05-19 10:28:48 +09:00
Andrea Marchesini
0bb228f8cc Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04: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
Jan-Ivar Bruaroey
98794b08f6 Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup 2013-05-07 20:55:21 -04:00
Ed Morley
4521aa4875 Backed out changeset 0ad1a92ca568 (bug 860941) 2013-05-17 09:08:44 +01: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
David Zbarsky
680b9b7951 Bug 871189 - Remove Document classinfo r=bz 2013-05-16 11:06:21 -07:00
David Zbarsky
8e335194cb Backed out changeset 3b73e9c7a5d0 for orange 2013-05-14 01:00:11 -07:00
David Zbarsky
90f74823e7 Bug 868312 - Rooting fixes for dom r=bz 2013-05-14 00:15:53 -07:00
John Daggett
5b570d8745 Bug 549861. Implement support for @font-feature-values rule. r=dbaron 2013-05-13 18:45:37 +09:00
David Zbarsky
e35c65d6d0 Bug 868312 - Some more rooting fixes for dom r=bz 2013-05-10 22:39:45 -04: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
Bobby Holley
5db083ef7f Bug 868528 - Don't expose _content over Xrays. r=mccr8 2013-05-07 20:26:19 -07:00
Peter Van der Beken
a340410615 Bug 868929 - Convert ImageDocument to WebIDL, switch to WebIDL. r=bz.
--HG--
rename : content/html/document/src/ImageDocument.cpp => content/html/document/src/ImageDocument.h
extra : rebase_source : 18af4f816c456e9a642f12b504651b19765141dc
2013-05-06 15:42:00 +02:00
Sankha Narayan Guria
754efdf384 Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Phil Ringnalda
1a57cd403b Merge m-c to m-i 2013-05-05 12:17:07 -07:00
Ms2ger
bb6fd0a4ee Bug 868727 - Pass an nsAString to nsGlobalWindow::GetChildWindow; r=bz 2013-05-05 09:03:19 +02:00
Ms2ger
4a6390f03d Bug 868411 - Handlify js::GetObjectProto; r=bz 2013-05-05 09:03:14 +02:00
David Zbarsky
bf42e48d0e [Bug 868701] Remove classinfo for Attr r=Ms2ger 2013-05-04 03:55:53 -04:00
David Zbarsky
b9c9fc1dee Bug 868312: Root nsDOMClassInfo.cpp, part 2 r=bz 2013-05-04 03:51:53 -04:00
Boris Zbarsky
f551a1cd1b Bug 865969 part 5. Root the id argument of WebIDL DefineInterface methods. r=smaug 2013-05-03 19:29:08 -04:00
David Zbarsky
deae6a4519 Bug 868312: Root part of nsDOMClassInfo.cpp r=bz 2013-05-03 14:53:32 -04:00
Tom Schuster
b0df9fbe8b Bug 865410 - Use CallArgs for nsIJSNativeInitializer::Initialize. r=bz 2013-05-04 19:25:15 +02:00
Tom Schuster
79e64357e4 Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley. 2013-05-04 19:25:15 +02:00
Boris Zbarsky
8766287733 Bug 861022 part 2. Root the global object in WebIDL prototype and interface object setup. r=peterv,terrence 2013-05-01 23:44:12 -04:00
Boris Zbarsky
d8af1cb967 Bug 866545. Remove the obsolete dom.enable_performance preference, so we can rely on things like performance.now() existing. r=smaug 2013-05-01 23:44:11 -04:00
Andrew McCreight
18efb67705 Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz 2013-04-30 13:30:25 -07:00
Terrence Cole
6acd98dd37 Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco 2013-04-16 16:20:44 -07:00
Andrea Marchesini
7968f36851 Bug 866679 - Convert DOMSVGZoomEvent to WebIDL. r=Ms2ger 2013-04-30 13:43:25 -04:00
Ryan VanderMeulen
1870e96454 Merge birch to inbound. 2013-04-30 12:26:29 -04:00
Kevin Grandon
85790695f7 Bug 861496 - Replace #ifdef MOZ_SYS_MSG by a preference. r=fabrice 2013-04-30 09:01:46 -04:00
Andrew McCreight
b3d391f39f Bug 861530 - unwrap for _content. r=bholley 2013-04-29 17:50:25 -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
157e284071 Merge backout. 2013-04-26 13:24:11 +02:00
Ms2ger
f7333eed15 Backout changesets 8d69a81abff9:6c2e3ea6afa6 for M2 timeouts and crashtest, reftest leaks. 2013-04-26 13:23:17 +02:00
Ms2ger
0a58b78352 Merge m-c to m-i. 2013-04-26 12:32:27 +02:00
Kevin Grandon
a3dc1b8ed6 Bug 861496 - Replace #ifdef MOZ_SYS_MSG by a preference. r=fabrice 2013-04-26 12:17:25 +02:00
Ms2ger
3f97de8b3f Bug 862446 - Use CallArgs in XPC_WN_Helper_{Call,Construct}; r=bholley 2013-04-26 08:48:40 +02:00
Ms2ger
184931f9b9 Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz 2013-04-26 08:48:27 +02:00
David Zbarsky
ea16d87f51 [Bug 864209] Remove Geolocation classinfo r=Ms2ger 2013-04-24 22:26:48 -04:00
Bobby Holley
acac520e2e Bug 865260 - Use IsXrayWrapper rather than ObjectIsNativeWrapper in nsWindowSH. r=bz
There are some other uses of ObjectIsNativeWrapper in other scriptable helpers
that are tempting to remove as well, but it's probably just better to wait for
that stuff to just go away. Given that the issue we're running into here is
Window-specific, there's not a pressing need to fix the other stuff.
2013-04-24 15:21:26 -07:00
David Zbarsky
720289e06b Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04: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
5efce519b5 Bug 861880 - Move TreeColumns to WebIDL; r=bz 2013-04-21 08:42:26 +02:00
David Zbarsky
f74bee9734 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +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