Commit Graph
96 Commits
Author SHA1 Message Date
Bill McCloskey 8855dd6ab3 Bug 1155224 - Add targetFrameLoader property to messages (r=smaug) 2015-04-20 23:32:59 -07:00
Denis Volk 1872a62df8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Jim Blandy f94dd3b1df Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
Bill McCloskey 16f50e3ae9 Bug 1131375 - Fix message ordering for in-process message manager (r=smaug) 2015-04-14 17:04:26 -07:00
Ryan VanderMeulen 2e3a9e8093 Backed out changeset c2f12ead270c (bug 1131375) for Windows bustage.
CLOSED TREE
2015-04-14 10:55:59 -04:00
Bill McCloskey 7b472cdaf0 Bug 1131375 - Fix message ordering for in-process message manager (r=smaug) 2015-04-14 07:18:33 -07:00
Boris Zbarsky a08d9d8ed6 Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Nathan Froyd 5ea83381f3 Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
Wes Kocher 21348ea148 Backed out 8 changesets (bug 679939) for test failures
Backed out changeset 4a1a45bc093a (bug 679939)
Backed out changeset 5336ae0fe919 (bug 679939)
Backed out changeset 4cbcb40e0ef4 (bug 679939)
Backed out changeset 3bc68cf4610b (bug 679939)
Backed out changeset ec2d863a3df9 (bug 679939)
Backed out changeset 4425a55312c6 (bug 679939)
Backed out changeset d3793e00b41f (bug 679939)
Backed out changeset 872edd1aedf7 (bug 679939)
2015-04-01 10:24:42 -07:00
Boris Zbarsky f177c80b16 Bug 679939 part 8. Drop the now-unused compileAndGo from CompileOptions. r=luke 2015-04-01 12:05:29 -04:00
Bill McCloskey 5f36698ec1 Bug 1139718 - Warning when sending MM messages that include XPCOM data (r=smaug) 2015-03-30 20:13:01 -07:00
Ehsan Akhgari ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky 1db863aceb Bug 1145294. Remove the obj argument from JS::CloneAndExecuteScript. r=luke 2015-03-20 00:34:08 -04:00
Boris Zbarsky c26813e6f3 Bug 1144743 part 3. Set hasPollutedGlobalScope when we're compiling scripts we know will be executed with a non-global scope without cloning them. r=luke 2015-03-20 00:34:07 -04:00
Boris Zbarsky 6535e4ba5f Bug 1143793 part 6. Drop the obj argument of JS::Compile. r=luke
This is technically a behavior change for the shell's disfile() function, but
I really doubt anyone is doing disfile.call(someObj).
2015-03-19 10:13:34 -04:00
Boris Zbarsky 4e3bb7504f Bug 1143793 part 3. Stop passing null as the obj argument of JS::Compile. r=luke.
Note that this is not a behavior change in the aRunInGlobalScope case in
nsFrameMessageManager, because that case never does setCompileAndGo(true) anyway.
2015-03-19 10:13:34 -04:00
Bill McCloskey 6d6e0f9ce9 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Phil Ringnalda b7bcece915 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey 2d26630922 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Daniel Holbert ddb04a0443 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Ryan VanderMeulen 1b43939c7f Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey 26b5e4bd0d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Bill McCloskey 7227c04f2c Bug 1139628 - Don't load delayed process scripts until channel is open (r=smaug) 2015-03-09 17:54:34 -07:00
Jon Coppeard 03b0663f5d Bug 963921 - Clients of the JS API should use JS_DefineElement where appropriate r=smaug 2015-03-02 13:31:15 +00:00
Olli Pettay 1fb62b1d80 Bug 1136322 - Optimize anon scopes from CC graph, r=mccr8 2015-02-25 00:23:53 +02:00
Daniel Holbert f402074538 Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Bill McCloskey b359a97797 Bug 1133594 - Add support for message manager process scripts (r=smaug) 2015-02-19 17:13:02 -08:00
Bill McCloskey 9adad26118 Bug 1133594 - Hide nsFrameMessageManager::sChildProcessManager (r=smaug) 2015-02-19 17:12:38 -08:00
Bill McCloskey fc9c5e0dd4 Bug 1133594 - Make a common base class for message manager script globals (r=smaug) 2015-02-19 17:12:11 -08:00
Bill McCloskey da60bf65f2 Bug 1133594 - Rename LoadFrameScript to LoadMessageManagerScript (r=smaug) 2015-02-19 17:11:32 -08:00
Bill McCloskey cabbefceef Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug) 2015-02-19 17:10:44 -08:00
Ryan VanderMeulen 3f5dd18a05 Backed out changesets b7d9158b53e7 and 820a0cabcb92 (bug 1131375) for Windows bustage.
CLOSED TREE
2015-02-18 14:47:27 -05:00
Bill McCloskey 3251dc6d8a Bug 1131375 - Message manager messages should arrive in order in non-e10s (r=smaug) 2015-02-18 10:38:27 -08:00
Andrew McCreight 2fa46e908e Bug 1130128, part 2 - CompilationScope() is infallible. r=bholley 2015-02-09 11:42:20 -08:00
Andrew McCreight 25ee177e97 Bug 1130128, part 1 - Compile scripts cached by nsFrameScriptExecutor in the compilation scope to avoid leaks. r=bholley 2015-02-09 11:42:20 -08:00
Bill McCloskey 3fdc0539fb Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-26 13:32:18 -08:00
Tom Schuster 7c3552a7df Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz 2015-01-24 16:38:08 +01:00
Wes Kocher 8b770b4ad0 Backed out 3 changesets (bug 1123461, bug 1123090) for windows build bustage
Backed out changeset 2c442905d0af (bug 1123461)
Backed out changeset d7aa4c72ebab (bug 1123461)
Backed out changeset 8bb689ec8086 (bug 1123090)
2015-01-22 21:04:33 -08:00
Bill McCloskey f8fe076f00 Bug 1123461 - Make a real interface for js/ipc (r=dvander) 2015-01-22 20:00:19 -08:00
Ms2ger 2c36b38c93 Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Ehsan Akhgari 2acefe2331 Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku 2015-01-06 11:52:45 -05:00
Wes Kocher 3c0de68457 Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk cbf9ae78f0 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Terrence Cole dbb3d83954 Bug 1098074 - Part 2: Improve error handling in nsFrameMessageManager::ReceiveMessage; r=bholley 2014-11-12 16:59:20 -08:00
Terrence Cole 9b36b5039d Bug 1098074 - Part 1: Use AutoJSAPI to report JS errors in nsFrameMessageManager; r=bholley 2014-11-12 16:48:51 -08:00
Birunthan Mohanathas e9068bbc4f Bug 946065 - Part 12: Move content/base/ to dom/ and flatten subdirectories. r=peterv 2014-10-25 20:25:22 +03:00