Commit Graph

985 Commits

Author SHA1 Message Date
e5eb3560bb Bug 403574 - ""ASSERTION: Infinite loop! Calling EnsureScriptEnvironment() from within EnsureScriptEnvironment()!" with XBL, <frame>" [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=bzbarsky (DEBUG builds only)] 2008-02-20 02:02:04 -08:00
ae6c4721ce Stop treating _new as a special window target. No other browser does. Bug 417067, r+sr=jst, a=beltzner 2008-02-13 21:05:25 -08:00
17fe55041d Bug 94514 - POST result page should not appear in global history or history autocomplete results. r=bz, sr=bz 2008-02-06 10:18:07 -08:00
2f6e671bb6 Followup patch for bug 409888: make replace loads work more like they used to. r=biesi, sr=jst 2008-01-29 20:19:37 -08:00
fae6ba617c Bug 413938: Add an nsIWebNavigation flag to let clients bypass malware/phishing detection. r=bz, sr=biesi, a1.9=damons 2008-01-29 15:49:20 -08:00
c4bf25de3f Tighten up the named-target navigation policy to better match the HTML5 spec and Safari. Bug 408052, patch by Adam Barth <hk9565@gmail.com> and Collin Jackson <mozilla@collinjackson.com>, r=jst, sr=bzbarsky. 2008-01-27 11:39:10 -08:00
98049b69e0 Allow certain restricted loads in unload events. Bug 409888, r+sr=jst 2008-01-25 12:31:44 -08:00
ea3fbbec06 Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky 2008-01-20 18:05:38 -08:00
8dfca73d13 Bug 392407: appstrings.properties should not be using branded strings r+sr=bzbarsky, ui-r=beltzner, a=blocking1.9 2008-01-05 05:40:46 -08:00
e06c799c22 Bug 404634 - "http urls don't render in TestGtkEmbed" [p=asac@jwsdot.com (Alexander Sack) r=bsmedberg r=bzbarsky a=blocking1.9+] 2008-01-04 22:38:30 -08:00
323182b972 Bug 393002 - ""Server not found" message for view-source window doesn't display server name" [p=anant@kix.in (Anant Narayanan) r=bsmedberg sr=bzbarsky a1.9=damons] 2007-12-11 01:55:35 -08:00
3bbb89a8a9 Fix for bug 403501 (Rich text editing broken after back, forward in history). r/sr=jst. 2007-12-04 16:28:24 -08:00
f74bec6f95 Propagate the node's principal as the owner to <object> loads as needed, and allow <object data="javascript:"> to work. Bug 353334 and bug 300263, r=biesi, sr=jst, a=dsicore 2007-12-03 13:57:17 -08:00
bedbc25538 Fix bug 400556 by tearing down editor a little earlier. r+sr=peterv 2007-12-02 18:07:16 -08:00
9d0e5f9758 Bug 394525: malware check non-http channels. r=bz, sr=biesi 2007-11-27 12:42:33 -08:00
a6d86cc0fe Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
09c36b7f53 Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor 2007-11-23 12:20:41 -08:00
203f468ecc Fix bug 404548. r+sr=jst, a=schrep 2007-11-21 11:59:42 -08:00
ff498d18dc Backed out dcamp's patch from bug 394525, as it caused a unit test failure for bug 377539. 2007-11-13 02:00:59 -08:00
54a228d844 Bug 394525 - "malware check non-http URIs" (treat Suspend() failures as nonfatal) [p=dcamp r=bzbarsky sr=biesi a=blocking1.9+] 2007-11-13 00:23:32 -08:00
70e080b7c8 Fixing bug 392532. Infinite recursion crash when getting scroll chrome flags off of a window at the wrong point in time. r+sr=bzbarsky@mit.edu, a=vladimir@pobox.com 2007-11-11 21:48:24 -08:00
412d0c7576 Preserve history on charset reload. Bug 134911, r+sr=bz, a=roc 2007-11-11 11:48:09 -08:00
762d347480 Bug 398718 - "Better explanatory text for SSL error pages" [p=kaie/johnath r=rrelyea r=biesi a=blocking1.9+ for M9] 2007-10-30 13:26:25 -07:00
b8a9b11125 Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9] 2007-10-29 11:29:14 -07:00
676f997747 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
cfb279b989 Give the about:blank document we create when loading a javascript: URI from history the principal of the history entry so the JS will actually execute against that about:blank, not in a sandbox. Bug 384014, r+sr+a=jst 2007-10-07 11:26:02 -07:00
2a71a49259 Fix a few issues in bfcache and XBL when javascript is being toggled on and off. Bug 398668, r+sr+a=jst 2007-10-05 17:35:00 -07:00
0c0bbebbfd Bug 299555 - F5 reloads Print Preview after right clicking several times on this specific testcase, r=bzbarsky, sr+a=jst 2007-09-28 16:40:02 -07:00
6bb5c8306d Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
4837fcb386 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
3c9e2d3a40 Resize the subdocument off a post-reflow callback so that we don't run script during reflow, and a few related checks to make sure we can deal with script in reflow callbacks better. Bug 396587, r+sr+a=roc. 2007-09-19 19:46:28 -07:00
a26807feed Add a flag to nsIWebNavigation to disable popup-blocking for loads as needed. Bug 278357, r=biesi, sr=jst, a=bsmedberg 2007-09-14 12:21:45 -07:00
2fc684b1e1 Revoke presentation restore events even if we just get a network stop. Bug 306283, r+sr=biesi 2007-08-31 20:21:22 -07:00
b655a45e34 only malware check nsHttpChannel for now, should fix orange. b=384941, r+sr=biesi 2007-08-31 17:48:30 -07:00
20575d997e another bustage fix, fix up the PR_LOG ifdefs from the last commit. b=384941 rs=biesi 2007-08-31 16:48:39 -07:00
1c51426f76 fix bustage from bug 384941 2007-08-31 16:29:45 -07:00
5ce94b26aa block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky 2007-08-31 16:18:46 -07:00
c4471aec31 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc 2007-08-27 18:20:17 -07:00
47af6189d9 Make sure to not think we're in the middle of firing unload just because we created an about:blank content viewer. Bug 388579, r=biesi, sr=jst 2007-08-23 12:03:08 -07:00
e5dea75a52 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
fefc441b2f Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org 2007-08-09 15:30:30 -07:00
f3f7d0477b Fixing bug 389634. Remove dependency on XUL windows from modal content dialog opening code (window.showModalDialog()). r=bzbarksy@mit.edu, sr=jonas@sicking.cc 2007-08-09 15:03:01 -07:00
c7695ee4ba Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
51dfda0c8e Fixing bug 194404. Adding support for window.showModalDialog() for compatibility with IE. r+sr=jonas@sicking.cc 2007-07-26 10:52:26 -07:00
eda1256578 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
87ea17e2ec Make sure to properly set subframes loaded from bfcache as not having had
unload fired on them.  Bug 364461, r=biesi, sr=jst.
2007-07-11 10:15:16 -07:00
c06e7a7a00 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
20381cc094 Fix up three uses of NS_STATIC_CAST which can't be automatically converted to static_cast<> due to a deficiency in the fixup script. 2007-07-02 16:46:19 -07:00
a34d249df3 Bug 107491, follow up check in, Rename string ID nssFailure to nssFailure2
rs=Pike
2007-06-20 07:10:30 -07:00