Bobby Holley
9066876a33
Bug 658909 - Remove GWNOJO from XPCJSID. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
9c4d015129
Bug 658909 - Remove GWNOJO from JSValToXPCException. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
0d540a32dd
Bug 658909 - Remove GWNOJO from JSObject2NativeInterface. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
8a60c09a1f
Bug 658909 - Remove GWNOJO for helper stubs. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
5fbd59201c
Bug 658909 - Remove GWNOJO from MarkWrappedNative. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
ffb73d345d
Bug 658909 - Add a new, much simpler API for getting WNs from JS objects. r=mrbkap
2013-03-16 22:58:15 -07:00
Bobby Holley
8160c96d4e
Bug 658909 - Stop doing all the crazy stuff in GetWrappedNativeOfJSObject. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
5b8d755b22
Bug 658909 - Add a hack to support calling nohelper XPCWN methods without the proper |this|. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
24a5c2c905
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-16 22:58:14 -07:00
Bobby Holley
b458ef37b2
Bug 658909 - Implement carefully-checked unwrapping in XPCCallContext. r=mrbkap
2013-03-16 22:58:14 -07:00
Bobby Holley
721351e660
Bug 658909 - Set args at XPCCallContext construct time in XPC_WN_GetterSetter. r=mrbkap
...
It's not clear to me why it's done this way, but it confuses our ability to
determine during wrapper lookup whether we're doing a set or a get. This aligns
the behavior with XPC_WN_CallMethod, including passing JSID_VOID for the name
(which is safe because XPCCallContext explicitly special-cases JSID_VOID and
doesn't call SetName in that case).
2013-03-16 22:58:13 -07:00
Bobby Holley
e04912b20e
Bug 658909 - Initialize the same fields in both XPCCallContext constructors. r=mrbkap
...
This is a huge footgun. XPCCallContext is hot, but it's not too hot to be safe
here. Garbage XPCWN and JSObject pointers are bad.
2013-03-16 22:58:13 -07:00
Bobby Holley
a22cc9ffed
Bug 658909 - Remove unnecessary ccx param. r=mrbkap
2013-03-16 22:58:13 -07:00
Bobby Holley
11ee47784a
Bug 658909 - Make isSafeToUnwrap pseudo-dynamic for SOWs. r=mrbkap
...
This can go away as soon as XBL scopes are no longer behind a pref.
2013-03-16 22:58:13 -07:00
Bobby Holley
b3038807d1
Bug 658909 - Force |this| computation in SandboxCallableProxyHandler::call when using Xrays. r=bz
...
Comment says it all.
2013-03-16 22:58:12 -07:00
Daniel Holbert
64a1dc01a2
Bug 848159: In jsopcode.cpp, cast formalIndex to be unsigned when comparing it against another unsigned value, since we've already asserted it's nonnegative. r=jandem
2013-03-16 21:38:06 -07:00
Bill McCloskey
a3cea08b3a
Bug 759585 - Zones (r=jonco,bhackett,njn,dvander,luke,bz,mccr8,bholley)
2013-03-16 20:36:37 -07:00
Phil Ringnalda
efff21596e
Back out 9bfca2900825 (bug 694254) for incompetent review
2013-03-16 20:35:53 -07:00
Nicolas B. Pierron
33f141f4de
Bug 849014 - Check type inference before optimizing regexp calls. r=sstangl
2013-03-16 20:05:46 -07:00
Trevor Saunders
176ca13c4d
bug 694254 - disable test_focus_browserui.xul on win 7/8 to see if it fixes the leak rs=philor
2013-03-16 22:10:32 -04:00
Brian R. Bondy
17fddad65c
Bug 849342 - Remember passwords preference does not take effect immediately. r=mbrubeck.
2013-03-16 22:12:09 -04:00
Chris Lord
812de7ec1a
Bug 850789 - Pin the dynamic toolbar on screen when the tabs tray is open. r=kats
2013-03-17 01:53:41 +00:00
Chris Lord
4ffa7aa9ae
Bug 850154 - Fix alignment of find-in-page bar after bug 716403. r=sriram
...
Use the RelativeLayout.LayoutParams instead of LinearLayout.LayoutParams to
make sure the find-in-page bar is aligned to the bottom of the page.
2013-03-17 01:53:40 +00:00
Chris Lord
a27262bcbf
Bug 850724 - Don't hide toolbar on load, or pin while loading. r=kats
...
UX decisions have been made to not hide the toolbar after the page has finished
loading, and not to pin the toolbar during page loading. These decisions fix
this bug.
2013-03-17 01:53:40 +00:00
Gene Lian
ad076cf2a1
Bug 847756 - B2G MMS: provide nsIDOMMobileMessageManager.markMessageRead(). r=vicamo sr=sicking a=leo+
2013-03-11 12:14:15 +08:00
Phil Ringnalda
a5fcb95a4d
Back out 85f522534c5a (bug 829456) for apparently causing frequent failures in test_bug607464.html
...
CLOSED TREE
2013-03-16 18:28:48 -07:00
Phil Ringnalda
48a37ae4ea
Back out f408dd29944c:db5c280d1907 (bug 827486) for probably having needed a clobber
...
CLOSED TREE
2013-03-16 18:16:37 -07:00
Gene Lian
1eec334cb7
Bug 847736 - B2G MMS: provide nsIDOMMobileMessageManager.delete(). r=vicamo sr=sicking a=leo+
2013-03-08 12:06:06 +08:00
Gene Lian
f14de5b3e1
Bug 847738 - B2G MMS: provide nsIDOMMobileMessageManager.getMessage(). r=vicamo sr=sicking a=leo+
2013-03-08 11:46:16 +08:00
Norbert Lindenberg
6f5d004bf1
Bug 837957 - Implement ICU dependent functions of Intl.Collator, Intl.NumberFormat, Intl.DateTimeFormat (part 4). r=jwalden
...
--HG--
extra : rebase_source : 0c6aaf4093c0c1f6bb6eb073d506378adf0c65ab
2013-03-16 16:39:58 -07:00
Jose Cortes
4091f6c1e4
Bug 842186 - Replace use of jsval with JS::Value in cpp and h files in the content/events directory. r=jwalden
...
--HG--
extra : rebase_source : b1436faef9ffb4c9396d97d956c1a8ede7a2ad20
2013-03-16 16:39:51 -07:00
Jose Cortes
8317f6da9a
Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
...
--HG--
extra : rebase_source : 17f26bc48a8ce01b7349adc178a4e62f7d4b3a5e
2013-03-15 22:22:01 -07:00
Jeff Walden
e652639c08
Bug 851673 - Assertion failure: v.isUndefined(), at jsarray.cpp. r=bholley
...
--HG--
extra : rebase_source : c898284ed6ec99afe15f4ea60af54282c544a3ac
2013-03-15 19:39:38 -07:00
Andrew McCreight
161fb8c520
Bug 827486, part 7 - add basic code gen test. r=bz
2013-03-16 16:22:23 -07:00
Andrew McCreight
d5fd7d6d1b
Bug 827486, part 6 - generate headers and code for JS implemented WebIDL classes. r=bz
2013-03-16 16:22:23 -07:00
Andrew McCreight
d1fdac2bc2
Bug 827486, part 5: add the main JS impl code gen. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
714b6cbafe
Bug 827486, part 4: copy parts of example generator to JS impl generator. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
32edce4df6
Bug 827486, part 3 - add dependencies for CGBindingImplClass. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
657ceaa9fd
Bug 827486, part 2 - Refactor example class codegen into common base class. r=bz
2013-03-16 16:22:22 -07:00
Andrew McCreight
ea9c6709e0
Bug 827486, part 1: add JSImplementation extended attribute. r=bz
2013-03-16 16:22:22 -07:00
Patrick McManus
1dff4c13b9
bug 819044 - better spdy stream cleanup when handling goaway r=honzab
...
--HG--
extra : rebase_source : c3c1bebdbd75029630b7ab6030c945b2998cc653
2012-12-20 13:27:15 -05:00
Bill McCloskey
10bfc63303
Bug 792304 - Disable test_contextmenu.html on 10.8
2013-03-16 16:04:19 -07:00
Bill McCloskey
32b844f436
Bug 802504 - Disable test_fullscreen-api.html on 10.8
2013-03-14 16:49:25 -07:00
Bill McCloskey
480be62ddd
Bug 846150 - Disable 'Window has gone away' assertion (r=bsmith)
2013-03-13 15:32:27 -07:00
Brian Hackett
65685104b8
Bug 836968 - Cache shapes for JSON objects and assign types to constructed JSON objects and arrays, r=waldo,jandem.
2013-03-16 16:52:45 -06:00
Jonathan Watt
a484500a9f
Bug 851090 - Make <input type=range> fire change/input events as appropriate. r=mounir.
2013-03-16 05:49:41 +00:00
Drew Willcoxon
19c06875a6
Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak
2013-03-16 15:12:31 -07:00
Phil Ringnalda
83349304b8
Merge inbound and m-c
2013-03-16 15:09:36 -07:00
Brian Hackett
d6bc021244
Backout 04695ce03bb6 (bug 836968) for topcrashing on a CLOSED TREE
2013-03-16 15:57:39 -06:00
Ms2ger
9e905712d0
Merge backout on a CLOSED TREE.
2013-03-16 11:09:58 +01:00