Commit Graph

6133 Commits

Author SHA1 Message Date
Jesse Ruderman
4131fbba60 Bug 721910 - Add crashtest. 2017-12-05 11:02:57 -05:00
Noemi Erli
47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
Jan de Mooij
84728f75af Bug 1417844 part 6 - Remove more JSVersion code from XPConnect. r=kmag 2017-12-05 11:07:01 +01:00
Andrew McCreight
f5c90d1f80 Bug 1422432 - Remove PrintJSStack(). r=mrbkap
MozReview-Commit-ID: 8ObqjMxAzIR

--HG--
extra : rebase_source : 91fdc59e435ccdb007c0a1b37b85bc4ddd0b189e
2017-12-01 16:16:11 -08:00
Andrew McCreight
7e0973c356 Bug 1421355, part 8 - Remove unused attributes and methods from nsIXPConnectWrappedNative. r=mrbkap
Also remove some out of date comments. GetObjectPrincipal() was removed a while ago.

MozReview-Commit-ID: IQFoVyaEMlY

--HG--
extra : rebase_source : 935ecc1094d46ac8cab11e236b6ffb1a95aa9a06
2017-11-28 10:48:12 -08:00
Andrew McCreight
e901a26540 Bug 1421355, part 7 - Remove unused defines and forward decls from nsIXPConnect.idl. r=mrbkap
MozReview-Commit-ID: EI05aS33n2R

--HG--
extra : rebase_source : 3a52b327c9d34e0c3d4c987ce4877d1981b7be34
2017-11-28 10:31:30 -08:00
Andrew McCreight
71dbca0a82 Bug 1421355, part 5 - Remove nsXPConnect::NotifyDidPaint(). r=mrbkap
Presshell still does something along these lines, but it works completely differently.

MozReview-Commit-ID: JRenEDNlo6p

--HG--
extra : rebase_source : d90924fcbbf81b1b23311b8589ea86403f0fd630
2017-11-28 10:00:38 -08:00
Andrew McCreight
34d939862e Bug 1421355, part 4 - Remove nsXPConnect::GetInfoForName. r=mrbkap
MozReview-Commit-ID: 6Y0ujiF0RBw

--HG--
extra : rebase_source : 2eca5f54fef5fde7281e9c7bbff860c8451329cc
2017-11-28 09:53:04 -08:00
Andrew McCreight
c4a35a74f9 Bug 1421355, part 3 - Remove nsIXPConnect::GarbageCollect(). r=mrbkap
MozReview-Commit-ID: JGG15HPxpda

--HG--
extra : rebase_source : 60369ff0c61d1dec06aa98e37bf2d00dc11dd5e0
2017-11-28 09:51:53 -08:00
Andrew McCreight
03b06b90f7 Bug 1421355, part 2 - Remove nsIXPConnect::getWrappedNativeOfNativeObject. r=mrbkap
This method is unused. It is the only caller of
XPCWrappedNative::GetUsedOnly(), so remove that, too.

MozReview-Commit-ID: LRMB2bAwgoS

--HG--
extra : rebase_source : 8203aae8d0263ca467fff8e63f187caca8aaf733
2017-11-28 09:47:44 -08:00
Andrew McCreight
6e506d37ba Bug 1421355, part 1 - Remove nsIXPConnect::GetPrincipal(). r=mrbkap
This method is unused. It is the only caller of
XPCWrappedNative::GetObjectPrincipal() so remove that, too.

MozReview-Commit-ID: 8s5toK85YUS

--HG--
extra : rebase_source : 551ec90d893ac9f47ef5166ec1dbd2ac8b5c6988
2017-11-28 09:43:27 -08:00
Andrew McCreight
874c474f4b Bug 1421104 - De-COM nsIXPConnect::DebugPrintJSStack. r=mrbkap
This is only called in a single place, and does not use any fields of
nsXPConnect, so remove it from the XPIDL interface and inline the
method to the one caller. It also fixes an error message to no longer
refer to a non-existant interface. Otherwise, the behavior should be
unchanged.

MozReview-Commit-ID: LwrosnHj2ip

--HG--
extra : rebase_source : 69c1ef142ee309ece75d1d2cc083417abf6f827b
2017-11-29 13:11:07 -08:00
Edgar Chen
9f4324f41e Bug 1416999 - Remove document.registerElement; r=smaug
MozReview-Commit-ID: HiX07Vbljhk

--HG--
rename : dom/base/test/chrome/registerElement_ep.js => dom/base/test/chrome/custom_element_ep.js
rename : dom/base/test/chrome/frame_registerElement_content.html => dom/base/test/chrome/frame_custom_element_content.html
rename : dom/base/test/chrome/test_registerElement_content.xul => dom/base/test/chrome/test_custom_element_content.xul
rename : dom/base/test/chrome/test_registerElement_ep.xul => dom/base/test/chrome/test_custom_element_ep.xul
rename : dom/base/test/test_document_register.html => dom/base/test/test_custom_element.html
rename : dom/tests/mochitest/webcomponents/test_document_register.html => dom/tests/mochitest/webcomponents/test_custom_element_define.html
rename : dom/tests/mochitest/webcomponents/test_document_register_parser.html => dom/tests/mochitest/webcomponents/test_custom_element_define_parser.html
rename : dom/tests/mochitest/webcomponents/test_template_custom_elements.html => dom/tests/mochitest/webcomponents/test_custom_element_template.html
extra : rebase_source : cd2ebf166e8bd9c49910387c9136d7b83b51598d
2017-11-16 12:23:15 +08:00
Masatoshi Kimura
f84b7d9880 Bug 1420427 - Stop using native charset in URLPreloader. r=kmag
MozReview-Commit-ID: 5CidUcXLCjP

--HG--
extra : rebase_source : 1710f3cb72f8061d9413b71058a76021027969a0
2017-11-28 00:21:00 +09:00
Gabriele Svelto
84827e1a1e Bug 1402519 - Remove MOZ_CRASHREPORTER directives from js; r=nbp
MozReview-Commit-ID: DPa3IW4nwlM

--HG--
extra : rebase_source : c48dbb8144dfd501a193d8117a265d968ca2790b
2017-10-10 12:10:33 +02:00
Gabriele Svelto
5ff191810d Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : f05c929911d27dc1598bc040df54022cd90aa06a
2017-11-14 14:49:33 +01:00
shindli
fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
151a3ecbc9 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from js; r=nbp
MozReview-Commit-ID: DPa3IW4nwlM

--HG--
extra : rebase_source : e192284ff71410ac17ed388d8708e88013ad3378
2017-10-10 12:10:33 +02:00
Gabriele Svelto
014408d0f5 Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : 37aacdebc4307a21ff4f2ae27d1b031adc25737c
2017-11-14 14:49:33 +01:00
Brindusan Cristian
334a5602dc Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-21 00:29:02 +02:00
Tooru Fujisawa
7f67b178a5 Bug 1388325 - Stop getting telemetry for deprecated feature in addons (JS_DEPRECATED_LANGUAGE_EXTENSIONS_IN_ADDONS) r=jandem 2017-11-21 03:41:56 +09:00
Gijs Kruitbosch
59ffe6e6ca Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 3c22ed909437a7fa98e2126b4eb8b9c669f98173
2017-11-15 17:19:33 +00:00
Noemi Erli
d96f41a437 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 00:01:46 +02:00
Jan de Mooij
793d5faa99 Bug 1417844 part 4 - Remove more JSVersion code. r=evilpie 2017-11-17 12:13:42 +01:00
Jan de Mooij
2e7986aee1 Bug 1417844 part 3 - Remove JSVersion from subscript cache path. r=kmag 2017-11-17 12:13:15 +01:00
Jan de Mooij
7f30bf48a7 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Jason Orendorff
b2706bde61 Bug 1409676 - Trivial code cleanup around XrayTraits. r=mrbkap
--HG--
extra : rebase_source : 089999723d3a9bae841bd16831e151795a788c9d
2017-10-18 11:09:10 +01:00
Nika Layzell
5c65681cb0 Bug 1415645 - Part 5: Fix some more consumers of nsGlobalWindow which I missed, r=smaug
MozReview-Commit-ID: DvMH4cVw5NK
2017-11-15 11:21:57 -05:00
Edgar Chen
698fdbc62e Bug 1396620 - Part 1: Remove created callback for custom elements; r=jdai,smaug
MozReview-Commit-ID: IDovq3OZwgy

--HG--
extra : rebase_source : bae891833d4f8139fed2ed31af85173694c7eb11
2017-10-13 23:36:54 +08:00
Ciure Andrei
a8907fc95a Backed out 5 changesets (bug 1408044) for failing Android test: TestAboutPagesPreparer.java:24: cannot find symbol. r=backout on a CLOSED TREE
Backed out changeset 5c5152ad910d (bug 1408044)
Backed out changeset c9a062838c12 (bug 1408044)
Backed out changeset 9ceaa645f2a9 (bug 1408044)
Backed out changeset 10fc0a581606 (bug 1408044)
Backed out changeset 513140019014 (bug 1408044)
2017-11-17 12:19:30 +02:00
Gijs Kruitbosch
03f7acbb5c Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 36497c95be10e307805a304e811a5b7a6bebebce
2017-11-15 17:19:33 +00:00
arthur.iakab
cb136d6136 Backed out changeset ed0cc9f86583::b6b642efbb74 (bug 1396620) for static failure at dom/base/CustomElementRegistry.cpp r=backout on a CLOSED TREE
Backed out changeset b6b642efbb74 (bug 1396620)
Backed out changeset ed0cc9f86583 (bug 1396620)
2017-11-17 01:22:14 +02:00
Edgar Chen
fd6b408209 Bug 1396620 - Part 1: Remove created callback for custom elements; r=jdai,smaug
MozReview-Commit-ID: IDovq3OZwgy

--HG--
extra : rebase_source : 34b67e07a7e15af815c6921a41272ee0fddfb93d
2017-10-13 23:36:54 +08:00
Jon Coppeard
757573b0fe Bug 1417077 - Make JSTracer provide the current GC number and use this in nsXULPrototypeDocument::TraceProtos() r=sfink r=mccr8 2017-11-14 17:10:30 +00:00
Bill McCloskey
79162c692a Bug 1395029 - Scheduler support for blockThreadedExecution (r=froydnj)
MozReview-Commit-ID: EXRMRh9SCsQ
2017-11-11 21:04:20 -08:00
Andrea Marchesini
207b8d909e Bug 1347515 - Get rid of nsIJSON.decodeFromStream, r=qdot 2017-11-10 00:27:22 +01:00
Nika Layzell
c223b9ff2d Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell
3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Andrew McCreight
9a5bc96991 Bug 1414442 - De-COM nsIXPConnect::CurrentJSStack. r=mrbkap
MozReview-Commit-ID: 6r35y1MJ0v2

--HG--
extra : rebase_source : 20a955a58bf4d2b69053fbf527a65901ae15f171
2017-11-03 11:59:04 -07:00
André Bargull
82678044a9 Bug 1019116 - Implement Promise.prototype.finally. r=till,bz 2017-08-01 14:05:08 -07:00
Boris Zbarsky
97828fce1d Bug 1415389. Make ChromeUtils a WebIDL namespace. Remove ThreadSafeChromeUtils. r=kmag
MozReview-Commit-ID: 9ysAeaBMNVt
2017-11-08 00:25:33 -05:00
Boris Zbarsky
25f3d350f0 Bug 1414292 followup. Indexed properties are enumerable on Window per spec, and thus we fix the CLOSED TREE.
MozReview-Commit-ID: 6Q76VqwSiEx
2017-11-07 16:55:29 -05:00
Boris Zbarsky
e66612be96 Bug 1414292. Update to HTML spec changes for cross-origin object property enumerability. r=peterv
Updates to https://github.com/whatwg/html/pull/3186

Includes the changes from https://github.com/w3c/web-platform-tests/pull/8045

MozReview-Commit-ID: 5vEo1QGPufE
2017-11-07 15:36:16 -05:00
Tooru Fujisawa
126d74c714 Bug 1244280 - Use system stack limitation instead of hardcoded smaller value on linux. r=nbp
Great thanks to krzysztof.modras@gmail.com who initially wrote this patch.
2017-11-08 00:30:31 +09:00
Boris Zbarsky
91cf28ede5 Bug 1414461. Make sure we always null-check the result of XrayTraits::EnsureHolder. r=mccr8
MozReview-Commit-ID: IV2L0f2612D
2017-11-04 00:36:34 -04:00
André Bargull
ca52711eb9 Bug 1409187 - Remove telemetry for __proto__. r=luke 2017-11-02 07:14:45 -07:00
Jan de Mooij
a70dbf7123 Bug 1119777 - Remove non-standard Function.prototype.isGenerator. r=arai,kmag 2017-11-03 17:27:43 +01:00
Sebastian Hengst
68106833b3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: xcHQOq7Rbv
2017-11-02 22:59:04 +01:00
Boris Zbarsky
0bbe6f4940 Bug 1412741. Back out the fix for bug 1381408, because that change doesn't look like it's web-compatible. r=peterv
MozReview-Commit-ID: LSYYAt0bAkT
2017-11-02 13:02:55 -04:00
David Keeler
6034b39937 bug 1357815 - 3/4: support SHA256 in PKCS#7 signatures on add-ons r=dveditz,jcj
As a result of this patch, the hash algorithm used in add-on signature
verification will come from the PKCS#7 signature. If SHA-256 is present, it will
be used. SHA-1 is used as a fallback. Otherwise, the signature is invalid.

This means that, for example, if the PKCS#7 signature only has SHA-1 but there
are SHA-256 hashes in the signature file and/or manifest file, only the SHA-1
hashes in the signature file and manifest file will be used, if they are present
(and verification will fail if they are not present). Similarly, if the PKCS#7
signature has SHA-256, there must be SHA-256 hashes in the signature file and
manifest file (even if SHA-1 is also present in the PKCS#7 signature).

MozReview-Commit-ID: K3OQEpIrnUW

--HG--
extra : rebase_source : 704a2a18e166bfaf3e3d944d13918054bd012000
2017-10-24 15:27:53 -07:00