Commit Graph

121256 Commits

Author SHA1 Message Date
Bobby Holley
a2d9d906cb Bug 821850 - Let nsExpandedPrincipal through CheckFunctionAccess. r=bz
Otherwise the whole method borks when it discovers that the principal doesn't
have a URI.
2013-02-08 14:24:20 +00:00
Bobby Holley
fd02fd27ef Bug 821850 - Clean up security wrappers for NAC. r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
032bee38ff Bug 821850 - Check for XBL scopes in nsContentUtils::IsCallerXBL(). r=bz 2013-02-08 14:24:20 +00:00
Bobby Holley
b757981155 Bug 821850 - Add infrastructure for lazily-created XBL scopes. r=bz 2013-02-08 14:24:19 +00:00
Bobby Holley
966a177f72 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Bobby Holley
4bbdcf29e8 Bug 821850 - Don't rewrap |this| in nativeCall. r=jorendorff
This generally works with membrane semantics, but breaks when same-compartment
security wrappers are involved. In particular, when Field{Getter,Setter} live
in the XBL scope and operate on NAC via nativeCall, the this object can't be
rewrapped, because otherwise a SOW will appear and break everything.

It's not ideal to hardcode the index of |this|, but there's not really a great
alternative. IIUC the layout isn't changing any time soon, and this code will
hopefully be short-lived anyway, since SCSWs are on their way out.
2013-02-08 14:24:19 +00:00
Bobby Holley
c7dd1dee85 Bug 821850 - Properly propagate |strict| in JSObject::deleteByValue. r=jorendorff 2013-02-08 14:24:19 +00:00
Kartikaya Gupta
88dcc6657a Bug 777468 - Move ownership of TouchEventHandler from LayerView to JavaPanZoomController. r=Cwiiis
This patch has a bunch of semi-independent changes that unfortunately
couldn't be split apart without introducing hacks to make stuff build
on the intermediate patches. The main changes are:
- Moving TouchEventHandler from LayerView to JavaPanZoomController
- Registering the touch interceptor on the LayerView rather than the
  TouchEventHandler
- Moving the Tab:HasTouchListener handler from GeckoApp to JPZC

The net effect of all of this is that the TouchEventHandler is hidden
behind the PanZoomController interface and not accessible to GeckoApp
or GeckoAppShell.

Additionally, some of the JPZC methods were renamed from onXXX to
handleXXX to maintain the convention that onXXX methods are "interface"
methods (i.e. exposed to arbitrary other code) whereas handleXXX
methods are private/package and should only be called in very specific
ways.
2013-02-08 09:13:09 -05:00
Kartikaya Gupta
1a5dcc2958 Bug 777468 - Rename PanZoomController to JavaPanZoomController and extract a new PanZoomController interface. r=Cwiiis
--HG--
rename : mobile/android/base/gfx/PanZoomController.java => mobile/android/base/gfx/JavaPanZoomController.java
2013-02-08 09:12:59 -05:00
Kartikaya Gupta
4dcacbb416 Bug 777468 - Move mobile/android/base/ui/* to mobile/android/base/gfx/. r=Cwiiis
--HG--
rename : mobile/android/base/ui/Axis.java => mobile/android/base/gfx/Axis.java
rename : mobile/android/base/ui/PanZoomController.java => mobile/android/base/gfx/PanZoomController.java
rename : mobile/android/base/ui/PanZoomTarget.java => mobile/android/base/gfx/PanZoomTarget.java
rename : mobile/android/base/ui/SimpleScaleGestureDetector.java => mobile/android/base/gfx/SimpleScaleGestureDetector.java
rename : mobile/android/base/ui/SubdocumentScrollHelper.java => mobile/android/base/gfx/SubdocumentScrollHelper.java
2013-02-08 09:11:43 -05:00
Kartikaya Gupta
0e704cf5cf Bug 777468 - Remove unneeded dependency on PanZoomController. r=Cwiiis 2013-02-08 09:11:37 -05:00
Alan Huang
9c9c1cdb68 Bug 839312 - Specify gonk low-memory-killer priorityClasses in the correct order and fix typo in b2g.js which was preventing us from giving the kernel one of the necessary priority classes. r=jlebar 2013-02-08 14:09:26 +00:00
Ms2ger
55dfbe1249 Merge 2013-02-08 14:38:27 +01:00
Ms2ger
7249bc8130 Backout changeset 3f192cae69e2 for test_keycodes.xul oranges. 2013-02-08 14:37:37 +01:00
Rafael Ávila de Espíndola
c24d916a01 Bug 839039 - Fix copy and paste. r=vladan. 2013-02-08 08:37:02 -05:00
Ms2ger
6d9d74a796 Bug 839179 - Part c: Add a test for HTMLButtonElement attributes reflection; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
937b64f610 Bug 839179 - Part b: Move HTMLButtonElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
2568e4de7e Bug 839179 - Part a: Rename nsHTMLButtonElement to mozilla::dom::HTMLButtonElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLButtonElement.cpp => content/html/content/src/HTMLButtonElement.cpp
rename : content/html/content/src/nsHTMLButtonElement.cpp => content/html/content/src/HTMLButtonElement.h
2013-02-08 13:50:30 +01:00
Ms2ger
70df75e865 Bug 839053 - Part c: Add a test for HTMLLinkElement attributes reflection; r=bz
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_link_attributes_reflection.html
2013-02-08 13:50:30 +01:00
Ms2ger
e21a8a0da7 Bug 839053 - Part b: Move HTMLLinkElement to Paris bindings; r=bz 2013-02-08 13:50:30 +01:00
Ms2ger
e0c0e44fa1 Bug 839053 - Part a: Rename nsHTMLLinkElement to mozilla::dom::HTMLLinkElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLLinkElement.cpp => content/html/content/src/HTMLLinkElement.cpp
rename : content/html/content/src/nsHTMLLinkElement.cpp => content/html/content/src/HTMLLinkElement.h
2013-02-08 13:50:30 +01:00
Boris Zbarsky
4efaec5eec Bug 839116 part 3. Add tests for HTMLSharedElement attribute reflection. r=ms2ger
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_base_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dir_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_html_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_param_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_q_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Boris Zbarsky
e4c3c27ffc Bug 839116 part 2. Convert HTMLSharedElement to WebIDL. r=ms2ger
--HG--
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLBaseElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLDirectoryElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHeadElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLHtmlElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLParamElement.webidl
rename : dom/webidl/HTMLLIElement.webidl => dom/webidl/HTMLQuoteElement.webidl
2013-02-08 12:20:11 +00:00
Boris Zbarsky
fa4dfeaaed Bug 839116 part 1. Rename nsHTMLSharedElement to HTMLSharedElement. r=ms2ger
--HG--
rename : content/html/content/src/nsHTMLSharedElement.cpp => content/html/content/src/HTMLSharedElement.cpp
rename : content/html/content/src/nsHTMLSharedElement.cpp => content/html/content/src/HTMLSharedElement.h
2013-02-08 12:20:11 +00:00
Boris Zbarsky
beb028cc97 Bug 836850. Allow a single C++ class to implement multiple WebIDL interfaces. r=peterv
--HG--
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_dl_attributes_reflection.html
rename : content/html/content/test/test_li_attributes_reflection.html => content/html/content/test/test_ul_attributes_reflection.html
2013-02-08 12:20:11 +00:00
Ben Turner
29991ebc53 Bug 839117 - 'Don't allow a leaking memory reporter to hang workers'. r=jlebar. 2013-02-08 03:50:00 -08:00
Dão Gottwald
dcff7dfbbd Bug 825804 - Popup notifications and notification bars shouldn't persist across page reloads. r=gavin 2013-02-08 13:15:46 +01:00
Masatoshi Kimura
35136d8877 Bug 827032 - Enable FAIL_ON_WARNINGS on MSVC in netwerk/. r=jduell 2013-02-08 20:49:30 +09:00
Masatoshi Kimura
495d1799b6 Bug 830665 - Use the latest JS version by default in XUL. r=jonas 2013-02-08 20:49:28 +09:00
Ed Morley
edcc415426 Merge mozilla-central to mozilla-inbound 2013-02-08 11:17:50 +00:00
Anton Kovalyov
7261f779c6 Bug 830668 - Add a keyboard shortcut for the Profiler, r=robcee 2013-02-07 11:09:55 -08:00
Phil Ringnalda
45dc3fd24c Merge m-c to fx-team
--HG--
rename : content/media/webaudio/AudioEventTimeline.h => content/media/AudioEventTimeline.h
2013-02-07 07:16:22 -08:00
Ryan VanderMeulen
8ef102a10d Merge the last PGO green inbound changeset to m-c. 2013-02-07 09:55:08 -05:00
Victor Porof
d9578160af Bug 837052 - Editing or deleting getters and setters appears to be allowed even if no eval method is provided, r=past 2013-02-07 16:18:08 +02:00
Ed Morley
ae0aa82de4 Backout changeset d2fda338874d (bug 784591) for causing bug 832571 again 2013-02-07 11:20:47 +00:00
Trevor Saunders
b8657a44a9 bug 838570 - selection code can sometimes leak a range r=smaug 2013-02-07 06:05:24 -05:00
Vicamo Yang
195ec21112 Bug 834193: Implement USSDReceivedEvent, DataErrorEvent and CFStateChangeEvent using codegenerator. r=smaug 2013-02-07 19:02:12 +08:00
Vicamo Yang
cacd4c86e3 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
Jan de Mooij
5b3a11906c Bug 838520 part 1 - Refactor UnwindScope to use AbstractFramePtr. r=djvj 2013-02-07 10:26:25 +01:00
Jan de Mooij
eeab1f0cc7 Bug 838759 - Remove assertJit shell function. r=bhackett 2013-02-07 10:21:15 +01:00
Shian-Yow Wu
32c3b57916 Bug 833526 - Not be able to receive "network-active-change" notification from NetworkManager. r=vicamo 2013-02-07 16:21:28 +08:00
Ms2ger
61d15391a1 Bug 830846 - Pass HandleObject to DefineConstructorAndPrototype; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
7f2b3065c4 Bug 830783 - Part c: Various rooting in RegExp.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
bbef5222c4 Bug 830783 - Part b: Pass MutableHandleValue and HandleString to CreateRegExpMatchResult and ExecuteRegExpLegacy in RegExp.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
74ae561be7 Bug 830783 - Part a: Pass MutableHandleValue to DoMatch in jsstr.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
b64b376e1b Bug 829997 - Pass MutableHandleValue to static RegExp getters; r=sfink 2013-02-07 09:13:08 +01:00
Ms2ger
ed4112ae25 Bug 830000 - Add CallArgs::handleAt; r=Waldo 2013-02-07 09:13:08 +01:00
Ms2ger
61296bd47f Bug 829898 - Part c: Various rooting in jsstr.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
d0a62753df Bug 829898 - Part b: Pass a HandleLinearString to Encode & Decode and remove pointless OOM check in jsstr.cpp; r=terrence 2013-02-07 09:13:08 +01:00
Ms2ger
9bfad77805 Bug 829898 - Part a: Pass MutableHandleValue to Encode, Decode & TransferBufferToString in jsstr.cpp; r=terrence 2013-02-07 09:13:07 +01:00