Ryan VanderMeulen
61b713145b
Backed out changesets 772945b1130d, cb83b6efa9ea, and 5f23080673ee (bug 1086999) for Gaia context_menu_test.js failures.
...
CLOSED TREE
2015-03-23 14:22:23 -04:00
Christoph Kerschbaumer
d8ec9fff9f
Bug 1086999 - CSP: Asterisk (*) wildcard should not allow blob:, data:, or filesystem: when matching source expressions - tests (r=sstamm)
2015-02-10 14:54:36 -08:00
Nicholas Nethercote
562969d4cd
Bug 1129786 (part 2) - Instantiate nsDOMAttributeMap::mAttributeCache eagerly. r=bz.
...
Now that empty PLDHashTables don't allocate any entry storage, we can undo the
lazification of nsDOMAttributeMap::mAttributeCache from bug 1059056.
2015-02-03 00:03:28 -08:00
Phil Ringnalda
8a89e647fd
Backed out 9 changesets (bug 1142775, bug 1139683, bug 1143810, bug 1142761, bug 1142784, bug 1142794, bug 1144819) for widespread bustage
...
CLOSED TREE
Backed out changeset 7613fc978d36 (bug 1142794)
Backed out changeset e5f0cb31263d (bug 1142784)
Backed out changeset dcd0af73ac84 (bug 1142784)
Backed out changeset 034f9c8e79ee (bug 1142784)
Backed out changeset ce0ee37e3ca9 (bug 1142775)
Backed out changeset 1519b8f2bbba (bug 1142761)
Backed out changeset 26fd55677841 (bug 1139683)
Backed out changeset 7ebc76a450c3 (bug 1144819)
Backed out changeset 92adb459d519 (bug 1143810)
2015-03-22 09:34:25 -07:00
Jason Orendorff
60373a960b
Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
...
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.
There is no change in behavior.
In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.
We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).
Notes:
* InvokeGetterOrSetter had to be split into two functions:
InvokeGetter takes a MutableHandleValue out-param,
InvokeSetter a HandleValue in-param.
* Watchpoints can still tamper with values being assigned. So can
JSSetterOps. I'm pleased we can support this craziness in a way that
doesn't have to spread via the type system to encompass the entire
codebase.
* Change in GlobalObject::setIntrinsicValue is not really a change.
Yes, it asserted before, but an exception thrown during self-hosting
initialization is not going to go unnoticed either.
* Since the receiver argument to js::SetProperty() is at the end now, it
makes sense for it to be optional. Some callers look nicer.
2015-03-01 13:16:19 -06:00
Jason Orendorff
6b90d382df
Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
2015-02-17 11:58:43 -06:00
Ehsan Akhgari
33bb32f549
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
Wes Kocher
a694cc39ce
Merge m-c to inbound a=merge CLOSED TREE
2015-03-20 18:01:17 -07:00
Wes Kocher
55c1be6dc4
Backed out changeset 6ef7ca8f1db3 (bug 1066531) so I can get at a patch that caused near-permafailing bc3
2015-03-20 17:17:19 -07:00
George Wright
608af99113
Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange
2015-03-20 15:09:58 -04:00
Jan-Ivar Bruaroey
aec460f948
Bug 1145403 - Don't open MediaManager on shutdown. r=jesup
2015-03-19 18:43:25 -04:00
Alexandre Lissy
944a871aef
Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal
2015-03-20 00:45:00 +01:00
Boris Zbarsky
0202d1a774
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
2f422f4b65
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
Boris Zbarsky
54c64f20a9
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Boris Zbarsky
50b622a067
Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp. The rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Bill McCloskey
e7aee957c0
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-19 06:43:46 -07:00
Bill McCloskey
3f7c172b58
Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug)
2015-03-19 06:43:39 -07:00
Kartikaya Gupta
0b2c448446
Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm
2015-03-19 06:37:39 -04:00
Phil Ringnalda
bc03d24e02
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
Seth Fowler
0e4b26ec92
Bug 1019840 - Use cached intrinsic size in nsImageFrame::ComputeSize unless the image loader has a size. r=tn
2015-03-18 18:29:32 -07:00
Bill McCloskey
d15acaca2d
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-18 16:09:27 -07:00
Bill McCloskey
5c5bd121de
Bug 1126089 - Add test for pageload event on browser element when tab closed (r=smaug)
2015-03-18 16:09:27 -07:00
Wes Kocher
3cb9381c14
Merge m-c to inbound a=merge CLOSED TREE
2015-03-18 16:00:39 -07:00
Wes Kocher
d3a01938c3
Merge b2g-inbound to m-c a=merge CLOSED TREE
2015-03-18 15:53:00 -07:00
Wes Kocher
b86d5e6713
Merge fx-team to m-c a=merge
2015-03-18 15:38:20 -07:00
Gregor Wagner
f8527dd881
Backout Bug 1114935 for causing bug 1144567.
2015-03-18 11:48:52 -07:00
Alexandre Poirot
516de40f7f
Bug 1139984 - Fix console API in child processes by ensuring windowID is correctly typed. r=bz
2015-03-17 07:13:00 -04:00
William Chen
d336ec30e7
Bug 1130028 - Custom elements, set registered prototype in compartment of caller of registerElement. r=mrbkap
2015-03-02 09:48:30 -08:00
William Chen
0e66f2c712
Bug 1131348 - Use fallible Append in content serializers. r=smaug,nfroyd
2015-03-17 01:55:22 -07:00
Nikhil Marathe
8b0d2b2ce4
Bug 1143857 - Add FormData serialize support to Fetch API. r=ehsan
2015-03-17 08:32:04 -07:00
Tooru Fujisawa
8eab6f064e
Bug 1141455 - Do not treat an element with tabindex as an interactive content in label. r=smaug
2015-03-18 05:42:14 +09:00
Ryan VanderMeulen
a4fe1a181c
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-03-17 14:28:42 -04:00
Ryan VanderMeulen
61149e5ecc
Merge b2g-inbound to m-c. a=merge
...
CLOSED TREE
2015-03-17 14:22:40 -04:00
Daniel Holbert
2c24121797
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
Nikhil Marathe
3ffd94ea37
Bug 739173 - Support FormData in workers. r=khuey,baku
2015-01-27 15:16:21 -08:00
Nikhil Marathe
6c963623ba
Bug 1127150 - Use File's name instead of explicit file name in form submission related classes. r=baku
...
Our nsFormSubmission and subclasses accepted a third filename argument to
explicitly specify the filename. Since switching from nsIDOMBlob to File in Bug
1085283, we can read out the filename directly from the File. This simplifies
the code, but introduces a change in the way Firefox submits form data to
servers.
Consider the code:
var fd = new FormData();
fd.append("blob1", new Blob(["hi"]), ""); // explicit empty filename as third arg
fd.append("file1", new File(["hi"], "")); // File's name is empty, no third arg.
xhr.send(fd);
Previously, the request body had filename="" in the first case, and filename="blob" in the second.
This patch will change it to both cases result in filename=""
This behaviour isn't exactly specced anywhere, nor in the HTML spec [1], nor in
RFC 2388. In addition Blink (at least Chromium v40) has the same behaviour
introduced by this patch. So shipping it seems ok to me.
[1]: http://www.w3.org/html/wg/drafts/html/master/semantics.html#multipart/form-data-encoding-algorithm
2015-02-21 11:54:44 -08:00
Botond Ballo
b7b1daa972
Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
2015-03-06 18:07:59 -05:00
Blake Kaplan
6ff11e9604
Bug 1112040 - Report invalid regular expressions to the console. r=bholley
2015-03-16 08:39:46 -07:00
Albert Crespell
5cb6d620a6
Bug 1139425 - Service Worker Client id should return a DOMString uuid. r=baku
2015-03-13 07:15:25 +01:00
Jeff Lu
f4aadcd9a9
Bug 1098415 - Skip DNS prefetch requests that point to local resources. r=sworkman r=dragana
2015-03-12 09:00:00 +01:00
Cameron McCormack
a96d456d1d
Bug 1123523 - Followup build fix. (CLOSED TREE)
2015-03-14 16:55:37 +11:00
Cameron McCormack
1059a43375
Bug 1123523 - Part 7: Add utility functions to notify registered nsIAnimationObservers. r=smaug
2015-03-14 16:34:40 +11:00
Cameron McCormack
6c21224a8d
Bug 1123523 - Part 6: Listen for nsIAnimationObserver notifications and translate them to MutationObserver notifications. r=smaug
2015-03-14 16:34:40 +11:00
Cameron McCormack
4c6ede90a2
Bug 1123523 - Part 5: Record on a document whether it might have any nsIAnimationObservers registered. r=smaug
2015-03-14 16:34:40 +11:00
Cameron McCormack
f984425c1b
Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles
2015-03-14 16:34:40 +11:00
Cameron McCormack
af083b5de5
Bug 1123523 - Part 2: Add an "animations" option for MutationObservers and expose chrome-only animation members on MutationRecords. r=smaug
2015-03-14 16:34:40 +11:00
Cameron McCormack
a41c2756e5
Bug 1123523 - Part 1: Add an nsIAnimationObserver interface to watch adding/changing/removing AnimationPlayer objects. r=smaug
2015-03-14 16:34:40 +11:00
Ryan VanderMeulen
a12c6d2dfc
Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures.
2015-03-13 13:42:57 -04:00
Bill McCloskey
12af381a9e
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-13 08:24:20 -07:00