Commit Graph

109116 Commits

Author SHA1 Message Date
Bobby Holley
1a61d79fcf Bug 761695 - Rename getInnerObject to getTargetObject. r=peterv
The current name potentially implies that the object returned is an inner
object in the JS sense, which isn't true. Really we just want the thing
we're Xraying to.
2012-10-05 18:59:22 +02:00
Bobby Holley
c701c6c8c9 Bug 761695 - Hoist getInnerObject into XrayTraits. r=peterv
The only special handling here with wrapped natives is to make sure that we
bypass outer windows. But we can do this with js::UnwrapObject.
2012-10-05 18:59:22 +02:00
Bobby Holley
4d248020dd Bug 761695 - Make Xray traits inherit from a common superclass and give them a singleton instance. r=peterv
There's some code that can be shared between different Xray traits, but can't
(yet) be hoisted into XrayWrapper, because it needs to be callable from outside
XrayWrapper where we don't have the appropriate template parameters. Moreover,
this code benefits from virtual function specialization. The use case here is
illuminated in the next patch.

For the moment, we skip converting the bulk of the traits calls to virtual
methods, because they're working just fine.
2012-10-05 18:59:22 +02:00
Bobby Holley
22cdfb3eb3 Bug 761695 - Stop stashing a raw WN pointer in XPCWN Xray holders. r=peterv
We might as well do this dynamically, which simplifies the code. Note that we
could avoid the reserved slot by parenting the holder to the wrapper. But the
JS parent API is deprecated, and we need to move away from it to reserved slots
anyhow. We might as well start here, with the added advantage that parenting
to the global makes us consistent with the other Xray types.
2012-10-05 18:59:22 +02:00
Bobby Holley
612c502d18 Bug 761695 - Simplify XPCWN Xray holder creation. r=peterv
The major semantic change here is that we parent holders directly to their
global. This should be fine.
2012-10-05 18:59:22 +02:00
Bobby Holley
340b28c0bd Bug 761695 - Fix inaccurate commenting. r=peterv
The .wrappedJSObject property only exists when the Xray wrapper subsumes the wrappee.
2012-10-05 18:59:22 +02:00
Bobby Holley
395d3e8455 Bug 798346 - nsContentUtils::PreserveWrapper should explicitly QI its argument to the CC ISupports. r=peterv 2012-10-05 18:59:22 +02:00
Ed Morley
518e3c5e11 Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
Jeff Hammel
241701cf63 Bug 792164 - add mozdevice to virtualenv in m-c;r=gps 2012-10-05 09:46:27 -07:00
Nathan Froyd
47a8cc6723 Bug 746714 - add a memory reporter for telemetry; r=taras,njn 2012-10-05 12:19:14 -04:00
Sriram Ramasubramanian
e60cb270bd Bug 786029: Fennec should integrate with Android's search. [f=mfinkle, r=lucasr] 2012-10-04 16:57:39 -07:00
Justin Lebar
8d279512db Bug 796523 - Expire the JS timezone cache whenever we create a new compartment. r=waldo
This is a hack/heuristic to ensure that the JS timezone cache remains
fresh (so that if you navigate to a new page or refresh your gmail, you
always get the right timezone), while not interfering with the role the
cache plays in benchmark performance.
2012-10-05 11:33:36 -04:00
Jan de Mooij
cc3ec60710 Bug 797720 - Don't add MonitorTypes instruction if there's a type barrier. r=dvander 2012-10-05 17:16:11 +02:00
Ehsan Akhgari
05ffd1631d Bug 798345 - Fix the comm-central perma-orange introduced by bug 794606; r=jdm 2012-10-05 11:12:15 -04:00
Vladimir Vukicevic
3a1848bba7 b=731974, requestAnimationFrame generates too short/long frames; r=bz,smaug,roc 2012-10-02 10:54:46 -04:00
Vladimir Vukicevic
1e07e44052 b=797975, disable browser_tabview_bug587503 test 4 because it's fragile 2012-10-04 19:58:09 -04:00
Vladimir Vukicevic
87a3ae6152 b=756425; fix test_mousescroll by driving RefreshDriver directly; r=ehsan 2012-10-02 14:41:04 -04:00
Vladimir Vukicevic
52a04c8b93 b=716031 and probably 752808 and 759254; fix test_selection_move_commands by driving RefreshDriver directly; r=ehsan 2012-10-02 14:41:04 -04:00
Vladimir Vukicevic
c1bbc050c2 b=796980, fix content/events/test/window_wheel_default_action.html; r=ehsan,orange 2012-10-02 12:35:49 -04:00
Scott Johnson
df81f8bb80 Bug 795932: Add a preference to enable reflow-on-zoom that is visible from the settings menu on Android. [r=blassey] 2012-10-04 14:41:48 -05:00
Scott Johnson
5abb129e20 Bug 710298: Support reflow-on-zoom by limiting the max line box width after zooming in on mobile. [r=blassey] 2012-10-04 14:41:46 -05:00
Ehsan Akhgari
315402fb2a Mark AsyncWaiter as final, no bug, blanket-r=bzbarsky 2012-10-05 10:48:49 -04:00
Chris Lord
76a29c7d89 Bug 794130 - Fix intermittent crash in AndroidBridge::ShouldAbortProgressiveUpdate. r=blassey
I messed up the JNI code in AndroidJavaWrappers for this function. It was
always returning false and sometimes crashing.
2012-10-05 15:41:03 +01:00
adrian.tamas@softvision.ro
4044cfcdfd Bug 777719 - Leaving only the History test as the others are already covered in existing bugs. r=jmaher 2012-10-04 19:18:14 +03:00
Rafael Ávila de Espíndola
8d02d5c806 Bug 798310 - Include Accessible-inl.h in nsMaiInterfaceTable.cpp. r=surkov.
--HG--
extra : rebase_source : 87f59b724062ee27e982ea54fceccf45391d228c
2012-10-05 10:20:12 -04:00
Fernando Jiménez
92959c1458 Bug 793186 - MMI Codes: implement sendMMI() and cancelMMI() - Part 3: Tests; r=marshall_law 2012-10-05 16:09:07 +02:00
Fernando Jiménez
6b069945a7 Bug 793186 - MMI Codes: implement sendMMI() and cancelMMI() - Part 2: RIL functionality; r=marshall_law 2012-10-05 16:09:00 +02:00
Fernando Jiménez
79ddf3bf66 Bug 793186 - MMI Codes: implement sendMMI() and cancelMMI() - Part 1: Rename USSD-MMI; r=philikon 2012-10-05 16:08:55 +02:00
Simone Carletti
5bb8d30c19 Bug 761769 - Update PSL for .ve. Take 2. r=gerv. 2012-10-05 14:28:00 +01:00
Geoff Brown
b1067d910c Bug 797942: Propagate SIZE_CHANGED to LayerManagerOGL; r=cwiiis 2012-10-05 04:26:33 -06:00
Alexander Surkov
12545167fb Bug 798205 - move ia2 files under ia2 directory, r=tbsaunde
--HG--
rename : accessible/src/msaa/ia2AccessibleAction.cpp => accessible/src/windows/ia2/ia2AccessibleAction.cpp
rename : accessible/src/msaa/ia2AccessibleAction.h => accessible/src/windows/ia2/ia2AccessibleAction.h
rename : accessible/src/msaa/ia2AccessibleComponent.cpp => accessible/src/windows/ia2/ia2AccessibleComponent.cpp
rename : accessible/src/msaa/ia2AccessibleComponent.h => accessible/src/windows/ia2/ia2AccessibleComponent.h
rename : accessible/src/msaa/ia2AccessibleEditableText.cpp => accessible/src/windows/ia2/ia2AccessibleEditableText.cpp
rename : accessible/src/msaa/ia2AccessibleEditableText.h => accessible/src/windows/ia2/ia2AccessibleEditableText.h
rename : accessible/src/msaa/ia2AccessibleHyperlink.cpp => accessible/src/windows/ia2/ia2AccessibleHyperlink.cpp
rename : accessible/src/msaa/ia2AccessibleHyperlink.h => accessible/src/windows/ia2/ia2AccessibleHyperlink.h
rename : accessible/src/msaa/ia2AccessibleHypertext.cpp => accessible/src/windows/ia2/ia2AccessibleHypertext.cpp
rename : accessible/src/msaa/ia2AccessibleHypertext.h => accessible/src/windows/ia2/ia2AccessibleHypertext.h
rename : accessible/src/msaa/ia2AccessibleImage.cpp => accessible/src/windows/ia2/ia2AccessibleImage.cpp
rename : accessible/src/msaa/ia2AccessibleImage.h => accessible/src/windows/ia2/ia2AccessibleImage.h
rename : accessible/src/msaa/ia2AccessibleRelation.cpp => accessible/src/windows/ia2/ia2AccessibleRelation.cpp
rename : accessible/src/msaa/ia2AccessibleRelation.h => accessible/src/windows/ia2/ia2AccessibleRelation.h
rename : accessible/src/msaa/CAccessibleTable.cpp => accessible/src/windows/ia2/ia2AccessibleTable.cpp
rename : accessible/src/msaa/CAccessibleTable.h => accessible/src/windows/ia2/ia2AccessibleTable.h
rename : accessible/src/msaa/CAccessibleTableCell.cpp => accessible/src/windows/ia2/ia2AccessibleTableCell.cpp
rename : accessible/src/msaa/CAccessibleTableCell.h => accessible/src/windows/ia2/ia2AccessibleTableCell.h
rename : accessible/src/msaa/ia2AccessibleText.cpp => accessible/src/windows/ia2/ia2AccessibleText.cpp
rename : accessible/src/msaa/ia2AccessibleText.h => accessible/src/windows/ia2/ia2AccessibleText.h
rename : accessible/src/msaa/CAccessibleValue.cpp => accessible/src/windows/ia2/ia2AccessibleValue.cpp
rename : accessible/src/msaa/CAccessibleValue.h => accessible/src/windows/ia2/ia2AccessibleValue.h
2012-10-05 22:04:59 +09:00
Alexander Surkov
eec03f0b72 Bug 708927 - enable events/test_focus_menu.xul partially, add more logging capabilities, r=tbsaunde 2012-10-05 22:00:28 +09:00
Ed Morley
eb8688238d Backout 4a76e692a4ab, 2962951f5fcc, d1d2149443ed, 83c3735801e7, 675ef796ed5b, f4b029b6b164, 83fa2144aa1d (bug 765119) for make check failures 2012-10-05 13:12:10 +01:00
Graeme McCutcheon
50541d533d Bug 693029 - Followup - inconsistent quoting style sneaked in. DONTBUILD. 2012-10-05 12:17:57 +01:00
Graeme McCutcheon
442cf00178 Bug 693029 - Don't check for disableFastFind attribute until we've got some of the document loaded. r=gavin 2012-10-05 11:56:22 +01:00
Ed Morley
7cc34f0e0b Backout 953079e94edd (bug 791769) for xpcshell failures 2012-10-05 11:59:25 +01:00
Gina Yeh
bae321fb7a Bug 797810 - Patch 2: Cleanup for profile connect function, r=qdot 2012-10-05 18:48:05 +08:00
Gina Yeh
185daf9347 Bug 797810 - Patch 1: Support command "AT+CKPD=200" in BluetoothHfpManager, r=qdot 2012-10-05 18:48:05 +08:00
Marty Rosenberg
0fab5b72ee Fix windows by adding in an initializer (bug 765119, r=dvander) 2012-10-05 06:15:36 -04:00
Marty Rosenberg
629d5422bd Add in two patches that were lost while rebasing (bug 765119, r=jandem) 2012-10-03 09:37:50 -04:00
Marty Rosenberg
78b1334c17 Fix a bunch of bugs that the fuzzers found (bug 765119, r=dvander) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
b30d6a0acf Teach RangeAnalysis how to deal with unreachable blocks (bug 765119, r=dvander) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
2bdcb597fe Add narrowing into range analysis, greatly speeding up some testcases (bug 765119, jandem) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
df22f16de7 Add a bunch of features to range analysis to make it optimize more. (bug 765119, r=jandem) 2012-10-02 04:34:28 -04:00
Marty Rosenberg
0ae2ada192 Beta nodes sholud be able to have infinite ranges, fixes very slow testcase (bug 765119, r=dvander) 2012-10-02 04:34:27 -04:00
Simone Carletti
6b12e169eb Bug 797787 - Update CentralNic submission date in PSL and make list alphabetical. r=gerv. 2012-10-05 11:10:50 +01:00
Simone Carletti
e3bd2562fc Bug 791769 - Update PSL for .ve. r=gerv. 2012-10-05 11:09:26 +01:00
Chris Lord
3f8854bee2 Bug 795674 - Reinstate underlying frame swap when merging nsDisplayScrollLayer. r=roc
This swap was removed with the work in Bug 785333, as layers were associated
with merged frames as well as their underlying frames. Since DLBI, this is no
longer the case, so reinstate this temporary fix for a very common case of
the underlying frame of a display-item changing.
2012-10-05 10:56:49 +01:00
Gina Yeh
2a3e70a90d Bug 797801 - Final version: Cannot receive agent events after crash, r=qdot 2012-10-05 17:19:31 +08:00
Dão Gottwald
487d0104bd Bug 797894 - Use transparent autoscroll icons. r=karlt 2012-10-05 11:08:23 +02:00