Boris Zbarsky
66a25e5fa2
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -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
Boris Zbarsky
d23130821b
Bug 817473 part 2. Remove no-longer-needed nsNodeSH::PostCreatePrototype. r=peterv
2012-12-06 15:21:18 -05: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
Masatoshi Kimura
64bc10205a
Bug 817844 - Remove DOMClassInfo remnants from DOMParser/XMLSerializer. r=bz
2012-12-05 19:49:32 -05: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
Vicamo Yang
e96950839d
Bug 778093 - Part 3/9: complete onreceived event handling, r=mounir,hsinyi,bent
2012-12-04 10:40:47 +08:00
Vicamo Yang
4da257d7fb
Bug 778093 - Part 2/9: add navigator.mozCellBroadcast, r=mounir
2012-12-04 10:38:25 +08:00
Masatoshi Kimura
724149ded1
Bug 816410 - Part 2: Remove legacy constructor functions. r=bz
2012-12-03 20:26:16 -05:00
Boris Zbarsky
3f31f8f1a2
Bug 817476. Really do WebIDL bindings for Screen. r=ms2ger
2012-12-03 11:44:56 -05:00
Ms2ger
79846abbee
Bug 817276 - Part c: Remove dead definition of the nsContractIDMapData struct; r=jst
2012-12-02 09:59:54 +01:00
Ms2ger
87a980808c
Bug 817276 - Part b: Return the pointer directly from nsScriptNameSpaceManager::LookupNavigatorName; r=jst
2012-12-02 09:59:51 +01:00
Ms2ger
28b59cc1af
Bug 817276 - Part a: Remove some unused jsids from nsDOMClassInfo; r=jst
2012-12-02 09:59:49 +01: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
Ms2ger
a4af932810
Bug 814898 - Part b: Cleanup CC goop in dom/base; r=mccr8
2012-12-02 09:53:37 +01:00
Steven Lee
c4ba48ecb6
Bug 809106 - [music] Unplugging headphones while playing music should pause it. Part2-AudioChannelManager implemenentation. r=jlebar, r=sicking
2012-11-29 17:52:03 -05:00
Boris Zbarsky
9a39de6d40
Bug 815671 part 4. Remove some array copying in gfx code. r=roc
2012-11-29 11:14:13 -05:00
Boris Zbarsky
542ae8e2de
Bug 815671 part 3. Make nsXULPopupManager::GetVisiblePopups use an array out param instead of returning array object copies. r=roc
2012-11-29 11:14:13 -05:00
Fabrice Desré
7ba8fb1e08
Bug 778668 - Bubble the application name/origin/manifest in the desktop-notification mozChromeEvent [r=wchen]
2012-11-28 22:36:15 -08:00
Ehsan Akhgari
cf0638b6a7
Merge mozilla-central into mozilla-inbound
2012-11-28 09:43:30 -05:00
Olli Pettay
c806b877ae
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02: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
Brian Hackett
43949a5222
Add config option for off thread compilation, bug 815199. r=dvander
2012-11-26 16:30:37 -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
Robert O'Callahan
8e2f98a952
Bug 812517. Part 2: Call ScrollToCSSPixelsApproximate when TabChild scrolls. r=mats
...
--HG--
extra : rebase_source : e4c9db69125d21a84400a062630a0c62c3f450d8
2012-11-23 14:25:28 +13: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
Boris Zbarsky
489c78e5dc
Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv
2012-11-21 11:19:26 -05:00
Chris Lord
3bdec04a47
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Bobby Holley
1824d3f494
Bug 808608 - Implement shadowing protection in nsDOMClassInfo. r=mrbkap
...
This allows us to remove the same-compartment Location wrappers. This can
go away when we move Location to the new bindings and get access to
[Unforgeable].
2012-11-21 13:20:05 -08:00
Ehsan Akhgari
f90938a237
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
a231be5912
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen
8dd0402085
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
3d096a6c38
Bug 812392. Make sure we don't allow descendant protoss to confuse whether a proto corresponds to a DOM type. r=bhackett,peterv
2012-11-21 11:19:26 -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
Andrew McCreight
34a5c40864
Bug 814752 - Make NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER work for native CC classes. r=smaug,ehsan
2012-11-27 15:08:22 -08:00
Justin Lebar
75abf86728
Bug 811466 - Add include guards around some headers which were missing them. r=khuey
2012-11-19 20:05:34 -05: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
Boris Zbarsky
2cd0f8f7b1
Bug 812086 part 3. Convert internal consumers of mozHidden and mozVisibilityState to the unprefixed versions. r=smaug
2012-11-16 14:22:56 -08:00
Boris Zbarsky
6d9ddce866
Bug 812086 part 2. Convert internal consumers of mozvisibilitychange events to the unprefixed version. r=smaug
2012-11-16 14:22:56 -08: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
Benoit Jacob
46600b2a31
Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
06bfb63973
Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Brendan Dahl
6adcd0523c
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Boris Zbarsky
05ba9f02c1
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Boris Zbarsky
19333a472b
Bug 811449 part 3. Eliminate nsGenericElement as a separate class.
2012-11-14 14:10:07 -08: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
Ryan VanderMeulen
9cb0f91d55
Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures.
2012-11-13 20:19:18 -05:00
Gregor Wagner
e17477fec2
Bug 810427 - Device storage - Add access fields to permission checks. r=dougt
2012-11-13 16:06:42 -08:00
Brendan Dahl
ec5ca0d279
Bug 115199 - CSS2 @page rule style support. r=dbaron
2012-08-31 14:21:28 -07:00
Masayuki Nakano
32a8eee843
Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin
2012-11-13 10:18:57 +09:00
Peter Van der Beken
b2ba5959ec
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02: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
Peter Van der Beken
4b67a43418
Fix for bug 807330 (Make xpc_qsUnwrapThis/xpc_qsUnwrapArg deal with new DOM bindings). r=jst.
...
--HG--
extra : rebase_source : 3553f82516bfaa0764185f94e2eef616d9cd696d
2012-09-26 16:17:46 +02: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
3e87d4c861
Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
700dc9227b
Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug
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
Boris Zbarsky
beb6a36d0f
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
30a5c69587
Bug 807226 part 0.5. More undefs to stop Windows headers from messing with our GetClassName. r=peterv
2012-11-09 07:59:41 -08:00
Boris Zbarsky
d8fee95886
Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
2012-11-09 07:43:58 -08:00
Boris Zbarsky
05e4e3b75a
Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug
2012-11-09 07:43:57 -08:00
Boris Zbarsky
63fb55a443
Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley
2012-11-09 07:43:57 -08:00
Gabriele Svelto
2f4c5183a5
Bug 808756 - Adjust all memory-pressure observers to cope with the new low-memory-no-forward events. r=jlebar
2012-11-08 20:15:23 +01:00
Benjamin Chen
b38f788032
Bug 802564 - Can't set window.location in inline disposition web activity when its App frame is opened. r=fabrice
...
1. SystemMessageInternal: Handle the "_listeners" correctly by using "manifest" and "winID"
2. SystemMessageManager: Remove cpmm message listerners when receiving "inner-window-destroyed"; Add winID for the reg/unreg message.
3. DOMRequestIpcHelper: Check aTopic in observe method
2012-11-07 10:32:09 +08:00
Bobby Holley
bcd798914e
Bug 809290 - Fix nsLocation::CheckURL. r=bz
2012-11-08 08:26:49 -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
Andrea Marchesini
64d6829083
Bug 795930 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
...
--HG--
extra : rebase_source : fc267035c0eb85bb08b9da91bf79ecbb816da1b3
2012-11-08 15:57:17 +00:00
Mounir Lamouri
3e7ccdc3eb
Backed out changeset 3566ba4296f7 because of wrong bug number.
...
--HG--
extra : rebase_source : c5d189308a555c7235d6cd405aa44d36c9b7db9a
2012-11-08 15:56:48 +00:00
Andrea Marchesini
6e439d8833
Bug 809567 - Hide ArchiveReader feature behind a pref (disabled by default), r=mounir
2012-11-08 15:54:26 +00:00
Robert O'Callahan
8950403bd5
Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking
...
--HG--
extra : rebase_source : ffec7b146552362b576e88c6dea24d612a5860b9
2012-09-25 15:24:45 +12:00
Robert O'Callahan
953ac1301a
Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
...
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12: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
Nathan Froyd
cfe9f42302
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
7742c1eb59
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-11-01 10:06:22 -04:00
Nathan Froyd
aa34b7b2b5
Bug 803665 - part 0 - make nsTimeout properly initialize its fields; r=bz
2012-11-01 12:27:37 -04:00
Bobby Holley
a209826b20
Bug 808611 - Move valueOf to nsIDOMLocation. r=mrbkap
2012-11-07 08:27:23 -08:00
Mounir Lamouri
5a334278ca
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Ehsan Akhgari
82448818ee
Backed out changeset 5042f0a60460 (bug 805766) on the suspicion of causing bug 808287
2012-11-06 19:54:43 -05:00
Bobby Holley
9213a086b6
Bug 808612 - Wrapper cache and cycle collect nsLocation. r=smaug
2012-11-06 14:29:09 -08:00
Boris Zbarsky
ba9815c96a
Bug 807222 part 6. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
1ab893634e
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
17e8e17ce0
Back out rev 6d36471ab3ca (part 5 of bug 807222) because now Android is shipping busted stuff on the global.
2012-11-05 11:54:37 -05:00
Boris Zbarsky
8fc14742bc
Bug 807222 part 5. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Boris Zbarsky
6fc19ec25b
Bug 807222 part 3. Make sure we enter the right compartment before we try to define interface constants on a constructor. r=bholley
2012-11-05 10:20:04 -05:00
Boris Zbarsky
404d9ab987
Bug 807222 part 2. Condition MozTimeManager classinfo so we don't stick it on the global in builds that don't ship the xpt for it. r=jlebar
2012-11-05 10:20:03 -05:00
Boris Zbarsky
b0d460cbbb
Bug 807222 part 1. Propertly condition MozActivity so we don't stick it on the global in builds that we don't ship the xpt for it in. r=fabrice
2012-11-05 10:20:03 -05:00
Brad Lassey
d9cdcd3130
bug 805017 - Disable screen timeout when DOMFullscreen is enabled r=jst
2012-11-01 08:40:11 -04:00
Nicholas Nethercote
e03f6bee47
Bug 807850 - Add a memory reporter for the nsScriptNameSpaceManager. r=jst.
...
--HG--
extra : rebase_source : bd6e263678aab5477ba11c70015b1537278914b3
2012-11-04 14:18:44 -08:00
Ms2ger
b903541457
Bug 807410 - Part b: Pass the "GC on destruction" flag to the nsJSContext constructor; r=jst
2012-11-04 09:05:23 +01:00
Ms2ger
af22942dae
Bug 807410 - Part a: Pass the global object to the nsJSContext constructor; r=jst
2012-11-04 09:04:04 +01:00
Ms2ger
1494a04258
Bug 807926 - Don't handle outer windows in nsWindowSH::NewResolve; r=bholley
2012-11-04 09:00:06 +01:00
Masayuki Nakano
86d75d937c
Bug 805766 nsFocusManager should change IME state before dispatching focus event at activating different document r=enndeakin
2012-11-03 15:32:26 +09:00
Andrew Quartey
d21a5d8004
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Boris Zbarsky
51460ee660
Back out rev 2682f9a1fc58, bug 807222, because it assumes that people aren't putting completely broken stuff on Window, which b2g does. CLOSED TREE
2012-11-01 15:19:08 -04:00
Benoit Girard
9d5df74579
Bug 807311 - Add a CompileScript profile label. r=ehsan
...
--HG--
extra : rebase_source : 34ad974b46270487d6ae47c50d63479096413653
2012-11-01 14:50:56 -04:00
Boris Zbarsky
ab8ad9588a
Bug 807222. Fix getOwnPropertyNames to work correctly on Window. r=jst
...
One note: it might be better to change the signature of Enumerate() to
indicate whether we're enumerating just the enumerable properties or
all of them, so we can skip doing this when someone does for...in on
the window.
2012-11-01 13:51:57 -04:00
Josh Aas
8a78b3c63d
Back out both patches for bug 647216 due to regression documented in bug 806244.
2012-11-01 09:19:24 -04:00
Jason Duell
7e1293e86e
Bug 804495 - Allow nsGlobalWindow to support GetInterface(nsILoadContext) r=bz
2012-10-24 21:25:00 -07:00
Nathan Froyd
24b0d73288
Backout 57d8f6cd245a (bug 803669), fb673c95d56b (bug 803665), 24d8e0cb73f2 (bug 803665), ac46bd0d9fba (bug 803669), c9c67b62799b (bug 803666), b3314c0ddaac (bug 803668) for debug build test failures
2012-10-31 13:23:17 -04:00
Doug Turner
cc0311ea2c
Bug 806472 - NS_CONTENT_PERMISSION_PROMPT_CONTRACTID is used both as a service and an instance. r=bent
2012-10-31 10:06:42 -07:00
Kyle Huey
0469a02b25
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Nathan Froyd
84ecbe8651
Bug 803665 - part 2 - dispense with nsGlobalWindow::{First,Last}Timeout and nsTimeout::{Next,Previous}; r=bz
2012-10-22 11:24:27 -04:00
Nathan Froyd
7770a497fa
Bug 803665 - convert nsGlobalWindow's timeout list to use mozilla::LinkedList; r=bz
2012-10-19 12:22:35 -04:00
Vicamo Yang
a78b5b38c7
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Nicholas Nethercote
7d3defab82
Bug 802894 - Add a memory reporter for nsEffectiveTLDService. r=jduell.
...
--HG--
extra : rebase_source : 32cdfbf060c963d6a16875af406949b8eef50453
2012-10-19 05:07:13 -07:00
Justin Lebar
19e81c3a0c
Backed out changeset e710acd6ef11 (bug 802366)
2012-10-30 21:36:32 -04:00
Justin Lebar
22489f7920
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Boris Zbarsky
a14a96d2cf
Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron
2012-10-30 17:14:06 -04:00
Justin Lebar
7b38d49f83
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
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.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
818638f210
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
af7297481d
Bug 802367 - 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.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Justin Lebar
f2b7635866
Bug 802366 - Prelude, part 2: Rename GetParentIgnoreBrowserFrame to GetSameTypeParentIgnoreBrowserAndAppBoundaries. r=bz
...
It's a long name, but at least it's clear.
--HG--
extra : rebase_source : fdf13259e0b0cc3b0f5d1760f5ced512dee2c28b
2012-10-30 15:55:05 -04:00
Kyle Huey
9a3674d80a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
4144129728
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Jan Varga
3557fae1a7
Bug 786688 - Part 2: Code cleanup. r=sicking
2012-10-30 07:11:58 +01:00
Jonas Sicking
d508822340
Bug 786688 - Part 1: Add chrome only openForPrincipal() and deleteForPrincipal(). r=bent
2012-10-30 07:07:09 +01:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Peter Van der Beken
669602b5e0
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
...
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Bobby Holley
5dafb39b7f
Bug 803068 - Merge DirectWrapper and Wrapper. r=ejpbruel
...
--HG--
extra : rebase_source : a2b98a9585c6f7761747cfaf55684e6eeed91344
2012-10-29 16:52:53 +01:00
Gabor Krizsanits
11266e6b35
Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz
2012-10-29 12:21:15 +01:00
Ryan VanderMeulen
0e22196909
Backout b6089a8b78d3 (bug 782547) to see if it fixes Flash hangs.
2012-10-28 00:24:02 -04:00
Gregor Wagner
78d36347e1
Bug 800063 - Make GC_ALLOCATION_THRESHOLD dynamic. r=billm
2012-10-26 16:06:19 -07:00
Eitan Isaacson
dacf45fe5c
Bug 805670 - Introduce nsIDOMWindowUtils.getResolution. r=dholbert sr=smaug
2012-10-26 14:09:38 -07:00
Markus Stange
69c7d8ae0b
Bug 647216: Allow testing of MozMouseHittest window dragging. r=enndeakin
2012-10-26 15:40:11 -04:00
Masayuki Nakano
10ada00346
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Nikhil Marathe
1acf12dfe6
Bug 804174 - Inline IsCallerTrustedForWrite with IsCallerChrome. r=mccr8
2012-10-25 16:10:54 -07:00
Nikhil Marathe
9e080f6dff
Bug 804174 - Inline IsCallerTrustedForRead with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
625fe10014
Bug 804174 - Inline IsUniversalXPConnectCapable with nsContentUtils::IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Nikhil Marathe
03b0de5c8a
Bug 804174 - Inline CallerHasUniversalXPConnect with IsCallerChrome. r=mccr8
2012-10-25 16:10:53 -07:00
Ryan VanderMeulen
cf897fbf06
Merge m-c to inbound.
2012-10-25 17:43:19 -04:00
Tim Taubert
c0ec641283
merge m-c to fx-team
2012-10-25 21:23:58 +02:00