Commit Graph

3765 Commits

Author SHA1 Message Date
Jason Orendorff
7c1bcbce33 Backed out changeset e02df4a05968 due to orange. 2011-04-20 16:10:38 -05:00
Tom Schuster
479dc912bc Bug 202019 - Built-in functions should not be constructors. r=jorendorff.
--HG--
extra : rebase_source : 2f845218384004c09a60c59ae03704729f1d91dc
2011-04-20 13:22:57 -05:00
Josh Aas
6192fd5a60 Bug 649488: Move contents of dom/plugins to dom/plugins/ipc. r=bsmedberg
--HG--
rename : dom/plugins/AStream.h => dom/plugins/ipc/AStream.h
rename : dom/plugins/BrowserStreamChild.cpp => dom/plugins/ipc/BrowserStreamChild.cpp
rename : dom/plugins/BrowserStreamChild.h => dom/plugins/ipc/BrowserStreamChild.h
rename : dom/plugins/BrowserStreamParent.cpp => dom/plugins/ipc/BrowserStreamParent.cpp
rename : dom/plugins/BrowserStreamParent.h => dom/plugins/ipc/BrowserStreamParent.h
rename : dom/plugins/COMMessageFilter.cpp => dom/plugins/ipc/COMMessageFilter.cpp
rename : dom/plugins/COMMessageFilter.h => dom/plugins/ipc/COMMessageFilter.h
rename : dom/plugins/ChildAsyncCall.cpp => dom/plugins/ipc/ChildAsyncCall.cpp
rename : dom/plugins/ChildAsyncCall.h => dom/plugins/ipc/ChildAsyncCall.h
rename : dom/plugins/ChildTimer.cpp => dom/plugins/ipc/ChildTimer.cpp
rename : dom/plugins/ChildTimer.h => dom/plugins/ipc/ChildTimer.h
rename : dom/plugins/Makefile.in => dom/plugins/ipc/Makefile.in
rename : dom/plugins/NPEventAndroid.h => dom/plugins/ipc/NPEventAndroid.h
rename : dom/plugins/NPEventOSX.h => dom/plugins/ipc/NPEventOSX.h
rename : dom/plugins/NPEventWindows.h => dom/plugins/ipc/NPEventWindows.h
rename : dom/plugins/NPEventX11.h => dom/plugins/ipc/NPEventX11.h
rename : dom/plugins/NestedLoopTimer.cpp => dom/plugins/ipc/NestedLoopTimer.cpp
rename : dom/plugins/NestedLoopTimer.h => dom/plugins/ipc/NestedLoopTimer.h
rename : dom/plugins/PBrowserStream.ipdl => dom/plugins/ipc/PBrowserStream.ipdl
rename : dom/plugins/PPluginBackgroundDestroyer.ipdl => dom/plugins/ipc/PPluginBackgroundDestroyer.ipdl
rename : dom/plugins/PPluginIdentifier.ipdl => dom/plugins/ipc/PPluginIdentifier.ipdl
rename : dom/plugins/PPluginInstance.ipdl => dom/plugins/ipc/PPluginInstance.ipdl
rename : dom/plugins/PPluginModule.ipdl => dom/plugins/ipc/PPluginModule.ipdl
rename : dom/plugins/PPluginScriptableObject.ipdl => dom/plugins/ipc/PPluginScriptableObject.ipdl
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/ipc/PPluginStream.ipdl
rename : dom/plugins/PPluginSurface.ipdl => dom/plugins/ipc/PPluginSurface.ipdl
rename : dom/plugins/PStreamNotify.ipdl => dom/plugins/ipc/PStreamNotify.ipdl
rename : dom/plugins/PluginBackgroundDestroyer.h => dom/plugins/ipc/PluginBackgroundDestroyer.h
rename : dom/plugins/PluginIdentifierChild.h => dom/plugins/ipc/PluginIdentifierChild.h
rename : dom/plugins/PluginIdentifierParent.h => dom/plugins/ipc/PluginIdentifierParent.h
rename : dom/plugins/PluginInstanceChild.cpp => dom/plugins/ipc/PluginInstanceChild.cpp
rename : dom/plugins/PluginInstanceChild.h => dom/plugins/ipc/PluginInstanceChild.h
rename : dom/plugins/PluginInstanceParent.cpp => dom/plugins/ipc/PluginInstanceParent.cpp
rename : dom/plugins/PluginInstanceParent.h => dom/plugins/ipc/PluginInstanceParent.h
rename : dom/plugins/PluginInterposeOSX.h => dom/plugins/ipc/PluginInterposeOSX.h
rename : dom/plugins/PluginInterposeOSX.mm => dom/plugins/ipc/PluginInterposeOSX.mm
rename : dom/plugins/PluginLibrary.h => dom/plugins/ipc/PluginLibrary.h
rename : dom/plugins/PluginMessageUtils.cpp => dom/plugins/ipc/PluginMessageUtils.cpp
rename : dom/plugins/PluginMessageUtils.h => dom/plugins/ipc/PluginMessageUtils.h
rename : dom/plugins/PluginModuleChild.cpp => dom/plugins/ipc/PluginModuleChild.cpp
rename : dom/plugins/PluginModuleChild.h => dom/plugins/ipc/PluginModuleChild.h
rename : dom/plugins/PluginModuleParent.cpp => dom/plugins/ipc/PluginModuleParent.cpp
rename : dom/plugins/PluginModuleParent.h => dom/plugins/ipc/PluginModuleParent.h
rename : dom/plugins/PluginProcessChild.cpp => dom/plugins/ipc/PluginProcessChild.cpp
rename : dom/plugins/PluginProcessChild.h => dom/plugins/ipc/PluginProcessChild.h
rename : dom/plugins/PluginProcessParent.cpp => dom/plugins/ipc/PluginProcessParent.cpp
rename : dom/plugins/PluginProcessParent.h => dom/plugins/ipc/PluginProcessParent.h
rename : dom/plugins/PluginScriptableObjectChild.cpp => dom/plugins/ipc/PluginScriptableObjectChild.cpp
rename : dom/plugins/PluginScriptableObjectChild.h => dom/plugins/ipc/PluginScriptableObjectChild.h
rename : dom/plugins/PluginScriptableObjectParent.cpp => dom/plugins/ipc/PluginScriptableObjectParent.cpp
rename : dom/plugins/PluginScriptableObjectParent.h => dom/plugins/ipc/PluginScriptableObjectParent.h
rename : dom/plugins/PluginScriptableObjectUtils-inl.h => dom/plugins/ipc/PluginScriptableObjectUtils-inl.h
rename : dom/plugins/PluginScriptableObjectUtils.h => dom/plugins/ipc/PluginScriptableObjectUtils.h
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/ipc/PluginStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/ipc/PluginStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/ipc/PluginStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/ipc/PluginStreamParent.h
rename : dom/plugins/PluginSurfaceParent.cpp => dom/plugins/ipc/PluginSurfaceParent.cpp
rename : dom/plugins/PluginSurfaceParent.h => dom/plugins/ipc/PluginSurfaceParent.h
rename : dom/plugins/PluginUtilsOSX.h => dom/plugins/ipc/PluginUtilsOSX.h
rename : dom/plugins/PluginUtilsOSX.mm => dom/plugins/ipc/PluginUtilsOSX.mm
rename : dom/plugins/StreamNotifyChild.h => dom/plugins/ipc/StreamNotifyChild.h
rename : dom/plugins/StreamNotifyParent.h => dom/plugins/ipc/StreamNotifyParent.h
rename : dom/plugins/ipdl.mk => dom/plugins/ipc/ipdl.mk
2011-04-12 16:26:11 -07:00
Paul Biggar
bc3d36f617 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
52ee86d378 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
L. David Baron
7e86462271 ifdef CSS animations so that the feature can be backed out by flipping the switches in configure.in and then reverting the changes to the following four files appropriately: nsIDOMCSS2Properties.idl, nsIDOMCSSRule.idl, property_database.js, test_transitions_computed_values.html. (Bug 435442, patch 15) r=bzbarsky 2011-04-11 23:18:44 -07:00
L. David Baron
b534bd3113 Add animation event interface and data structures. (Bug 435442, patch 12) r=smaug 2011-04-11 23:18:44 -07:00
L. David Baron
f8dfd07160 Add interface for taking over the refresh driver in a test (i.e., mocking time). (Bug 435442, patch 9) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
f80131c3b4 Implement parsing and storage of @keyframes rule. (Bug 435442, patch 5) r=bzbarsky 2011-04-11 23:18:43 -07:00
L. David Baron
46a3aba4b3 Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky 2011-04-11 23:18:42 -07:00
Paul Biggar
c0aeeea187 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Benjamin Smedberg
6620f620d9 Bug 617539 - Remove nsIPluginHost_MOZILLA_2_0_BRANCH, nsIPluginInstanceOwner_MOZILLA_2_0_BRANCH, and nsIPluginInstance_MOZILLA_2_0_BRANCH; r=jst 2011-04-11 16:00:30 -04:00
David Zbarsky
aa301d629c Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Ms2ger
d791c18c29 Bug 647549 - Unused variable newInnerJSObject in nsJSContext::ConnectToInner; r=jst 2011-04-11 08:45:40 -07:00
Rob Campbell
367f0df4fa merge m-c to devtools 2011-04-11 10:22:30 -03:00
Ms2ger
b502087317 Bug 604592 - Make Node.prefix readonly; r=smaug 2011-04-11 13:06:18 +02:00
Rob Campbell
e681ae8140 merge m-c to devtools 2011-04-10 10:47:40 -03:00
Rob Campbell
0819d5bf25 Bug 616742 - Implement console.debug() (was: Navigation broken on Citytv website); followup testfix. r=ddahl,jonas, a=orange 2011-04-08 21:32:04 -07:00
Rob Campbell
b1f7535884 Bug 616742 - Implement console.debug() (was: Navigation broken on Citytv website); r=ddahl,jonas 2011-04-08 14:20:41 -07:00
Ehsan Akhgari
a6cda7cb5c Merge cedar into mozilla-central 2011-04-08 22:28:05 -07:00
Mounir Lamouri
9728e409e7 Follow-up from bug 625760: define remoteXUL strings after netErrorApp.dtd include. rs=mrbkap 2011-04-08 15:20:51 -07:00
Blake Kaplan
bf58da448d Fix bug 643450. r=peterv
--HG--
extra : rebase_source : b49b5ee41b5465090ce7b6db5793174ffe2ad9be
2011-04-08 14:28:24 -07:00
Blake Kaplan
697524ea29 Bug 642022 - Deal with the return value being in a different compartment. r=gal
--HG--
extra : rebase_source : b924c99e830cdafd7e1471cf087e69cfc7e33e23
2011-04-08 14:28:24 -07:00
Blake Kaplan
f82a68b669 Bug 642026 - Enumerate standard classes. r=jst
--HG--
extra : rebase_source : a4a9630f54d398337a22ba5f75cee466ef4854db
2011-04-08 13:28:05 -07:00
Benjamin Smedberg
1a7a181186 Bug 644585 - Firefox 4 cannot find plugins (on Windows) whose path contains non-ASCII characters. The path which we pass around within plugin-land (nsPluginTag.mFullPath and several similar variants) is UTF8, not a natively-encoded path. The IPC code needs to respect that. r=josh
--HG--
extra : rebase_source : 9a4be434de5fc0545784871f1a7c4854f9439abd
2011-04-07 17:13:59 -07:00
Ehsan Akhgari
ef53848cec Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Mounir Lamouri
66e8d3d1e7 Bug 625760 - Make "Remote XUL unsupported" error page localizable. r=sicking 2011-04-06 14:20:23 -07:00
Ed Morley
80e465cc5e Bug 648508 - Remove the Windows CE code for accelerometer support (follow up); r=jst 2011-04-08 13:33:53 +01:00
Ehsan Akhgari
1bf12a739b Backout changeset 4910cd19bc9a (Bug 583514) because it breaks the build as a result of incompatibility with the patches for bug 581177 2011-04-08 07:35:40 -07:00
David Zbarsky
7e54902b80 Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-07 21:52:08 -07:00
Cameron McCormack
9c4e74e95e Bug 631437: Add length to SVGXXXList interfaces and make them respond to array indexing (v4) r=jwatt,bzbarsky 2011-04-08 10:44:03 +12:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Boris Zbarsky
88b5ba318f Bug 646972. Clamp the timeout interval after storing mInterval on the nsTimeout, so interval timers will correctly speed up when a tab goes from background to foreground. r=jst 2011-04-04 16:22:48 -07:00
Emanuele Costa
9d6cbc70b0 Fix for bug 633934. r=bzbarsky
Two files need to be patched:

/dom/src/json/nsJSON.cpp
/dom/src/json/test/unit/test_encode.js

The first problem is a wrong nsnull initialization parameter in one of
the nsJSONWriter constructor.

The second problem is caused by related bug 410005 and only happens on
windows and can be solved by calling the clone() method before calling
filesize attribute on a file that has been created and later on modified
by adding extra content.

The BOM check set to true causes this behaviour

 // check BOMs
  // the clone() calls are there to work around -- bug 410005
  var f = writeToFile({},"UTF-8", true).clone();

As discussed Linux is not affected.

The overall 410005 seems to be related to a wrong logic in the mDirty and
MakeDirty() flag in nsLocalFileWin.cpp implementation.
2011-04-04 16:10:10 -07:00
Ehsan Akhgari
fc408ed65e Backout changeset 88eb5b5bb5d2 (bug 583514) because of reftest orange 2011-04-02 07:55:52 -04:00
David Zbarsky
ca29061d7e Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-01 18:50:58 -04:00
Ehsan Akhgari
bc84b1a1ca Backout changeset 649f50ed53ca (bug 646184) because of debug crashtest failures 2011-04-01 18:22:22 -04:00
Ms2ger
6ba85475ea Bug 646184 - Crash [@ nsGlobalWindow::GetLocalStorage] getting localStorage from removed frame; r=bz 2011-03-30 08:58:21 +02:00
ben turner
c7fd4c14e5 Bug 625222 - Intermittent dom/src/threads/test/test_chromeWorkerJSM.xul | Test timed out; r=jst 2011-03-28 09:02:00 -04:00
Ms2ger
e82753ee57 Bug 640117 - Unchecked return value in AudioParent::Notify; r=dougt 2011-03-31 15:38:30 -04:00
Ms2ger
5ad5a46d14 Bug 640113 - Unchecked return value in AudioParent::RecvShutdown; r=kinetik 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112 Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
29f9a86daa Merge backout 2011-03-31 18:58:11 -05:00
Chris Jones
a75fb12531 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Boris Zbarsky
3660bc81f5 Bug 610077. Drop the default timeout clamp to 4ms. r=jst 2011-03-31 15:29:44 -04:00
Ehsan Akhgari
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00