Boris Zbarsky
fbab69d5ff
Bug 605492 part 1. Add an nsIScriptError2 interface that exposes an outer window id, and set the window id for script errors coming through the DOM JS error reporter. r=mrbkap
2010-10-20 20:24:15 -04:00
Honza Bambas
e618ce3cbb
Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
...
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Ben Turner
07830b6931
Bug 603811 - 'IndexedDB: Implement setVersion changes to the spec'. r=sicking, a=blocking2.0-betaN+
2010-10-19 10:58:52 -07:00
Dão Gottwald
18d8144ca5
Bug 591573 - remove support for general.useragent.vendor & vendorSub. r=dwitte sr=dveditz a=jst
2010-10-15 11:11:19 +02:00
Blake Kaplan
29e85b9844
Merge mozilla-central into tracemonkey
2010-10-13 17:54:54 -07:00
Jonas Sicking
e7e13b2084
Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner
2010-10-13 16:25:33 -07:00
Peter Van der Beken
51527b16fd
Try to fix orange from d468bf98f7a1 (Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup.)
...
--HG--
extra : rebase_source : 26ed7548f57836136162e6830034d0e40bf0853b
2010-10-12 17:25:34 -07:00
Peter Van der Beken
6c0a645775
Fix for bug 603531 ("ASSERTION: bad outer object hook" and crash [@ js::gc::Cell::compartment]), compartments followup. r=mrbkap.
2010-10-12 15:03:15 -07:00
Blake Kaplan
cc6236d948
Bug 603533 - We need to hold a strong reference when forwarding to the outer window. r=jst
...
--HG--
extra : rebase_source : e885ff63003bd52d94bb3d2bc7ea0e1c631884b6
2010-10-12 11:59:28 -07:00
Andreas Gal
06b37f317b
Bug 580128. Don't preserve the navigator object in cross compartment navigation. r=jst@mozilla.org
2010-10-10 15:46:01 -07:00
Blake Kaplan
7e16afee03
bug 580128 - The window is named Window, not WindowProxy. r=gal
2010-10-10 15:43:01 -07:00
Blake Kaplan
0b191e8ccd
bug 580128 - Find the true caller through the wrappers. r=jst
2010-10-10 15:36:01 -07:00
Johnny Stenback
c9ad413f3a
bug 580128 - Forward to outer in AreDialogsBlocked. r=mrbkap
2010-09-28 17:02:43 -07:00
Blake Kaplan
11e65685b7
bug 580128 - Avoid using the parent chain of proxies for anything because it's often wrong. r=jst
2010-09-24 18:00:58 -07:00
Blake Kaplan
d8815d1675
Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too).
2010-09-22 17:34:20 -07:00
Blake Kaplan
b594d291ff
bug 603152 - Inner windows principals must remain constant. If we want to change them, change the inner window instead. r=bz
2010-09-17 14:54:41 -07:00
Blake Kaplan
2c70930a60
Bug 580128 - Fix a leak caused by holding a non-cycle collectable object instead of a cycle-collectable one. r=peterv
2010-09-03 14:15:50 -07:00
Blake Kaplan
dab96e4a0d
bug 580128 - Fix code that expects XPConnect to hand outer windows to C++ from JS. r=peterv
2010-09-17 14:54:40 -07:00
Blake Kaplan
5bfbd563c6
bug 580128 - Now that we use a proxy for the outer window, nsOuterWindowSH is unused (except for PreCreate). Nuke it. r=peterv
2010-09-17 14:54:40 -07:00
Blake Kaplan
0e7a7f5511
bug 580128 - Create a proxy for the outer window and use it. Note: this turns on new wrappers for all objects. r=peterv
2010-09-17 14:54:40 -07:00
Honza Bambas
36d86d4adc
Bug 599479 - Accessing window.localStorage with dom.storage.enabled=false causes NS_ERROR_DOM_SECURITY_ERR, r=jst, a2.0=jst
2010-10-07 16:43:18 +02:00
Kyle Huey
7d306fa717
Bug 599966: Null check argument of window.createBlobURL to avoid crashing. r=sicking a=blocking-beta-8
...
--HG--
rename : content/base/test/test_bug543870.html => content/base/test/test_mozfiledataurl.html
extra : rebase_source : 43ce51487370b415340cb18de74e5bf0e718067f
2010-10-02 04:24:41 -04:00
Mike Kristoffersen
b819ceb9ae
Bug 561244 - e10s: forward JS 'crypto' calls from content->chrome (Part 1/3 - Adding unique define to disable crypto object) r=jst a=blocking-fennec
...
--HG--
extra : rebase_source : 4ad7c331127b5fc75aebbad45a6a529aabe4f5e6
2010-09-29 18:56:46 +02:00
Kyle Huey
40924b6ff2
Bug 594964: Fix moz-filedata principal handling so that files can be dragged and dropped. r=sicking a=blocker
2010-09-17 21:22:44 -04:00
Johnny Stenback
80fa2ae7df
Fixing bug 61098. Give users a way out of inifinite modal dialog loops. Original patch by Nochum Sossonko. r=jonas@sicking.cc a=beta7+
2010-09-16 18:24:14 -07:00
Jonas Sicking
aac728d04b
Bug 391177: XSLT should reuse the existing inner window in order to help debuggers and the like. r=jst a=blocker CLOSED TREE
2010-09-15 15:54:00 -07:00
Jonas Sicking
e5a72459b6
Bug 596385: Update syntax for getting an url for a File to latest spec. r=jst a=blocker
2010-09-15 15:52:49 -07:00
Doug Turner
6ed1c44d56
Bug 573588 - Implement Desktop Notifications r=smaug, a=beltzner
...
--HG--
extra : rebase_source : 05ec761dd838e4f85a63df677c6335e456a8dfd6
2010-09-09 22:00:14 -07:00
Ben Turner
cf28451779
Bug 591516 - 'IndexedDB: Add some UI to prompt for IndexedDB permissions'. r=sicking+gavin.
2010-09-09 15:15:40 -07:00
James Darpinian
f09185a36c
Bug 369306 - If dom.disable_window_flip is enable, block .blur() and .focus() if opener is different from the caller. r=jst a2.0=blocking
2010-09-09 20:18:23 +02:00
Boris Zbarsky
f6879c0a75
588174. Make it possible to pass an explicit callback function to mozRequestAnimationFrame. r=roc, sr=dbaron
2010-09-09 01:38:04 -04:00
Jonas Sicking
58149cb308
Bug 582176: Only send content-document-global-created (and its chrome counter part) when a new window was actually created. Not when we fast-backed to one. r=jst a=blocker
2010-09-03 15:53:28 -07:00
Jim Mathies
6616b00a06
Bug 591408 - Fix for full screen regression: Only send one dom event to content. r=bz a=blocking
2010-08-28 02:33:43 +02:00
Boris Zbarsky
f2ba1e6a29
Backed out changeset d578993db396 (bug 590422) due to possible performance regressions (especially WinXP Tscroll).
...
--HG--
extra : rebase_source : e6ee7060691de0b87faefcdd3f4524cf01e1c0b4
2010-08-27 14:00:41 -04:00
David Zbarsky
a65da96f73
Bug 36619 - display notification when file picker is blocked r=sicking a=blocking
2010-08-27 11:49:08 -04:00
Boris Zbarsky
de52194990
Bug 590422. Stop futzing with our timer scheduling and just schedule them. r=brendan
2010-08-27 00:25:44 -04:00
David Humphrey
07de814ba1
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-25 09:10:00 -04:00
Olli Pettay
4e972e2cd0
Bug 588929, don't throw when getting/setting visibility of *bars, r=jst, sr=mrbkap, a=blocking
...
--HG--
extra : rebase_source : 20b9ed1b8336b531460e221c167c7ad2e96c0e0b
2010-08-25 17:00:16 +03:00
Robert Sayre
43c1350df6
Merge mozilla-central to tracemonkey.
2010-08-19 11:18:37 -04:00
Ted Mielczarek
be942c946d
Backed out changeset 1362f0ca86d2 (bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save) due to test failures.
2010-08-18 13:04:31 -04:00
David Humphrey
960122a5de
bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad
2010-08-17 09:40:00 -04:00
Mounir Lamouri
41b8bedd41
Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage
2010-08-17 02:08:35 +02:00
Robert Sayre
f80324a33f
Merge tracemonkey to mozilla-central.
2010-08-13 12:45:44 -07:00
Blake Kaplan
df5c4b507a
Bug 585224 - Move the location object to the inner window (though still parenting the JS object to the outer). r=jst
2010-08-06 17:17:33 -07:00
Robert Sayre
ca10e5d657
Merge mozilla-central to tracemonkey.
2010-08-06 15:41:41 -07:00
Blake Kaplan
47dec9bca0
Bug 584260 - Delay creating the outer window JS object until the last possible second. r=jst
2010-07-26 18:08:26 -07:00
Blake Kaplan
8ddb90ded3
Bug 574975 - Split inner/outer scriptable helpers, make the outer window not global. r=jst.
2010-08-01 17:39:35 -07:00
Blake Kaplan
69b691a498
Fix bug 584512.
2010-08-12 21:05:05 -07:00
Boris Zbarsky
456e9e5548
Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe
2010-08-11 17:05:28 -04:00
Robert O'Callahan
bae3fa4de3
Backed out changeset 66c25030a8d4
2010-08-12 11:28:49 +12:00
Boris Zbarsky
a746dcb366
Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe
2010-08-11 17:05:28 -04:00
Robert Sayre
55a8586519
Merge mozilla-central to tracemonkey.
2010-07-27 13:09:04 -07:00
Robert Sayre
1b744a7685
Merge mozilla-central to tracemonkey.
2010-07-20 15:07:03 -07:00
Blake Kaplan
de74d9d8f4
Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst
2010-07-19 13:36:49 -07:00
Blake Kaplan
44fa338e2b
Bug 575795 - Clean up the nsIScriptContext interface to the global object to be able to split the work that nsIScriptContext::InitContext does out. r=jst
2010-07-15 15:16:29 -07:00
Robert Sayre
38029f43fa
Merge mozilla-central to tracemonkey.
2010-07-12 20:42:21 -07:00
Jonas Sicking
9e951a5914
Bug 578150: Protect against the docshell loosing its document before we've had time to notify on it. r=mrbkap
2010-07-12 14:50:07 -07:00
Robert Sayre
70fc03b113
Merge mozilla-central to tracemonkey.
2010-07-02 17:25:52 -07:00
Jim Mathies
77adb219fa
Bug 574778 - Disable intrinsic sizing for chrome documents when enabling fullscreen mode. r=smaug.
2010-07-19 16:47:41 -05:00
Dão Gottwald
afad16ca0b
Bug 572656 - Remove the UI language from the UA string and navigator.appVersion. r=bz
2010-07-19 22:18:11 +02:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
d512b62fb4
Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao
2010-07-17 10:11:54 +02:00
Boris Zbarsky
e303576a7b
Backing out revision e1d443d63be5 (bug 558306) in an attempt to fix test orange.
2010-07-15 12:30:53 -04:00
Boris Zbarsky
060404cd82
Bug 558306 part 3. Switch DOM timeout code to TimeDuration/TimeStamp. r=jst
2010-07-15 09:59:24 -04:00
Blake Kaplan
97dcf454d5
Bug 579782 - Deal with a null context when closing the window. r=jst
...
--HG--
extra : rebase_source : d74e368d3a834fa47b6d912d35f0d9c6a0d60b7b
2010-07-21 17:17:35 -07:00
Boris Zbarsky
537c1dce54
Bug 581072. Fix the handling of long timeouts across timeout suspend/resume and add APIs to suspend/resume timeouts from trusted script. r=jst
2010-07-22 17:33:37 -04:00
Boris Zbarsky
f804ac1643
Bug 558306 part 3. Switch DOM timeout code to TimeDuration/TimeStamp. r=jst
2010-07-15 09:59:24 -04:00
Felipe Gomes
8d9b3f1877
Bug 508906. Add experimental MozTouch events. r=smaug,jimm
2010-08-02 15:34:54 +02:00
Doug Turner
901e02b2de
Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
...
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Doug Turner
4719dd0705
Automerge w mozilla-central
2010-06-24 14:06:13 -07:00
Jason Duell
d194b9d486
Merge from m-c.
...
Fair amount of merge conflicts.
Biggest item was changes to nsHttpChannel from web sockets changes.
Other likely suspects if things are borken:
nsFrameLoader.cpp:
- nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
nsnull (m-c) to local process call to new nsFrameMessageManager(),
callback arg? Smaug said null.
- only calling SetCallBackData for local case. also +r smaug.
nsPrefBranch.cpp had fairly extensive merge conflicts.
nsChromeRegistry had lots of changes.
Dougt did most of the non-necko changes (thanks).
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Doug Turner
ded51c1c5f
Merging with M-C.
...
Hand merged the following files:
U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Shawn Wilsher
8f3f92a5f4
Bug 574740 - Rename nsIIndexedDatabaseRequest to nsIIDBFactory
...
Update interface names per specification.
r=bent
--HG--
rename : dom/indexedDB/IndexedDatabaseRequest.cpp => dom/indexedDB/IDBFactory.cpp
rename : dom/indexedDB/IndexedDatabaseRequest.h => dom/indexedDB/IDBFactory.h
rename : dom/indexedDB/nsIIndexedDatabaseRequest.idl => dom/indexedDB/nsIIDBFactory.idl
2010-06-28 09:44:30 -07:00
Olli Pettay
58b4f71840
m-c to e10 merge
2010-05-24 17:45:59 +03:00
Doug Turner
3ad0032930
Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
...
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Chris Jones
9327ed8dcc
Merged m-c
2010-05-13 18:04:53 -05:00
Justin Dolske
c4ae810daf
Bug 563556 - Cleanup nsGlobalWindow's alert/confirm/prompt. r=jst
2010-05-13 15:26:10 -07:00
Doug Turner
74337a6b6a
Bug 552822 - IPC remoting of geolocation prompt. r=olli/r=jdm
2010-05-13 10:44:51 -07:00
Ben Turner
a283994c5f
Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst.
2010-06-23 12:46:08 -07:00
Doug Turner
fe405e740c
merge with m-c. resolved conflicts in:
...
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Doug Turner
8f97a20153
Merge with m-c. no hand edits
2010-04-29 21:04:50 -07:00
Ehsan Akhgari
a87b134220
Bug 560647 - add startup timeline instrumentation; r=vlad
2010-05-19 19:22:19 -04:00
Ms2ger@gmail.com
98d48c313e
Bug 474058 - Drop support for window.directories. r=jst
...
--HG--
extra : rebase_source : f0ee7974097fcc9db75b2928dae9b58cc3d8859b
2010-05-19 19:53:08 +02:00
Martin Stransky
d8bf1bcb53
Bug 546270 followup: sync code paths for File|Print & window.print(), to handle no-default-printer case. r=roc
2010-05-19 10:44:51 -07:00
Olli Pettay
078f01ee1d
Bug 549682 - Port the message-manager API to mozilla-central, r=jst
2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c
Backout Bug 549682
2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd
Bug 549682 - Port the message-manager API to mozilla-central, r=jst
...
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00
Boris Zbarsky
326e6cd9f3
Bug 534149. Give each nsGlobalWindow a unique ID and expose the IDs on nsIDOMWindowUtils. r=jst
2010-05-10 21:12:35 -04:00
Chris Jones
d53b8a18d0
Merged m-c
2010-04-27 01:53:06 -05:00
Ben Newman
941ed3332c
Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron
2010-04-20 16:21:35 -07:00
Neil Deakin
847d6ce201
Bug 564277, fix up various focus ring issues for html elements, r=smaug
2010-06-21 08:37:34 -04:00
Olli Pettay
fe69412640
Bug 571438 - MayHavePaintEventListener fails for non-e10s message manager, r=jst
2010-06-16 14:43:36 +03:00
Olli Pettay
cb4704d113
Bug 568975 - m-c message manager slowed down event handling a bit, r=jst
2010-06-16 14:42:42 +03:00
Oleg Romashin
87c511839e
Merged with mozilla-central
2010-04-22 20:22:26 -04:00
Neil Deakin
ceb1712f98
Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil
2010-04-21 10:53:42 -04:00
Oleg Romashin
8de514e284
Merged with mozilla-central
2010-04-07 06:59:04 -04:00
Doug Turner
c15f159231
merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp.
2010-03-26 14:22:48 -07:00
L. David Baron
b89eb35bb7
Fix guard object used as temporary. (Bug 555099) r=mrbkap
2010-03-26 10:12:39 -04:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
Craig Topper
c3fc5fa456
Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
...
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Boris Zbarsky
f7d7c95ec6
Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst
2010-05-05 14:18:05 -04:00
Boris Zbarsky
3c3a1ca782
Bug 563487. removeEventListener on a Window shouldn't throw if there's not listener manager yet; just do nothing. r=smaug
2010-05-05 14:18:04 -04:00
Peter Van der Beken
abd7f913e0
Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
...
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Robert O'Callahan
e3bea40661
bug 563864. Add mozPaintCount API. r=smaug,sr=vlad
2010-05-13 12:56:08 +12:00
Peter Van der Beken
8e3acb1006
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
...
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Blake Kaplan
d8bc476488
Bug 586157 - Deal with setting __proto__ on outer windows. r=jst
2010-08-13 17:05:18 -07:00
Blake Kaplan
28169c5f95
Bug 586083 - Make the outer window not be a global object. r=jst
2010-08-10 15:00:26 -07:00
Luke Wagner
ed7ada6b7e
Missed a cset (33addcc556b8) in backout
2010-08-16 22:38:05 -07:00
Luke Wagner
59422fe649
Backout 33addcc556b8 to c8bb41305006 (at the request of mrbkap)
2010-08-16 21:37:37 -07:00
Blake Kaplan
1ac4791c74
Bug 586157 - Deal with setting __proto__ on outer windows. r=jst
2010-08-13 17:05:18 -07:00
Blake Kaplan
3e81f7fd38
Bug 586083 - Make the outer window not be a global object. r=jst
2010-08-10 15:00:26 -07:00
Boris Zbarsky
a491cefc6d
Bug 484710. Add a notification for when a window's scope stops being usable. r=jst
2010-05-14 17:17:52 -04:00
Doug Turner
9e52c27932
merge from mozilla-central. no merges required
2010-03-23 02:53:35 -07:00
Jason Duell
69b885991b
Merge from m-c in order to fix e10s necko hangs caused by last m-c merge.
2010-03-19 23:55:40 -07:00
Markus Stange
5fb3e948bb
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Johnny Stenback
4cb67eed6d
Fixing bug 550905. Don't use uninitialized values. r=jonas@sicking.cc
2010-03-19 15:06:13 -07:00
Markus Stange
4a997d3554
Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures.
2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861
Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst
2010-03-17 18:10:57 +01:00
Jonas Sicking
ee2d2ff9d0
Bug 549452 followup. Address review comment by renaming function.
...
--HG--
extra : rebase_source : 2b287a740157cac7d06179960c35f7ccda925156
2010-03-13 12:39:36 -08:00
Ben Newman
4502ed4669
Simpler approach to bug 523885. r=jst
2010-03-11 20:42:05 -08:00
Jonas Sicking
2c3f66eb94
Bug 549539: Send a notification after a new window is created, but before any script inside it has run. r=mrbkap sr=bz
...
--HG--
extra : rebase_source : f15c2b197eb1a54a2ecb9b738729fda75565932c
2010-03-12 17:04:02 -08:00
Jonas Sicking
986107fb30
Bug 549452: Clean up nsGlobalWindow::SetNewDocument. r=mrbkap sr=jst
...
--HG--
extra : rebase_source : 1e13da2a339089ccf17b8cf9f41d59e188aa8165
2010-03-12 16:59:18 -08:00
Jason Duell
a5f74621b1
Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again.
2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391
Merge with mc
2010-03-17 10:37:32 -07:00
Doug Turner
16e2fd5fe7
Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js.
2010-03-10 19:13:35 -08:00
Doug Turner
d08632917d
Merge with mc
2010-03-08 10:09:55 -08:00
Chris Jones
bc05dd163b
Merge from mozilla-central
2010-02-22 21:31:18 -06:00
Olli Pettay
72dc86132d
Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg
2010-02-20 19:05:20 +02:00
Olli Pettay
83b813bb98
Bug 549566, clean-up beforeunload message, r=sicking
...
--HG--
extra : rebase_source : 5abe27de295f9285b926f105d7ec317ebe1503ff
2010-03-03 14:41:57 +02:00
Martin Stransky
ed744ecebf
Bug 546270: Use SetupSilentPrinting() to initialize mGTKPrinter for window.print() calls. r=roc
2010-03-10 12:33:35 -08:00
Nochum Sossonko
2b4fa77fc0
Bug 536889 - Don't throw in nsGlobalWindow::Print when printing is disabled, r=olli.pettay
2010-02-21 21:47:21 -05:00
Neil Deakin
65465d8068
Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug
2010-02-20 11:07:03 -05:00
Jae-Seong Lee-Russo
39d8beb92d
Bug 530300: Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /dom r=peterv
2010-02-20 08:59:07 -05:00
Ben Newman
d32fcf7f0e
Backout of changeset c3b327ad051a due to failure of dom/tests/mochitest/bugs/test_bug459848.html.
2010-02-23 13:57:15 -08:00
Ben Newman
f28f39240d
Bug 523885 - Tabbrowser handling of window.close possibly leak-prone. r=bz+sr=jst
...
--HG--
extra : rebase_source : 07b3a2e304498e053cdb301bb0d0d781412a196a
2010-02-23 10:45:05 -08:00
Olli Pettay
8ef39a6b0c
Bug 560902 - Optimize nsFocusManager::ContentRemoved, r=enndeakin+sicking
...
--HG--
extra : rebase_source : 69c72c67341dd27dbd5a526c59c5ee52d2b6a813
2010-04-27 12:58:58 +03:00
Olli Pettay
c5e7b0ab22
Bug 552663, start timeouts asynchronously when jsd enables scripts, r=jst
2010-03-24 00:35:15 +02:00
Benjamin Smedberg
6d1766e8cd
Bug 567357 - Fire a DOMWindowCreated event which matches the observer-service notification in bug 549539 so that extensions/message-manager scripts can add DOM features before any content script runs, r=sicking
...
--HG--
extra : rebase_source : b1eda0b412952587b9ef12908b2c2f818359ce65
2010-06-10 12:23:40 -04:00
Olli Pettay
ef0223722d
backout Bug 568975
2010-06-10 14:25:45 +03:00
Olli Pettay
f8b4e9410c
Bug 562901 - Synchronous XMLHttpRequests cause setInterval to stop functioning, r=jst
2010-06-10 13:29:43 +03:00
Olli Pettay
afac1feb5b
Bug 568975 - m-c message manager slowed down event handling a bit, r=jst
...
--HG--
extra : rebase_source : 33a1b10f31760b69a565645f43062f872b136b98
2010-06-10 13:05:31 +03:00
Olli Pettay
8f81d70abb
Bug 566024 - Add a 'global' messageManager, r=jst
2010-06-10 12:26:19 +03:00
Drew Willcoxon
155d247243
Bug 570986 - nsGlobalWindow::Dump should check all bytes, not chars, when replacing \r with \n. r=bzbarsky
2010-06-09 14:08:17 -07:00
Dan Witte
78b72f1c78
Bug 568059 - Remove navigator.preference. r=sicking, sr=jst
2010-06-08 16:43:55 -07:00
Robert Sayre
27b5a3b6fb
Merge mozilla-central to tracemonkey.
...
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Blake Kaplan
1a9a5c12c9
More bustage fixing.
2010-06-29 18:28:21 -07:00
Blake Kaplan
64f01ec858
Add another missing null check.
2010-06-29 14:35:23 -07:00
Blake Kaplan
4a598eb12b
Restore lost null check.
2010-06-29 13:16:19 -07:00
Blake Kaplan
6442fff51c
Bug 575431 - Re-marry nsGlobalWindow to JS (instead of being language-agnostic). r=jst
2010-06-29 11:46:39 -07:00
Blake Kaplan
129690a412
Bug 574517 - Separate the inner and outer windows' JS classes. r=jst
2010-06-28 16:39:00 -07:00
Robert Sayre
0a9fd0ff39
Merge mozilla-central to tracemonkey.
2010-06-23 17:04:20 -07:00
Robert Sayre
690a859635
Merge mozilla-central to tracemonkey.
2010-06-21 18:01:14 -07:00
Blake Kaplan
62c84f09e1
Bug 567451 - Inline some functions that have no business appearing in profiles. r=jst
2010-06-08 09:13:08 -07:00
Blake Kaplan
0130483c24
Bug 567048 - Cache same-origin XOWs in the wrapped native's object. r=jst
2010-05-28 16:01:08 -07:00
Daniel Holbert
336040d3c5
Bug 501423 followup: Reorder init lists to fix "will be initialized after" build warnings. r=jst
2010-02-02 12:05:24 -08:00
Justin Lebar
e730a1afc6
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb
Backed out changeset dc7a04be6904 on suspicion of causing bug 543034.
2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc
Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking
2009-09-01 09:45:05 -07:00
Dave Townsend
39858b12af
Bug 537449: Opening new chrome windows is broken after cancelling window.onbeforeunload event. r=bsmedberg, r=jst
2010-01-28 10:35:20 -08:00
Honza Bambas
e1a5b71c19
Bug 501423 - StorageEvent implementation does not match the spec, r=jst
2010-01-28 15:53:53 +01:00
Justin Lebar
a090ac8577
Bug 515190 - Hashchange event should be dispatched synchronously. r=smaug
2009-11-26 21:01:43 -08:00
Peter Van der Beken
d609cb9818
Fix for bug 428229 (Unable to override addEventListener), add security check to nsGlobalWindow::AddEventListener. r=mrbkap, sr=jst.
...
--HG--
extra : rebase_source : a5a35ee7301d276ef8194a639515f42f78e26328
2010-01-13 14:50:01 +01:00
Peter Van der Beken
7d8645e4ca
Fix for bug 428229 (Unable to override addEventListener), remove custom addEventListener code. r=bz.
...
--HG--
extra : rebase_source : 4e679da2100075a1e3c4ad557b92a3c86a5cf7be
2010-01-13 14:50:01 +01:00
Robert O'Callahan
c564ba50c2
Bug 526394. Part 11: Convert nsGlobalWindow and nsDOMWindowUtils. r=mats
2009-09-03 15:57:46 +12:00
Robert O'Callahan
ee9a495090
Backed out changeset ad1892e1bb82
2010-01-07 15:17:15 +13:00
Justin Lebar
75301b3f6f
Bug 515190: Hashchange event should be dispatched synchronously. r=smaug
2009-11-26 21:01:43 -08:00
Daniel Holbert
fee9f97bcd
Bug 537157: Explicitly prevent SMIL animations inside of XBL bindings from running. Also, make nsSMILCSSProperty directly create a computed style object, instead of using nsPIDOMWindow helper method. r=smaug sr=roc
2010-01-06 09:20:50 -08:00
Michael Wu
27fd1e717b
Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst]
2009-12-27 14:26:00 -06:00
Ms2ger@gmail.com
a4005e2fd1
Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug
2010-06-25 15:59:57 +02:00
Mike Kristoffersen ext:(%3E)
2831befe3b
Bug 562181 - Add support for MozOrientation on Qt. r=dougt
...
--HG--
rename : widget/src/android/nsAccelerometerAndroid.cpp => dom/system/android/nsAccelerometerSystem.cpp
rename : widget/src/android/nsAccelerometerAndroid.h => dom/system/android/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.h => dom/system/cocoa/nsAccelerometerSystem.h
rename : widget/src/cocoa/nsAccelerometerX.mm => dom/system/cocoa/nsAccelerometerSystem.mm
rename : widget/src/xpwidgets/nsAccelerometer.cpp => dom/system/nsAccelerometer.cpp
rename : widget/src/xpwidgets/nsAccelerometer.h => dom/system/nsAccelerometer.h
rename : widget/src/gtk2/nsAccelerometerUnix.cpp => dom/system/unix/nsAccelerometerSystem.cpp
rename : widget/src/gtk2/nsAccelerometerUnix.h => dom/system/unix/nsAccelerometerSystem.h
rename : widget/src/windows/nsAccelerometerWin.cpp => dom/system/windows/nsAccelerometerSystem.cpp
rename : widget/src/windows/nsAccelerometerWin.h => dom/system/windows/nsAccelerometerSystem.h
rename : widget/public/nsIAccelerometer.idl => xpcom/system/nsIAccelerometer.idl
extra : rebase_source : f9c352566a6d4088e8d448587214fb87402a4dc3
2010-06-25 14:25:31 +02:00
Boris Zbarsky
3e7aa47200
Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc
2009-12-24 16:20:06 -05:00
Olli Pettay
19c06de19d
bug 531176, r=sicking, sr=jst
2009-12-18 21:27:57 +02:00
Josh Aas
514a6c5e9d
Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc
2009-12-15 15:44:52 -05:00
Peter Van der Beken
b169f2dccb
Fix for bug 531542 ("ASSERTION: DOM_MIN_TIMEOUT_VALUE lies" with negative setTimeout). r=jst.
2009-11-30 10:58:32 +01:00
Blake Kaplan
2c89f91972
Bug 520386. Don't clear scope while executing code in that scope. r=bzbarsky@mit.edu, sr=jst@mozilla.org
2009-11-19 15:11:44 -08:00
Peter Van der Beken
7e0a012c40
Back out fix for bug 428229 (Unable to override addEventListener).
2009-11-15 17:03:03 +01:00
Peter Van der Beken
aae3f7089b
Fix for bug 428229 (Unable to override addEventListener). r=bz.
2009-11-09 14:54:18 +01:00
Josh Aas
8ed79a6952
Fix navigator.platform for 64-bit Mac OS X builds. b=489586 r=dbaron
2009-11-12 17:54:06 -05:00
Boris Zbarsky
18575db8fd
Bug 528208. Measure interval delays from start of callback to start of callback, not from end of callback to start of callback. r=peterv
2009-11-12 16:50:38 -05:00
Doug Turner
2af0681054
Bug 493615 - Allow Addons to use the DOM Geolocation API. r=smaug
...
--HG--
extra : rebase_source : a48f85c5940252a87bfef879663b2d50daed5686
2009-11-12 07:14:45 -08:00
Peter Van der Beken
ffc116d778
Fix for bug 512645 (Only clamp nested timeouts). r=jst.
...
--HG--
extra : rebase_source : 556930c0c02258f75becabe58eadd202fdea59a1
2009-08-26 11:07:39 -07:00
Josh Aas
d069d0092b
Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc
2009-11-09 22:58:48 -05:00
Ben Newman
19cb564817
Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst
2009-09-16 11:46:05 -07:00
Blake Kaplan
fbf1568798
Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking
2009-10-20 17:22:16 -07:00
Timothy Nikkel
5321e14840
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
Nochum Sossonko
14e32bd632
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
Josh Aas
bd9e4c3dfd
Bustage fix for Cocoa NPAPI, don't confuse Gecko's error codes with NPAPI error codes. b=435041
2009-10-19 11:45:53 -05:00
Neil Deakin
605ff17f62
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
Johnny Stenback
123b209635
Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2009-10-06 17:09:16 -07:00
Daniel Holbert
50268f016b
Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc
2009-10-02 14:37:25 -07:00
Jonas Sicking
26eb9625c3
Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst
2010-04-30 12:40:59 -07:00
Boris Zbarsky
04027a9479
Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking
2010-04-30 09:12:05 -04:00
Mitchell Field
9818f00bf2
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
Jonas Sicking
46b291294c
Bug 563491: Don't run code to set window status while we're inside a script blocker. r=mrbkap
2010-06-01 13:36:16 -07:00
Josh Aas
923b0e293c
Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst
2009-09-16 21:30:26 -04:00
Johnny Stenback
8127d8695e
Backed out changeset 105d89f1a33b due to test failures.
2009-08-31 15:03:53 -07:00
Johnny Stenback
29b20051c6
Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2009-08-31 14:35:58 -07:00
Josh Aas
65e80f6eb0
Implement Cocoa NPAPI event model. b=435041 sr=roc
2009-08-26 17:29:47 -07:00
Peter Van der Beken
8b5c239aac
Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
...
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Josh Aas
cc8d9ebb04
Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg
2009-08-24 15:56:43 -07:00
Doug Turner
db1a20b897
Bug 485943 - Device Orientation Support. r=olli
2009-08-21 07:42:37 -07:00