Commit Graph

2204 Commits

Author SHA1 Message Date
Honza Bambas
57c667fe6b Bug 422526 - implement localStorage, p=Honza Bambas+Dave Camp, r=jst+dcamp+bz 2009-03-19 00:43:45 +01:00
Olli Pettay
b6cf78a6a8 Bug 478245 - Crash [@ nsEventStateManager::PreHandleEvent], r+sr=dbaron 2009-03-11 17:43:08 +02:00
Dave Camp
39401f5525 Bug 481342 - Fix some unpacking logic. r+sr=bz
--HG--
rename : docshell/test/bug369814.zip => docshell/test/bug369814.jar
2009-03-10 14:58:00 -07:00
Jonas Sicking
86a18a593a Bug 475636: Disallow refresh to javascript uris. r/sr=bz
--HG--
extra : rebase_source : 1fdfc3148c257aee22001be045258cc985ee027a
2009-03-09 23:03:39 -07:00
Markus Stange
a7fec774ab Bug 481359 - Mouse shouldn't show spinner while pages are transferring, ui-r=beltzner r+sr=bzbarsky 2009-03-05 16:07:55 +01:00
Olli Pettay
f1743a2b27 Bug 479490 - ###!!! ASSERTION: Mismatched calls to ResumeTimeouts!:, r=bent, sr=jst 2009-03-03 22:18:00 +02:00
Olli Pettay
739ee979a1 Bug 333198 - Suppress Input events for web content during synchronous XMLHttpRequest loads, r=bz, sr=jst 2009-03-03 22:11:14 +02:00
Olli Pettay
4da5c3f43a backout 333198 2009-03-02 22:21:46 +02:00
Olli Pettay
7dc9c0ff12 backout 479490 2009-03-02 22:20:10 +02:00
Asaf Romano
3ed64fb5a5 comments and a hard-tab fix 2009-02-26 16:01:11 -08:00
Asaf Romano
8900bd48d4 Bug 480149 - DOMLinkAdded and DOMLinkRemoved events for link elements should be dispatched when swapping docshells. r+sr=bz. 2009-02-26 14:05:42 -08:00
Olli Pettay
e0648db07b Bug 479490 - 'ASSERTION: Mismatched calls to ResumeTimeouts'. r=bent, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:32 -08:00
Olli Pettay
fe25d33f34 Bug 333198 - 'Suppress Input events for web content during synchronous XMLHttpRequest loads'. r=bz, sr=jst, a=blocking1.9.1+ 2009-02-26 14:00:30 -08:00
Dave Camp
bf4b7538a7 Bug 442584 - Prefetching stops working until Firefox is restarted. r=jduell, sr=jst 2009-02-24 23:12:12 -08:00
Mats Palmgren
85f84a23d7 Initialize members. b=479713 r+sr=roc 2009-02-24 21:06:34 +01:00
Zack Weinberg
4b0289ba0b Bug 478079 - Kill nsViewManager::DefaultRefresh, and move the cached canvas background to the pres shell; r+sr=roc 2009-02-23 02:10:23 +01:00
Boris Zbarsky
36a2d9ec15 Speed up canvas comparisons in bidi mochitests. No bug 2009-02-19 22:04:19 -05:00
Chris Pearce
5b97511c94 Bug 432114. Change style sheet owner to the document being edited. r+sr=peterv
--HG--
extra : rebase_source : 1477b54a36bdb3c8d1f4f44801890707043b49ee
2009-02-19 20:52:54 +13:00
Jesse Ruderman
313514226b Add a bunch of crashtests 2009-02-10 00:09:40 -08:00
Daniel Holbert
2772409706 Bug 458167 - Fix bad usage of "it's" in comments: patch for docshell folder. r=bsmedberg 2009-02-05 18:05:03 -08:00
Boris Zbarsky
c0c69ccd9b Bug 474389. Fix the 'set up editor after this load' setup, which hasn't really worked for a while, except for initial loads in the window. r+sr=peterv 2009-01-23 10:16:10 -05:00
Boris Zbarsky
82c2898aab Bug 459443. Make sure to detach our editor even if we don't have a session history entry, so that scripts will get correctly reenabled. r+sr=peterv 2009-01-23 10:16:09 -05:00
Jonas Sicking
2c8b4e0b19 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Boris Zbarsky
d9fb5d832d Bug 474349. Set mOSHE when starting load for document.write, since there will never be an Embed call, and do so in all cases, not just when we already have an mOSHE. r+sr=jst 2009-01-22 14:33:10 -05:00
Peter Van der Beken
0b7ffe2664 Backed out changeset 9fc993ac4427 (Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz) to fix orange. 2009-01-22 14:52:34 +01:00
Jonas Sicking
77010e3913 Bug 464954: Update Access-Control implementation to latest draft and fix some bugs. r/sr=bz 2009-01-21 14:50:28 -08:00
Boris Zbarsky
73d92ef712 Back out bug 459443 for now, until the patch in bug 474389 gets reviewed 2009-01-20 22:54:52 -05:00
Boris Zbarsky
c5b031052c Bug 459443. Make sure to detach our editor even if we don't have a session history entry, so that scripts will get correctly reenabled. r+sr=peterv 2009-01-19 16:46:47 -05:00
Dave Camp
b6f597421e Bug 473938 Stylesheets don't load without a safe browsing service r+sr=sicking 2009-01-16 21:54:39 +00:00
Dave Camp
1e04293c7f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Jeremy Lea
ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Boris Zbarsky
9ab3dc1969 Bug 449780. When doing a frameloader swap, clear the bfcache on both docshells, since we can't deal with all those presentations. r+sr=jst 2009-01-13 14:32:30 -05:00
Dave Camp
d92aa7006b Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
a925063a4f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp
a80443658d Bug 458091: Don't store an mURI in nsDOMStorage. r=bz 2009-01-12 21:52:00 -08:00
Benjamin Smedberg
3498a5f86e Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Boris Zbarsky
25c80fe5bc Bug 468189. Stop failing the test if we don't finish within 5 seconds. It causes sporadic failures. 2009-01-07 09:23:56 -05:00
Dave Camp
36ef1ae586 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
32154830af Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Boris Zbarsky
3d37a465e1 Bug 449778. Don't fire pageshow in the new place on viewer swap if it's about to fire anyway. Do fire it in the old spot in that case, though. r+sr=jst 2008-12-28 10:34:00 -08:00
Robert O'Callahan
1f1a970697 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
Boris Zbarsky
08121c0b9d Bug 445725. Copy over the history entry owner to the clone on anchor scroll, so that we get the right owners on reload of scrolled file:// pages. r+sr=jst 2008-12-11 14:16:05 -05:00
Shawn Wilsher
fe66178c10 Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
Shawn Wilsher
205d129c10 Backed out changeset b6f762fde736 (bug 466582) for unit test orange. 2008-12-08 18:51:46 -05:00
Shawn Wilsher
2a28a8b2b1 Bug 466582 - smarter handling of remote chrome (and not allowing it)
r=bsmedberg, r=bz, sr=bz
2008-12-08 17:14:14 -05:00
Boris Zbarsky
33ae8fd77e Add a workaround for bfcache suckage and reenable these tests. r=sheriff for CLOSED TREE 2008-12-04 15:51:25 -05:00
Markus Stange
030716b190 Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Boris Zbarsky
a0a14baffb Disable tests for now to fix orange 2008-12-03 14:44:33 -05:00