Matt Brubeck
5e47d4412f
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Luke Wagner
94264a0bc8
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Bobby Holley
6dbb03cd4b
Bug 771354 - Don't special-case principal assignment for chrome windows in nsGlobalWindow.cpp. r=bz
2012-08-23 16:44:53 -07:00
Bobby Holley
a2d7eabc5a
Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
...
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Bobby Holley
487e2dd7a7
Bug 774633 - Assert against switching origins on a compartment. r=jst
2012-08-23 16:44:53 -07:00
Bobby Holley
27cb64cf35
Bug 774633 - Remove "is chrome window" condition for inner window reuse. r=jst
...
WouldReuseInnerWindow also returns true if the new window is same-origin with
the old one about:blank document.
This condition exists in order to handle some sloppiness with respect to the
principals on initial about:blank documents. Chrome callers sometimes parent
chrome windows (with XUL document) to content windows. But this parenting causes
us to push the cx of the content window during window creation, meaning that
the subsequent load of chrome://foo.xul blows away the old inner window and any
expandos on it. We can handle this case more precisely by skipping the cx push
for type="chrome" windows.
Furthermore, this was also necessary to prevent the inner window from being
blown away in the call to SetOpenerScriptPrincipal once nsWindowWatcher gets
the window back from the window creator (and after it's already told consumers
about the window via "domwindowcreated"). But we fixed this nastiness in the
previous patches.
So we can remove this case. By doing so, we can prevent inner windows from ever
changing origins, which is very important for compartment security invariants.
2012-08-23 16:44:53 -07:00
Bobby Holley
bdfc1a194e
Bug 774633 - Fold SetOpenerScriptPrincipal into SetInitialPrincipalToSubject, and make it indempotent and callable without an existing document. r=jst
...
There's no reason it has to fail if there's no mDoc, since any document is promptly
blown away with the new about:blank document.
The indempotence is important because we want to be able to call this method
unconditionally in OpenJSWindowInternal (since we may not have gone through
RegisterTopLevelWindow) without worrying about whether we've called it already.
2012-08-23 16:44:52 -07:00
Bobby Holley
dc08b52980
Bug 774633 - Remove dead mOpenerScriptPrincipal. r=jst
...
This value is initialized to null and never set, so we can get rid of it.
2012-08-23 16:44:52 -07:00
Bobby Holley
42aa81e35d
Bug 774633 - Wean SetInitialPrincipalToSubject off some parameters and clean it up. r=jst
...
We can remove the fallback to the principal of aParent because we already push the
cx for aParent (callerContextGuard) whenever we're concerned about using its principal.
2012-08-23 16:44:52 -07:00
Bobby Holley
a38782c3e3
Bug 774633 - Factor nsWindowWatcher call to SetOpenerScriptPrincipal into a method on nsGlobalWindow. r=jst
...
This doesn't change any functionality in the code. Note that the name is currently
a bit of a misnomer, but we change that in the next patch when we rip out the
arguments.
2012-08-23 16:44:52 -07:00
Justin Lebar
7649f5cc25
Bug 784436 - Part 2: Use new infallible nsIDocShell methods. r=bz
2012-08-22 18:27:04 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
1c2a281d12
Bug 341604 - iframe sandbox - block indexedDB if sandboxed without allow-same-origin, add tests for indexedDB r=jst
2012-08-20 11:34:34 -07:00
Ian Melven
46a3add818
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Bill McCloskey
2a27218e23
Bug 783416 - Stop saving the prototype in WindowStateHolder (r=mrbkap)
2012-08-17 10:09:01 -07:00
Neil Deakin
3e40b0b005
Bug 743975 - use a widget listener interface instead of the remaining events that don't need an event, r=tn,jmathies,netzen,smichaud,karlt,blassey,chrisjones
2012-08-15 14:52:42 -04:00
Ehsan Akhgari
805b10b6d6
Merge removal of nsnull
2012-08-14 11:29:00 -04:00
Ehsan Akhgari
7aa3b098c8
Bug 626472 - Remove on last nsnull!
2012-08-14 11:28:45 -04:00
Justin Lebar
8a615581c4
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
2012-08-14 10:58:00 -04:00
Aryeh Gregor
6a9cec29c8
Bug 626472 part 3 - Remove nsnull for good; r=ehsan
2012-08-12 13:43:47 +03:00
Neil Deakin
9b35869d1b
Bug 391834, don't allow prompts in beforeunload, unload and pagehide events,r=smaug,patch mostly by gavin
2012-08-13 15:05:34 -04:00
Neil Deakin
783b418a43
Bug 391834, rearrange some popup dialog code to be simpler,r=smaug,patch mostly by gavin
2012-08-13 15:03:59 -04:00
Justin Lebar
0a712a72f1
Bug 777135 - Part 3: Remove nsDOMWindowUtils::GetIsApp and friends. r=mounir
...
--HG--
extra : rebase_source : ac3db88b7eb03397c4ae514624e1f3021947c396
2012-08-13 12:58:38 -04:00
Justin Lebar
0d4822afe2
Bug 777135 - Part 2: Stop using nsDOMWindowUtils::GetIsApp and friends, and instead use the relevant methods on the principal. r=mounir
...
--HG--
extra : rebase_source : fa8a153a1edc8f64b230b67f121ba5eaaf1098e6
2012-08-13 12:58:38 -04:00
Robert O'Callahan
d53617a13e
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : a6118e0eeea749a601e055741e35cdcd15d81e57
2012-08-10 23:17:06 +12:00
Ms2ger
118098725e
Backout changeset c77acb256aec for failing to work.
2012-08-11 18:12:54 +02:00
Phil Ringnalda
66e7c87620
Backout dcb9d2f694eb (bug 769254) for Windows test_resize_move_windows.html M3 failures
2012-08-10 18:51:29 -07:00
Justin Lebar
badc95dec3
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 1e934ffb7a561255430bea738aa204afcaf92c79
2012-08-10 11:42:28 -04:00
Ed Morley
10b5d6d4ac
Backout 5d77941eba28 (bug 772726), df597d36bcbb (bug 383026), c9c7e1b9aed9 (bug 779399) for failures in meter-native-style.html
2012-08-10 14:50:43 +01:00
Robert O'Callahan
1fd3d80a86
Bug 383026. Centralize code that converts DOM scroll offsets to/from layout scroll positions. r=dbaron
...
--HG--
extra : rebase_source : eceb07d8d35e0dd5dd31d065cb04eec12d69a283
2012-08-10 23:17:06 +12:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ed Morley
61bd42dc2d
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
f2dfacfb24
Bug 780146 - Part a: Move window._content into IDL; r=jst
2012-08-09 09:16:09 +02:00
Boris Zbarsky
1dc8dd0dba
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Chris Jones
c75af6c281
Revert e3e9040a6eb9 for M2 failures
2012-08-08 21:58:23 -07:00
Boris Zbarsky
6d358255e3
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Ms2ger
066646b86e
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
0413a5f31a
Bug 780165 - Part a: Introduce nsPIDOMWindow::GetDoc(); r=smaug
2012-08-04 09:44:01 +02:00
Ed Morley
edbbd284ab
Merge mozilla-central and fx-team
2012-08-03 15:52:55 +01:00
Tim Taubert
fcedf34693
Bug 728294 - Part 2 - Add last opened URI and windowID to a refCounted node's description in debug mode; r=smaug
2012-08-03 12:36:59 +02:00
Ben Turner
0010e82b08
Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
...
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Olli Pettay
4c2811f3c2
Bug 777278 - Implement nsIDOMStorageEvent using event implementation codegen, r=mayhemer
2012-08-01 19:17:19 +03:00
Chris Pearce
749e6d7713
Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
...
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Nathan Froyd
127cb5c9db
Bug 776979 - consolidate InitWithFuncCallback calls into nsTimeout::InitTimer; r=bz
2012-07-24 13:50:45 -04:00
Matt Brubeck
769c2e9252
Back out fbdb3104c9e5, d2fe54ae00a8, d378362cbe01, fe623d60bea1 (bug 769254) on suspicion of causing Windows debug mochitest-plain-3 timeouts
2012-07-23 20:30:12 -07:00
Justin Lebar
c9febe2419
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
...
--HG--
extra : rebase_source : cc6f8b85ddea42cf47a382a3edb1ca6d1b5fdbc9
2012-07-23 15:59:37 -04:00
Justin Lebar
65e1654abd
Backed out changeset cac4e8a16532 (bug 771273)
2012-07-23 15:39:03 -04:00
Justin Lebar
bd1f475f02
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
2012-07-23 13:47:33 -04:00
Justin Lebar
d7ac31176f
Backed out changeset 0b4c68d39a61 (bug 771273) on a CLOSED TREE
2012-07-23 11:44:55 -04:00
Justin Lebar
f019d8710c
Bug 771273 - Part 1: Make nsDocShell::GetSameTypeParent and friends respect <iframe mozbrowser> boundaries. r=bz
2012-07-23 11:24:14 -04:00
Justin Lebar
d54159c32c
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
extra : rebase_source : 96a53a1a8b34f41bfe59f00141d598c5394cb0c1
2012-07-23 10:44:13 -04:00
Bobby Holley
bb2b0385f8
Bug 773962 - Fix up waivers after transplanting. r=mrbkap
2012-07-23 15:51:18 +02:00
Mounir Lamouri
397bc64735
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Steve Fink
3b5b986d0b
Backed out changeset 060a9d9fc1c6 from a CLOSED TREE since it seems to depend on afc1cf222996 or 1bafff5720a8 that I just backed out
2012-07-19 15:45:27 -07:00
Mounir Lamouri
d6d9b5f0b7
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Jim Mathies
7f92debdd9
Bug 762519 - Send xpconnect stack dump output and javascript dump output to the win debugger when attached. r=ehsan, mrbkap
2012-07-19 09:58:44 -05:00
Aryeh Gregor
7070a755d7
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Ed Morley
80af77da9d
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
8cfd0a9baa
Bug 774957 - Update nsDocShell jazz so distinction between browser and app frame is clearer. r=jlebar sr=sicking
2012-07-18 22:26:21 -07:00
Gabor Krizsanits
eb91f1fcc5
Bug 769273 - part4: avoiding innerization in NukeCrossCompartmentWrappers. r=bholley
2012-07-17 17:51:21 +02:00
Gabor Krizsanits
616ba55d88
Bug 769273 - part2: Refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley
2012-07-17 17:36:15 +02:00
Gabor Krizsanits
cab55a782f
Bug 769273 - part1: Prep for refactoring NukeChromeCrossCompartmentWrappersForGlobal. r=bholley
2012-07-17 15:38:53 +02:00
Ehsan Akhgari
2407172a43
Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky
2012-07-16 22:44:22 -04:00
Ehsan Akhgari
8483016620
Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky
2012-07-16 21:42:18 -04:00
Mounir Lamouri
5199742d8f
Bug 769586 - Make PopupWindowManager using principal to test permissions instead of URI. r=sicking
2012-07-15 18:37:31 -07:00
Ed Morley
53c5da4c5a
Backout 6ceeca8b4b73 (bug 772332), ce5629b973e4, 1dcff1db63b4, 108d06ef7755 & 7bf6519b3f43 (bug 768756) for bustage
2012-07-15 11:42:31 +01:00
Aryeh Gregor
336965c636
Bug 768756 part 2 - Make nsComputedDOMStyle Init infallible and merge into constructor; r=bz
2012-07-06 15:28:33 +03:00
Bonnie Surender
d4b8b68583
Fix for bug 771967. OS idle api active to briefly idle to active notification fix. r=jst
2012-07-13 15:39:46 -07:00
Bonnie Surender
9313b1abce
Fix for bug 769722 and bug 769723. Remove unnecessary kungFuDeathGrips and extra parentheses in the Idle API code. r=jst
2012-07-05 16:20:13 -07:00
Chris Pearce
cb6e111f08
Bug 772743 - Add pref to not make the widget fullscreen when entering fullscreen. Set it to true for b2g desktop client. r=mounir
2012-07-13 22:21:23 +12:00
Matt Brubeck
22d4409672
Back out bug 769254 (a81e5e60dca3, 0afba80f60a1, d5e4f42b8540, 636dfa176232) because of Windows M3 leaks
...
--HG--
extra : rebase_source : b1dfca300a71e60feafd46a5e93ee99a79d56051
2012-07-11 17:30:30 -07:00
Justin Lebar
910d854fbe
Bug 769254 - Part 2: Modify nsPIWindowWatcher::OpenWindowJS (renamed to OpenWindow2) so we can pass in the URL for target=_blank links without navigating the opened window to that URL. r=bz
...
--HG--
extra : rebase_source : 1de945d5933824d79866bbc61e2493f96217a9ee
2012-07-11 16:02:20 -04:00
L. David Baron
22e6bbc578
Add flush before we find our pres context, to fix media queries tests on ringmark. (Bug 753777) r=bzbarsky
2012-07-07 21:41:27 -07:00
Bonnie Surender
9de6e1be26
fixing bug 770656, idle fuzz time for idle notifications. r=jst@mozilla.com
2012-07-04 13:21:40 -07:00
Mounir Lamouri
7f16d363cf
Bug 770491 - Fix leak introduced by System Message Handler API. r=khuey
2012-07-03 15:49:56 +02:00
Fabrice Desré
661080aac7
Bug 755245 - Implement System Message Handler : Part 2, Add a getApp() method to nsGlobalWindow [r=mounir]
2012-07-02 17:16:55 -07:00
Bonnie Surender
664f271620
Fixing bug 770175 and bug 770171. Idle API moz assert fix. r=jst@mozilla.com
2012-07-02 16:18:57 -07:00
Ms2ger
9f56b60843
Merge m-c to m-i.
2012-06-30 14:50:23 +02:00
Kyle Huey
3b3b755501
Bug 726378: Unprefix IndexedDB. r=sicking
2012-06-29 09:48:35 -07:00
Bonnie Surender
e360fa128a
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Mounir Lamouri
950bfc0ccb
Bug 764753 - Unlock screen orientation when the document is left without explicitly exiting fullscreen. r=smaug
2012-06-22 10:52:47 +02:00
Mike Hommey
c533a83b6c
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Ehsan Akhgari
d8df82ca0f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Ms2ger
a592bdccbb
Bug 762455 - Make nsGlobalWindow::InnerSetNewDocument not return nsresult; r=peterv
2012-06-17 10:11:16 +02:00
Mike Hommey
311cae060f
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Bobby Holley
a25e476e78
Bug 764389 - Update compartment principals on inner window reuse and on document.write. r=bz
2012-06-15 08:31:27 +02:00
Etienne Segonzac
3be58ec2e7
Bug 764414 - Let <iframe mozapp> content open popups even when it's in the background. r=bz
2012-06-15 07:48:15 +02:00
Mike Hommey
88257ed076
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Nathan Froyd
2b97d92578
Bug 763247 - remove bogus assert added in bug 748464; r=bz
2012-06-13 15:27:14 -04:00
Phil Ringnalda
cf09173698
Backout 5439489dc320, 983f76488e59, 7a92558a8dec (Bug 714358) for debug build assertions and leaks
2012-08-07 22:18:27 -07:00
Steven Lee
230139f702
Bug 714358: Time manager implementation. r=jlebar
2012-08-07 19:11:00 -04:00
Justin Lebar
d19ebc4677
Bug 742944 - Part 4: Handle window.open in <iframe mozbrowser>. r=bz, cjones
...
--HG--
extra : rebase_source : 4c16c86c5be230af22eea89dfb5f893b7c6091dd
2012-06-12 18:01:25 -04:00
Justin Lebar
879007e561
Bug 742944 - Part 2: Allow getInterface'ing an nsGlobalWindow to an nsIDocShell. r=bz
...
--HG--
extra : rebase_source : d753f06497e4b6859be45fd9fa4173ec18f0c2e5
2012-06-12 18:01:24 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
David Zbarsky
249b4fb9fa
Bug 762801 - Merge nsIEmbeddingSiteWindow2 into nsIEmbeddingSiteWindow r=jst
2012-06-09 15:15:12 -07:00
Doug Turner
4f84a9c167
Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug
2012-06-07 10:58:33 -07:00
Justin Lebar
36e9d9804d
Bug 757182 - Handle window.close in <iframe mozbrowser>. r=smaug
...
--HG--
extra : rebase_source : e2c4038f36338af70fa6842d0146a63335002a9b
2012-06-07 13:26:34 -04:00
Justin Lebar
ba730e6e3a
Bug 741587 - Part 1: Make alert/prompt/confirm work with <iframe mozbrowser>. r=smaug
...
--HG--
extra : rebase_source : f418da542453f8b0f5853a8da48bea1c8c95969e
2012-06-07 10:43:23 -04:00
Nathan Froyd
8937b9cb32
Bug 760831 - split out per-node type stats in about:memory; r=njn, bz
2012-06-05 10:49:48 -04:00
Ed Morley
22d9b9afc4
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-06 09:20:35 +01:00
Ms2ger
7be9f2c7f1
Bug 760049 - Move nsIScriptContext::CreateNativeGlobalForInner to nsGlobalWindow.cpp; r=jst
2012-06-06 09:38:51 +02:00
Ms2ger
1a2d55bdac
Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir
2012-06-06 09:36:58 +02:00
Ms2ger
b036a6ed71
Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir
2012-06-06 09:22:06 +02:00
Geoff Lankow
bdc2b4bb58
Merge m-c to m-i
2012-06-06 15:13:51 +12:00
Kyle Huey
511c23f364
Bug 752468: Remove some code accidentally reintroduced in Bug 751999. r=jst
2012-06-04 20:39:21 -07:00
Anant Narayanan
beefeb5f37
Bug 752353: DOM bindings for getUserMedia; r=jst
...
--HG--
rename : content/media/nsIDOMMediaStream.idl => dom/media/nsIDOMMediaStream.idl
2012-06-03 00:35:15 -07:00
Ben Turner
b072e01d8f
Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking.
2012-06-01 10:21:12 -07:00
Eddy Bruel
3a1af88d80
Bug 703537 - Rename Wrapper to DirectWrapper; r=bholley
2012-06-01 12:51:20 +02:00
Nathan Froyd
26ff3c4c35
Bug 748464 - refactor nsGlobalWindow::RunTimeout; r=bz
2012-04-24 14:16:29 -04:00
Doug Turner
468be7f46a
Backout of 2f4307a63c18 - Bug 759989.
2012-06-04 12:22:23 -07:00
Jason Orendorff
80dda6d7a5
Bug 753885 - Part 1: Rename JSOPTION_XML to JSOPTION_MOAR_XML, and other cleanups. r=Waldo.
2012-05-30 15:05:58 -05:00
Kyle Huey
daec3cf6f2
Merge m-c to b-s.
2012-05-27 22:31:06 -07:00
Kyle Huey
2cf0060022
Bug 751999: Followup to fix build bustage from bitrot.
2012-05-25 15:13:58 -07:00
Kyle Huey
9c34c902d6
Bug 751999: Split SetDocShell apart to make this code easier to read. r=jst
2012-05-25 12:00:32 -07:00
Neil Deakin
b9d2d5f9e3
Bug 757485, remove nsIXBLService and use nsXBLService directly, r=bz
2012-05-23 14:46:04 -04:00
Justin Lebar
6cd1b97cff
Bug 754997 - For <iframe mozbrowser>, override window.{top,parent,frameElement} in C++. r=bz
...
--HG--
extra : rebase_source : 66d2ef018234eaa71e49d927eefdd3a8aa01bb41
2012-05-23 11:27:10 -04:00
Nils Maier
35431284b1
Bug 754771 - Add identifying information to all system compartments. r=bz
2012-05-16 19:42:10 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Josh Matthews
f799ef06a1
Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer
2012-05-26 09:37:58 +01:00
Ed Morley
05ff81b305
Backout 70cde80fa095 & 5a903d496ab0 (bug 722857) for crashes in 646184.html
2012-05-25 12:51:32 +01:00
Josh Matthews
11cd0538f9
Bug 722857 - Determine private browsing status for DOMStorage from owning docshell if available, and receive updates if its privacy status changes. r=mayhemer
2012-05-25 12:20:31 +01:00
Doug Turner
d2f59a7b2a
Bug 759989 - Add test to ensure device sensors are shutdown when listeners are removed. r=smaug
2012-06-04 10:23:18 -07:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Mounir Lamouri
632f949ad0
Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar
2012-05-16 12:40:47 +02:00
Mounir Lamouri
952519ccff
Bug 754141 (2/4) - Add a SetApp() method that takes the manifest URL value. r=jlebar
2012-05-16 12:40:09 +02:00
Robert O'Callahan
91cae0fac8
Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
...
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Bobby Holley
b41868c759
Bug 753277 - Factor out CCW remapping from JS_TransplantObject and add comments. r=mrbkap
2012-05-14 12:52:16 +02:00
Mounir Lamouri
d46108bdce
Bug 753978 - Be able to know if a window is part of an application. r=jlebar
2012-05-10 17:56:21 -07:00
Oleg Romashin
49e2ef33de
Bug 681192. Part 5: Make various DOM scroll APIs --- scrollTop, scrollLeft, window.scrollTo, scrollBox.scrollTo, scrollBox.scrollToLine, scrollBox.scrollBy --- use an appropriate allowed scroll destination range. r=roc,r=matspal
...
--HG--
extra : rebase_source : 83ee44530c67229686ec0dce3628da83e0e93438
2012-02-07 12:24:15 -08:00
Brian Hackett
bf76d70428
Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm
2012-05-09 14:14:10 -07:00
Kyle Huey
bba98d1710
Bug 752877: Ensure that wrapper cutting happens after [inner|outer]-window-destroyed, to give code a chance to clean up. r=bz
2012-05-09 08:10:18 -07:00
Justin Lebar
30ce54f7ce
Bug 749018 - Make OOP <iframe mozbrowser> pass current browser frame tests. r=smaug,cjones
...
--HG--
extra : rebase_source : f15018bf2c9427a0d6e8d44da348d8d7d1693219
2012-05-08 09:20:35 -07:00
Nathan Froyd
cbe7708512
Bug 751314 - fix -Wsign-compare warnings in nsGlobalWindow.cpp; r=khuey
2012-05-02 15:38:17 -04:00
Ms2ger
3b04c7d79e
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Ms2ger
ba6a163e0e
Bug 745211 - Remove SetScriptContext from nsIScriptGlobalObject; r=mrbkap
2012-05-05 11:00:04 +02:00
Steve Fink
2c59d5586c
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 835c1d6b4a7f7a11571412075ae8847475079edd
2012-03-14 09:32:58 -07:00
Steve Fink
86b2714480
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : ba0e5a7c3f9f5f4c76eaa3c8e20d406b9691be9b
2012-03-20 21:29:47 -07:00
Andrew McCreight
3ac11cfc5b
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Matt Brubeck
996c153f96
Bug 750051 - Disable window.find in Fennec because it breaks and/or crashes [r=jst]
2012-05-03 09:15:38 -07:00
Josh Aas
a91941c89a
Bug 748343: Remove support for "java" and "packages" objects from the DOM. r=jst sr=smaug a=ehsan CLOSED TREE
2012-05-01 16:47:35 -04:00
Kyle Huey
7f0a8a30db
Bug 695480: Remove support for chrome code leaking DOM objects. r=jst,billm,bholley
2012-04-25 21:03:53 -07:00
Matt Brubeck
d5da39b00f
Back out bug 730208 and bug 747543 because of xpcshell test failures
2012-04-24 20:47:16 -07:00
Steve Fink
c7e97d8358
Bug 730208 - UnmarkGray fixups for globals and contexts. r=billm
...
A common source of potential black -> gray edges is JSAPI calls made on objects with gray globals or contexts holding gray globals. (The call could potentially update a black object with a pointer to that global.) This patch mostly traps places where contexts are used, and unmarks their globals. It also includes some more global unmarking.
--HG--
extra : rebase_source : 1286bdbc4c337956242c292e0fa385629ee8850b
2012-03-14 09:32:58 -07:00
Steve Fink
0f3ecde4b7
Bug 730208 - UnmarkGray various JS objects to prevent them from being used to create black -> gray edges. r=smaug
...
--HG--
extra : rebase_source : 00bd6f20a900e97173fafa9f5512e2ebbd3a0cac
2012-03-20 21:29:47 -07:00
Mark Capella
329ec5f3aa
Bug 744332 - Remove nsXULPrototypeScript::ScriptObjectHolder::mLangID. r=jst, f=Ms2ger
2012-04-24 18:31:28 -04:00
David Anderson
f84d3b7b8d
Remove more uses of JS_FrameIterator (bug 744617, r=mrbkap).
2012-04-16 12:30:04 -07:00