Граф коммитов

2587 Коммитов

Автор SHA1 Сообщение Дата
Jonas Sicking b41c433cea Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky 9c2ad4b2aa Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Blair McBride 178190146a Bug 554007: New add-ons manager UI (docshell parts). r=bz 2010-04-29 10:54:32 -07:00
Mitchell Field f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Philipp von Weitershausen 59d39b9054 Bug 560311 - "incomplete history observer impl in browser_bug503832.js" [r=sdwilsh] 2010-04-21 08:58:00 -04:00
Phil Ringnalda c34e9394d6 Bug 518607 - Move the Troubleshooting Information page into toolkit so other apps like Thunderbird and SeaMonkey can use it, r=gavin 2010-02-20 19:36:46 -08:00
Mike Hommey c8d89d57be Bug 448375 - Only depend on dbus-glib when needed. Depend on dbus instead [r=benjamin] 2010-04-24 09:39:53 +02:00
Brandon Sterne 2f9967b962 Bug 515460 - enforce CSP during frame redirects, r=jst, a=dholbert_sheriff 2010-04-23 12:51:59 -07:00
Timothy Nikkel bb4887772e Bug 502937. Part 1.1. Fix up another test. r=bzbarsky 2010-04-16 13:15:28 -05:00
Timothy Nikkel 9166d4f4fe Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Taras Glek 49db2378ea Bug 516085 - replace the most frequent IOService getter with an efficient one r=biesi 2010-04-12 08:44:28 -07:00
Timothy Nikkel 54c2a7920d Backed out changeset ae2093359899 (Bug 553359) for tsvg_opacity regression. 2010-04-11 19:26:41 -05:00
Timothy Nikkel b696838d2e Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
Justin Lebar 532c2b03e9 Bug 556684 Move test for bug 550565 r=dao
--HG--
rename : docshell/test/browser/browser_bug550565.js => browser/base/content/test/browser_bug550565.js
rename : docshell/test/browser/file_bug550565_favicon.ico => browser/base/content/test/file_bug550565_favicon.ico
rename : docshell/test/browser/file_bug550565_popup.html => browser/base/content/test/file_bug550565_popup.html
2010-04-11 20:52:59 +01:00
Timothy Nikkel 0e4f04dc67 Merge back out of changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:08:37 -05:00
Timothy Nikkel 1fccc50b36 Backed out changeset b4fcd21cb6e5 (bug 553359) to try to fix tsvg_opacity regression. 2010-04-11 00:07:52 -05:00
Craig Topper 25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Timothy Nikkel 046659cbfd Bug 553359. Cache whether the PresContext is chrome or not. r=bzbarsky 2010-04-10 13:03:40 -05:00
L. David Baron 7a857e9b5a Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
Dão Gottwald 986b546ddd use Services.* in browser chrome tests 2010-04-02 09:20:42 +02:00
Marco Bonardo 75db30109e Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Craig Topper fd9001c409 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Justin Lebar 4c5a4c96cd Bug 550565: Calling history.pushState during onDOMContentLoaded drops a favicon. r=dao 2010-03-24 10:22:13 +01:00
Neil Deakin 3ea1a5bd7d Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Henri Sivonen c5c79cad7e Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman.
--HG--
extra : rebase_source : 8a0b6e679c70c6d2429a9fdbf469cc59d285ca2f
2010-02-22 14:17:33 +02:00
Joel Maher f56bbbf726 Follow on patch for bug 503832 to fix orange due to bug 544097 having landed. 2010-03-08 20:41:00 -08:00
Philipp von Weitershausen 81f833c19e Bug 503832. Visiting a new fragmentid (scrolling to named anchor) should set the title of the page in the global history for the url with that anchor. r=bzbarsky 2010-03-08 19:30:02 -05:00
Joel Maher 6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Mark Banner 8cdf162518 Bug 545407 Remove code that disables DNS pre-fetching for APP_TYPE_MAIL/EDITOR docshells (in favour of letting it be managed by app specific policies). r=bzbarsky 2010-03-10 10:30:23 +00:00
Brad Lassey 96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Julian Seward 42859c9776 Bug 549236. Initialize these variables, so we don't use uninitialized values later. r=bzbarsky 2010-03-09 15:37:22 -05:00
Joel Maher 1c8d232df2 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Boris Zbarsky ef4ee99cc9 Backed out changeset dc835fb21c0c (bug 503832) on suspicion of causing a Tsspider regression.
--HG--
extra : rebase_source : b15b7bbd372fcbd768e653e89049804fed9070c8
2010-03-09 09:35:14 -05:00
Boris Zbarsky 6f0a02b9be Backed out changeset 2da8ac54d264 (followup to bug 503832)
--HG--
extra : rebase_source : 18787ca6131d944ee344c9428f5fa909b5e78a52
2010-03-09 09:32:35 -05:00
Kyle Huey ef9946d39a Backing out Bug 544097 due to test failures. 2010-03-09 01:16:43 -05:00
Kyle Huey 9f31ade692 Backing out Bug 544097 due to test failures 2010-03-09 01:15:59 -05:00
Kyle Huey a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Kyle Huey 4bdc331ace Backed out changeset 817634616c8b 2010-03-09 01:13:12 -05:00
L. David Baron 85324b60ed Don't leak the world in this new test. (Bug 503832)
--HG--
extra : transplant_source : %14%CB%9Er%1F%93%F6l%F3%11%3Dx%93%97%C3%3D%99%C4%CD%C5
2010-03-08 21:19:30 -08:00
Joel Maher 93847954ff Follow on patch to fix oranges from changeset 8ce70abd7777 2010-03-08 20:41:00 -08:00
Joel Maher 694ec71da0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Boris Zbarsky 36651912c4 Bug 550458. Treat quotes the same as spaces for determining whether a string should be passed to keyword.URL. r=jst 2010-03-08 19:30:02 -05:00
Philipp von Weitershausen 48a002ddce Bug 503832. Visiting a new fragmentid (scrolling to named anchor) should set the title of the page in the global history for the url with that anchor. r=bzbarsky 2010-03-08 19:30:02 -05:00
Clint Talbert 5b4513c7e9 Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher 3cd691129e Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
timeless@mozdev.org 6a63bb9e94 Bug 522214 Crash when setting null on charset [@ strlen | nsDependentCString::nsDependentCString(char const*)]
r=bz
2010-02-28 17:28:54 +02:00
Jonas Sicking 5310e41295 Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -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 72fccd35dd Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Neil Deakin 3cb7c0acf7 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Timothy Nikkel 895e60343d Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Shawn Wilsher 0d6465dc78 Backed out changeset af29773ebf66 2010-02-18 10:01:13 -08:00
Shawn Wilsher 18f2557e51 Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Shawn Wilsher 94acf62a02 Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00
Timothy Nikkel 0483c805d9 Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel 4f8c3bd548 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Doug Turner 7892aabac9 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Jae-Seong Lee-Russo 6a12c8a3bb Bug 530382. Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in docshell. r=jst 2010-02-09 12:09:06 -05:00
Jae-Seong Lee-Russo 082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Sid Stamm 26ad4e5a5b Bug 515458 - "(CSP) Implement frame ancestor check" [r=jst ui-r=johnath] 2010-02-05 14:08:27 -06:00
Henri Sivonen 2ec98df333 Bug 541050 - Add greater-than signs to test_bug404548.html to make it not fail with the HTML5 parser. r=bzbarsky. 2010-02-03 14:40:05 +02:00
Henri Sivonen 6bc836bfaa Bug 540576 - Remove trailing white space from a blank document to make its body have no WS with the HTML5 parser. r=bzbarsky.
--HG--
extra : rebase_source : f076d370d72787b495b96895fb321e0af02457a4
2010-01-22 10:15:43 +02:00
Justin Lebar 2fc408988c Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert 585d440f02 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar 731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Honza Bambas 3f72ce86df Bug 501423 - StorageEvent implementation does not match the spec, r=jst 2010-01-28 15:53:53 +01:00
Steffen Wilberg c762cf2060 Bug 538421: Add a nsIAboutModule flag to hide 'about:' pages from about:about. r=mano, sr=bzbarsky 2010-01-23 11:07:48 +01:00
Olli Pettay 8f9e916c89 Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz 2010-01-23 13:41:41 +02:00
Justin Lebar 46de8dd77f Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Robert O'Callahan 15976008ca Bug 539331 - browser_sanitizeDialog.js is failing, r=matspal 2010-01-14 05:00:00 -08:00
Robert O'Callahan a1e9364edb Bug 526394. Part 20: Convert more code in caret and docshell. r=mats 2009-09-09 17:40:02 +12:00
Steffen Wilberg 35fff6553d Bug 220253: Port about:about to Toolkit, but only show useful 'about' pages. ui-r=beltzner, r=mconnor 2009-08-21 21:28:46 +02:00
Olli Pettay c0f0d7e3a5 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Robert O'Callahan 92e0cd3300 Back out bug 515190 due to test failures 2010-01-07 15:17:40 +13:00
Robert O'Callahan 52d6a35781 Backed out changeset ad1892e1bb82 2010-01-07 15:17:15 +13:00
Robert O'Callahan b291a585bc Bug 508369. Fix test. r=bzbarsky 2010-01-07 14:14:38 +13:00
Justin Lebar 3c5c37e7fc Bug 515190: Hashchange event should be dispatched synchronously. r=smaug 2009-11-26 21:01:43 -08:00
Boris Zbarsky 9dd0888609 Bug 536772. Wallpaper over us switching the subdoc map entry too early. r=dbaron 2009-12-27 08:50:08 -05:00
Boris Zbarsky a864e44fa8 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Boris Zbarsky c52438da91 Bug 535361. Clear our child docshell list before messing with the new document viewer. r=jst 2009-12-23 16:17:23 -05:00
Oleg Romashin 17216ae660 Bug 488046 - Some random crash in [@ nsDocShell::EnsureContentViewer], r=bzbarsky
--HG--
extra : rebase_source : 3ce888953aef4d9e402fb0d23085de8c840ea55d
2009-12-21 13:16:20 +02:00
Jesse Ruderman fef9c5376c Turn 'adding a child where we already have a child' assertion into a warning for now. r=sicking. Bug 535466 tracks turning it back. 2009-12-16 18:45:17 -08:00
Serge Gautherie 1161bcc143 Bug 381467 - Switch application/x-javascript to application/javascript; (Cv1) /docshell/resources/content/netError.xhtml.
r=cbiesinger.
2009-12-15 22:25:41 +01:00
Benjamin Smedberg 23b210b34f test_crashing.html had windows-style line endings. 2009-12-14 09:14:28 -05:00
Benjamin Smedberg a54e6acfd8 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg 636d74b114 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Benjamin Smedberg e53a7195d5 Merge mozilla-central into Electrolysis. 2009-11-24 10:06:03 -05:00
Benjamin Smedberg d74c6776f3 Merge mozilla-central into electrolysis. 2009-11-19 12:41:46 -05:00
Boris Zbarsky a6883fa73a Update bug 529119 tests to not rely on error page titles. 2009-11-19 20:42:00 -05:00
Honza Bambas 4caede5829 Bug 529119 - Funky behavior with XUL error pages, r=bz 2009-11-18 17:02:28 +01:00
Olli Pettay 423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Boris Zbarsky b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Benjamin Smedberg 1d97bbb36a Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Benjamin Smedberg 34440c4bbc Merge mozilla-central into e10s. 2009-10-28 11:32:00 -04:00
Benjamin Smedberg 9ae75c423f Merge mozilla-central to electrolysis. 2009-10-20 12:08:28 -04:00
Nochum Sossonko ea120921fe Bug 498648 - Start private browsing while editing a message, cancel, doesn't cancel private browsing; r=bz,jst,ehsan 2009-10-20 10:19:43 -04:00
Neil Deakin 8491400c96 Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug 2009-10-16 10:32:05 -04:00
Ben Turner 1458356fce Merge mozilla-central 2009-10-05 16:08:52 -07:00
Vladimir Vukicevic 4e2f8253f5 b=515354; Implement "about:memory"; r=mconnor 2009-10-03 00:21:34 -07:00
Boris Zbarsky 628a6ad230 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Ben Turner 9914a675f3 Merge mozilla-central 2009-09-23 13:14:34 -07:00
Honza Bambas 6eea6f058f Bug 514232, r=bzbarsky 2009-11-11 21:39:34 +01:00
Ben Turner 596ccf5e7a Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Phil Ringnalda 6fce97e58d Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg 03bc0e116d Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Robert O'Callahan 469af95823 bug 514732 - fix bustage for shared lib builds r=bz 2009-11-02 21:55:35 -05:00
Roy Frostig 928ef7f116 Fire MozScrolledAreaChanged from nsDocShell::RestoreFromHistory() in case document root scroll frame isn't reflowed by the restore. r=roc 2009-10-25 00:04:18 -07:00
Neil Deakin dc9b8b8573 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
L. David Baron 186679f245 Change common NS_ASSERTION (bug 404693) to NS_WARN_IF_FALSE so we can make progress on making assertions be reftest failures (bug 472557). r=bzbarsky 2009-12-12 13:47:37 -08:00
Dão Gottwald b145e6bde4 Bug 517272 - Don't show the spinning cursor when restoring a page from bfcache. r=bz 2009-09-17 21:21:49 +02:00
Markus Stange 83ddb4fd22 Bug 482985 - add hidden pref for activity cursor. r=bz 2009-09-17 15:04:08 +02:00
Benjamin Smedberg 689058eecc Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Timothy Nikkel 545f872fcb Bug 520425. (nsI)CanvasFrame related cleanup. r=roc
--HG--
rename : layout/generic/nsHTMLFrame.cpp => layout/generic/nsCanvasFrame.cpp
rename : layout/generic/nsHTMLFrame.h => layout/generic/nsCanvasFrame.h
extra : rebase_source : 4fa62ac7dee06bbdad394eae1ce6aba82853a410
2009-10-08 01:18:18 -05:00
Benjamin Smedberg ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky 8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky 0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Ben Turner a050c21b91 Merge mozilla-central 2009-07-30 11:28:07 -07:00
Boris Zbarsky 6588b88f16 Bug 451898. When stopping an error page load, make sure to null out mLSHE. r=biesi 2009-07-29 13:39:28 -04:00
Jonathan Griffin d0b8cb8bf2 Another attempt to fix bug 503988: change the way we invoke find, check the Find bar's status afterwards. 2009-07-28 17:16:51 -07:00
Benjamin Smedberg 8094281085 Merge mozilla-central into Electrolysis
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
2009-07-20 09:36:23 -04:00
Boris Zbarsky 78ae88221d Make the test output somewhat more useful. 2009-07-13 20:33:02 -07:00
Neil Deakin f4781ec59d Bug 500224, don't focus elements during unload events, r=bz 2009-07-13 07:55:56 -04:00
Simon Montagu 90c570e3d9 Replace timeouts by event listeners in test cases for bug 92473 and bug 134911 2009-07-13 01:16:52 -07:00
Jonathan Griffin 9aa74f12f9 Adding test for bug 396649. r=bzbarsky 2009-07-10 22:41:13 -07:00
Jonathan Griffin af6bc04a2d Adding test for bug 360511. r=bzbarsky 2009-07-10 22:41:12 -07:00
Jonathan Griffin 2a3653edcf Adding test for bug 298622. r=bzbarsky 2009-07-10 22:41:12 -07:00
Jonathan Griffin 5fa11894f5 Adding test for bug 321671. r=bzbarsky 2009-07-09 21:49:48 -07:00
Benjamin Smedberg 9759711d04 Land the remote-tab code from tmp-electrolysis. 2009-06-30 16:39:22 -04:00
David Bolter 047c8ca2a3 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Josh Aas 28475979b0 Remove nsIPluginManager/nsIPluginManager2. Fold their functionality into nsIPluginHost. b=499431 r/sr=jst 2009-06-25 17:06:54 -04:00
Jonathan Griffin 087deb58f7 Adding test for bug 293235. r=bzbarsky 2009-07-09 14:09:44 -07:00
Jonathan Griffin 08d19aa0b3 Add test for bug 294258. r=bzbarsky 2009-07-09 14:09:44 -07:00
Jonathan Griffin d9ffebffea Adding test for bug 303267. r=mrbkap 2009-07-09 14:09:44 -07:00
Steven Michaud e4958ecdca get rid of nsIInternetConfigService. b=489864 r=josh sr=roc 2009-06-23 14:09:19 -05:00
Jonathan Griffin 30323afdf4 Test for bug 301397. r=bzbarsky 2009-08-12 18:42:10 -04:00
Jonathan Griffin a93485a741 Another attempt to fix bug 503988 2009-07-24 09:33:20 -04:00
Justin Lebar 3cf42d7d8d Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug 2009-07-21 14:17:15 -07:00
Robert O'Callahan a756d86e22 Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Jonathan Griffin 2fe86d51fe Another attempt to fix random orange bug 503988 2009-07-21 13:41:57 -04:00
Johnny Stenback 16bda017ab Backed out changeset a28347623d0f due to mochitest failures. 2009-07-20 18:20:49 -07:00
Justin Lebar 88226e8c85 Bug 504837: Hashchange event should not be restricted to firing only when the document's readystate is 'complete'. r/sr=smaug
--HG--
extra : rebase_source : 977f304a4f318c9371da5065cab600f57804ea0d
2009-07-20 14:09:04 -07:00
Boris Zbarsky 9033e4dee5 Trying to fix bug 503988 2009-07-17 23:35:09 -04:00
Nick Thomas 80a345edce Bug 503469, Support packaging WinCE Firefox builds as zip, complete.mar, r=ted.mielczarek 2009-08-11 15:50:32 +12:00
Justin Lebar a980bf6bde Bug 509055: Changing document.title does not change SHEntry's title if document was loaded from history. r=smaug 2009-08-10 13:45:09 -07:00
Jonathan Griffin 8e66c04740 Remove unneeded focus check in order to fix bug 508188 2009-08-04 10:43:15 -07:00
jlebar 8e7e8ce329 Bug 385434: Add support for HTML5 onhashchange. r=smaug, sr=sicking 2009-06-26 10:16:50 -07:00
Jonathan Griffin ab7b52672e Bug 501235 - "add new mochitest sub-harness for docshell testing." r=bzbarsky 2009-06-30 18:35:32 -07:00
Mark Smith 83c646ef2f Bug 437174 - Disabling 3rd party cookies breaks sending cookies for
channels with no docshell.  r+sr=bzbarsky.
  Added forceAllowThirdPartyCookie to nsIHttpChannelInternal.
  Added LOAD_FLAGS_FORCE_ALLOW_COOKIES to nsIWebNavigation.
  Added PERSIST_FLAGS_FORCE_ALLOW_COOKIES to nsIWebBrowserPersist.

--HG--
extra : rebase_source : 0ea11e1ed53d75152f57ffed74f44fc749a7a567
2009-06-16 10:30:25 -04:00
Arpad Borsos 9c8455122d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Olli Pettay 97c05dcd63 Bug 498319, r+sr=bz
--HG--
extra : rebase_source : 3e2865232a43ef4e3a63627abf0f603e37351412
2009-06-16 12:05:09 +03:00
Arpad Borsos 21896afffc Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Arpad Borsos 118ee75268 Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos 990fceee6e Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Marco Pesenti Gritti 9a4c0b4b6f Bug 495618 - "Reloading form posts fails with javascript nsIPromptService implementation". r+sr=bzbarsky 2009-06-11 13:09:34 -04:00
Neil Deakin 15df29db77 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
honzab.moz@firemni.cz fd28064ebc Fixing bug 495112. Partially revert the fix for bug 455070 to fix session storage regressions. r+sr=jst@mozilla.org 2009-05-28 16:15:26 -07:00
Honza Bambas 398af60e56 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-21 00:27:31 +02:00
Honza Bambas 962ff4d62d Backed out changeset b2e48c0aa965 2009-05-20 22:30:21 +02:00
Honza Bambas 450643be76 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 20:19:38 +02:00
Honza Bambas bcfd364ba5 Backed out changeset ef25b4175b78 2009-05-20 10:37:31 +02:00
Honza Bambas 4fd6964f28 Bug 455070 - Make sessionStorage object conform the WHATWG spec, r+sr=jst 2009-05-20 10:23:41 +02:00
Dave Townsend 3d1b1f0cb7 Backing out bug 474369 due to test failures 2009-05-19 13:52:51 +01:00
Dave Townsend dd2848c629 Backed out changeset 461d728271d1 2009-05-19 13:51:18 +01:00
Arpad Borsos bbcea38eb6 Bug 492376 - Optimize Docshell for memory usage; r=bz 2009-05-13 10:26:47 +02:00
Arpad Borsos 6a70c37113 Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Honza Bambas e09db9f02c Bug 492219 - localStorage's constructor should be Storage, iids update on trunk only, r=bz 2009-05-19 10:26:40 +02:00
Boris Zbarsky 4c2a5712cb Bug 492196. Make it possible to disable dns prefetch on a per-docshell-tree level; disable it by default in embedding contexts, for api compat. r+sr=jst 2009-05-17 10:22:54 -04:00
Honza Bambas 2cc8843616 Bug 492219 - localStorage's constructor should be Storage, r+sr=jst 2009-05-16 15:59:30 +02:00
Steven Michaud d170a6ab3a Backed out changeset add33a95e3ef to fix talos crashes. b=489864 2009-05-11 15:39:37 -05:00
Steven Michaud 580be164cf get rid of nsIInternetConfigService (patch mostly by joshmoz@mozilla.com). b=489864 r=josh sr=roc 2009-05-11 13:17:35 -05:00
Jesse Ruderman 33b1410408 Fix crashtest to be more similar to the original testcase in the bug, by not referring to a file that doesn't exist. 2009-05-07 17:39:26 -07:00
Boris Zbarsky ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
L. David Baron 0d81fda75a Destroy content viewers in session history when destroying docshell, just like we destroy the current one. (Bug 488394) r+sr=bzbarsky 2009-04-16 13:55:13 -07:00
Arpad Borsos 8415a2fae1 Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Boris Zbarsky 31e0c98079 Bug 485643. Remove some unnecessary code, r+sr=jst 2009-04-13 11:33:27 -04:00
Boris Zbarsky fc1ca73b37 Bug 479943. Pass in the right owner for link clicks and form submissions and stop inheriting from the document. r=dveditz, sr=jst 2009-04-13 11:32:02 -04:00
Boris Zbarsky e7be5bbeb9 Bug 481647. Give the document created via CreateAboutBlankContentViewer the right base URI too. r+sr=jst 2009-04-09 21:36:42 -04:00
Arpad Borsos 9ac5c0fe01 Bug 474369 - get rid of nsVoidArray, docshell part; r=bzbarsky 2009-04-03 23:21:40 +02:00
Jeremy D. Lea 0e51628bd3 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
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
David Zbarsky 3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mitchell Field 41c8798093 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02: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
Graeme McCutcheon 38c89ebd70 Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Graeme McCutcheon 8acb0849b5 Adding tests for bug 112564 and bug 92598 2008-12-03 12:52:49 -05:00
Boris Zbarsky 572f8f1074 Fixing comments and assertion text. Bug 466681 2008-11-26 13:48:36 -05:00
Boris Zbarsky 402f7a9c31 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Boris Zbarsky f727d64ed9 Bug 466681. Undo the weirdness in the webnavigation flags. r+sr=jst 2008-11-25 20:48:03 -05:00
Boris Zbarsky a2b28f6144 Bug 457153. Introduce an nsILoadContext interface so that consumers can get load context information from a channel/loadgroup without having to depend on getInterface of docshell stuff. r=dwitte for cookie part, r=jst for rest, sr=jst, a=beltzner for CLOSED TREE 2008-11-24 13:32:04 -05:00
Boris Zbarsky 7945609a52 Adding test 2008-11-18 17:57:13 -05:00
Honza Bambas c16599cc1d Bug 460353: app caches should be per iframe, not per toplevel browsing context. r=dcamp, r+sr=jst 2008-11-05 16:01:07 -08:00
Dave Camp dea763c065 Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
Markus Stange 1b2252f6c6 Bug 462793 - Changing listbox selection with keyboard no longer scrolls to make the newly selected item visible, r+sr=roc 2008-11-04 15:38:16 +01:00
Phil Ringnalda 538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Mats Palmgren fea9db8099 Mute a warning when typing Alt+ArrowKey. Code cleanup. b=460680 r+sr=bzbarsky 2008-11-02 16:00:05 +01:00
Johnathan Nightingale 6f0f1e07f4 Redesign certificate error page for Firefox as about:certerror. b=431826, r=gavin, ui-r=beltzner 2008-10-29 11:54:51 -04:00
Reed Loden bd6d378d05 Bug 349451 - "about:about is File not found error" [r+sr=bzbarsky] 2008-10-24 01:33:02 -05:00
Boris Zbarsky 0b952f2279 Pass the right thing to InternalLoad here. It happened to work before, but let's not depend on that. No bug, r+sr=biesi 2008-10-22 13:32:25 -04:00
Dave Camp 65de892f3f Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00