Commit Graph

3732 Commits

Author SHA1 Message Date
Phil Ringnalda
9ebbdf1241 Merge m-c to fx-team 2013-02-26 14:32:37 -08:00
Bill McCloskey
25a2e4dc67 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
b8ea90d88a Bug 838038 - Pt 2 - Add support for multiple device storage objects. r=dougt 2013-04-02 12:52:21 -07:00
Neil Deakin
615637590a Bug 407983, add clipboard events constructor, r=smaug 2013-03-11 11:49:56 -04:00
Neil Deakin
3bb302fb42 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
9b0dba0d47 Merge from mozilla-central. 2013-02-21 15:56:12 +01:00
Tim Taubert
bac3f8948d 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
c113be7b48 Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Jan de Mooij
9a59dbdc51 Merge from mozilla-central to fix mass orange. 2013-02-19 21:30:18 +01:00
Chris Pearce
6e3f4d2969 Bug 843849 - Make DOM/HTML fullscreen API work in Metrofox. r=bz,jimm 2013-02-28 12:28:27 +13:00
Jan de Mooij
927a48de58 Merge from mozilla-central. 2013-02-19 11:34:59 +01:00
Ryan VanderMeulen
360e368cab Merge m-c to inbound. 2013-02-19 04:47:00 -05:00
Tim Taubert
b35b1aa0d9 merge m-c to fx-team 2013-02-19 10:39:49 +01:00
David Zbarsky
c826cb691e Bug 833446: Remove nsIDOMSVGMarkerElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
1c807c7cb2 Bug 833446: Remove nsIDOMSVGImageElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
ac1bb558fe Bug 833446: Remove nsIDOMSVGMaskElement r=peterv 2013-02-18 17:48:54 -05:00
David Zbarsky
0bb6fbbc41 Bug 833446: Remove nsIDOMSVGAElement r=peterv 2013-02-18 17:48:53 -05:00
David Zbarsky
8e964492aa Bug 833446: Remove nsIDOMSVGTitleElement r=peterv 2013-02-18 17:48:53 -05:00
David Zbarsky
b82e6139d5 Bug 847120: Convert SVGFETileElement to WebIDL r=Ms2ger 2013-03-11 03:27:08 -04:00
Phil Ringnalda
81fe5acbca Back out d39b5acb8d83 and cf778a07299d (bug 847120) for Windows build bustage 2013-03-10 22:54:32 -07:00
David Zbarsky
45208529e5 Bug 847120: Convert SVGFETileElement to WebIDL r=Ms2ger 2013-03-11 00:50:58 -04:00
Jan de Mooij
2626c46c08 Merge from mozilla-central. 2013-02-15 19:28:19 +01:00
Wes Johnston
5cc98b4e6f Bug 768035 - Allow overriding user agent based on window. r=bz 2013-02-28 14:02:19 -08:00
Olli Pettay
fee019f92c Bug 845631 - Remove nsXMLHttpProgressEvent, r=sicking
--HG--
extra : rebase_source : e5c6e80fbb656782bfe0f530c778cda9d9f97f0f
2013-02-28 20:53:04 +02:00
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
89d297a677 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
f0b7e3972c 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
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee 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
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Peter Van der Beken
48eb0c311a 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
8f6bdde3f6 Bug 673432 - Implement window.crypto.getRandomValues for FirefoxOS r=khuey 2013-02-27 14:31:19 -06:00
Markus Stange
fa5781a68a Bug 845595 - Make nsIDOMWindowUtils::selectAtPoint coordinates relative to the DWU's document. r=jimm 2013-02-27 15:12:39 +01:00
Jonathan Watt
a933a9f63f Bug 847453 - nsDOMWindowUtils::SendMouseEventCommon needs to set 'buttons' on the event. r=smaug. 2013-03-04 20:15:39 +00:00
Ryan VanderMeulen
457fa51782 Merge inbound to m-c. 2013-02-15 09:39:34 -05:00
Ryan VanderMeulen
9b2dfc1041 Merge m-c to fx-team. 2013-02-18 11:07:20 -05:00
Tim Taubert
c31f81b2d9 Bug 672474 - followup to use GetExtantDoc(); r=ms2ger 2013-02-18 11:07:24 +01:00
L. David Baron
c0b261e3e4 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
391fb6f819 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
0edb332ed6 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
c68721cd2c 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
822b2ca3bc 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
79504917e8 merge m-c to fx-team 2013-02-15 10:40:59 +01:00
Terrence Cole
20501c8c5a Bug 841059 - Do not use the ArenaHeader for getAllocKind on JSObject; r=billm 2013-02-14 14:51:07 -08:00
Ehsan Akhgari
a2906ca105 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
3c8435b037 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
5cc0fcdcdf Bug 847007: Remove nsIContent includes r=Ms2ger 2013-03-21 20:05:20 -04:00
Jan de Mooij
2b94a948b6 Merge from mozilla-central. 2013-02-14 12:24:36 +01:00
David Zbarsky
fd6e8609f2 Bug 837044 - Convert SVGFilterElement to WebIDL r=bz 2013-02-17 21:14:02 -05:00
Trevor Saunders
ef3a9cb704 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Tim Taubert
59075ce41c Bug 672474 - add nsIDOMWindowUtils.getScrollbarWidth(aFlushLayout); r=roc 2013-02-13 21:32:35 +01:00
Olli Pettay
25044dfc64 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
8d5fd16382 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
fe417ad697 Backed out changeset 28ef4bdff455 (bug 848395) 2013-03-07 13:03:35 +00:00
Jon Coppeard
82b2b286dc 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
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Jan de Mooij
1fcc5e9edd Merge from mozilla-inbound. 2013-02-12 16:37:37 +01:00
Jan de Mooij
33643846d9 Merge from mozilla-central. 2013-02-12 09:17:56 +01:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Jan de Mooij
8a9798d0ba Merge from mozilla-central. 2013-02-11 10:33:03 +01:00
Josh Matthews
7d5bb99dd4 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
23e12dce05 Bug 820170 - nsIGlobalObject. r=bholley 2013-04-04 11:27:06 +02:00
Jon Coppeard
fa71007e65 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
97b02e847e 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
1cb8b82496 Bug 847120: Convert SVGFEImageElement to WebIDL r=Ms2ger 2013-03-07 04:15:23 -05:00
David Zbarsky
522dcbb29b 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
def1e2f580 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
4ae93f0b94 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
82569fcba5 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
8a4008b7df Backed out changeset 3710f0b135b8 for wrong commit message 2013-03-07 02:16:30 -05:00
David Zbarsky
5bc4b05831 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
893d8d351a 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
a33dfc4946 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
863df22c17 Merge from mozilla-inbound. 2013-02-08 09:20:14 +01:00
Jan de Mooij
dbe443aabd Merge from mozilla-inbound. 2013-02-07 11:36:39 +01:00
Benoit Jacob
5a70487997 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
2c68524128 Bug 837628 - Add baseline JIT browser prefs. r=djvj 2013-02-05 11:11:26 +01:00
Reuben Morais
4632d919e6 Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
David Zbarsky
5633eef6f2 Bug 833446: Remove nsIDOMSVGStyleElement r=peterv 2013-02-02 15:23:19 -05:00
David Zbarsky
816b8b265b Bug 833446: Remove nsIDOMSVGStopElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
86cadf24a7 Bug 833446: Remove nsIDOMSVGScriptElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
c0c54eafcf Bug 833446: Remove nsIDOMSVGRectElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
ea4deaeb68 Bug 833446: Remove nsIDOMSVGPolylineElement r=peterv 2013-02-02 15:23:18 -05:00
David Zbarsky
d926bb89d3 Bug 833446: Remove nsIDOMSVGPolygonElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky
813857fe8c Bug 833446: Remove nsIDOMSVGPatternElement r=bz 2013-02-02 15:23:17 -05:00
David Zbarsky
16c9d3dbdf Bug 833446: Remove nsIDOMSVGPathElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky
2d5a04889e Bug 833446: Remove nsIDOMSVGMPathElement r=peterv 2013-02-02 15:23:17 -05:00
David Zbarsky
d9aa3a282a Bug 833446: Remove nsIDOMSVGMetadataElement r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky
a6303dd797 Bug 833446: Remove nsIDOMSVGLineElement r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky
266d83e6a5 Bug 833446: Remove nsIDOMSVGGradientElement and subclasses r=peterv 2013-02-02 15:23:16 -05:00
David Zbarsky
e2a4744282 Bug 833446: Remove nsIDOMSVGGElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
4a1ce3572a Bug 833446: Remove nsIDOMSVGForeignObjectElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
e6ecd198ee Bug 833446: Remove nsIDOMSVGEllipseElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
e8ad92ab54 Bug 833446: Remove nsIDOMSVGDescElement r=peterv 2013-02-02 15:23:15 -05:00
David Zbarsky
eeb9091b92 Bug 833446: Remove nsIDOMSVGDefsElement r=peterv 2013-02-02 15:23:14 -05:00
David Zbarsky
5388074f29 Bug 833446: Remove nsIDOMSVGCircleElement r=peterv 2013-02-02 15:23:14 -05:00
David Zbarsky
f882003333 Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv 2013-02-02 15:23:11 -05:00
David Zbarsky
7450ba5a47 Bug 833446: Remove nsIDOMSVGSetElement r=peterv 2013-02-02 15:22:37 -05:00
David Zbarsky
3e76a3c7a6 Bug 833446: Remove nsIDOMSVGAnimateTransformElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
389551dfd0 Bug 833446: Remove nsIDOMSVGAnimateMotionElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
877b9cda18 Bug 833446: Remove nsIDOMSVGAnimateElement r=peterv 2013-02-02 15:22:36 -05:00
David Zbarsky
54e2ce31a4 Bug 833446: Remove nsIDOMSVGAltGlyphElement r=peterv 2013-02-02 15:22:36 -05:00
Masatoshi Kimura
dd29852063 Bug 841289 - Remove prefable option from WebIDL codegen. r=bz 2013-03-06 07:09:38 +09:00
Gabriele Svelto
dcff369af5 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
e5921ddec1 Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
Randell Jesup
e800014959 Bug 837874: Check ObserverService before adding observers in MediaManager r=derf 2013-02-07 22:14:21 -05:00
Gregor Wagner
40d5240fdd Bug 837953 - B2G crash @ nsContentPermissionRequestProxy::GetElement while launching Camera for perf tests. r=dougt 2013-02-07 17:46:58 -08:00
Nicholas Nethercote
02a7279b21 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
045cb0fba7 Bug 828462 - Root Proxy/Wrapper in the browser. r=terrence,bz 2013-03-21 23:23:48 +01:00
Tom Schuster
b8e3b65fa7 Bug 828462 - Root Proxy/Wrapper delete. r=terrence 2013-03-21 23:23:48 +01:00
Tom Schuster
097f3a1110 Bug 828462 - Root Proxy/Wrapper getOwnPropertyNames and keys. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
5a05e27565 Bug 828462 - Root Proxy/Wrapper defineProperty. r=terrence 2013-03-21 23:23:47 +01:00
Tom Schuster
b67362a266 Bug 828462 - Root Proxy/Wrapper get(Own)PropertyDescriptor. r=terrence 2013-03-21 23:23:47 +01:00
Ehsan Akhgari
e087548e06 Bug 853556 - Make nsRootedJSValueArray::SetCapacity return void; r=bzbarsky
--HG--
extra : rebase_source : 04a3f25da7a0f1f1bd773b79c3d620dc8392646f
2013-03-21 14:39:17 -04:00
Bobby Holley
b60b7648e9 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
59c99b16cc 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
3cebc24c68 Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
59aa9e54e3 Backed out changeset 55d19e574b86 (bug 853283) for Windows debug bustage on a CLOSED TREE. 2013-03-21 15:25:14 -04:00
Ryan VanderMeulen
75a33a8191 Backed out 22 changesets (bug 658909) for Windows debug bustage. 2013-03-21 15:24:54 -04:00
David Zbarsky
d0a0745332 Bug 847120: Convert SVGFEOffsetElement to WebIDL r=Ms2ger 2013-03-21 13:38:28 -04:00
Bobby Holley
b396544c53 Bug 658909 - Remove GWNOJO from nsDOMClassInfo. r=mrbkap 2013-03-21 08:20:45 -07:00
Bobby Holley
c34eb7f9f1 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
b3f7f775a5 Bug 853283 - Grab the window directly from the navigator in nsNavigatorSH::NewResolve. r=mrbkap 2013-03-21 08:20:41 -07:00
Ryan VanderMeulen
4d36c69250 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Jeff Walden
0e302a5094 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
67a3dc3eae Merge the last PGO green inbound changeset to m-c. 2013-02-07 09:55:08 -05:00
Vicamo Yang
5c2a390050 Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug 2013-02-07 19:02:12 +08:00
Vicamo Yang
f1c896b374 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
fb7a334ac1 Bug 838182 - Part b: Remove dead code handling outer windows in nsDOMClassInfo::PreCreate; r=mrbkap 2013-02-07 09:08:57 +01:00
Ms2ger
9cdb74222d Bug 838182 - Part a: Remove nsWindowSH::SecurityCheckOnAddDelProp and nsWindowSH::SecurityCheckOnSetProp; r=mrbkap 2013-02-07 09:08:57 +01:00
Luke Wagner
e48f129191 Bug 840282 - OdinMonkey (sr=dmandelin)
--HG--
extra : rebase_source : 4a3869dca32755abb58bbd3d9a06599e61b397f2
2013-03-15 02:29:02 -07:00
Gene Lian
b77e6d922c 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
bf05bdc64c 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
ba8e9cb7bc Bug 832155: Convert SVGFEDistantLightElement to WebIDL r=Ms2ger 2013-03-15 03:01:38 -04:00
Bobby Holley
7207b02cab Bug 850517 - Remove nsWindowSH::GetProperty. r=mrbkap
It no longer does anything useful.
2013-03-14 22:38:27 -07:00
Bobby Holley
3f701da20d 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
8a98c8a545 Bug 850517 - Factor out child window lookup into a helper. r=mrbkap 2013-03-14 22:38:26 -07:00
Peter Van der Beken
490e9a4afd 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
8765553d79 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
d3db3557f9 Back out 236ba87c0a9f (bug 440046) and d3b7606d94a6:895a7efc978d (bug 683262) for b2g mochitest failures 2013-02-15 23:33:45 -08:00
David Dahl
313db63994 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
3bcc359caf 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
b0632e9e66 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
55d7aa2c7f Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Boris Zbarsky
7403aaff3d 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
410cee5e49 Fix for bug 844225 (Remove some DOMCI and quickstubs). r=bz. 2013-01-10 10:54:46 +01:00
Dave Hylands
dad5e7b738 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
7258f93d9c Bug 803870 - Compare the subject with the outer window for History. r=bz 2013-02-20 08:37:21 -08:00
Boris Zbarsky
25deb6d78c 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
Boris Zbarsky
0541700ad3 Bug 827158 part 6. Add a telemetry ping for object/embed callability actually working. r=bsmedberg 2013-03-04 14:08:23 -05:00
Boris Zbarsky
c4e50be685 Bug 827158 part 5. Refactor some of the nsHTMLPluginObjElementSH code to be able to work with WebIDL objects. r=peterv,johns 2013-03-04 14:08:23 -05:00
Ryan VanderMeulen
856d73efad Backed out changeset 00ed3d264438 (bug 590422) for OSX browser-chrome failures on a CLOSED TREE. 2013-02-26 22:05:51 -05:00
Avi Halachmi
52e3b9ba5e Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Bobby Holley
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
65edc090d7 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
40b44c1bc7 Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
51ba6ef50d Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
9190ce39d5 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
10b21fa400 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-26 11:04:10 -08:00
Bobby Holley
6c8aaf6e25 Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-26 11:04:10 -08:00
Bobby Holley
997dcc7d65 Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Bobby Holley
3ed822eacf Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Mats Palmgren
3113ab0c9a Bug 635852. r=smaug 2013-03-08 12:04:53 +01:00
Chris Peterson
e52b304c31 Bug 847839 - Part 2: Remove obsolete files for Android XUL Fennec. r=mfinkle 2013-03-07 17:55:49 +00:00
Trevor Saunders
8b11739fc1 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
David Zbarsky
a63c50b8f7 Bug 847120: Convert SVGFEGaussianBlurElement to WebIDL r=Ms2ger 2013-03-19 13:43:31 -04:00
Jon Coppeard
b752526987 Bug 849273 - Investigate splitting the js and JS namespaces r=terrence
--HG--
extra : rebase_source : 2b131d0177f02e5f0e89398545481fcacbfde00f
2013-03-19 10:35:41 +00:00
Boris Zbarsky
536ca78779 Bug 823227 - Tests. r=bholley 2013-03-18 23:06:48 -07:00
Bobby Holley
2bee78d889 Bug 823227 - Stop pref-controlling the GSP. r=mrbkap 2013-03-18 23:06:47 -07:00
Bobby Holley
86dd912c0d Bug 823227 - Resolve named frames for non-HTML documents. r=bz 2013-03-18 23:06:47 -07:00
Bobby Holley
9777586e96 Bug 823227 - Have the global scope polluter find the document via the global. r=bz 2013-03-18 23:06:44 -07:00
David Zbarsky
102c0db5f1 Bug 847120: Convert SVGFECompositeElement to WebIDL r=Ms2ger 2013-03-18 19:14:40 -04:00
David Zbarsky
0a208cca8c Bug 847120: Convert SVGFEColorMatrixElement to WebIDL r=Ms2ger 2013-03-18 19:14:40 -04:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Trevor Saunders
369f889cf4 bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8 2012-12-06 16:01:59 -05:00
Robert O'Callahan
8192e0a0c4 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Reuben Morais
13308f49bb Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking 2013-02-08 12:25:37 -08:00
Phil Ringnalda
03f3998dbf Back out 8db40a38aeb1 (bug 837917) for test_interfaces.html failures
CLOSED TREE
2013-02-14 21:37:37 -08:00
Reuben Morais
4bdc75de7e Bug 837917 - Implement DOMCursor and DOMRequestService::fireDone(). r=sicking
--HG--
extra : rebase_source : 8ccb520402c53950d1c0149a0f5a3188fe838667
2013-02-08 12:25:37 -08:00
Masatoshi Kimura
e5e5a90814 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
David Zbarsky
1104f523cb Bug 847120: Remove nsIDOMSVGURIReference r=Ms2ger 2013-03-11 18:05:57 -04:00
Olli Pettay
58810c25e8 Bug 847600 - Remove SVGEvent, r=jwatt
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
Bobby Holley
8f7e048c1d Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Boris Zbarsky
12d1591d42 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
William Chen
f3658e2a5e Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Chris Pearce
45b77fa242 Bug 805613 - Support multiple concurrent fullscreen documents. r=bz 2013-02-26 18:40:53 +13:00
Ryan VanderMeulen
1568f7d987 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley
6d475c3487 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
d1782fe7f3 Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
363a88b529 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
70a369794a Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
39acf0afd1 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-13 00:22:26 +01:00
Bobby Holley
f71f3899d1 Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-13 00:22:26 +01:00
Bobby Holley
b55e2ecc2b Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Ryan VanderMeulen
1ce2c3fc86 Backed out 5 changesets (bug 790732) for talos-other hangs/crashes on a CLOSED TREE. 2013-03-05 15:44:15 -05:00
Bobby Holley
2e00ecfa83 Bug 790732 - Omit Components object for content scopes. r=mrbkap 2013-03-05 10:02:00 -08:00