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

906 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders 09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Daniel Holbert 009f9d03bc Bug 825949 followup: in nsGlobalWindow::SetTimeoutOrInterval, make |realInterval| unsigned, since it's known-nonnegative and is passed elsewhere as an unsigned integer. r=smaug 2013-01-03 13:48:52 -08:00
Robert O'Callahan 943cb99eff Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Boris Zbarsky 8a9421c372 Bug 810644 followup to fix -Werror red in opt builds. r=bustage 2013-01-03 14:41:02 -05:00
Boris Zbarsky 7cfdd2ca05 Bug 810644 part 1. Switch setTimeout and setInterval to using WebIDL callback functions. r=smaug, sr=peterv 2013-01-03 14:02:36 -05:00
Boris Zbarsky 71e5c36a75 Bug 823225. Move .wrappedJSObject from nsWindowSH::GetProperty to the outer window get hook. r=mrbkap 2013-01-02 22:03:41 -05:00
Daniel Holbert 349f5245b9 Bug 558306 followup: Remove one straggling instance of stale comment about (no longer used) PR_USEC_PER_MSEC and PRTime. (comment-only, DONTBUILD) 2013-01-02 10:52:19 -08:00
Masatoshi Kimura 8ddafbd406 Bug 820841 - Cache the document URI on the window so that DOMParser() can refer. r=bz 2012-12-26 20:00:05 +09:00
Boris Zbarsky 51aee98e93 Bug 824517. Quickstub window.performance. r=peterv 2012-12-25 14:00:15 -08:00
Ms2ger f96f32cdf5 Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug 2012-12-22 09:18:08 +01:00
Masatoshi Kimura b8635ff1f9 Bug 822094 - Part 2: Add transfer parameter to window.postMessage. r=sicking 2012-12-17 17:43:45 -05:00
Masayuki Nakano bbb1282d70 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano 4581677d83 Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug 2012-12-16 10:26:03 +09:00
Masayuki Nakano dae57396e3 Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Kyle Huey 49fa8a07ee Bug 770844: Add a window.mozIndexedDB to work around this bug for now. r=sicking a=akeybl 2012-09-20 08:50:16 -07:00
Benoit Girard 65bfd8db0e Bug 818296 - Don't NukeCrossCompartment on optimized shutdown. r=khuey 2012-12-07 11:54:46 -05:00
Peter Van der Beken ea0c0a9788 Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
--HG--
rename : layout/reftests/backgrounds/background-referrer-ref.html => image/test/reftest/generic/accept-image-catchall-ref.html
rename : layout/reftests/backgrounds/background-referrer.html => image/test/reftest/generic/accept-image-catchall.html
rename : layout/reftests/backgrounds/background-referrer.sjs => image/test/reftest/generic/check-header.sjs
rename : layout/reftests/backgrounds/background-referrer-image.png => image/test/reftest/generic/green.png
rename : toolkit/components/places/tests/browser/browser_favicon_setAndFetchFaviconForPage.js => toolkit/components/places/tests/favicons/test_setAndFetchFaviconForPage.js
extra : rebase_source : 45715d6abe3155a6bcd1d21e5cc3f7b048180eb6
2012-11-26 15:19:02 +01:00
Peter Van der Beken 94b0fea563 Back out 79fc9d732bf7 (bug 818219) for orange.
--HG--
extra : rebase_source : 862b4c446f9b454c4c72e7536e73b9d9ede9feb6
2012-12-06 16:09:55 +01:00
Peter Van der Beken 4ff672c1a5 Fix for bug 818219 (Replace HTMLElement quickstubs with new binding methods). r=bz.
--HG--
extra : rebase_source : ddbedbaea030272ce8fc1ac7245175f7fd3edaa4
2012-11-26 15:19:02 +01:00
Trevor Saunders b6cf9728ce bug 801466 - part 3.1 remove some prmem usage from dom/ and content/ r=mounir 2012-12-05 02:55:37 -05:00
Trevor Saunders bac28f7e18 backout 2bb432c47170 for debug asserts 2012-12-05 04:19:33 -05:00
Trevor Saunders 35ab865598 bug 801466 - part 3 1/2 remove some prmem usage from dom/ and docshell/ r=mounir 2012-12-05 02:55:37 -05:00
Andrew McCreight ffeef3a759 Bug 792861 - Make HoldJSObjects/DropJSObjects infallible. r=smaug 2012-11-12 17:15:00 -08:00
Ms2ger abe686e45d Bug 814898 - Part d: Cleanup CC goop in some more parts of dom/; r=mccr8 2012-12-02 09:54:51 +01:00
Mounir Lamouri cf6c8e845c Bug 798446 - Attempt to fix startup crash in nsGlobalWindow ctor. r=bz 2012-11-27 18:29:49 +00:00
Ehsan Akhgari 4649ad08c1 Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky 2012-11-23 18:33:41 -05:00
Daniel Holbert 2eecde6b4e Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage 2012-11-26 20:34:10 -08:00
Ehsan Akhgari c2934219f5 Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky 2012-11-23 18:33:41 -05:00
Andrew McCreight ead425b3e0 Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug 2012-11-23 11:27:06 -08:00
Andrew McCreight ed24acb94f Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug 2012-11-23 11:13:39 -08:00
Benoit Jacob 3d8cbb81ad Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8 2012-11-22 12:15:38 -05:00
Bobby Holley df900033e1 Bug 776497 - Check for null currentInner when deciding to reuse inner windows. r=smaug 2012-11-20 16:32:06 -08:00
Mounir Lamouri f3e9f0a56b Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz 2012-11-19 23:18:21 +00:00
Phil Ringnalda 9cc19a4801 Back out 204665ad4a24 (bug 764240) for Android M4 failures 2012-11-19 14:40:32 -08:00
Mounir Lamouri 9405ab0e71 Bug 764240 - Clamp window.sizeToContent() the same way we clamp other resizing methods. r=bz 2012-11-19 18:15:23 +00:00
Benoit Jacob 986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Bobby Holley 8b01117ea3 Bug 800915 - Add infrastructure to flag security wrappers as unsafe to unwrap. r=mrbkap 2012-11-14 09:56:25 -08:00
Justin Lebar a9e6d9a0c8 Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Justin Lebar d91b7132e1 Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-10 10:32:35 -08:00
Ryan VanderMeulen 3eff16d324 Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar 785d3c9b2f Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".

There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id.  This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.

I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process.  I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Justin Lebar 46ec89c38b Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
It's a long name, but at least it's clear.
2012-11-09 16:37:38 -08:00
Boris Zbarsky 4e328798b1 Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky 9cd29d2f98 Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug 2012-11-09 08:00:25 -08:00
Nathan Froyd f4ba419a2e Bug 803665 - followup - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz 2012-11-01 10:07:22 -04:00
Nathan Froyd 0fb97bb8ee Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz 2012-11-01 10:06:22 -04:00
Nathan Froyd 7dfe7c3184 Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz 2012-11-01 12:27:37 -04:00
Robert O'Callahan ab861f5738 Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00
Ms2ger 4ab9ce9903 Merge backout on a CLOSED TREE. 2012-11-08 09:20:52 +01:00
Ms2ger 3345abbb79 Bug 809756 - Backout bug 803665, bug 803668, bug 803666 and bug 803669 on a CLOSED TREE. 2012-11-08 09:20:25 +01:00