Commit Graph

4106 Commits

Author SHA1 Message Date
Bobby Holley
7575a7e608 Bug 1083060 - Refactor the XOW access control code to use an enum rather than a char*. r=bz
Srsly.
2014-10-17 16:17:02 +02:00
Jason Orendorff
8ec9f238d9 Bug 1082672, part 4 - Change XrayWrapper code to be able to resolve symbol-keyed methods. r=bz, r=bholley.
--HG--
extra : rebase_source : f78cbb83f63dfffd648c6d3c280273f4a61c9fe8
extra : amend_source : f006a096174eee166125430753e65e9a31bd930b
2014-09-18 12:30:38 -05:00
Jason Orendorff
ea94038f6d Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05:00
Jason Orendorff
87d538f309 Bug 1081255 - Rewrite comments in jsproxy.h; reclassify the methods a bit. No change in behavior. r=efaust, r=bz, r=jwalden.
--HG--
extra : rebase_source : b3440548322d65b2bd01862fb863e6197eb263c6
2014-10-08 12:09:08 -05:00
Bobby Holley
291f713ec2 Bug 1065186 - Drop support for exposing privileged arrays to untrusted content. r=gabor 2014-10-16 14:12:37 +02:00
Bobby Holley
7186eed046 Bug 1065186 - Fix up test suite to not rely on COWed Arrays. r=gabor 2014-10-16 14:12:36 +02:00
Christoph Kerschbaumer
29facae35b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Bobby Holley
93d99955cc Bug 1082450 - Tests. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
870851e291 Bug 1082450 - Deny access to cross-origin callables on COWs. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
24ea99f72c Bug 1082450 - Deny access to accessor properties on COWs. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
edc0fa28c5 Bug 1082450 - Correctly propagate exceptions from ExposedPropertiesOnly::check. r=gabor
Yuck yuck yuck.
2014-10-15 15:05:09 +02:00
Bobby Holley
a77c4b1347 Bug 1082450 - Remove test for filtering setters on property descriptors. r=gabor
In the next patch, we deny access to any accessor property, so this is now
obsolete for COWs. We also do something like this for new-style XOWs, but that's
exhaustively covered in test_crossOriginObjects.html.
2014-10-15 15:05:09 +02:00
Olli Pettay
dd8c29571f Bug 855443 - Assertion failure in nsSHEntry.cpp, don't just append a new SHEntry to parent if we already have an SHEntry for the loading page, r=bz
--HG--
extra : rebase_source : 8f8d0df030a3205d9d9845e90c849bf94115ff1b
2014-10-15 13:10:04 +03:00
Guilherme Goncalves
8e098b9772 Bug 1082547 - Copy sandbox option strings instead of adopting them. r=bholley
Strings coming from JS objects are allocated using js_malloc, which may
potentially use a separate heap, but nsCString is unaware of that, and
tries to free its underlying buffer using a regular free(); because of
that, we need to copy the string into a separate buffer allocated from
the correct heap.
2014-10-14 05:58:00 +02:00
Boris Zbarsky
d0757cbfc2 Bug 1080742. Make DumpJSStack() work on workers. r=bholley 2014-10-09 13:00:25 -07:00
Jon Morton
1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Kyle Huey
6077baead0 Bug 979835: Stub out dead parts of quickstubs. r=bz 2014-10-14 13:15:15 -07:00
Tom Schuster
bf9324688d Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Stephen Pohl
0b58cd9573 Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg 2014-10-10 15:06:57 -04:00
Steve Fink
b640335cbc Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Eric Rahm
7fffd05532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan 2014-10-08 13:19:14 -07:00
Eric Rahm
8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Jason Orendorff
41b9b13312 Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
--HG--
extra : rebase_source : 359dceadb4dfcfc9c724d2995c121a56af610c7d
2014-09-26 19:39:35 -05:00
Jason Orendorff
d35e6d1e8d Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
Also renamed in this patch:

ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys

These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.

--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Andrea Marchesini
5ee327d0bc Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-08 17:15:23 +01:00
Andrea Marchesini
8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
7491bee8c3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Andrew McCreight
37a6f9f035 Bug 970684 - Re-enable test_watchpoints.xul and test_weakmaps.xul everywhere. r=billm 2014-10-06 14:17:00 +02:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
cd3e8a6f73 Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
b0680af5f4 Bug 1047483 - patch 4 - Removing nsDOMBlobBuilder, r=ehsan
--HG--
rename : content/base/src/nsDOMBlobBuilder.cpp => content/base/src/MultipartFileImpl.cpp
rename : content/base/src/nsDOMBlobBuilder.h => content/base/src/MultipartFileImpl.h
2014-10-07 15:20:57 +01:00
Andrea Marchesini
c8190ba625 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini
d272279126 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Peter Van der Beken
962c9a5742 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz.
--HG--
extra : rebase_source : 6ca1903658d3d6fe2634409cd39fa68c6b1219bd
2014-10-07 11:44:48 +02:00
Peter Van der Beken
a0f306343e Bug 808856 - Make not overriding WrapObject fail to build. r=ehsan.
--HG--
extra : rebase_source : 4683c70c97f7eea454bc445331dbbbe7c4f2cec7
2014-10-07 11:44:48 +02:00
Wes Kocher
445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
53a247fb00 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm
80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
zhoubcfan@163.com
567fb422f4 Bug 1076926 - Add windows 10 support to exe manifest. r=jimm 2014-10-04 14:43:01 +09:00
Stephen Pohl
ca13b6a589 Bug 1077099: Add GreBinD to easily differentiate between Contents/Resources (GreD) and Contents/MacOS (GreBinD) on OSX. r=bsmedberg 2014-10-03 16:48:49 -04:00
Ed Morley
6c9d66f653 Backed out changeset a2192165100c (bug 1041180) for xpcshell failures; CLOSED TREE 2014-10-03 10:12:53 +01:00
Bobby Holley
cb11d4825a Bug 1065185 - Console Message Tests. r=bz 2014-10-03 10:05:52 +02:00
Bobby Holley
86e770dc65 Bug 1065185 - Turn off indexed/.length access on COW arrays. r=bz 2014-10-03 10:05:52 +02:00
Bobby Holley
25211c35fe Bug 1065185 - Expand XrayWrapper console messages for COWs. r=bz 2014-10-03 10:05:51 +02:00
Bobby Holley
af5d4d993f Bug 1065185 - Explicitly expose indexed properties in COW array test. r=bz 2014-10-03 10:05:50 +02:00
Christoph Kerschbaumer
b86cc609d3 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-02 23:34:30 -07:00
Till Schneidereit
862aa1741c Bug 1075059 - Part 2: Backout of Array.prototpype.contains. r=jorendorff
--HG--
extra : rebase_source : 088d2cc999b55eb2c6c0d43b47bc5f3cc6d9d69a
2014-10-02 17:38:46 +02:00
Bobby Holley
d5eb2be0cb Bug 1074863 - Handle named constructors which have DOMXrayTraits while being simultaneously JSProto_Function. r=peterv
Simple fix, but interesting test case and worth having on CI.
2014-10-02 11:06:03 +02:00
Ryan VanderMeulen
818507baa1 Backed out changeset 31a25f47264b (bug 1067942) for Linux mochitest-other crashes.
CLOSED TREE
2014-10-01 13:39:22 -04:00
Ryan VanderMeulen
9c18e9fc86 Backed out 11 changesets (bug 1065185) for Gaia Python integration test failures on a CLOSED TREE.
Backed out changeset a45d02c3b4e8 (bug 1065185)
Backed out changeset bb7b8b0da990 (bug 1065185)
Backed out changeset 7672d57acbad (bug 1065185)
Backed out changeset fbdb5bead639 (bug 1065185)
Backed out changeset 54d6077015da (bug 1065185)
Backed out changeset e2528549de9d (bug 1065185)
Backed out changeset 981c0b7c897d (bug 1065185)
Backed out changeset 903fbf9bb0c7 (bug 1065185)
Backed out changeset 76e863b63dd8 (bug 1065185)
Backed out changeset 6871aff5d103 (bug 1065185)
Backed out changeset cc213ad991a8 (bug 1065185)
2014-10-01 12:33:30 -04:00