Commit Graph

73497 Commits

Author SHA1 Message Date
Ali Juma
6224d810fd Bug 675210 - Postpone texture creation on Android to prevent internal format errors. r=mwoodrow 2011-08-03 23:18:31 -04:00
Matt Woodrow
c296cab4d8 Bug 675470 - Handle eCSSKeyword_interpolatematrix in AddTransformLists. r=dbaron 2011-08-04 14:08:37 +12:00
Michael Wu
bfc8ebbc5c Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap 2011-08-03 18:59:10 -07:00
Michael Wu
48f2ffa17a Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Jason Orendorff
aeda130b6d 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
a18697492c bug 676277 - websockets onmessage event.origin should be ws://* r=sicking 2011-08-03 20:32:23 -04:00
Taras Glek
6769ff0594 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
333edf60a8 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
a5507482fc 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
de967ceeda 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
31244a0e63 Bug 675613 - Increase limit for thread number in ssltunnel, r=ted.mielczarek 2011-08-03 23:36:49 +02:00
Luke Wagner
789e7bfe94 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
76e2ee8515 Bug 675068 - Remove unused XPCCallContext::GetSafeJSContext (r=mrbkap)
--HG--
extra : rebase_source : 6265482abb4fb6b732064b40b178212113c6e70e
2011-07-25 15:41:52 -07:00
Joe Drew
3c75d08723 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
f8bddd9a2f 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
1d16386477 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
8f9eb91e20 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
fcab7750b4 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
1bfe581c8e 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
c09e3e3ba6 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
b1d2f9acb0 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
7a0e72f576 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
7a118daf14 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
98187f1068 bug 675038 - websockets wss:// tests r=biesi
--HG--
extra : rebase_source : 0d1c6c22d20124d7456eea91a2263eec9100517a
2011-08-03 15:38:56 -04:00
Patrick McManus
c9a6067c84 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
2adea969f2 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
38c27dbd95 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
0474675146 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
99b136a24e Bug 609499 - Crashtest for GIFs that abruptly terminate their LZW data. r=jrmuizel 2011-08-03 15:19:33 -04:00
Joe Drew
96ce34cefc 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
db0c86e8e6 Bug 675396 - Follow-up, fix comment. r=glandium DONTBUILD
--HG--
extra : rebase_source : a1fe3f70795dec8c5e5831d04e4cd84c3bb27495
2011-08-03 11:29:15 -07:00
Sindre Dammann
deab7c03fb Bug 578534. Make Navigator.cookieEnabled take per-site exceptions into account. r=bzbarsky 2011-08-03 14:32:32 -04:00
Boris Zbarsky
2dd5488c1b 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
74709c94d5 Bug 671635. Set chrome margins off a scriptrunner. r=smaug 2011-08-03 14:32:32 -04:00
Boris Zbarsky
84f2ccaf56 Bug 676057. Get rid of the malloc-happy AttributeSelectorEntry class. r=dbaron 2011-08-03 14:32:32 -04:00
Boris Zbarsky
2526c9c039 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
1eb945fbb6 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
fec17839e4 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
ffab172cd7 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
Vitor Menezes
cf291058cb Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron 2011-08-03 11:30:58 -07:00
Vitor Menezes
34ffdd3a27 Bug 403524: Draw correct colors for text-decorations on default-color shadows in quirks mode. r=dbaron
Make the quirks mode text-decoration + text-shadow code draw the
decorations for shadows that do not have a specified color using
the same color used for the un-shadowed decorations, which matches
standards mode behavior.  (The color of unspecified-color shadows
is explicitly undefined in the specification.)

This code will (in a later patch on this bug) be used for both
quirks and standards modes.
2011-08-03 11:30:58 -07:00
Vitor Menezes
1be3da1279 Bug 403524: Make quirks-mode text draw order comply with CSS 2.1
Quirks-mode code draws text, and then all decorations. We need to instead draw
underlines, then overlines, -then- text, then line-throughs, as per CSS 2.1.

This involves refactoring nsTextFrame::PaintTextDecorations and
nsTextFrame::DrawText by merging them together, and also updating some
of their callers.
2011-08-03 11:30:58 -07:00
Vitor Menezes
c3e1ce33e1 Fix apparent rounding issues with new text decoration code. (Bug 403524) r=dbaron
Rendering text decorations far away from the frame's baseline seems to
sometimes introduce rounding issues. This patch addresses that by
avoiding snapped-baseline weirdness and using a different argument to
nsTextFrame::PaintTextDecorations in some computations that didn't
really need to use the snapped baseline anyway.
2011-08-03 11:30:58 -07:00
Vitor Menezes
776c5bc61f Only override font properties when in quirks mode. (Bug 403524) r=dbaron
Font tags cause NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL in quirks
mode only, so that standards mode (in which font tags don't cause the
override) can use the same codepath in the near future.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e28c55c2e9 Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.

This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Mounir Lamouri
966d2e2acd Bug 675396 - Fennec Desktop: "error while loading shared libraries: libmozsqlite3.so". r=glandium 2011-08-03 11:22:07 -07:00
Patrick McManus
ccf0b9d389 Bug 676025 - Websockets - failure to connect should generate onerror r=sicking 2011-08-03 12:42:04 -04:00
Patrick McManus
b363c5480c bug 674527 - websockets sub-protocol array implementation and tests r=sicking sr=bz 2011-08-03 12:42:02 -04:00
Justin Lebar
2bc2762f54 Bug 673467 - Part 2. Fix tests. r=smaug
--HG--
extra : rebase_source : 2b4d7c00e42f4fa54121fc4a9e0360984709357e
2011-08-01 19:45:47 -04:00
Justin Lebar
fd3b50e945 Bug 673467 - Part 1. Don't create an extra SHEntry for dynamically-added iframes. r=bz
--HG--
extra : rebase_source : 2af3094ea2dc95e30db3a9aa4d36766718efa009
2011-08-01 19:45:47 -04:00