Ed Morley
e7a9a5a6da
Merge mozilla-central to mozilla-inbound
2013-02-27 11:07:25 +00:00
Phil Ringnalda
a4168e26ab
Merge m-c to fx-team
2013-02-26 14:32:37 -08:00
Bill McCloskey
9e97f5666b
Bug 856849 - Poison nsGlobalWindow::mJSObject when it's finalized (r=mrbkap)
...
--HG--
extra : rebase_source : 687f1f3662d066ab05f3421625968ca1005f229f
2013-04-02 13:08:41 -07: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
Neil Deakin
9fe80b713b
Bug 407983, add clipboard events constructor, r=smaug
2013-03-11 11:49:56 -04:00
Neil Deakin
5624ee6b03
Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug
2013-03-11 11:49:48 -04:00
Jan de Mooij
000ea99aee
Merge from mozilla-central.
2013-02-21 15:56:12 +01:00
Tim Taubert
69f42d1be4
Bug 845010 - turn nsIDOMWindowUtils.getScrollbarWidth() into .getScrollbarSize(); r=roc
...
--HG--
rename : dom/tests/mochitest/general/file_domWindowUtils_scrollbarWidth.html => dom/tests/mochitest/general/file_domWindowUtils_scrollbarSize.html
rename : dom/tests/mochitest/general/test_domWindowUtils_scrollbarWidth.html => dom/tests/mochitest/general/test_domWindowUtils_scrollbarSize.html
2013-02-25 23:13:36 +01:00
Avi Halachmi
40a88976c3
Bug 590422: Remove delay line filter from timer thread. r=bz
2013-02-20 20:21:09 +02:00
Jan de Mooij
b735229b41
Merge from mozilla-central to fix mass orange.
2013-02-19 21:30:18 +01:00
Chris Pearce
dcf2d17b8e
Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm
2013-02-28 12:28:27 +13:00
Jan de Mooij
fed0a4f473
Merge from mozilla-central.
2013-02-19 11:34:59 +01:00
Ryan VanderMeulen
d61fa1ce46
Merge m-c to inbound.
2013-02-19 04:47:00 -05:00
Tim Taubert
b86a0e882e
merge m-c to fx-team
2013-02-19 10:39:49 +01:00
David Zbarsky
dcb508719c
Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv
2013-02-18 17:48:54 -05:00
David Zbarsky
b20e5c9d55
Bug 833446: Remove nsIDOMSVGImageElement r=peterv
2013-02-18 17:48:54 -05:00
David Zbarsky
5887985676
Bug 833446: Remove nsIDOMSVGMaskElement r=peterv
2013-02-18 17:48:54 -05:00
David Zbarsky
f4ab3aeb02
Bug 833446: Remove nsIDOMSVGAElement r=peterv
2013-02-18 17:48:53 -05:00
David Zbarsky
8ee2b253b4
Bug 833446: Remove nsIDOMSVGTitleElement r=peterv
2013-02-18 17:48:53 -05:00
David Zbarsky
3a246b3d41
Bug 847120: Convert SVGFETileElement to WebIDL r=Ms2ger
2013-03-11 03:27:08 -04:00
Phil Ringnalda
edb9c7cfbf
Back out d39b5acb8d83 and cf778a07299d (bug 847120) for Windows build bustage
2013-03-10 22:54:32 -07:00
David Zbarsky
e52a469f5e
Bug 847120: Convert SVGFETileElement to WebIDL r=Ms2ger
2013-03-11 00:50:58 -04:00
Jan de Mooij
394bc589f0
Merge from mozilla-central.
2013-02-15 19:28:19 +01:00
Wes Johnston
0dec93958f
Bug 768035 - Allow overriding user agent based on window. r=bz
2013-02-28 14:02:19 -08:00
Olli Pettay
e594545631
Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
...
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Ms2ger
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Gregory Szorc
e1b210ddf6
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
aea301eee3
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
a0e24e2250
Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey
2013-02-25 12:47:20 -08:00
Peter Van der Beken
07afde82fb
Fix for bug 844559 (Crash [@ mozilla::dom::XrayResolveNativeProperty]). r=bz.
...
--HG--
extra : rebase_source : 85b3d0ee270f24847b9425cda9f8b56a494f2546
2013-02-25 20:39:15 +01:00
David Dahl
bf359eeabb
Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey
2013-02-27 14:31:19 -06:00
Markus Stange
a5307d1c97
Bug 845595 - Make nsIDOMWindowUtils::selectAtPoint coordinates relative to the DWU's document. r=jimm
2013-02-27 15:12:39 +01:00
Jonathan Watt
e999c6ce87
Bug 847453 - nsDOMWindowUtils::SendMouseEventCommon needs to set 'buttons' on the event. r=smaug.
2013-03-04 20:15:39 +00:00
Ryan VanderMeulen
5e6c0a2a2f
Merge inbound to m-c.
2013-02-15 09:39:34 -05:00
Ryan VanderMeulen
6e439d3f32
Merge m-c to fx-team.
2013-02-18 11:07:20 -05:00
Tim Taubert
912919320d
Bug 672474 - followup to use GetExtantDoc(); r=ms2ger
2013-02-18 11:07:24 +01:00
L. David Baron
143b119b96
Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn
2013-02-17 22:56:32 -08:00
David Dahl
4b987799be
Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith
2013-02-15 15:38:15 -08:00
David Dahl
cd4de3d8d1
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch - r=jst
2013-02-16 22:43:19 -06:00
David Dahl
e04136004d
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch - r=jst
...
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-16 22:43:16 -06:00
L. David Baron
c5b9eee040
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Tim Taubert
c9028eaa2e
merge m-c to fx-team
2013-02-15 10:40:59 +01:00
Terrence Cole
a7eafe32dc
Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm
2013-02-14 14:51:07 -08:00
Ehsan Akhgari
ddb5313b7e
Bug 815492 - Pause Web Audio playback when entering the bfcache, and resume it when coming out of the bfcache; r=bzbarsky
2013-03-21 22:59:33 -04:00
Daniel Holbert
f7e51c19ee
Bug 853607: Replace spammy NS_ENSURE_TRUE with explicit null-check-and-return, in nsJSUtils::GetStaticScriptGlobal(). r=bz
2013-03-21 18:50:44 -07:00
David Zbarsky
46284ae633
Bug 847007: Remove nsIContent includes r=Ms2ger
2013-03-21 20:05:20 -04:00
Jan de Mooij
e450b101a6
Merge from mozilla-central.
2013-02-14 12:24:36 +01:00
David Zbarsky
af06207909
Bug 837044 - Convert SVGFilterElement to WebIDL r=bz
2013-02-17 21:14:02 -05:00
Trevor Saunders
fda9efaa98
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Tim Taubert
67433fbff1
Bug 672474 - add nsIDOMWindowUtils.getScrollbarWidth(aFlushLayout); r=roc
2013-02-13 21:32:35 +01:00
Olli Pettay
c4afb9df69
Bug 844313 - Call GC more likely when there are lots of Events to collect, r=mccr8
...
--HG--
extra : rebase_source : 675ad0e5b5e22b3ccc1ec2bddac7048df57f522a
2013-03-07 20:53:19 +02:00
Jon Coppeard
a0a3f88913
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 35cbf3cc4da4598c2e9e6975028ef397718849db
2013-03-06 16:41:43 +00:00
Ed Morley
3a53c22824
Backed out changeset 28ef4bdff455 (bug 848395)
2013-03-07 13:03:35 +00:00
Jon Coppeard
57f723252d
Bug 841801 - Allow proxies to be finalized in the background r=billm
...
--HG--
extra : rebase_source : 48da96daddf75f505bf90c8e2ce2cdd6daf04cc5
2013-02-21 10:19:17 +00:00
Trevor Saunders
c4d231052a
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Jan de Mooij
963211c18b
Merge from mozilla-inbound.
2013-02-12 16:37:37 +01:00
Jan de Mooij
3cc711a455
Merge from mozilla-central.
2013-02-12 09:17:56 +01:00
Olli Pettay
cd8c72e7b9
Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir
2013-02-11 21:37:20 +02:00
Jan de Mooij
f3b6e1cbe1
Merge from mozilla-central.
2013-02-11 10:33:03 +01:00
Josh Matthews
a2efaede2d
Bug 838541 - Only dispatch storage events to windows of the same privacy status. r=mayhemer
2013-02-12 14:24:23 -05:00
Gabor Krizsanits
2662f735eb
Bug 820170 - nsIGlobalObject. r=bholley
2013-04-04 11:27:06 +02:00
Jon Coppeard
6a98a4532a
Bug 848395 - GC: Move Rooted to JS namespace - rename js::Rooted to JS::Rooted outside SpiderMonkey r=terrence
...
--HG--
extra : rebase_source : 866879df05e3ec3f8e93570eb3f6b71103636b41
2013-03-06 16:41:43 +00:00
Chris Lord
9d30123816
Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
...
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-07 10:17:33 +00:00
David Zbarsky
bc34e2ce7d
Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger
2013-03-07 04:15:23 -05:00
David Zbarsky
72eae41dfc
Bug 847120: Convert SVGFEFloodElement to WebIDL r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEFloodElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEFloodElement.h
2013-03-07 04:15:22 -05:00
David Zbarsky
cfdd9c0f5b
Bug 847202: Convert SVGFEMergeNodeElement to WebIDL r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeNodeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeNodeElement.h
2013-03-07 04:15:22 -05:00
David Zbarsky
d14158014b
Bug 847120: Convert SVGFEMergeElement to WebIDL r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEMergeElement.h
2013-03-07 04:15:21 -05:00
David Zbarsky
d6b766e205
Bug 847116: WebIDL bindings for SVGFEBlendElement r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:17:00 -05:00
David Zbarsky
63f9fd9256
Backed out changeset 3710f0b135b8 for wrong commit message
2013-03-07 02:16:30 -05:00
David Zbarsky
df4d6472a9
Bug 847120: WebIDL bindings for SVGFEBlendElement r=Ms2ger
...
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.cpp
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGFEBlendElement.h
2013-03-07 02:12:33 -05:00
Ryan VanderMeulen
e67ae46cb3
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Chris Lord
b9b974f703
Bug 716403 - Add nsIDOMWindowUtils.setContentDocumentFixedPositionMargins. r=roc,dholbert
...
Add a function to set margins on the viewport that are respected by its
absolute containing block. This has the effect of being able to add margins to
fixed position content, which will be used on mobile to stop temporarily
visible chrome from obscuring content.
2013-03-06 16:56:00 +00:00
Jan de Mooij
1cfed3b1c7
Merge from mozilla-inbound.
2013-02-08 09:20:14 +01:00
Jan de Mooij
a47d529b53
Merge from mozilla-inbound.
2013-02-07 11:36:39 +01:00
Benoit Jacob
8ea4012b0c
Bug 840260 - remove AudioChannelManager from classinfoclasses, fix B2G debug builds - no review, build fix
2013-02-11 18:15:54 -05:00
Jan de Mooij
def61568bd
Bug 837628 - Add baseline JIT browser prefs. r=djvj
2013-02-05 11:11:26 +01:00
Reuben Morais
b1bd80142e
Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner
2013-02-03 04:05:51 -08:00
David Zbarsky
0c1e8d7ef6
Bug 833446: Remove nsIDOMSVGStyleElement r=peterv
2013-02-02 15:23:19 -05:00
David Zbarsky
a9a7aac680
Bug 833446: Remove nsIDOMSVGStopElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
e1ecd02323
Bug 833446: Remove nsIDOMSVGScriptElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
866cb6df5e
Bug 833446: Remove nsIDOMSVGRectElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
4914157510
Bug 833446: Remove nsIDOMSVGPolylineElement r=peterv
2013-02-02 15:23:18 -05:00
David Zbarsky
23bc3145f3
Bug 833446: Remove nsIDOMSVGPolygonElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
5788f2a0a5
Bug 833446: Remove nsIDOMSVGPatternElement r=bz
2013-02-02 15:23:17 -05:00
David Zbarsky
2b74734bac
Bug 833446: Remove nsIDOMSVGPathElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
536375ddf7
Bug 833446: Remove nsIDOMSVGMPathElement r=peterv
2013-02-02 15:23:17 -05:00
David Zbarsky
64099f7809
Bug 833446: Remove nsIDOMSVGMetadataElement r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
b34c1415ef
Bug 833446: Remove nsIDOMSVGLineElement r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
e46ee1bca2
Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv
2013-02-02 15:23:16 -05:00
David Zbarsky
789b05db43
Bug 833446: Remove nsIDOMSVGGElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
ccd995fec8
Bug 833446: Remove nsIDOMSVGForeignObjectElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
1e25a54c2f
Bug 833446: Remove nsIDOMSVGEllipseElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
08a5a13ddd
Bug 833446: Remove nsIDOMSVGDescElement r=peterv
2013-02-02 15:23:15 -05:00
David Zbarsky
573a670bb8
Bug 833446: Remove nsIDOMSVGDefsElement r=peterv
2013-02-02 15:23:14 -05:00
David Zbarsky
1a76b6259b
Bug 833446: Remove nsIDOMSVGCircleElement r=peterv
2013-02-02 15:23:14 -05:00
David Zbarsky
48e6da7ce8
Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv
2013-02-02 15:23:11 -05:00
David Zbarsky
af6d742311
Bug 833446: Remove nsIDOMSVGSetElement r=peterv
2013-02-02 15:22:37 -05:00
David Zbarsky
1578ebcd03
Bug 833446: Remove nsIDOMSVGAnimateTransformElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
c33518f27e
Bug 833446: Remove nsIDOMSVGAnimateMotionElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
37e485b47b
Bug 833446: Remove nsIDOMSVGAnimateElement r=peterv
2013-02-02 15:22:36 -05:00
David Zbarsky
353c1d24c5
Bug 833446: Remove nsIDOMSVGAltGlyphElement r=peterv
2013-02-02 15:22:36 -05:00
Masatoshi Kimura
0b2426e59c
Bug 841289 - Remove prefable option from WebIDL codegen. r=bz
2013-03-06 07:09:38 +09:00
Gabriele Svelto
cdb3f81e9b
Bug 820438 - Immediately apply changes in maximum script runtime to make them visible in content processes. r=jst
2013-01-31 18:23:50 +01:00
Olli Pettay
eaf67cc919
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Randell Jesup
d5dc1a93b2
Bug 837874: Check ObserverService before adding observers in MediaManager r=derf
2013-02-07 22:14:21 -05:00
Gregor Wagner
792423680f
Bug 837953 - B2G crash @ nsContentPermissionRequestProxy::GetElement while launching Camera for perf tests. r=dougt
2013-02-07 17:46:58 -08:00
Nicholas Nethercote
6e79cac55c
Bug 836949 (part 1) - Clean up the versions/options code. r=jorendorff.
...
--HG--
rename : content/html/content/test/test_meta_attributes_reflection.html => content/html/content/test/test_ol_attributes_reflection.html
extra : rebase_source : 970d8a542bb631ce3f18da26ece69667af29d0a9
2013-02-06 21:35:16 -08:00
Tom Schuster
a1663a0e87
Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz
2013-03-21 23:23:48 +01:00
Tom Schuster
787f786f96
Bug 828462 - Root Proxy/Wrapper delete. r=terrence
2013-03-21 23:23:48 +01:00
Tom Schuster
b6725433ce
Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
aaa3687e9b
Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence
2013-03-21 23:23:47 +01:00
Tom Schuster
950e87f7e8
Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence
2013-03-21 23:23:47 +01:00
Ehsan Akhgari
f5c994dd97
Bug 853556 - Make nsRootedJSValueArray::SetCapacity return void; r=bzbarsky
...
--HG--
extra : rebase_source : 04a3f25da7a0f1f1bd773b79c3d620dc8392646f
2013-03-21 14:39:17 -04:00
Bobby Holley
611405a503
Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
5589190817
Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap
...
Using JSPropertyOp means a null shape getter, whereas null means that the shape
uses the class getter. This means that stuff like window.top, which is defined
as a non-configurable |own| property in nsDOMClassInfo, was getting set up with
XPC_WN_Helper_GetProperty as its get operation. But this confused
SandboxProxyHandler, which explicitly avoids rebinding class getters/setters,
which in turn meant that our sandboxPrototype feature was relying on the crazy
prototype-climbing behavior of GetWrappedNativeOfJSObject to make stuff like
|this.top| work. We're removing this behavior, so we need to fix nsDOMClassInfo
here.
Here are some DefineProperty cases that I left with null getters/setters:
* nsDOMClassInfo::ResolveConstructor
* The child window stuff at the bottom of nsWindowSH::NewResolve
* Named item resolution in nsNamedArraySH::NewResolve
* document.all stuff (scary!)
* nsHTMLDocumentSH::NewResolve
* nsHTMLFormElementSH::NewResolve
* nsStorage2SH::NewResolve
2013-03-21 08:20:42 -07:00
Bobby Holley
da800d21ef
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
24149ccf41
Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE.
2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
318dfacf98
Backed out 22 changesets (bug 658909) for Windows debug bustage.
2013-03-21 15:24:54 -04:00
David Zbarsky
b0a6fab2b9
Bug 847120: Convert SVGFEOffsetElement to WebIDL r=Ms2ger
2013-03-21 13:38:28 -04:00
Bobby Holley
3e1161c559
Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap
2013-03-21 08:20:45 -07:00
Bobby Holley
f3c75483a9
Bug 658909 - Use JS_{,Strict}PropertyOp instead of null when defining value props in nsDOMClassInfo. r=mrbkap
...
Using JSPropertyOp means a null shape getter, whereas null means that the shape
uses the class getter. This means that stuff like window.top, which is defined
as a non-configurable |own| property in nsDOMClassInfo, was getting set up with
XPC_WN_Helper_GetProperty as its get operation. But this confused
SandboxProxyHandler, which explicitly avoids rebinding class getters/setters,
which in turn meant that our sandboxPrototype feature was relying on the crazy
prototype-climbing behavior of GetWrappedNativeOfJSObject to make stuff like
|this.top| work. We're removing this behavior, so we need to fix nsDOMClassInfo
here.
Here are some DefineProperty cases that I left with null getters/setters:
* nsDOMClassInfo::ResolveConstructor
* The child window stuff at the bottom of nsWindowSH::NewResolve
* Named item resolution in nsNamedArraySH::NewResolve
* document.all stuff (scary!)
* nsHTMLDocumentSH::NewResolve
* nsHTMLFormElementSH::NewResolve
* nsStorage2SH::NewResolve
2013-03-21 08:20:42 -07:00
Bobby Holley
8e9287775b
Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap
2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
786e2cf549
Merge m-c to inbound.
2013-02-11 20:49:31 -05:00
Jeff Walden
6400117085
Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
...
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Ryan VanderMeulen
a9be9c1983
Merge the last PGO green inbound changeset to m-c.
2013-02-07 09:55:08 -05:00
Vicamo Yang
ff216055f0
Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug
2013-02-07 19:02:12 +08:00
Vicamo Yang
0ef4a47ec4
Bug 835148: Implement SmsEvent using event generator. r=smaug
...
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Ms2ger
97185321af
Bug 838182 - Part b: Remove dead code handling outer windows in nsDOMClassInfo::PreCreate; r=mrbkap
2013-02-07 09:08:57 +01:00
Ms2ger
aa376cde8e
Bug 838182 - Part a: Remove nsWindowSH::SecurityCheckOnAddDelProp and nsWindowSH::SecurityCheckOnSetProp; r=mrbkap
2013-02-07 09:08:57 +01:00
Luke Wagner
177c8494f5
Bug 840282 - OdinMonkey (sr=dmandelin)
...
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Gene Lian
cc115912d5
Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 2, nsIDOMMozMmsMessage). r=vicamo,mounir,mrbkap sr=sicking a=leo+
2013-03-09 15:21:55 +08:00
Gene Lian
24d0695b40
Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 1, nsIDOMMobileMessageManager). r=vicamo sr=sicking a=leo+
...
--HG--
rename : dom/mobilemessage/interfaces/nsIDOMSmsManager.idl => dom/mobilemessage/interfaces/nsIDOMMobileMessageManager.idl
rename : dom/mobilemessage/interfaces/nsIDOMNavigatorSms.idl => dom/mobilemessage/interfaces/nsIDOMNavigatorMobileMessage.idl
rename : dom/mobilemessage/src/SmsManager.cpp => dom/mobilemessage/src/MobileMessageManager.cpp
rename : dom/mobilemessage/src/SmsManager.h => dom/mobilemessage/src/MobileMessageManager.h
2013-03-09 15:21:47 +08:00
David Zbarsky
0799721176
Bug 832155: Convert SVGFEDistantLightElement to WebIDL r=Ms2ger
2013-03-15 03:01:38 -04:00
Bobby Holley
dc74a1daab
Bug 850517 - Remove nsWindowSH::GetProperty. r=mrbkap
...
It no longer does anything useful.
2013-03-14 22:38:27 -07:00
Bobby Holley
27ec8c8a8d
Bug 850517 - Switch named children resolution to pure getters on the global scope polluter. r=mrbkap
...
Note that this causes us to throw when assigning to named children, but this is
spec-correct.
2013-03-14 22:38:26 -07:00
Bobby Holley
50d03b1925
Bug 850517 - Factor out child window lookup into a helper. r=mrbkap
2013-03-14 22:38:26 -07:00
Peter Van der Beken
c1b3c1ac36
Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
...
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Jeff Walden
3d6315d338
Bug 836519 - Back out 7a145f17e37c for intermittent 'dom/contacts/tests/test_contacts_getall.html | 19 contacts returned - got 20, expected 19' in the test it added. r=intermittent-orange
2013-02-16 00:42:26 -08:00
Phil Ringnalda
c71c586441
Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures
2013-02-15 23:33:45 -08:00
David Dahl
6743609509
Bug 440046 - expose secure PRNG in the DOM (window.crypto.getRandomValues) r=cviecco r=bsmith
2013-02-15 15:38:15 -08:00
David Dahl
52c440b803
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - revert nsIWindowCrypto patch r=jst
2013-02-15 23:34:18 -06:00
David Dahl
a29fc61d9f
Bug 683262 - window.crypto throws if MOZ_DISABLE_DOMCRYPTO is turned on - window.crypto patch r=jst
...
--HG--
rename : dom/interfaces/base/nsIDOMCrypto.idl => dom/interfaces/base/nsIDOMCryptoLegacy.idl
2013-02-15 23:34:15 -06:00
Reuben Morais
c9fdfd74d1
Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner
2013-02-03 04:05:51 -08:00
Boris Zbarsky
0880803e2f
Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending
2013-02-15 22:41:31 -05:00
Peter Van der Beken
3f112891fb
Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz.
2013-01-10 10:54:46 +01:00
Dave Hylands
c5d845e67c
Bug 842932 - Update to use Preferences::RegisterCallbackAndCall to correct pref callback from getting wrong params. r=smaug
2013-02-20 11:49:51 -08:00
Bobby Holley
10fa7db1b9
Bug 803870 - Compare the subject with the outer window for History. r=bz
2013-02-20 08:37:21 -08:00
Boris Zbarsky
ea45d30665
Bug 839088 part 1. Add a way to throw a JS::Value on an ErrorResult. r=peterv
2013-02-19 11:54:40 -05:00