Commit Graph

6303 Commits

Author SHA1 Message Date
Benjamin Smedberg
d8be33b109 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Honza Bambas
5181dfd7f7 merge, a=merge 2010-10-27 20:45:39 +02:00
Honza Bambas
d50d68a1af Backout bug 527667, a=orange-fix 2010-10-27 20:41:23 +02:00
Jim Mathies
376c582072 No bug, remove left over printf debug statement from PluginInstanceChild. r=me, a=nobug. 2010-10-27 13:32:45 -05:00
Benjamin Smedberg
2192686320 Non-Windows build bustage fix from bug 596451 part D - base::SharedMemoryHandle is not available to IPDL on non-Windows, so use typedefs. 2010-10-25 15:12:25 -04:00
Honza Bambas
d2e37cd61f Bug 527667 - DOM Storage (localStorage, sessionStorage) data is not cleared when 'Clear Recent History' is used with Time range not 'Everything', r+sr=jst, a=blocking2.0:betaN 2010-10-25 20:40:55 +02:00
David Mandelin
c5f312b1b8 Backout merge, a=backing out changeset tried for b7 blocker 2010-10-26 18:20:20 -07:00
David Mandelin
343455174f Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze. 2010-10-26 18:14:25 -07:00
Robert Sayre
bf97b8752b Merge tracemonkey to mozilla-central a=blockers. 2010-10-26 20:50:55 -04:00
Robert Sayre
41e10487ac Merge tracemonkey to mozilla-central. 2010-10-26 20:49:22 -04:00
Robert Sayre
ab1de59e65 Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
David Mandelin
af0066b448 Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker 2010-10-25 17:28:18 -07:00
Blake Kaplan
13f766aceb Bug 604341 - Ensure that we're in the right compartment when we create plugin objects' wrapper JS objects. r=jst a=blocking beta 7
--HG--
extra : transplant_source : F%91%F4%D9%C2%5Etuh%A1w%8A%23%AB%84Q%CD%AD%AA%B5
2010-10-25 12:18:20 -07:00
Blake Kaplan
cf86b31936 Bug 604449 - Protect against an outer window that has already been closed. r=jst
--HG--
extra : transplant_source : d%82D1%05%CA%B9%7F%04%7C%C7%0B%A7%85%40A%13%2B%20%20
2010-10-25 12:15:04 -07:00
Blake Kaplan
0caa75a303 Bug 605696 - Refuse to create location objects without an outer window. r=jst
--HG--
extra : transplant_source : 4%D9%ABJ%0A%03%E5%7D%C5%F1%3C%BDV%BB%E7%E0%CC%DFh%10
2010-10-25 12:13:36 -07:00
Benjamin Smedberg
4a85b8746d Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Mounir Lamouri
3bfe1b223a Bug 606817 - Truncate form validation message only if they are content specified. r=sicking,pike a=blocking 2010-10-26 00:02:24 +02:00
Andreas Gal
e659adcc1f Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Peter Van der Beken
fa09dea8cb Add testcase for bug 603531 2010-10-16 22:24:56 -07:00
Benjamin Smedberg
dc418f86d1 Review comment from bug 596451 part C - the XSync is required so that pending composition using this surface is complete before the surface is re-used by the plugin. 2010-10-15 14:35:46 -04:00
Chris Jones
af8a57e9c6 Bug 606279, part 4: Only allocate an image large enough to cover the <canvas>. r=joe a=blocking-fennec 2010-10-26 17:20:53 -05:00
Chris Jones
d9065bdd3b Bug 606279, part 3: Port transformed rendering to PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
6170cbcb5c Bug 606279, part 2: Use more concise types in PDocumentRenderer. r=joe 2010-10-26 17:20:53 -05:00
Chris Jones
efeafe8ee8 Bug 606279, part 1: Excise shmem-backed canvas. r=joe sr=vlad 2010-10-26 17:20:53 -05:00
Benjamin Smedberg
452a909681 Bug 596451 part C - simplify the behavior of the returning surface from Show, because it's only used to hand back ownership of IPDL shared memory. 2010-10-14 14:14:23 -04:00
Benjamin Smedberg
a37161d8e3 Merge mozilla-central with the asynchronous plugins painting branch. 2010-10-13 10:45:01 -04:00
Bill McCloskey
83489c2ceb Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Igor Bukanov
ca764b16a5 bug 604831 - fixing GC trigger factor setup. r=anygregor 2010-10-19 12:11:09 +02:00
Bill McCloskey
046eb7cdc6 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
88aa6bd6bb Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Blake Kaplan
550c2593ee Fix bug 605167. r=peterv
--HG--
extra : rebase_source : 67b5ac9708e2efe22a200ab4cbcaef76b494dfa1
2010-10-18 15:21:50 -07:00
Blake Kaplan
815b52015c Bug 604826 - Make constructors on Xray wrappers work properly again. r=peterv
--HG--
extra : rebase_source : 147c987ad8b74f4ec3e805b3602676fa92127605
2010-10-18 15:20:47 -07:00
Blake Kaplan
312e4e1e90 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Jonas Sicking
1dee38609c Bug 575946: Implement File.slice. r=khuey sr=biesi a=beltzner 2010-10-13 16:25:33 -07:00
Peter Van der Beken
5bb4dd3d8c 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
d7f499f7a6 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
b646386f2f 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
Jim Blandy
142983dfa4 Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Andreas Gal
c98f6bc71a 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
9d595867c4 bug 580128 - The window is named Window, not WindowProxy. r=gal 2010-10-10 15:43:01 -07:00
Johnny Stenback
87581aa250 Bug 580128. Resolve class names on the window's own JS object, not on the passed in object. r=peterv@propagandism.org 2010-10-10 15:42:23 -07:00
Blake Kaplan
5631a85e40 bug 580128 - Distinguish between XOW XrayWrappers and XPCNW XrayWrappers and use the new knowledge in a few places. r=gal 2010-10-10 15:42:18 -07:00
Blake Kaplan
facf459aa7 bug 580128 - Only expose same-compartment window.wrappedJSObject to chrome callers. r=jst 2010-10-10 15:42:15 -07:00
Peter Van der Beken
f2855434db bug 580128 - Remove old wrappers. r=mrbkap 2010-10-10 15:41:40 -07:00
Andreas Gal
84f62c2607 bug 580128 - Try to allow "XOWs" to see named frames. 2010-10-10 15:41:30 -07:00
Andreas Gal
1219a88f7e bug 580128 - Remove vestiges of old wrappers from nsDOMClassInfo. r=mrbkap 2010-10-10 15:41:27 -07:00
Ben Turner
09878ba8cc Bug 580128. Add cross compartment JSObject clone hooks. r=jst@mozilla.org 2010-10-10 15:39:11 -07:00
Peter Van der Beken
a1eae3cb88 Bug 580128. Call JS_ClearScope on the holder object for XrayWrappers around windows when navigating. r=mrbkap 2010-10-10 15:38:10 -07:00
Blake Kaplan
42c68caa59 bug 580128 - Bad attempt to make .wrappedJSObject on raw windows only apply to chrome. Fixed later r=nobody I hope! 2010-10-10 15:38:04 -07:00
Benjamin Smedberg
36ae808503 Merge mozilla-central into asynchronous plugins branch. 2010-10-01 13:54:43 -04:00
Jim Chen
06854924e5 Bug 599550 - Properly sync PuppetWidget IME notifications; r=blassey,cjones a=blocking-fennec 2010-10-01 10:17:37 -04:00
Blake Kaplan
c00723aef7 bug 580128 - Find the true caller through the wrappers. r=jst 2010-10-10 15:36:01 -07:00
Blake Kaplan
71313e7628 bug 580128 - Enter the right compartment when calling toString. r=jst 2010-10-10 15:35:51 -07:00
Ben Turner
1bea2a0e1e Bug 580128 - Make IndexedDB work with compartments. r=jst 2010-10-10 15:35:42 -07:00
Blake Kaplan
152442fc6c Bug 604341 - Ensure that we're in the right compartment when we create plugin objects' wrapper JS objects. r=jst a=blocking beta 7
--HG--
extra : rebase_source : b768cd2a13f6d4515fd2220737677adeab023b21
2010-10-25 12:18:20 -07:00
Blake Kaplan
bce9444a67 Bug 604449 - Protect against an outer window that has already been closed. r=jst
--HG--
extra : rebase_source : 9aa28d1ab4eff66f12806893c24930fcafad1d66
2010-10-25 12:15:04 -07:00
Blake Kaplan
f3be4765a0 Bug 605696 - Refuse to create location objects without an outer window. r=jst
--HG--
extra : rebase_source : 1666f3d4a81c37d6e09890651b204b466d2591bd
2010-10-25 12:13:36 -07:00
Honza Bambas
e4d1ff4c9c Backed out changeset 2ccadd55dc4c, a=orange-fix 2010-10-25 21:09:38 +02:00
Honza Bambas
c6bbecedd7 Bug 527667 - DOM Storage (localStorage, sessionStorage) data is not cleared when 'Clear Recent History' is used with Time range not 'Everything', r+sr=jst, a=blocking2.0:betaN 2010-10-25 20:40:55 +02:00
Peter Van der Beken
e036314b75 Bug 580128 - Always wrap Location objects in wrappers, even for same origin. r=mrbkap/gal 2010-09-29 10:00:52 -07:00
Peter Van der Beken
aea5afc9a8 Fix dom/tests/mochitest/general/file_frameElementWrapping.html to deal with proxies. r=mrbkap 2010-09-28 17:02:43 -07:00
Johnny Stenback
cba6015395 bug 580128 - Forward to outer in AreDialogsBlocked. r=mrbkap 2010-09-28 17:02:43 -07:00
Daniel Holbert
0e91a599f2 (no bug) fix typo in comment to trigger another cycle, to see if reftest orange is real. a=NPOTB 2010-11-09 22:46:28 -08:00
Blake Kaplan
fcfb35eb67 Add a test for bug 541530. a=tests 2010-11-09 12:29:41 -08:00
Josh Aas
fd750ae218 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Chris Jones
339106b788 Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
84bc5433b3 Bug 598862, part 3: Have plugin parents keep a 'proxy ref' to plugin X resources by duping the plugin's X socket. r=karlt 2010-11-08 20:48:59 -06:00
Mike Kristoffersen
30a8e04324 Bug 575658 - [e10s] TabChild::ParamsToArrays string optimization r=doug.turner a=approval2.0 2010-11-03 14:02:33 +01:00
Mike Kristoffersen
06fa145904 Bug 575657 - [e10s] TabChild should use NS_NOTREACHED in addition to NS_ERROR_NOT_IMPLEMENTED r=doug.turner a=approval2.0 2010-11-03 14:00:49 +01:00
Ehsan Akhgari
f401254d50 Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Blake Kaplan
b72500f6bc bug 580128 - Wrap values in the array. r=jst 2010-09-27 20:40:27 -07:00
Blake Kaplan
bdb04e3dcc 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
64aaf55c41 bug 580128 - Pass the right resolve flags to ResolveNativeHandler. r=peterv/jst 2010-09-24 15:30:00 -07:00
Honza Bambas
509c4302c0 Bug 536544 - slow window.localStorage.setItem performance, r=sdwilsh, sr=jst, a=blocking2.0:final+ 2010-10-25 18:47:23 +02:00
Olli Pettay
c4214860e8 Backout Bug 508518, a=dromaeo-dom-regression 2010-10-25 00:52:17 +03:00
Olli Pettay
e170ac1432 Bug 508518 - Implement nsUITimerCallback with one-shot timer, r=jst, a=blocking-fennec
--HG--
extra : rebase_source : b486aa38fb17baacf0a5be39becd536fbec0c574
2010-10-24 21:20:53 +03:00
L. David Baron
3b8d68ee17 Add test for nsStyleAnimation::ComputeDistance. (Bug 598099) r=bzbarsky a2.0=blocking-betaN 2010-10-23 16:31:55 -07:00
Josh Matthews
470deb7b42 Bug 548904 - Remote console messages from content to chrome via a listener. r=bzbarsky a=blocking-fennec 2010-09-23 21:39:32 -04:00
Blake Kaplan
ce180ccef3 bug 580128 - Pass the XrayWrapper itself to scriptable helpers (and related cleanup) since the holder doesn't have enough smarts to do lookups, etc. r=gal 2010-09-23 15:56:28 -07:00
Blake Kaplan
275fe3585d 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
Chris Jones
0355845713 Bug 603680: Paper over lack of IPDL |discard| (and possible weirdly short-lived <browser>s). r=bsmedberg a=blocking-fennec 2010-10-26 12:51:08 -05:00
Benjamin Smedberg
e7d497dbc0 Bug 596451 part B - UseAsyncPainting really shouldn't need to dig very far or use an outparam, r=romaxa 2010-09-21 17:10:45 -04:00
Benjamin Smedberg
5df0592ad3 Bug 596451 part A - fix PluginInstanceChild to use bools, r=jimm/josh 2010-09-21 12:03:16 -04:00
Phil Ringnalda
7220dc7550 Bug 492232 - try to reduce failures in test_Scriptaculous.html's testElementMorph by doubling the timeout, a=orange 2010-09-30 07:17:30 -07:00
Joel Maher
c5435ea8f3 Bug 597056. Firefox browser-chrome tests are ending up in Fennec. ifdef them away for mobile builds. r=mfinkle. a=sayrer 2010-09-29 14:21:09 -04:00
Blake Kaplan
2549d7dc99 bug 580128 - Make sure nsDOMClassInfo uses the right compartment for objects that it defines on wrappers (both security and not). r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan
da04c91998 bug 580128 - Set nsGlobalChromeWindows' principals to chrome even before they know it. r=jst 2010-09-17 14:54:41 -07:00
Blake Kaplan
667e474ffe 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
fb85f65bb8 bug 580128 - Make the Window constructor be defined on new windows. r=peterv 2010-09-17 14:54:40 -07:00
Blake Kaplan
697c0a497c bug 580128 - Give windows a .wrappedJSObject property to help out old consumers of XPCNativeWrappers. r=peterv 2010-09-17 14:54:40 -07:00
Mounir Lamouri
0e0e895f9e Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Chris Pearce
dc05e1b4bf Bug 600791 - Correct DOM class info for TimeRanges class. r=jst a=blocking2.0 2010-10-13 14:01:37 +13:00
Blake Kaplan
8e08990a45 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
f021fe41ba 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
6f88d76769 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
b548e78f8a 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
Blake Kaplan
234cbcb3a1 Bug 580128 - Give objects a way to inform XPConnect that they implement their own JS object in a way that does not involve wrapped natives. r=peterv 2010-09-17 14:54:40 -07:00
Henri Sivonen
70eeb58789 Bug 591981 - Make script-inserted inline scripts run right away, make script-inserted external scripts behave like async scripts and make document.write writing an inline script return at a predictable time. r=jonas, a=blocking2.0-beta7. 2010-09-01 14:41:12 +03:00
Robert Sayre
28b54c3b54 Merge tracemonkey to mozilla-central a=blockers 2010-09-29 02:01:12 -04:00
Doug Turner
be182f1bcf Bug 600110 - Pref follow up patch. Remove dead code, fix observers. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : dd0861639f346b0c0f6103c25586f6136aa125f3
2010-09-28 10:02:37 -07:00