Commit Graph

216172 Commits

Author SHA1 Message Date
Jonas Sicking
dcbd30a767 Bug 547165: Add tests for form submission and fix a few cases where we differ from IE/HTML5. Also add a generic getMyDirectory.sjs file for use in other tests as well. r=benjamn/waldo 2010-02-24 21:57:54 -08:00
Benjamin Smedberg
b2b8a2fa01 Bug 545712 - "A crash report was submitted" even when it wasn't. Check whether crashreportID is empty, which means there was no crash report. Also check whether CrashSubmit.submit returns false indicating that the crash report wasn't found in the expected location, r=dolske+gavin 2010-02-19 09:58:46 -05:00
Benjamin Smedberg
8a8ef6a58f Bug 544074 - Crashes at mozilla::plugins::PluginModuleChild::UnregisterActorForNPObject - the hash of scriptable objects is mutating while we enumerate the actors being destroyed after a plugin instance is destroyed. Save the list of actors off into a separate non-mutating table, r=bent 2010-02-24 16:14:13 -05:00
Benjamin Smedberg
fbec9f6e59 Bug 532208 - Make PBrowserStream destructor uni-directional by delivering all data asynchronously and doing two-phase (acknowledged) destruction, r=bent
--HG--
extra : rebase_source : 1155cb3c0d548712b274c81e7cf597eaf091d220
2010-02-23 16:45:00 -05:00
Benjamin Smedberg
2c9d96f80b 1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : fba343acbfcaa785c7405552d42f4558424b485c
2010-02-23 21:58:27 -05:00
Ryan Flint
6179f28581 Backout bug 522842 (2858cd90d03) 2010-02-25 00:35:37 -05:00
Makoto Kato
335b9d7446 Bug 405242 - Implement select.options.remove() method [HTML5 HTMLOptionsCollection.remove]. r=Olli.Pettay, sr=jst 2010-02-25 13:53:42 +09:00
Ryan Flint
f49d17ff5e Bug 522842 - Don't notify during startup until all engines are loaded. r=gavin 2010-02-24 23:10:55 -05:00
Jonas Sicking
963e54b50f Bug 544642: Make frames report an error event if the frame src is pointed at a local file url. And don't make setAttribute thrown an exception in that scenario. r=smaug 2010-02-24 18:45:43 -08:00
Justin Dolske
44b19b2421 Bug 545514 - plugin-problem UI needs to be an inline-block element. r=gavin 2010-02-23 13:52:00 -08:00
Justin Dolske
4f9d77f28c Bug 545686 - [OOPP] crashed plugin UI doesn't work on some sites. r=gavin 2010-02-24 15:45:00 -08:00
Jim Mathies
39cc8f63c3 Bug 547353 - [OOPP] Mouse pointer coordinates misaligned with winless Silverlight. r=bent. 2010-02-24 16:13:48 -08:00
Benjamin Smedberg
758507922d Add return statement to fix build bustage from bug 503989 2010-02-24 17:48:32 -05:00
Josh Aas
23a4b4146e Require Mac OS X 10.5 on launch. b=548367 r=bsmedberg 2010-02-24 14:06:40 -08:00
Jacek Caban
a288a80eac Bug 547714. Fix compilation failure on gcc 4.5, r=roc
--HG--
extra : rebase_source : 9836c306e1087b45809cac39ed79262c285cb966
2010-02-24 11:50:11 -08:00
Jacek Caban
0de77f6075 Bug 546092. Move endian.patch code to config.h. r=doublec
--HG--
extra : rebase_source : 12c8d9221c8e883e99dc81627b4d3ea398b6c8ab
2010-02-24 11:49:50 -08:00
Robert O'Callahan
5d7101fa24 Bug 545581. Stop checking view visibility at content/chrome boundary. r=mats
--HG--
extra : rebase_source : 57383fcc5138b4b4ff27619adaaec33fba38a3a2
2010-02-24 11:37:58 -08:00
Robert O'Callahan
0851cb44eb Bug 546865. Stop creating widgets for XUL trees. r=mats
--HG--
extra : rebase_source : 261b3df6a9319699819a3f254fc61c0cc70e8b53
2010-02-24 11:35:43 -08:00
Robert O'Callahan
ddd804576e Bug 546530. Bound search for previous cluster start. r=smontagu
--HG--
extra : rebase_source : 5b7bca2777b5cfc5495fc9d339eaf0fbe1ff9a64
2010-02-19 14:30:43 +13:00
Robert O'Callahan
7f57711ea0 Bug 529263. Allow content IFRAMEs in chrome IFRAMEs to not be hooked into the view manager hierarchy. r=bz
--HG--
extra : rebase_source : a7e053e408bb176fc9df068f52157e886b0554b1
2010-02-24 11:16:18 -08:00
Robert O'Callahan
5da349c3d9 Bug 503989. Break MediaLoadListener reference cycle at shutdown. r=sicking,doublec
--HG--
extra : rebase_source : bbd326582e4a7d0864affcfe3a715e228c4b2647
2010-02-24 11:14:14 -08:00
Robert O'Callahan
a6908fbdd0 Bug 544399. Use nsLayoutUtils::SurfaceFromElement when comparing canvases. r=vlad
--HG--
extra : rebase_source : 93f22c10faa3bad9dbff48cd823f38d4a6ffc22a
2010-02-24 11:04:32 -08:00
Robert O'Callahan
5983802080 Bug 541406. Temporarily disable showing outlines on focused plugins. r=dbaron
--HG--
extra : rebase_source : 94ac716a6c796c6f6e31f97847c91e56b747566b
2010-02-12 10:45:09 +13:00
Chris Jones
17e4329c85 Bug 548214: Extended IPDL/C++ test. 2010-02-24 15:59:24 -06:00
Chris Jones
f7ab808b8f Bug 548214: Seqno's go up in the parent, down in the child. r=bsmedberg 2010-02-24 15:59:23 -06:00
Benjamin Smedberg
a91ddf5a32 Bug 547894 - Allow null in NPN_GetStringIdentifier(s) to fix a topcrash with the divx plugin, r=bent 2010-02-24 16:34:17 -05:00
Benjamin Smedberg
addd94f3ae Bug 547316 - Plugin window subclass is not reset when CallNPP_Destroy fails, r=bent 2010-02-19 17:08:16 -05:00
Robert Sayre
0d5e2f3353 Merge. 2010-02-24 12:41:02 -08:00
Robert Sayre
362cd3db0f Merge tracemonkey to mozilla-central. 2010-02-24 12:25:40 -08:00
Paul O’Shannessy
b312f3e0d2 Bug 535689 - Avoid clobbering and replacing password value when moving focus outside of username field [r=dolske] 2010-02-24 12:02:24 -08:00
Paul O’Shannessy
b62f132843 Reduce extraneous console output from DNS Service when offline [r=dwitte] 2010-02-24 11:59:26 -08:00
Jonathan Kew
7a3339c3b1 Bug 524107 - part 2 - store language as atom instead of string in gfxFontStyle. r=roc sr=mats 2010-02-24 09:57:57 -08:00
Jonathan Kew
365fbafa0d Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Shawn Wilsher
4dce570127 Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-24 08:37:38 -08:00
Shawn Wilsher
44f75ebc87 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-24 08:37:03 -08:00
Shawn Wilsher
d5bd2fe739 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
99f6189b56 Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
293df458f9 Bug 461199 (Part 27) - Fix test_visited_pref.html so it passes with the new async isVisited API
r?dbaron
2010-02-24 08:37:03 -08:00
Shawn Wilsher
a9ce22c03b Bug 461199 (Part 26) - Update content tests to work with the new async isVisited API 2010-02-24 08:37:03 -08:00
Shawn Wilsher
12c043a651 Bug 461199 (Part 28) - Tell the document that we are a style relevant link
Adds the needed calls to inform the document if we are a style relevant link,
and when we no longer are.
r=bz
2010-02-24 08:37:03 -08:00
Shawn Wilsher
702ff9b0da Bug 461199 (Part 25) - Fix layout reftests to work with the new async isVisited API
r=jwatt
2010-02-24 08:37:03 -08:00
Shawn Wilsher
a7bee173ee Bug 461199 (Part 24) - Update docshell tests to work with the new async isVisited API
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
776f03074c Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
966fa7debf Bug 461199 (Part 22) - Call ResetLinkState if given eLinkState_Unknown
If consumers tell mozilla::dom::Link::SetLinkState that its new state is
eLinkState_Unknown, call mozilla::dom::Link::ResetLinkState and return.
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
066ad32c49 Bug 461199 (Part 21) - Cache the nsIContent pointer in Link for performance reasons
Add a Content method that obtains a pointer to the nsIContent interface on
mozilla::dom::Link.  This is cached so we only have to call QueryInterface once
during the entire lifetime of the mozilla::dom::Link object.
r=bz
2010-02-24 08:37:02 -08:00
Ehsan Akhgari
27a8c70900 Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
r=mconnor
r=sdwilsh
r=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
bf3378292a Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-24 08:37:02 -08:00
Shawn Wilsher
09e99cfbd1 Bug 461199 (Part 18) - Need an observer notification to indicate when link status is known from the database
Adds an observer to indicate when a URI lookup is completed and passes the
visited state with the notification.  This greatly simplifies test writing.
r=mak
2010-02-24 08:37:02 -08:00
David Anderson
0ca8eec54c Better fix for recursion and let blocks (bug 547791, r=gal). 2010-02-23 16:14:34 -08:00
Luke Wagner
a6f580ef72 Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff) 2010-02-19 19:22:37 -08:00