Commit Graph

251181 Commits

Author SHA1 Message Date
Alexander Surkov
b4f4ed4c12 Bug 676240 - Crash [@ nsXULTreeAccessible::GetChildCount(), r=tbsaunde 2011-08-04 12:57:22 +09:00
Alexander Surkov
b5f6fa8b10 Bug 675515 - Crash [@ TextUpdater::DoUpdate] with long text node, r=tbsaunde, sr=neil 2011-08-04 12:57:08 +09:00
Patrick McManus
2f338d19b9 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Jim Blandy
30171152e1 Bug 672736: Implement the 'findReferences' shell function. r=jorendorff
findReferences(thing)

Walk the entire heap, looking for references to |thing|, and return a
"references object" describing what we found.

Each property of the references object describes one kind of reference. The
property's name is the label supplied to MarkObject, JS_CALL_TRACER, or what
have you, prefixed with "edge: " to avoid collisions with system properties
(like "toString" and "__proto__"). The property's value is an array of things
that refer to |thing| via that kind of reference. Ordinary references from
one object to another are named after the property name (with the "edge: "
prefix).

Garbage collection roots appear as references from 'null'. We use the name
given to the root (with the "edge: " prefix) as the name of the reference.

Note that the references object does record references from objects that are
only reachable via |thing| itself, not just the references reachable
themselves from roots that keep |thing| from being collected. (We could make
this distinction if it is useful.)

If any references are found by the conservative scanner, the references
object will have a property named "edge: machine stack"; the referrers will
be 'null', because they are roots.

js> var o = { x: { y: { z: {} } }}
js> findReferences(o.x.y.z)
({'edge: z':[{z:{}}], 'edge: machine stack':[null, null, null, null, null]})
js> o = { get x() { return 42 } }
({get x () {return 42;}})
js> findReferences(Object.getOwnPropertyDescriptor(o, 'x').get)
({'edge: shape; x getter':[{get x () {return 42;}}],
  'edge: constructor':[{}],
  'edge: machine stack':[null, null, null, null, null],
  'edge: get':[{configurable:true,
                enumerable:true,
                get:#1=(function () {return 42;}),
                set:(void 0)}]})
js> findReferences(Math.atan2)
({'edge: atan2':[Math], 'edge: machine stack':[null, null, null, null, null]})
js> findReferences(o)
({'edge: o':[{o:{get x () {return 42;}}}], 'edge: machine stack':[null, null, null, null, null]})
js>
2011-08-03 20:19:38 -07:00
Ali Juma
5d647f2d21 Bug 675210 - Postpone texture creation on Android to prevent internal format errors. r=mwoodrow 2011-08-03 23:18:31 -04:00
Matt Woodrow
601ed53b80 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Michael Wu
249b0f753d Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Michael Wu
0c7ca8452e Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Tim Taubert
9abc15c2e5 Bug 666475 - Intermittent browser_tabview_privatebrowsing.js | Test timed out; r=ehsan 2011-08-04 03:49:43 +02:00
Tim Taubert
61f4f29417 Bug 651643 - Private browsing service executes transition even when no mode switch required; r=ehsan,zpao 2011-08-04 03:49:38 +02:00
Jason Orendorff
e5002b3bc3 Bug 673070 - Fix name lookups in let scopes a bit more ("Assertion failure: sharedBlock" with e4x after fixing bug 646968). r=brendan. 2011-08-03 20:13:56 -05:00
Justin Dolske
b59dbf1261 Remove trailing whitespace from login manager and satchel. b=none 2011-08-03 17:52:47 -07:00
Justin Dolske
0e47a5cdb8 Bug 669217 - Remove nsISecurityCheckedComponent from videocontrols. r=mrbkap 2011-08-03 17:52:45 -07:00
Patrick McManus
4a430a805c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Taras Glek
2ed09ef2eb Bug 675737: Calculate time taken for by write/open/sync per db + main/other thread r=mak 2011-08-03 17:05:29 -07:00
Honza Bambas
25b9b5ddfc Bug 662511 - localStorage.key() gets out-of-sync when localStorage is updated in a separate window, r=jst 2011-08-03 23:36:51 +02:00
Honza Bambas
14fd6ea250 Bug 675617 - Fix browser_installssl.js to support keep-alive connections (add Connection: close ^headers^ files), r=dtownsend 2011-08-03 23:36:50 +02:00
Honza Bambas
e67e248d19 Bug 675616 - Change usage of localhost:8888 to mochi.test:8888 in test_css_cross_domain.html, r=zwol 2011-08-03 23:36:49 +02:00
Honza Bambas
ec27d7b0f9 Bug 675613 - Increase limit for thread number in ssltunnel, r=ted.mielczarek 2011-08-03 23:36:49 +02:00
Teddy Ni
1cdd084ef5 Bug 653423 - Undo option is grayed out although action is applicable in Scratchpad; r=rcampbell,gavin.sharp approval-mozilla-aurora=gavin.sharp 2011-08-03 16:42:44 -03:00
Jez Ng
0d16e3784a Bug 675359 - Follow-up fix for bug 588506: Remove unused code. r=zpao 2011-08-03 11:20:32 -07:00
Jez Ng
e25e877eea Bug 440098 - Bookmarks opened via "Open All in Tabs" should not replace current tab. r=mak 2011-08-03 11:19:55 -07:00
Javi Rueda
8601425c1d Bug 625018 - Duplicated access key for search engines entry in update panel, r=gavin 2011-08-03 11:16:09 -07:00
Margaret Leibovic
ff139e8ef9 Bug 670341 - about:permissions queries hosts for favicons, r=mak 2011-08-03 11:09:10 -07:00
Mihai Sucan
42502a15ad Bug 672470 - Fix memory leaks in Web Console code; r=rcampbell,gavin.sharp 2011-08-03 21:04:30 +03:00
Rob Campbell
1b9d0af5d1 merge m-c to fx-team 2011-08-05 09:54:00 -03:00
Rob Campbell
2c50a018ec Bug 666650 - [highlighter] create a global toolbar for the highlighter; r=mihai.sucan,gavin.sharp; a=nits 2011-08-04 14:04:42 -03:00
Rob Campbell
2ec48d0aab Bug 653140 - GCLI needs a commonjs require system; f=mihai.sucan r=dtownsend sr=dtownsend; a=orangefix 2011-08-04 10:33:34 -03:00
Tim Taubert
5d28376b91 merge the last green changeset on m-c to fx-team 2011-08-04 14:12:03 +02:00
Tim Taubert
dff09c272f merge the last green changeset on m-c to fx-team 2011-08-03 16:45:19 +02:00
Marco Bonardo
b245bb61dd Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Mark Finkle
c5379882ab Bug 676052 - gingerbread theme for android 2.3.5 [r=mbrubeck] 2011-08-03 01:48:13 -04:00
Tim Taubert
af2455ebbc merge the last green changeset on m-c to fx-team 2011-08-03 07:41:10 +02:00
Tim Taubert
c8d3e23225 Bug 673196 - When creating a new TabGroup near the edge of the screen in Panorama, a part of it is invisible; r=dietrich 2011-08-03 07:38:07 +02:00
Tim Taubert
7a7f4e604a Bug 673729 - When a stacked group's expand button is clicked the group starts to zoom; r=dietrich 2011-08-03 07:38:07 +02:00
Tim Taubert
b1d98d2330 Bug 625668 - Resizes for single groups don't stick correctly, returning them to their userSize values; r=dietrich 2011-08-03 07:38:07 +02:00
Mark Finkle
c3594c9fd6 Bug 675920 - Difficult to select text if you don't tap directly on text [r=wjohnston] 2011-08-03 00:23:40 -04:00
Mounir Lamouri
9746f972e4 Bug 670986 - Create nsLocation.h to declare nsLocation instead of doing that in nsGlobalWindow.h. r=jst 2011-08-02 21:22:40 -07:00
Masayuki Nakano
bfc72b90bf Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Chris Double
7b1d1d6c7f Bug 666132: Account for trailing data in the last frame of audio data in ogg backend debug code - r=cpearce 2011-08-03 15:08:56 +12:00
Chris Double
4fdab57f2d Bug 675839 - Update playback position more frequently when writing in linux backend for libsydneyaudio - r=kinetik 2011-08-03 15:08:53 +12:00
Matt Woodrow
524fbbafbc Bug 505115 - Part 12b - Layout changes to use -moz-perspective-origin. r=roc 2011-08-03 15:04:24 +12:00
Matt Woodrow
b84eabcf4a Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron 2011-08-03 15:04:24 +12:00
Matt Woodrow
8d4ab549b6 Bug 505115 - Part 11b - Layout changes to use a z component for -moz-transform-origin. r=roc 2011-08-03 15:04:23 +12:00
Matt Woodrow
236f72943c Bug 505115 - Part 11a - Add nsCSSValueTriplet and optionally read a z component to -moz-transform-origin. r=dbaron 2011-08-03 15:04:23 +12:00
Matt Woodrow
7a41f6a8a2 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
b4bfd8dd6a Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
d9e573335e Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc 2011-08-03 15:04:21 +12:00
Matt Woodrow
9bd05fb9c7 Bug 505115 - Part 8b - Add 3D Point support, and ray tracing to gfx3DMatrix. r=bjacob, sr=roc 2011-08-03 15:04:20 +12:00
Matt Woodrow
af6bccfe08 Bug 505115 - Part 8a - Add BasePoint3D and gfxPoint3D. r=roc 2011-08-03 15:04:20 +12:00