Commit Graph

581155 Commits

Author SHA1 Message Date
Andrea Marchesini
cb79b67922 Bug 1437640 - Implement nsIThreadRetargetableStreamListener in MutableBlobStreamListener, r=smaug 2018-02-14 13:23:01 +01:00
Andrea Marchesini
d125a457dc Bug 1437896 - Get rid of a #ifdef Status in WorkerHolder.h, r=smaug 2018-02-14 13:23:01 +01:00
Christoph Kerschbaumer
72ce8edf3d Bug 1436808: Apply Meta CSP to content privileged about: pages. r=gijs,freddyb 2018-02-09 11:42:21 +01:00
Olli Pettay
1a35b521d0 Bug 1430305 - Implement ShadowRoot.fullscreenElement , r=mrbkap
--HG--
extra : rebase_source : 363143c1767cc9ad33fcd9dd7afd74848f709956
2018-02-13 18:57:32 +02:00
Jon Coppeard
6729fa1240 Bug 1437554 - Release the exclusive access lock when not collecting the atoms zone r=sfink 2018-02-14 10:54:13 +00:00
Gurzau Raul
c550afcd80 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-14 12:49:32 +02:00
Gurzau Raul
8bee9fafd5 Merge autoland to mozilla-central. a=merge on a CLOSED TREE
--HG--
extra : amend_source : 9af4d4c32169ca2f1645830ee374fcff0f4a70d5
2018-02-14 12:45:57 +02:00
ffxbld
149e4575b0 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-13 11:40:34 -08:00
ffxbld
1bcdadf7b5 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-13 11:40:30 -08:00
Margareta Eliza Balazs
2fd871d8b3 Backed out 4 changesets (bug 1436247) for c2 failures in dom/events/test/test_DataTransferItemList.html on a CLOSED TREE
Backed out changeset 858d629f761d (bug 1436247)
Backed out changeset 4ce2bfe462a0 (bug 1436247)
Backed out changeset 3650631487c7 (bug 1436247)
Backed out changeset c32ead4e3525 (bug 1436247)
2018-02-13 19:56:26 +02:00
Michael Ratcliffe
7529efafe1 Bug 1437802 - Create selectNodeText(node) in new web console test head.js r=nchevobbe
MozReview-Commit-ID: LlgLPe2SMsO

--HG--
extra : rebase_source : be689869a627d03c05c78afc62af5473f670ae17
2018-02-13 12:07:24 +00:00
Noemi Erli
d03ad8843e Merge inbound to mozilla-central. a=merge 2018-02-13 11:39:36 +02:00
Noemi Erli
1105149c19 Merge autoland to mozilla-central. a=merge 2018-02-13 11:38:16 +02:00
Brian Stack
6d5d64a66e Bug 1437738 - Update actions to new repo scopes r=jonasfj r=pmoore a=Aryx on a CLOSED TREE
MozReview-Commit-ID: 5kNs3OqqjMw

--HG--
extra : amend_source : 256cbbb1cca08c01d0555afdcc015d54b494367a
2018-02-12 22:56:15 -08:00
Phil Ringnalda
dd15db0b2a Backed out changeset b3104c135520 (bug 1437427) for windows leaked until shutdown in browser_datachoices_notification.js
CLOSED TREE
2018-02-12 22:02:17 -08:00
Ciure Andrei
72080bd73c Merge inbound to mozilla-central. a=merge 2018-02-13 00:08:37 +02:00
Ciure Andrei
6c55aa90ec Merge autoland to mozilla-central. a=merge 2018-02-13 00:06:52 +02:00
Boris Zbarsky
891566df26 Bug 1437255. Use a null prototype for @@unscopables objects in the DOM. r=qdot
MozReview-Commit-ID: 9YjnPHe78Tg
2018-02-12 15:46:11 -05:00
Boris Zbarsky
07eaf60521 Bug 1436902 part 5. Change generated event classes to use NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
This makes 23 generated event clases use NS_INLINE_DECL_REFCOUNTING_INHERITED.

MozReview-Commit-ID: 7dyWTc1AUfH
2018-02-12 15:45:51 -05:00
Boris Zbarsky
d6807fd501 Bug 1436902 part 4. Refactor event codegen a bit to make it easier to tell whether the event class needs cycle collection. r=mccr8
I looked at the diff in the generated code, and the only change is that
SpeechRecognitionEvent's unlink impl goes from:

 NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(SpeechRecognitionEvent, Event)
   NS_IMPL_CYCLE_COLLECTION_UNLINK(mResults)
   tmp->mInterpretation.setUndefined();
   NS_IMPL_CYCLE_COLLECTION_UNLINK(mEmma)
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END

to:

 NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(SpeechRecognitionEvent, Event)
   NS_IMPL_CYCLE_COLLECTION_UNLINK(mResults)
   NS_IMPL_CYCLE_COLLECTION_UNLINK(mEmma)
+  tmp->mInterpretation.setUndefined();
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END

MozReview-Commit-ID: FISIphljlT6
2018-02-12 15:45:10 -05:00
Boris Zbarsky
9bdcffc985 Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.

The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.

MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Boris Zbarsky
25715415a1 Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8
MozReview-Commit-ID: 95xACATqz7p
2018-02-12 15:43:55 -05:00
Boris Zbarsky
f86a73ccc5 Bug 1436902 part 1. Add a new NS_INLINE_DECL_REFCOUNTING_INHERITED macro that declares addref/release only for logging purposes. r=mccr8
MozReview-Commit-ID: JTT5RzJ7IVu
2018-02-12 15:43:48 -05:00
Luke Wagner
10ced4c995 Bug 1428453 - Baldr: use new traps for float-to-int conversions (r=bbouvier)
--HG--
extra : rebase_source : 0815b5978abee2ab6c469e52f1ae5c1ab102a5e3
2018-02-12 15:31:02 -06:00
Luke Wagner
363c35ecbf Bug 1428453 - Baldr: use new traps for idiv (r=bbouvier)
--HG--
extra : rebase_source : 530b9de9df9dfab1a3db688156c04d1c97cc9158
2018-02-12 15:30:46 -06:00
Luke Wagner
3c79523451 Bug 1428453 - Baldr: use new traps for integer overflow (r=bbouvier)
--HG--
extra : rebase_source : a6f2a1bd0f7041f8937a9d2c7cfb43f35f9683bc
2018-02-12 15:30:30 -06:00
Luke Wagner
807b19f2c7 Bug 1428453 - Baldr: use new traps for stack overflow (r=bbouvier)
--HG--
extra : rebase_source : 8e7550b3d028ca688f9137f398c8085de0934a06
2018-02-12 15:29:52 -06:00
Eric Rahm
00725e9047 Bug 1437188 - Part 2: Only try to retarget if the listener is retargetable. r=bkelly
MutableBlobStreamListener isn't retargetable, in order to avoid warning about
it we don't try retarget it at all. This should remove about 4,000 warnings
during testing.

--HG--
extra : rebase_source : 9ff00b9c5e818c5eba813915b4118749da1ecad6
2018-02-12 11:57:44 -08:00
ffxbld
e73379a010 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-02-12 11:53:27 -08:00
ffxbld
9eab54622b No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-12 11:53:23 -08:00
ffxbld
91e80a354d No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-12 11:53:20 -08:00
Aaron Klotz
1eec067d63 Bug 1437309: Delayload crypt32 and wintrust in mozglue; r=glandium 2018-02-12 12:17:36 -07:00
Dylan Roeh
c34f6ed90c Bug 1391076 - Update GeckoSession.setActive to focus/blur as appropriate. r=snorp 2018-02-12 12:38:11 -06:00
Nathan Froyd
e3a6281dd3 Bug 1437606 - part 2 - use NS_IMPL_ISUPPORTS in modules/libpref/; r=njn
Now that we've used the standard NS_IMPL_QUERY_INTERFACE macro, we can
start using the even more standard NS_IMPL_ISUPPORTS macro.
2018-02-13 09:57:33 -05:00
Nathan Froyd
9285fd3fe9 Bug 1437606 - part 1 - use NS_IMPL_QUERY_INTERFACE in modules/libpref/; r=njn
This construct is nicer than NS_INTERFACE_MAP_BEGIN and assures the
reader there's no weirdness in the QI implementation.  This change does
mean that PGO doesn't get an opportunity to measure the frequency of
which interfaces are QI'd most often.  I think this is probably an OK
tradeoff to make, given the prevalence of NS_IMPL_QUERY_INTERFACE
elsewhere in the codebase.

The one thing we have to ensure with this change is that the ambiguous
QI to nsISupports uses the proper class after the change.  The
NS_IMPL_QUERY_INTERFACE macro chooses the first interface listed to
disambiguate the cast to nsISupports.
2018-02-13 09:57:33 -05:00
Nathan Froyd
deb71edcea Bug 1437605 - part 3 - use NS_IMPL_ISUPPORTS in js/xpconnect/; r=mccr8
Now that we've used the standard NS_IMPL_QUERY_INTERFACE macro, we can
start using the even more standard NS_IMPL_ISUPPORTS macro.  There's a
standard NS_IMPL_ISUPPORTS_CI macro that we could use for the bits in
XPCJSID.cpp, but said macro assumes that all the interfaces listed are
exported to classinfo.  nsJSIID and nsJSCID expose nsIXPCScriptable
through QI, but not through classinfo, so I've chosen to leave those
alone.
2018-02-13 09:57:33 -05:00
Nathan Froyd
7a24d1ffc2 Bug 1437605 - part 2 - use NS_IMPL_QUERY_INTERFACE_CI in js/xpconnect/; r=mccr8
Just like part 1, only for classes that also require classinfo.
2018-02-13 09:57:33 -05:00
Nathan Froyd
276f4b0515 Bug 1437605 - part 1 - use NS_IMPL_QUERY_INTERFACE in js/xpconnect/; r=mccr8
This construct is nicer than NS_INTERFACE_MAP_BEGIN and assures the
reader there's no weirdness in the QI implementation.  This change does
mean that PGO doesn't get an opportunity to measure the frequency of
which interfaces are QI'd most often.  I think this is probably an OK
tradeoff to make, given the prevalence of NS_IMPL_QUERY_INTERFACE
elsewhere in the codebase.

The one thing we have to ensure with this change is that the ambiguous
QI to nsISupports uses the proper class after the change.  The
NS_IMPL_QUERY_INTERFACE macro chooses the first interface listed to
disambiguate the cast to nsISupports.  In many cases, the ordering of
the interfaces was already correct, but a few cases required reordering
the interfaces.
2018-02-13 09:57:33 -05:00
Coroiu Cristina
e6c323f55d Merge autoland to mozilla-central. a=merge 2018-02-12 19:56:50 +02:00
Tom Ritter
c4edd2fe5c Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo

--HG--
extra : rebase_source : 8147c034f7dc93f678eebc80b0afabf55729d804
2018-02-12 11:41:38 -06:00
Sebastian Hengst
9d47b5fb14 Backed out 2 changesets (bug 1334465) for frequently failing marionette\test_refresh_firefox.py a=Aryx
Backed out changeset fc4ad53516e0 (bug 1334465)
Backed out changeset bd315ae86709 (bug 1334465)

--HG--
extra : source : f49cf3d147dee2eb1fd2b726cfbae6d01b719d55
2018-02-12 18:52:25 +02:00
Julian Descottes
0e767ece17 Bug 1403196 - rename and enable browser_webconsole_object_inspector_key_sorting.js;r=bgrins
MozReview-Commit-ID: DfjO8aQqnsD

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_variables_view_dont_sort_non_sortable_classes_properties.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_object_inspector_key_sorting.js
extra : rebase_source : 75f3fba6f97207626eb39ba03cbf69c407c82147
2018-02-12 13:47:34 +01:00
Andrew Halberstadt
033f64e234 Bug 1437484 - Pin and hash all requirements for |mach doc|, r=gps
Previously we weren't explicitly installing sphinx. Instead, the 'sphinx-js'
package had a dependency on 'sphinx<2.0'. This caused errors when sphinx
released their backwards incompatible version 1.7.

This patch pins sphinx==1.6.7 and adds all other dependencies to the same
requirements.txt (with hashes).

Upgrading to sphinx==1.7 will happen in a follow-up.

MozReview-Commit-ID: 28fKI7T4vfa

--HG--
extra : rebase_source : a9f276586ed08f49c1a26088aae88c363a31c167
2018-02-12 09:36:12 -05:00
Gijs Kruitbosch
d01899fa3f Bug 1437486 - don't reset the forget button duration when the popup is visible, r=johannh
MozReview-Commit-ID: 6TWGSSuZxsa

--HG--
extra : rebase_source : 21a5749e3dc32edebe159ac3a5ce53cfca63999c
2018-02-12 11:33:17 +00:00
Sebastian Hengst
1980eee311 merge mozilla-central to autoland. CLOSED TREE 2018-02-12 14:36:51 +02:00
Valentin Gosu
427838fddc Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race r=bagder a=Aryx
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
extra : intermediate-source : fc4ad53516e01095be35542fd979c9e16d6e6b16
2018-02-11 03:51:09 +01:00
Timothy Guan-tin Chien
104cf3a949 Bug 1436351 - Ensure tabs binding initialized after tabbrowser. r=dao,Gijs
This is a follow-up to bug 1429464 and a hack. Fortunately we could get
rid of it when bug 1392352 lands.

MozReview-Commit-ID: 4XVjObBPAMV

--HG--
extra : rebase_source : 7c170a3b88ce68860b41b516d66b7442cfeea686
2018-02-11 00:29:01 +08:00
Tom Ritter
f928a0f4b2 Bug 1435296 Remove unneeded script import from test_timeOrigin.html r=baku
MozReview-Commit-ID: G0sqJYbi3vz

--HG--
extra : rebase_source : ef634be1569422df6bab7315beccf02df0f70dbd
2018-02-10 09:11:04 -06:00
Tom Ritter
8f07acf367 Bug 1435296 Clean 0ms durations in stub generation r=nchevobbe
If the duration was 0ms, it would not be cleaned; and thus lead to a mismatch and
ultimately test failure.

MozReview-Commit-ID: 1s9nMzlGT0e

--HG--
extra : rebase_source : 6c5dfe6dcc4fcf767d5b47878f09f3d1089d8dd2
2018-02-09 19:31:52 -06:00
Eric Rahm
9f798eecf1 Bug 1437188 - Part 1: Remove verbose fetch related warnings. r=bkelly
This removes the most verbose fetch related warnings. Cumulatively these
account for about 11,000 warnings during testing.

--HG--
extra : rebase_source : ee930dec1e18b9a7f34d5c66944dc015be10be69
2018-02-09 14:04:03 -08:00