Commit Graph

277 Commits

Author SHA1 Message Date
reed@reedloden.com
1959e45a26 Back out Chris Pearce's patch from bug 430921 as a possible cause of the crashes on Linux. 2008-05-08 03:39:06 -07:00
reed@reedloden.com
10a02a3cb6 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-08 02:06:05 -07:00
reed@reedloden.com
fd12419586 Back out Chris Pearce's patch from bug 430921 in case it is the cause of the crashes. 2008-05-07 05:01:40 -07:00
reed@reedloden.com
b754735e10 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-07 03:18:31 -07:00
peterv@propagandism.org
bd715db358 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
dveditz@cruzio.com
6aca124433 bug 427293: add a pref to unhide the buttons on the bad-cert error page by default for advanced users. r=johnath, ui-r=beltzner, sr=jst, a=beltzner 2008-05-02 00:24:27 -07:00
Olli.Pettay@helsinki.fi
8c5cd9f684 Bug 426646, Using location.replace breaks iframe history, r=bz,sr=jst,a=dsicore 2008-04-29 00:18:55 -07:00
Olli.Pettay@helsinki.fi
2df44b5dfe Bug 430050, cancel frameloader initialization when docshell starts to load a page, r=sicking, sr=jst, a=dsicore 2008-04-24 03:33:22 -07:00
roc+@cs.cmu.edu
521c4a52ea Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner 2008-04-23 14:36:17 -07:00
gavin@gavinsharp.com
6e0c6ade9c Bug 421067: 'Try Again' after a DNS error sometimes loads previous page, not the one that failed to load, patch by Michal Novotny <michal@allpeers.com>, r+sr=bzbarsky, a=schrep 2008-04-13 18:36:04 -07:00
dveditz@cruzio.com
4585bfe017 bug 428288 chrome crash in nsDocShell::ValidateOrigin, problem found by timeless, r/sr=bzbarsky, a=beltzner 2008-04-12 14:18:06 -07:00
jst@mozilla.org
14b80d26bc Landing followup fix for bug 402983 and re-enabling the new stricter file URI security policies. r+sr=bzbarsky@mit.edu 2008-03-22 09:50:47 -07:00
jst@mozilla.org
89acfcbf1a Landing fix for bug 402983. Make security checks on file:// URIs symmetric. Patch by dveditz@cruzio.com, r=jonas@sicking.cc,bzbarsky@mit.edu. jst@mozilla.org 2008-03-20 21:39:08 -07:00
Olli.Pettay@helsinki.fi
6d32891dbb Bug 421209, r=cpearce, sr=jst, a=beltzner 2008-03-20 13:24:36 -07:00
dveditz@cruzio.com
ab06027eb0 bug 420425 correction, untangled patches. 2008-03-19 16:40:56 -07:00
dveditz@cruzio.com
24751a58e2 bug 420425 restore frame targeting behavior for local file: apps, r=jst, sr=bzbarsky, blocking1.9+ 2008-03-19 16:31:56 -07:00
timeless@mozdev.org
49405356ad Bug 419520 Provide url (or file path) for error messages r=biesi a=dsicore 2008-03-19 14:24:51 -07:00
dcamp@mozilla.com
cc10446d26 Bug 394485: Prevent loading blocklisted urls loaded from <object> tags. r=jonas, sr=biesi, blocking1.9=stuart 2008-03-12 14:52:47 -07:00
bzbarsky@mit.edu
52c572e4be Fix longstanding issue where anchor scrolls on a POST result page could lead to a silent re-POST during history traversal. Bug 413310, r+sr=biesi, a=dsicore,beltzner,righteousness. 2008-02-28 20:21:39 -08:00
reed@reedloden.com
edd5a9436f 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
bzbarsky@mit.edu
991e322339 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
sdwilsh@shawnwilsher.com
1681c0b482 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
bzbarsky@mit.edu
2d6648cbe7 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
dcamp@mozilla.com
30be9b9e5c 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
bzbarsky@mit.edu
cdc82600d2 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
bzbarsky@mit.edu
c483501bf3 Allow certain restricted loads in unload events. Bug 409888, r+sr=jst 2008-01-25 12:31:44 -08:00
roc+@cs.cmu.edu
f8263cd94c Bug 403565. Give each contentviewer it's own device context. r+sr=bzbarsky 2008-01-20 18:05:38 -08:00
mkmelin+mozilla@iki.fi
8c8ff6f4ff 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
reed@reedloden.com
ea14f026e1 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
reed@reedloden.com
816711d89d 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
peterv@propagandism.org
59008332e8 Fix for bug 403501 (Rich text editing broken after back, forward in history). r/sr=jst. 2007-12-04 16:28:24 -08:00
bzbarsky@mit.edu
f1f789125b 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
bzbarsky@mit.edu
34e1841267 Fix bug 400556 by tearing down editor a little earlier. r+sr=peterv 2007-12-02 18:07:16 -08:00
dcamp@mozilla.com
b128fd0df9 Bug 394525: malware check non-http channels. r=bz, sr=biesi 2007-11-27 12:42:33 -08:00
dcamp@mozilla.com
911a5b2bb9 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
sdwilsh@shawnwilsher.com
9223b5a23c 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
bzbarsky@mit.edu
24e10353bf Fix bug 404548. r+sr=jst, a=schrep 2007-11-21 11:59:42 -08:00
reed@reedloden.com
effca1ef3a 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
reed@reedloden.com
537a51cabe 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
jst@mozilla.org
8ba4f49947 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
smontagu@smontagu.org
37669cb26f Preserve history on charset reload. Bug 134911, r+sr=bz, a=roc 2007-11-11 11:48:09 -08:00
reed@reedloden.com
eeaeef5a63 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
reed@reedloden.com
a62a519f92 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
bzbarsky@mit.edu
06f6b88b65 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
bzbarsky@mit.edu
dbd84aeec7 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
bzbarsky@mit.edu
6be2e13a6b 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
martijn.martijn@gmail.com
a230c7d0e3 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
bzbarsky@mit.edu
d042521385 Relanding bug 396587. Maybe it'll stick now. r+sr+a=roc 2007-09-20 16:28:26 -07:00
bzbarsky@mit.edu
47f2b7dfa5 Backing out bug 396587 to hopefully fix orange. 2007-09-19 20:41:29 -07:00
bzbarsky@mit.edu
b2fb733cfc 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
bzbarsky@mit.edu
09bf873dfb 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
bzbarsky@mit.edu
79ed5fdbdb 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
dcamp@mozilla.com
a0ad408261 only malware check nsHttpChannel for now, should fix orange. b=384941, r+sr=biesi 2007-08-31 17:48:30 -07:00
dcamp@mozilla.com
807bb8c0d3 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
dcamp@mozilla.com
66aca8f4e9 fix bustage from bug 384941 2007-08-31 16:29:45 -07:00
dcamp@mozilla.com
791d1813f7 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
sharparrow1@yahoo.com
a0c6a21aa4 Bug 390180: Full page zoom interacts badly with bfcache. r+sr+a=roc 2007-08-27 18:20:17 -07:00
bzbarsky@mit.edu
8d78a2ebd3 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
bzbarsky@mit.edu
96ec7b6a69 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
jst@mozilla.org
73674fd85b 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
jst@mozilla.org
93dead394b 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
bzbarsky@mit.edu
73073f4f3b 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
jst@mozilla.org
895b24daf7 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
bzbarsky@mit.edu
d59efa6763 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
bzbarsky@mit.edu
12a2857d4b 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
bzbarsky@mit.edu
66922fe009 Eliminate more callers of CheckSameOriginPrincipal in favor of
Equals/Subsumes.  Bug 387212, r=mrbkap, sr=jst
2007-07-09 21:22:55 -07:00
jwalden@mit.edu
e3c4baccae 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
jwalden@mit.edu
0722082faa 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
kaie@kuix.de
15e31c0f2b Bug 107491, follow up check in, Rename string ID nssFailure to nssFailure2
rs=Pike
2007-06-20 07:10:30 -07:00
bzbarsky@mit.edu
d7b47663a4 Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
sdwilsh@shawnwilsher.com
916e281735 Bug 382383 - nsDocShell::LoadURI discards LOAD_FLAGS_FIRST_LOAD. r=bzbarsky, sr=cbiesinger 2007-06-10 16:28:27 -07:00
mats.palmgren@bredband.net
b426f797d9 Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky 2007-05-17 20:49:14 -07:00
bzbarsky@mit.edu
3ffbd0069c Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,r=bsmedberg, sr=biesi 2007-05-06 14:06:28 -07:00
bzbarsky@mit.edu
18ffde80c6 Don't make embedding of a content viewer in a child frame force a layout flushon the parent. The child doesn't really care that much about up-to-date layoutinfo at this point; if its size changes it will deal. Bug 379485, r+sr=jst 2007-05-02 13:34:41 -07:00
bzbarsky@mit.edu
7efbb54080 Be a little more careul with inheriting principals. Bug 304690, r=dveditz,sr=jst 2007-04-26 21:01:17 -07:00
mats.palmgren@bredband.net
2bd2f49360 Fix compile errors and warnings with -DDEBUG_DOCSHELL_FOCUS. b=373985 r+sr=jst 2007-03-24 03:51:44 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00