Commit Graph

602 Commits

Author SHA1 Message Date
Bobby Holley
bd7f40a7db Bug 1081985 - Remove prototype remapping and make COWs simple. r=gabor
\o/
2014-10-20 15:52:53 +02:00
Bobby Holley
ef9b2dda4d Bug 1081990 - Tests. r=gabor 2014-10-18 11:02:10 +02:00
Bobby Holley
e355eafe03 Bug 1081990 - Turn off COWs for Functions. r=gabor 2014-10-18 11:02:10 +02:00
Bobby Holley
bbda62bcb3 Bug 1081990 - Fix up test suite. r=gabor 2014-10-18 11:02:09 +02:00
Jason Orendorff
b9202204d9 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
Bobby Holley
5f0331ad23 Bug 1065186 - Drop support for exposing privileged arrays to untrusted content. r=gabor 2014-10-16 14:12:37 +02:00
Bobby Holley
6da220e5c2 Bug 1065186 - Fix up test suite to not rely on COWed Arrays. r=gabor 2014-10-16 14:12:36 +02:00
Bobby Holley
0e4298be68 Bug 1082450 - Tests. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
620f04cfb5 Bug 1082450 - Deny access to cross-origin callables on COWs. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
68628555ce Bug 1082450 - Deny access to accessor properties on COWs. r=gabor 2014-10-15 15:05:10 +02:00
Bobby Holley
d9ce0671b9 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
80719ad5bd 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
Andrea Marchesini
2ca496756f 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
960f466a04 Bug 970684 - Re-enable test_watchpoints.xul and test_weakmaps.xul everywhere. r=billm 2014-10-06 14:17:00 +02:00
Andrew Halberstadt
2da4ee197d Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ryan VanderMeulen
671d1a817e 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
0e29ce2ea6 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Bobby Holley
3db0397670 Bug 1065185 - Console Message Tests. r=bz 2014-10-03 10:05:52 +02:00
Bobby Holley
8dde4796dc Bug 1065185 - Explicitly expose indexed properties in COW array test. r=bz 2014-10-03 10:05:50 +02:00
Till Schneidereit
79f9453c07 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
5d3c893ed4 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
4e1760bcb2 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
Boris Zbarsky
71aa733b4f Bug 1065185 followup: expose the indexed prop we're trying to access in this test to reopen the CLOSED TREE 2014-10-01 11:14:39 -04:00
Bobby Holley
b11ba779ea Bug 1065185 - Explicitly expose indexed properties in COW array test. r=bz 2014-10-01 15:25:01 +02:00
Bobby Holley
f9a35061fa Bug 853709 - Tests. r=mrbkap 2014-10-01 13:52:43 +02:00
Bobby Holley
5855ddc9f1 Bug 865948 - Tests. r=gabor 2014-10-01 13:52:43 +02:00
Peter Van der Beken
5be6e129db Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
--HG--
extra : rebase_source : 7ba38f2b2625d0ff5405eda2fda6bad9608efa34
2014-09-15 16:45:38 +02:00
Jeff Walden
6bd1757e67 Bug 896116 - Implement %TypedArray% and %TypedArray%.prototype. r=till, r=bholley
--HG--
extra : rebase_source : 0e78b08f644b9d189c6a4b280aa20fb749a7600e
2014-08-21 20:39:30 -07:00
Till Schneidereit
ce2a28c7f3 changeset: 229386:2c92e43e29d8
user:        ziyunfei <446240525@qq.com>
files:       js/src/builtin/Array.js js/src/builtin/Utilities.js js/src/jsarray.cpp js/src/tests/ecma_7/Array/browser.js js/src/tests/ecma_7/Array/contains.js js/src/tests/ecma_7/Array/shell.js js/src/tests/ecma_7/browser.js js/src/tests/ecma_7/shell.js
description:
Bug 1069063 - Implement Array.prototype.contains. r=till,securityAudit=bholley

--HG--
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/browser.js
rename : js/src/tests/ecma_6/Array/browser.js => js/src/tests/ecma_7/Array/shell.js
rename : js/src/tests/ecma_6/browser.js => js/src/tests/ecma_7/browser.js
rename : js/src/tests/ecma_6/shell.js => js/src/tests/ecma_7/shell.js
2014-09-18 17:22:05 +08:00
Shu-yu Guo
320f4e1440 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Bobby Holley
50853c94d0 Bug 1066846 - Explicitly verify that incoming dipper parameters are objects. r=bz 2014-09-13 19:40:10 -07:00
Bill McCloskey
416cd026a1 Bug 1042680 - Allow add-ons to assign to var-declared chrome global with compartment_per_addon (r=bholley) 2014-09-10 17:15:40 -07:00
Bobby Holley
723e07a699 Bug 1062631 - Remove exception swallowing code in NS_ScriptErrorReporter. r=bz
See bug 1062631 comment 0.
2014-09-08 13:36:22 -07:00
Bobby Holley
926369bebb Bug 1062631 - Fix up content QI security check and tests. r=bz
This stuff is broken in a bunch of ways. The test isn't doing the right thing
because it's using SpecialPowers. When we pass the content object to
xpconnectArgument(), it gets wrapped in a SpecialPowers wrapper, so the check
succeeds, only to fail down the line when the QI method is actually invoked
with an IID (which we can't pass to content scopes anyway).

This whole security check is probably useless given the above, but let's be
safe, make it a bit more robust, and fix up the test while we're at it.
2014-09-08 13:36:21 -07:00
Boris Zbarsky
34e5d52a93 Bug 1017424 part 5. Remove classinfo for Window. r=peterv 2014-09-05 14:28:45 -04:00
Bobby Holley
c5fd483020 Bug 1051224 - Add an opt-out for cross-origin argument checking. r=gabor 2014-09-03 13:02:36 -07:00
Mike Hommey
df40db63a5 Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
Jeff Walden
5c6736a43a Bug 969478 - Make the arguments/caller properties of functions be entirely implemented by accessors living on Function.prototype. r=jorendorff
--HG--
extra : rebase_source : 258c158f041f673b201ca3cd978e1522a1887311
2014-08-01 19:11:22 -07:00
Rishab Arora
6eec2504bb Bug 1021379 - Renamed typed arrays' move method to copyWithin, fixed up to ES6 semantics. r=till, r=jwalden
--HG--
extra : rebase_source : deae33f4603ef3c40a2d214b0426bb0756b5307a
2014-07-10 11:49:22 +05:30
Bobby Holley
0311441e18 Bug 1050340 - Tests. r=gabor 2014-08-18 14:18:40 -07:00
Bobby Holley
0cde03f09c Bug 1050340 - Stop doing a CheckedUnwrap while crawling the object graph in Structured Clone. r=luke
\o/
2014-08-18 14:18:40 -07:00
Matthew Noorenberghe
1e4613dfc7 Bug 1052931 - Add URLSearchParams to GlobalProperties for import. r=bholley
--HG--
extra : rebase_source : 2ec9189dc6a1092067690b4609ef6c3701171e67
2014-08-12 18:13:35 -07:00
Martijn Wargers
d7a35a33e7 Bug 1051157 - Fix TEST-UNEXPECTED-FAIL for test_bug789713.html. r=bholley 2014-08-11 15:04:37 -07:00
Ms2ger
f069be120d Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
This also includes a test that mozMatchesSelector is still exposed and works.

--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Bobby Holley
b4d07d181a Bug 1050049 - Tests. r=smaug 2014-08-11 20:06:56 -07:00
Mike Hommey
0f4c5d9244 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Bobby Holley
0bd10207c6 Bug 1042436 - Warn once to the console when XrayWrappers deny access to an object. r=gabor,sr=smaug 2014-08-06 23:32:23 -04:00
Bobby Holley
0b347c758f Bug 965898 - Import web-platform-test into the tree. r=Ms2ger 2014-07-30 12:23:04 -07:00
Bobby Holley
825af5fcd8 Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor 2014-07-30 12:23:02 -07:00
Bobby Holley
7db28dae27 Backed out 16 changesets (bug 965898) for rooting hazards. CLOSED TREE
Backed out changeset ac4abde3579f (bug 965898)
Backed out changeset c4c7ab1a2f70 (bug 965898)
Backed out changeset e0bf3598dfe1 (bug 965898)
Backed out changeset 8f2788a0ba24 (bug 965898)
Backed out changeset 0d1cda4decaa (bug 965898)
Backed out changeset 3d80ffc439fb (bug 965898)
Backed out changeset ad66ab36fe2d (bug 965898)
Backed out changeset dcf7ccf6eff2 (bug 965898)
Backed out changeset d3f02e80355d (bug 965898)
Backed out changeset 212f2d05d9e7 (bug 965898)
Backed out changeset c350a2c0aa6d (bug 965898)
Backed out changeset c75acd0663a9 (bug 965898)
Backed out changeset d68f7ef0ae69 (bug 965898)
Backed out changeset 610e6d6e1a88 (bug 965898)
Backed out changeset 54d40a30f6ad (bug 965898)
Backed out changeset 403a0e1d2324 (bug 965898)
2014-07-29 22:57:59 -07:00