Граф коммитов

251034 Коммитов

Автор SHA1 Сообщение Дата
Jezreel Ng 7fab15e82f Bug 666611 - Do not set chunksize if less than 100MiB of storage is available. r=mak 2011-08-04 09:04:52 +02:00
Ed Morley 5bead12ce7 Bug 653333 - Remove legacy splash screen code (nsSplashScreen, MOZ_SPLASHSCREEN, splash.bmp) now that no platforms use it; r=dtownsend,bsmedberg 2011-08-04 09:04:40 +02:00
Robert Sesek 73a22986c4 Bug 448168 - Apply |s/entires/entries/g|; r=roc 2011-08-04 09:04:29 +02:00
Julian Reschke 0011037320 Bug 230703 - only accept link header field target when it's first in the value. r=bz 2011-08-04 08:56:25 +02:00
Marco Castelluccio 3cfcb2e4ef Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-03 19:54:55 +02:00
arno renevier c808682169 Bug 673390 - prevent crash in [@ nsNativeTheme::IsIndeterminateProgress]. r=roc 2011-08-04 08:55:28 +02:00
Alexander Surkov 9c28a0db40 Bug 676340 - Crash [@ nsAccessible::NativeState() ] (called by nsXULTextFieldAccessible::GetValue), r=tbsaunde 2011-08-04 12:57:31 +09:00
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
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
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
Luke Wagner b79f27d2f5 Bug 675068 - change off-main-thread cycle collection not to use a (thread-local) safe JS context (r=mrbkap)
--HG--
extra : rebase_source : b5a8a4ffa590bc9d0f2491d6a14bb95a37ff55e9
2011-07-27 09:26:29 -07:00
Luke Wagner 6fa760edaf Bug 675068 - Remove unused XPCCallContext::GetSafeJSContext (r=mrbkap)
--HG--
extra : rebase_source : 6265482abb4fb6b732064b40b178212113c6e70e
2011-07-25 15:41:52 -07:00
Joe Drew 22d4cf9fd9 Bug 627015 - Hold on to a reference to the timer, so it doesn't get collected from under us. over-the-shoulder-r=jrmuizel,jdm 2011-08-03 16:39:53 -04:00
Steven Michaud f4e7521451 Bug 655339 - Work around bug in Apple's egrep on OS X 10.7. r=ted 2011-08-03 15:07:04 -05:00
Jeff Walden c635d4cc3d Bug 671630 - Add an atom for 'BYTES_PER_ELEMENT' in anticipation of its use in future changes. r=mrbkap
--HG--
extra : rebase_source : 31b90b4929d088753f393fab01cb55c9062072e7
2011-05-04 16:54:23 -04:00
Jeff Walden b0347962e1 Bug 675745 - Don't specify JSCLASS_CONSTRUCT_PROTOTYPE for js_AttributeNameClass or js_AnyNameClass. The flag's only used in a code path that neither class will ever enter. r=igor
--HG--
extra : rebase_source : 8731f262aae07a01a87ae4063d1370d81b9e5141
2011-08-01 15:14:38 -07:00
Jeff Walden 8c859c2315 Bug 675745 - Initialize the XML class by creating the prototype and constructor manually, and by initializing each according to its special needs. r=igor
--HG--
extra : rebase_source : 925e746f64092c53915b226df3c42cb3f12d90a5
2011-05-04 16:54:24 -04:00
Jeff Walden 45573f159d Bug 675745 - Initialize the QName class by creating the prototype and constructor manually, and by initializing each according to its special needs. r=igor
--HG--
extra : rebase_source : d7e2c26cdb1742c8ac239c4b596e236bc8028211
2011-05-04 16:54:24 -04:00
Jeff Walden fb5c96b629 Bug 675745 - Initialize the Namespace class by creating the prototype and constructor manually, and by initializing each according to its special needs. r=igor
--HG--
extra : rebase_source : 467661fe15b099da27e29d7f2ceb02c39c4a2b92
2011-05-04 16:54:24 -04:00
Jeff Walden c79b0345f1 Bug 675797 - Warn in calls to nsIJSON.encode and nsIJSON.decode that the two methods are deprecated. r=jst
--HG--
extra : rebase_source : ec4bda0ae1c71955bd42e45f51b996141cf4372c
2011-08-01 15:14:31 -07:00
Jeff Walden a8812807fc Actually populate the dtoa cache correctly in js::IndexToString. r=luke over irl
--HG--
extra : rebase_source : eef9c49c3a8cc41d6c0926734e35743e25f4ff23
2011-08-03 12:39:55 -07:00
L. David Baron 62ea8608a8 Followup to changeset c9dff8b867f0d74ef23396bcb896696cf9436b08 (bug 403524): test passes on Android now as well (bug 585684 / bug 586748). 2011-08-03 12:48:04 -07:00
Patrick McManus fca47cdeb4 bug 675038 - websockets wss:// tests r=biesi
--HG--
extra : rebase_source : 0d1c6c22d20124d7456eea91a2263eec9100517a
2011-08-03 15:38:56 -04:00
Patrick McManus 19ad699c32 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Patrick McManus bee8ccf02b bug 662612 - speed up test_websocket.html execution r=bz
--HG--
extra : rebase_source : 44bfc07b2ef3d4de4ae9faeb3e09bd0b60d22c66
2011-08-03 15:15:25 -04:00
Joe Drew 2dab1263e5 Bug 627015 - Add a crashtest for an image that takes a very long time to download the next frame, giving our animation timer a chance to fire. r=jrmuizel 2011-08-03 15:22:47 -04:00
Joe Drew c33a3e4697 Bug 627015 - Sometimes, images pause mid-frame when downloading. We handle this just fine, but unfortunately we assert that it's not the case. Since this assertion is just bogus, delete it. r=jrmuizel 2011-08-03 15:19:44 -04:00
Joe Drew 2993c9688e Bug 609499 - Crashtest for GIFs that abruptly terminate their LZW data. r=jrmuizel 2011-08-03 15:19:33 -04:00
Joe Drew 24dfe07c9b Bug 609499 - Some invalid GIF files don't terminate their LZW data with a 0-length block. Handle them better by handling them less specially. r=jrmuizel 2011-08-03 15:19:19 -04:00
Mounir Lamouri dd4136aa1c Bug 675396 - Follow-up, fix comment. r=glandium DONTBUILD
--HG--
extra : rebase_source : a1fe3f70795dec8c5e5831d04e4cd84c3bb27495
2011-08-03 11:29:15 -07:00
Sindre Dammann b3a565e7c0 Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky 2011-08-03 14:32:32 -04:00
Boris Zbarsky ecd63441dd Bug 506844. Remove kids in order, not in reverse order, when clearing textContent and innerHTML. r=sicking 2011-08-03 14:32:32 -04:00
Boris Zbarsky 440e69f0fd Bug 671635. Set chrome margins off a scriptrunner. r=smaug 2011-08-03 14:32:32 -04:00
Boris Zbarsky 14079ef330 Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron 2011-08-03 14:32:32 -04:00
Boris Zbarsky 19143738ab Bug 653120. Switch sBlockedScriptRunners to be an nsTArray so removing from it is faster. r=sicking 2011-08-03 14:32:32 -04:00
Vitor Menezes 1baff11dba Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
Vitor Menezes 4dbadf264d Bug 403524: Make textarea not inherit text decorations and correct the failing reftest (r=dbaron)
Originally, this reftest only failed on Windows (see bug 585684).
However, upon making standards mode compliant with CSS2.1, the bug
described in 585684 spread to all platforms, indicating it was actually
a layout bug and not d2d per se.  This patch makes the anonymous div
inside textareas and text inputs inline-blocks so that they ignore
decorations defined on ancestors.
2011-08-03 11:30:58 -07:00
Vitor Menezes cf98ee0a14 Bug 403524: Merging codepaths introduced some reftest failures; we need to fix them (r=dbaron)
It would appear that shadows were expected to render above underlines,
violating the CSS3 spec for text-shadow
(http://dev.w3.org/csswg/css3-text/#text-shadow).  The text-overflow
reftest relied on our previous standards-mode decoration implementation,
which drew strikethroughs after drawing the contents of the box,
regardless of whether there was any text; the reference thus no longer
needs to artificially introduce the decoration.
2011-08-03 11:30:58 -07:00