Commit Graph

186728 Commits

Author SHA1 Message Date
Garrett Robinson
620284639f Backed out changeset 948a658c002b (bug 988616) on a CLOSED TREE 2014-06-04 17:51:08 -07:00
Wes Kocher
ae520e3a9a Backed out changeset c9a08c041519 (bug 1020396) for Gu bustage on a CLOSED TREE 2014-06-04 16:59:54 -07:00
Jeff Gilbert
521d823511 Bug 1000640 - Mark C/A 1.0/0.5 non-premult test as random, since it passes on Win7 Ru. - r=mattwoodrow CLOSED TREE 2014-06-04 16:54:51 -07:00
Jonathan Griffin
3b793fbea8 Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -07:00
William Chen
632bee4079 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-06-04 15:21:23 -07:00
Garrett Robinson
1ad6e7e1ff Bug 988616 - Remove refs to "spec compliant" from split CSP tests r=sstamm r=ckerschb 2014-06-04 15:24:40 -07:00
Garrett Robinson
be1c5b507f Bug 988616 - Rename CSP test files to remove unnecessary "spec_compliant" refs r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html => content/base/test/csp/file_CSP_evalscript_main.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_evalscript_main_allowed.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html => content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors_spec_compliant.sjs => content/base/test/csp/file_CSP_frameancestors.sjs
rename : content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.html => content/base/test/csp/file_CSP_frameancestors_main.html
rename : content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.js => content/base/test/csp/file_CSP_frameancestors_main.js
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html => content/base/test/csp/file_CSP_inlinescript_main.html
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_inlinescript_main_allowed.html
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html => content/base/test/csp/file_CSP_inlinestyle_main.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_inlinestyle_main_allowed.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_main_spec_compliant.html => content/base/test/csp/file_CSP_main.html
rename : content/base/test/csp/file_CSP_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_main.html^headers^
rename : content/base/test/csp/file_CSP_main_spec_compliant.js => content/base/test/csp/file_CSP_main.js
2014-06-04 15:24:39 -07:00
Garrett Robinson
1473454f78 Bug 988616 - Split CSP tests for CSP (1.0) and X-CSP, and update build system files r=sstamm r=ckerschb 2014-06-04 15:24:38 -07:00
Garrett Robinson
c4e97176d7 Bug 988616 - "hg cp" files that will be used in the split r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/chrome.ini => content/base/test/xcsp/chrome.ini
rename : content/base/test/csp/file_CSP.css => content/base/test/xcsp/file_CSP.css
rename : content/base/test/csp/file_CSP.sjs => content/base/test/xcsp/file_CSP.sjs
rename : content/base/test/csp/file_CSP_evalscript_main.js => content/base/test/xcsp/file_CSP_evalscript_main.js
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.js => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.js
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.js => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.js
rename : content/base/test/csp/file_csp_bug768029.html => content/base/test/xcsp/file_csp_bug768029.html
rename : content/base/test/csp/file_csp_bug768029.sjs => content/base/test/xcsp/file_csp_bug768029.sjs
rename : content/base/test/csp/file_csp_bug773891.html => content/base/test/xcsp/file_csp_bug773891.html
rename : content/base/test/csp/file_csp_bug773891.sjs => content/base/test/xcsp/file_csp_bug773891.sjs
rename : content/base/test/csp/file_csp_redirects_main.html => content/base/test/xcsp/file_csp_redirects_main.html
rename : content/base/test/csp/file_csp_redirects_page.sjs => content/base/test/xcsp/file_csp_redirects_page.sjs
rename : content/base/test/csp/file_csp_redirects_resource.sjs => content/base/test/xcsp/file_csp_redirects_resource.sjs
rename : content/base/test/csp/file_csp_report.sjs => content/base/test/xcsp/file_csp_report.sjs
rename : content/base/test/csp/file_multi_policy_injection_bypass.html => content/base/test/xcsp/file_multi_policy_injection_bypass.html
rename : content/base/test/csp/file_multi_policy_injection_bypass.html^headers^ => content/base/test/xcsp/file_multi_policy_injection_bypass.html^headers^
rename : content/base/test/csp/file_multi_policy_injection_bypass_2.html => content/base/test/xcsp/file_multi_policy_injection_bypass_2.html
rename : content/base/test/csp/file_multi_policy_injection_bypass_2.html^headers^ => content/base/test/xcsp/file_multi_policy_injection_bypass_2.html^headers^
rename : content/base/test/csp/file_redirect_content.sjs => content/base/test/xcsp/file_redirect_content.sjs
rename : content/base/test/csp/file_redirect_report.sjs => content/base/test/xcsp/file_redirect_report.sjs
rename : content/base/test/csp/file_subframe_run_js_if_allowed.html => content/base/test/xcsp/file_subframe_run_js_if_allowed.html
rename : content/base/test/csp/file_subframe_run_js_if_allowed.html^headers^ => content/base/test/xcsp/file_subframe_run_js_if_allowed.html^headers^
rename : content/base/test/csp/mochitest.ini => content/base/test/xcsp/mochitest.ini
rename : content/base/test/csp/moz.build => content/base/test/xcsp/moz.build
rename : content/base/test/csp/test_301_redirect.html => content/base/test/xcsp/test_301_redirect.html
rename : content/base/test/csp/test_302_redirect.html => content/base/test/xcsp/test_302_redirect.html
rename : content/base/test/csp/test_303_redirect.html => content/base/test/xcsp/test_303_redirect.html
rename : content/base/test/csp/test_307_redirect.html => content/base/test/xcsp/test_307_redirect.html
rename : content/base/test/csp/test_CSP.html => content/base/test/xcsp/test_CSP.html
rename : content/base/test/csp/test_CSP_evalscript.html => content/base/test/xcsp/test_CSP_evalscript.html
rename : content/base/test/csp/test_CSP_evalscript_getCRMFRequest.html => content/base/test/xcsp/test_CSP_evalscript_getCRMFRequest.html
rename : content/base/test/csp/test_CSP_frameancestors.html => content/base/test/xcsp/test_CSP_frameancestors.html
rename : content/base/test/csp/test_CSP_inlinescript.html => content/base/test/xcsp/test_CSP_inlinescript.html
rename : content/base/test/csp/test_CSP_inlinestyle.html => content/base/test/xcsp/test_CSP_inlinestyle.html
rename : content/base/test/csp/test_csp_bug768029.html => content/base/test/xcsp/test_csp_bug768029.html
rename : content/base/test/csp/test_csp_bug773891.html => content/base/test/xcsp/test_csp_bug773891.html
rename : content/base/test/csp/test_csp_redirects.html => content/base/test/xcsp/test_csp_redirects.html
rename : content/base/test/csp/test_csp_report.html => content/base/test/xcsp/test_csp_report.html
rename : content/base/test/csp/test_multi_policy_injection_bypass.html => content/base/test/xcsp/test_multi_policy_injection_bypass.html
rename : content/base/test/csp/test_subframe_run_js_if_allowed.html => content/base/test/xcsp/test_subframe_run_js_if_allowed.html
2014-06-04 15:24:38 -07:00
Garrett Robinson
b531d2bb82 Bug 988616 - "hg mv" tests that only test X-Content-Security-Policy r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/file_CSP_bug916446.html => content/base/test/xcsp/file_CSP_bug916446.html
rename : content/base/test/csp/file_CSP_bug916446.html^headers^ => content/base/test/xcsp/file_CSP_bug916446.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main.html => content/base/test/xcsp/file_CSP_evalscript_main.html
rename : content/base/test/csp/file_CSP_evalscript_main.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors.sjs => content/base/test/xcsp/file_CSP_frameancestors.sjs
rename : content/base/test/csp/file_CSP_frameancestors_main.html => content/base/test/xcsp/file_CSP_frameancestors_main.html
rename : content/base/test/csp/file_CSP_frameancestors_main.js => content/base/test/xcsp/file_CSP_frameancestors_main.js
rename : content/base/test/csp/file_CSP_inlinescript_main.html => content/base/test/xcsp/file_CSP_inlinescript_main.html
rename : content/base/test/csp/file_CSP_inlinescript_main.html^headers^ => content/base/test/xcsp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main.html => content/base/test/xcsp/file_CSP_inlinestyle_main.html
rename : content/base/test/csp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/xcsp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/csp/file_CSP_main.html => content/base/test/xcsp/file_CSP_main.html
rename : content/base/test/csp/file_CSP_main.html^headers^ => content/base/test/xcsp/file_CSP_main.html^headers^
rename : content/base/test/csp/file_CSP_main.js => content/base/test/xcsp/file_CSP_main.js
rename : content/base/test/csp/file_bothCSPheaders.html => content/base/test/xcsp/file_bothCSPheaders.html
rename : content/base/test/csp/file_bothCSPheaders.html^headers^ => content/base/test/xcsp/file_bothCSPheaders.html^headers^
rename : content/base/test/csp/file_dual_headers_warning.html => content/base/test/xcsp/file_dual_headers_warning.html
rename : content/base/test/csp/file_dual_headers_warning.html^headers^ => content/base/test/xcsp/file_dual_headers_warning.html^headers^
rename : content/base/test/csp/file_policyuri_async_fetch.html => content/base/test/xcsp/file_policyuri_async_fetch.html
rename : content/base/test/csp/file_policyuri_async_fetch.html^headers^ => content/base/test/xcsp/file_policyuri_async_fetch.html^headers^
rename : content/base/test/csp/test_CSP_bug916446.html => content/base/test/xcsp/test_CSP_bug916446.html
rename : content/base/test/csp/test_bothCSPheaders.html => content/base/test/xcsp/test_bothCSPheaders.html
rename : content/base/test/csp/test_dual_headers_warning.html => content/base/test/xcsp/test_dual_headers_warning.html
rename : content/base/test/csp/test_policyuri_async_fetch.html => content/base/test/xcsp/test_policyuri_async_fetch.html
2014-06-04 15:24:36 -07:00
Ehsan Akhgari
e8d0997c9a Bug 1015663 - Fix more bad implicit conversion constructors in the JS engine; r=jorendorff
--HG--
extra : rebase_source : 98263097de3746be56f14771db660eb5308f62c9
2014-06-04 18:22:10 -04:00
Jeff Gilbert
18ecf9053a Bug 1000640 - Mark WinXP as failing color-alpha-test unpremultiplied reftests. - r=mattwoodrow 2014-06-04 15:20:27 -07:00
Jeff Gilbert
1379df57d8 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert
80de765f16 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
e7167ed030 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert
ca0c1805a0 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Wan-Teh Chang
41938ad64d Bug 1018783: Update to NSPR_4_10_6_BETA3. 2014-06-04 15:14:30 -07:00
Bobby Holley
febfb58743 Bug 987111 - Tests. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
33e283ee59 Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
10e0ea24e2 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
daad01c1c3 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
58acb89152 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley
677aad7fcf Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley
e94e4bb4ad Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley
f8f78c1d53 Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-04 15:12:26 -07:00
Bobby Holley
2e29d8aded Bug 987111 - Proxy::set should create enumerable properties. r=efaust
Properties are supposed to be enumerable by default. It's unfortunate that
the default is reversed in SpiderMonkey.
2014-06-04 15:12:26 -07:00
Bobby Holley
096e8dd973 Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley
7d18ac4515 Bug 987111 - Introduce a method to determine whether a given PropertyDescriptor is an accessor prop. r=terrence 2014-06-04 15:12:25 -07:00
Bobby Holley
ba47e0abf3 Bug 987111 - Add an assign() method to MutablePropertyDescriptorOperations. r=terrence
It's unfortunate the we need to operate on the raw JSPropertyDescriptor for
|other|, but the specialization that makes Handle<JSPropertyDescriptor> work is
declared later in the file, which isn't kosher.
2014-06-04 15:12:25 -07:00
Bobby Holley
f5f076c2ef Bug 987111 - Temporarily waive Xrays on the aOptions argument passed to mozId.watch and mozId.request. r=jedp
Bug 1011084 is getting hung up on various things, and we're currently blocked on
it because Object Xrays filter out callables. So let's just turn off Xrays here
for that case, so that we can enable them everywhere else.
2014-06-04 15:12:25 -07:00
Sotaro Ikeda
e49e0c0613 Bug 1016805 - fix AsyncTransactionTracker handling r=nical 2014-06-04 15:11:00 -07:00
Jeff Walden
d7a54d2e7c Bug 1019334 - Require that Init be called on a newly-constructed TypedArray struct to use it. r=bz 2014-06-03 18:31:43 -07:00
Jeff Walden
8563661b29 Add a comment next to XDR_BYTECODE_VERSION directing people changing it to update the bytecode docs wiki page as well. No bug, r=trivial 2014-06-04 12:50:41 -07:00
Boris Zbarsky
d4d7efbc2b Bug 1016063. Don't include the fake classnames XUL tree pseudo-elements have when calculating style rule specificity. r=heycam 2014-06-03 11:38:38 -04:00
Boris Zbarsky
59db282a5f Bug 1016560. Remove the footgun of rejecting promises with arbitrary objects. r=khuey 2014-06-03 11:38:38 -04:00
Boris Zbarsky
e46748d086 Bug 1019149. For calls into JS-implemented WebIDL, don't check whether it's OK to run the script (it is) and whether the script lives in a window (it doesn't). r=bholley 2014-06-03 11:38:37 -04:00
Boris Zbarsky
8dc0d6feb6 Bug 1019091. Do less work in the CallSetup destructor when we have no exception. r=bholley 2014-06-03 11:38:37 -04:00
Boris Zbarsky
3297cfbaa3 Bug 1017932. Don't expose the XMLDocument bits on the return value of new Document(). r=peterv 2014-06-03 11:38:37 -04:00
Boris Zbarsky
6e440c0715 Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Boris Zbarsky
e13e86e7dc Bug 1017428 part 2. Add a fast path to Ion for [Cached] DOM attributes. r=efaust 2014-06-03 11:38:37 -04:00
Boris Zbarsky
cd11feea1c Bug 1017428 part 1. Store information in jitinfo about [Cached] attribute slots in addition to [StoreInSlot] ones. r=peterv,efaust 2014-06-03 11:38:36 -04:00
Fabrice Desré
fbe1c68842 Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-06-03 08:35:21 -07:00
Fabrice Desré
b63fc110a3 Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-06-03 08:35:21 -07:00
Fabrice Desré
16241c9b3b Bug 993282 - Lazy load more js modules - part 1: NFC r=psiddh 2014-06-03 08:35:20 -07:00
Nicolas B. Pierron
d4bbb4db05 Bug 993282 - Work-around Bug 1015027. r=gwagner 2014-06-03 08:35:20 -07:00
B2G Bumper Bot
f0504a4a33 Bumping manifests a=b2g-bump 2014-06-03 08:33:16 -07:00
B2G Bumper Bot
4bf1f26e99 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f71cd6439c07
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #19913 from KevinGrandon/bug_1019388_collections_bookmarking

Bug 1019388 - [Collections] Enable bookmarking for results

========

https://hg.mozilla.org/integration/gaia-central/rev/1496bb3dd756
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1019388 - [Collections] Enable bookmarking for results r=amirn
2014-06-03 08:31:12 -07:00
Jon Coppeard
18ebc7a15f Bug 1008473 - Fix breakage on little endian 32 bit builds r=terrence 2014-06-03 16:29:39 +01:00
Benjamin Bouvier
870e44e9f1 Bug 860736: Rename AlignmentAtPrologue into AlignmentAtAsmJSPrologue; r=luke 2014-06-03 17:26:16 +02:00
Benjamin Bouvier
85a27ff745 Bug 860736 - Align the local stack storage for ARM asm.js frames; r=mjrosenb 2014-06-03 17:24:28 +02:00