Граф коммитов

363889 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Griffin 9585ae2654 Bug 1020396 - Bump marionette-transport to 0.2, r=mdas 2014-06-04 13:38:33 -07:00
William Chen b031491de9 Bug 1011831 - Support <template> element in XHTML parser. r=hsivonen 2014-06-04 15:21:23 -07:00
Garrett Robinson 109c1ee755 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 62fcf01d8c 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 d9291168cd 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 39d6efd63d 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 a1f9b8ec3f 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 110a86f621 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 bffb064396 Bug 1000640 - Mark WinXP as failing color-alpha-test unpremultiplied reftests. - r=mattwoodrow 2014-06-04 15:20:27 -07:00
Jeff Gilbert 4dfc0e7e48 Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow 2014-06-04 15:20:26 -07:00
Jeff Gilbert 418da95c47 Bug 1000640 - Update Gralloc and ANGLE ShSurf backends. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert 16549b9f87 Bug 1000640 - Death to whitespace. - r=mattwoodrow 2014-06-04 15:20:25 -07:00
Jeff Gilbert 188fa937c6 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Wan-Teh Chang 3147c027d6 Bug 1018783: Update to NSPR_4_10_6_BETA3. 2014-06-04 15:14:30 -07:00
Bobby Holley 59b2495ac6 Bug 987111 - Tests. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley c6742de97a Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley a9aed971d9 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley 98b02626d5 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley 6e9bc694e8 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-04 15:12:27 -07:00
Bobby Holley 5fce5dd4ab Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley 6c6c52d3ec Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-04 15:12:26 -07:00
Bobby Holley ce6b82c251 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 dd53b3d419 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 16aa8bb904 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 8515c507a1 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 95cbbc46ef 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 57ee7c1076 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 32ae4b65c0 Bug 1016805 - fix AsyncTransactionTracker handling r=nical 2014-06-04 15:11:00 -07:00
Jeff Walden 2dad99b5fc 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 1a1b036850 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
Tooru Fujisawa fb3658c54a Bug 471713 - Uncomment the sys.exit() in error() in the script to generate documentation for SpiderMonkey opcodes. r=jwalden
--HG--
extra : rebase_source : 488896716573a7309de239485a1cea268675e97c
2014-05-10 02:10:39 +09:00
Christoph Kerschbaumer 5d5e2a8ad0 Bug 1020407 - CSP in C++: Log more descriptive console message if parsing fails (r=sstamm) 2014-06-04 10:19:00 -07:00
Brian Hackett 158987035d Bug 1019188 - Transform phi(int32,boolean) into phi(int32,int32) when it is only consumed by test instructions, r=sunfish. 2014-06-04 15:54:32 -06:00
William Chen 667b68b711 Bug 1017896 - Ensure there is a template contents owner when creating template elements. r=bz 2014-06-04 14:47:31 -07:00
Christoph Kerschbaumer 51df54f4c2 Bug 1019984 - CSP in CPP: Update Parser to return error when parsing invalid paths (r=sstamm) 2014-06-03 23:07:27 -07:00
Dan Gohman 638ea3c34f Bug 1020455 - IonMonkey: Optimize LPhi allocation r=sstangl 2014-06-04 14:08:22 -07:00
Dan Gohman 5b9539b68c Bug 1020455 - IonMonkey: Remove LIRGraph's redundant osrBlock field. r=sstangl 2014-06-04 14:08:21 -07:00
Dan Gohman c06577dff7 Bug 1020455 - IonMonkey: Use a FixedList instead of a Vector for LIR arrays which are never resized r=sstangl 2014-06-04 14:08:21 -07:00
Dan Gohman b0d85411d9 Bug 1020462 - IonMonkey: Use assumeUnreachable instead of breakpoints in more places. r=h4writer 2014-06-04 14:08:21 -07:00
Ryan VanderMeulen 3d3ce28f0f Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Ryan VanderMeulen d6d20ed14c Backed out changeset 12536416d070 (bug 991866) for breaking B2G mochitests.
CLOSED TREE
2014-06-04 16:04:14 -04:00
Nathan Froyd 3250d2da42 Bug 996061 - part 4 - throw away unscriptable interfaces that aren't otherwise needed; r=ted 2014-04-15 14:41:08 -04:00
Nathan Froyd d5634d135b Bug 996061 - part 3 - try to shim param information in xptiInterfaceEntry when possible; r=bholley
This patch does all the interesting work: we check for shims whenever we get
asked about parameter information for methods.  If there's a shim for what we
want, we ask the shim to provide the information.  If not, we fail as usual.
2014-05-16 17:19:26 -04:00
Nathan Froyd f93652281a Bug 996061 - part 2 - split out a method for getting an interface's typelib index; r=bholley
The code that looks up |xptiInterfaceEntry|s starts by figuring out where in
the typelib the desired entry lives.  We want to do the same thing for the
purpose of getting shims, so we can ask the typelib for the name of the thing
at that index.  Split out a method to do this for us.
2014-05-16 16:49:34 -04:00
Nathan Froyd e6d354ac8d Bug 996061 - part 1 - add GetEntryNameAt method for typelibs; r=bholley
xpt linking works with two different currencies: UUIDs of interfaces, and names
of interfaces.  Names are how we support linking in unknown-at-compile-time
interfaces at runtime.  Since we need to know names to decide whether we have
shims for interfaces or not, we need a method for exposing the names.
2014-05-16 16:48:29 -04:00
Nathan Froyd 0c64deb27f Bug 996061 - part 0 - make tests use [scriptable] interfaces; r=ted
Smart xpt linking will keep around [scriptable] interfaces and anything
those interfaces depend on.  Modify the tests that deal with xpt linking
so they use [scriptable] interfaces, ensuring that the tests continue to
work in the face of smarter linkers.
2014-05-19 12:35:21 -04:00
Magnus Melin 9d661195b2 Bug 1017883 - Unable to view saved passwords in Thunderbird32.0a1, since _INTL_API not enabled. r=glandium 2014-06-04 22:17:03 +03:00
Markus Stange 92945b98e7 Bug 1013392 - Initialize the new nsDisplayListBuilder fields. 2014-06-04 21:18:20 +02:00
Markus Stange 2086bfa06c Bug 1014804 - Make the gtest make target only compile the tests, and not run them. r=BenWa, r=ted 2014-06-04 21:17:44 +02:00
Andrew Halberstadt 4c459289ac Bug 991866 - Decode mozprocess output before printing to stdout, r=gps 2014-06-04 15:00:01 -04:00