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

490202 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang 6cca1d0c54 Bug 1260931 - Part 3: Propagate firstPartyDomain. r=smaug 2016-09-06 01:50:30 +08:00
Yoshi Huang 1f96f1431b Bug 1260931 - Part 2: add pref privacy.firstparty.isolate. r=smaug 2016-09-06 01:50:23 +08:00
Yoshi Huang 6c3b62e2fb Bug 1260931 - Part 1: add firstPartyDomain. r=smaug
Add an origin attribute called 'firstPartyDomain'.
This value will be extracted from the URL bar.

And the purpose of this attribute is used to isolate the data-jars.
Please see the tor documentation.
https://www.torproject.org/projects/torbrowser/design/#identifier-linkability

The idea is like a superset of 'reject third party cookies', but not
only apply for cookies, it also applies to all data-jars like localStorage,
indexedDB and so on.

So basically an iframe will have its own data-jar, and this data-jar is
isolated by the URL from URL bar, for instance, an iframe
https://facebook.com inside https://cnn.com won't share data-jar with
the iframe (https://facebook.com) in https://bbc.com
2016-09-06 01:50:15 +08:00
Olli Pettay 9530ccd561 Bug 1298504, ensure existing listeners are correctly counted before disabling some device APIs, r=mccr8 2016-09-05 19:34:30 +03:00
Olli Pettay 8744d0ccf8 Bug 1298661, let meta-stable state runnables run during sync loops, r=baku 2016-09-05 18:54:04 +03:00
Dão Gottwald 6fdeb3376c Bug 1298659 - Remove hardcoded colors from searchbar.css and make it more consistent across platforms. r=florian 2016-09-05 17:31:37 +02:00
Luke Wagner 6da730f66d Bug 1299359 - Odin: put asm.js Atomics/SAB support behind wasmTestMode (r=lth)
MozReview-Commit-ID: 6nKQ3giYnic
2016-09-05 09:50:43 -05:00
Cykesiopka f821d7aff6 Bug 1299743 - Remove unused XPCShellDirProvider class from XPCShellEnvironment.cpp. r=mrbkap
MozReview-Commit-ID: 5QULAP0NtSo

--HG--
extra : rebase_source : 4c66d52d5267aef326fa70e5299b0339428c3ab2
2016-09-03 22:46:13 +08:00
Phil Booth 6b63924827 Bug 1300297 - Ensure FxA device id is cleared on password change. r=markh
--HG--
extra : rebase_source : 8dd0d1110340525407accf0a6173e09275c90a67
2016-09-03 06:17:00 +02:00
Jonathan Kew e45cb1544d Bug 1296050 - When checking whether bidi resolution is needed, ignore Unicode directional-control characters that do not actually introduce right-to-left-ness. r=xidorn 2016-09-05 14:15:32 +01:00
Jonathan Kew 882bb6e2b5 Bug 1296391 - Check length of name string before attempting to build a new name table. r=jrmuizel 2016-09-05 14:15:09 +01:00
Stone Shih 16a8810124 Bug 1295719 - input[type=range,number] does not fire 'change' event for some key combinations. r=smaug
--HG--
extra : rebase_source : 89f46401a53dcab3dd3845477acfc7aaf9fdd3cc
2016-08-19 09:19:35 +08:00
Chih-Yi Leu 5340c68589 Bug 1295899 - Change DRIVER_LESS_THAN_OR_EQUAL to DRIVER_BUILD_ID_LESS_THAN_OR_EQUAL r=ethlin r=milan
--HG--
extra : rebase_source : 537d1469dc1c5e888e685956c1970c7ebd7cb99e
2016-08-31 20:24:00 +02:00
Chih-Yi Leu 4a0eb17eaa Bug 1295899 - Implement DRIVER_BUILD_ID_LESS_THAN_OR_EQUAL. r=milan
--HG--
extra : rebase_source : fec2e63ceca2932883c6974ec96a16282c5029d7
2016-08-31 19:59:00 +02:00
Till Schneidereit 5f85932d39 Bug 1298597 - Properly handle the target Promise having been nuked in resolve/reject functions for xray'd Promises. r=jandem
MozReview-Commit-ID: EBAwzff9vOM
2016-09-05 14:48:38 +02:00
Cykesiopka 63654161d3 Bug 1252385 - Remove unused nsNSSCertTrust methods. r=mgoodwin
MozReview-Commit-ID: 4vcFlcv5FJo

--HG--
extra : transplant_source : %EB%CC%1ARI%AE%B0%D0L%EF%CE7L%91%C43%92%22%B9%2B
2016-09-03 22:47:20 +08:00
Kershaw Chang 4317633349 Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug 2016-09-05 01:17:00 +02:00
Yen Chi Hsuan 5a098d36c7 Bug 1185120 - Convert raw pointers in DNS.cpp and nsHostResolver.cpp to smart pointers. r=valentin 2016-09-05 03:47:58 +08:00
Sebastian Hengst 25133e96c1 Backed out changeset 6e9706730af8 (bug 1298831) for crashing in js::TraceLoggerThread. r=backout 2016-09-05 14:32:04 +02:00
Hannes Verschore e4d2b1fbca Bug 1298831: Still flush the TraceLogger traces whenever using QuickExit to kill the content process, r=billm 2016-09-05 12:19:41 +02:00
Shu-yu Guo 8b810f3250 Bug 1297706 - Syntax parse class declarations. r=jandem 2016-09-05 09:11:46 +02:00
Sotaro Ikeda 8cffca6531 Bug 1299415 - Clear ImageContainer cached resources When VideoSink pause playing r=jwwang 2016-09-04 23:38:43 -07:00
Makoto Kato d1dd26f493 Bug 1265739 - DocumenetProperties should use LONG as return type. r=jimm
When investigating bug 1075194, I found that we don't check return value of DocumentPropertiesW.  So we sould use correct type and add log for this API.

MozReview-Commit-ID: Ck3VwMq9OpQ

--HG--
extra : amend_source : a0da15b578055b7612ce96b44cac2cd69607fa51
2016-08-22 14:45:49 +09:00
Robert O'Callahan 582fcbd9fa Bug 1300440. Make layers.acceleration.force-enabled override blacklisted devices in debug builds. r=acominos
MozReview-Commit-ID: ADI25q6SClG
2016-09-05 10:47:19 +12:00
Nicholas Nethercote fda4cd6f4a Bug 1300013 - Fix bogus tooltip for explicit/dom/memory-file-data/small memory report. r=erahm.
The parameter was missing. The patch also clarifies the wording.

--HG--
extra : rebase_source : 15cdfda906521c2235a2cb6f1fec6f06f47352c8
2016-09-05 14:14:00 +10:00
Ryan VanderMeulen 1cac8d1e6d Merge inbound to m-c. a=merge 2016-09-04 13:36:59 -04:00
Ryan VanderMeulen ddf120c133 Merge fx-team to m-c. a=merge 2016-09-04 13:35:45 -04:00
Sebastian Hengst 80e39088f2 Backed out changeset 2ecd402d3934 (bug 1264192) for frequent failure in netwerk/cookie/test/unit/test_eviction.js. r=backout 2016-09-04 15:07:24 +02:00
Gerald Squelart df2f457e83 Bug 1298710 - Remove ByteReader::DiscardRemaining and AutoByteReader - r=jya
DiscardRemaning was needed to prevent debug-time assertion that the buffer was
read completely or explicitly discarded.

However this required extra work in cases where buffer didn't need to be read
to the end.
And also it could cause crashes (in debug versions) if a buffer was not fully
read, be it because the parser was incorrect or because the media file itself
was wrong (though possibly still readable despite that).
Finding parser issues is still possible by manually instrumenting ByteReader
during development.
And reading media file with small recoverable errors is a bonus.

MozReview-Commit-ID: 2RUYzaYAeRW

--HG--
extra : rebase_source : 26c41758b1b2c87542bf4e41d08e361198ca5b13
2016-09-04 18:33:30 +10:00
Brian Birtles 48f29038db Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug
MozReview-Commit-ID: DdBEicunApv

--HG--
rename : dom/animation/KeyframeEffect.cpp => dom/animation/KeyframeEffectReadOnly.cpp
rename : dom/animation/KeyframeEffect.h => dom/animation/KeyframeEffectReadOnly.h
extra : rebase_source : 70063d8ba09c9c457f22771e9b514ddc9fee1612
2016-09-04 16:34:21 +09:00
Brian Birtles 732a6955f2 Bug 1300045 part 1 - Tidy up some missing includes r=hiro
I came across these while working on a different bug that changed the grouping
in the unified build. Adding these as a separate step will hopefully remove a
little noise from the next patch in the series.

MozReview-Commit-ID: Km7wTcVWG9n

--HG--
extra : rebase_source : 0610add67482c1a5aa7c4f576e151ed9437698c0
2016-09-04 16:33:38 +09:00
Phil Ringnalda 07667e0564 Merge m-c to m-i 2016-09-03 21:59:01 -07:00
Phil Ringnalda cf8c755224 Merge m-c to autoland 2016-09-03 21:57:17 -07:00
Phil Ringnalda 40dd4b145b Merge f-t to m-c, a=merge 2016-09-03 21:52:06 -07:00
Phil Ringnalda 946bb1cf02 Merge m-i to m-c, a=merge 2016-09-03 21:51:33 -07:00
Phil Ringnalda 51211ec1af Backed out 9 changesets (bug 1289011) for Android failures in select-fieldset-legend-4.html
Backed out changeset 296f8c0b77e1 (bug 1289011)
Backed out changeset 869997798534 (bug 1289011)
Backed out changeset 3f1f0bc8c878 (bug 1289011)
Backed out changeset b3da5e487c2c (bug 1289011)
Backed out changeset fd404df10eed (bug 1289011)
Backed out changeset 8e3fc6d5237f (bug 1289011)
Backed out changeset 062cae507676 (bug 1289011)
Backed out changeset 43daa18916ce (bug 1289011)
Backed out changeset 632cf28211de (bug 1289011)
2016-09-03 13:32:40 -07:00
Phil Ringnalda ba91593aa8 Bug 1284344 - Increase the timeout for browser_selectpopup.js
--HG--
extra : rebase_source : 6efa5889699304efa323e83607b0386e02bc7d25
2016-09-03 09:18:35 -07:00
Phil Ringnalda 24d53c9e9a Bug 1271074 - Increase the timeout of browser_vimemacs.js (and remove the previous 'increase' that tried to decrease it)
--HG--
extra : rebase_source : 21179d2952391091d7ff9bdcf185991833a4d8fc
2016-09-03 09:09:44 -07:00
Zibi Braniecki 57a0c66266 Follow-up to bug 1289951 - package mozIntl only if INTL is enabled. r=me
MozReview-Commit-ID: 1JIWccWsHPu
2016-09-03 21:44:27 +02:00
Zibi Braniecki d654f8c12f Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: Ad73e1XD9VD
2016-09-03 21:10:51 +02:00
Ryan VanderMeulen 740cdfc810 Merge m-c to fx-team. a=merge 2016-09-03 11:45:27 -04:00
Ryan VanderMeulen 1502d18249 Merge inbound to m-c. a=merge 2016-09-03 11:33:28 -04:00
Ryan VanderMeulen d6f23d6c08 Merge autoland to m-c. a=merge 2016-09-03 11:17:55 -04:00
Bobby Holley 90de39d448 Bug 1300287 - Move Servo_Shutdown call to nsAppRunner.cpp. r=emilio
This mirrors the location of Servo_Init. This is important because xpcshell runs
don't use nsAppRunner, and so we end up with an unpaired call to Servo_Shutdown,
which crashes.
2016-09-02 23:48:45 -07:00
Andi-Bogdan Postelnicu 59f394c4bb Bug 1300080 - add to mozilla repository the modeling file for coverity. r=Ehsan
MozReview-Commit-ID: 98mbNizREWv

--HG--
extra : rebase_source : 16acc04d7fecf6c8a082288eaed0a6b61fa89a87
2016-09-03 08:55:58 +03:00
Phil Ringnalda f8583f400a Back out e8c6d262e4b7 (bug 1289951) for Android failures in test_mozintl.js 2016-09-02 21:14:58 -07:00
Phil Ringnalda c3de252482 Backed out 9 changesets (bug 1289011) for Win8 clip-path-* reftest failures
CLOSED TREE

Backed out changeset dea9d3f8bfe0 (bug 1289011)
Backed out changeset 03572962add4 (bug 1289011)
Backed out changeset 4b8d3be7bdf8 (bug 1289011)
Backed out changeset d1b4d0b38cdb (bug 1289011)
Backed out changeset aa59aca85397 (bug 1289011)
Backed out changeset 43d1ec007a49 (bug 1289011)
Backed out changeset a623cab8e4a7 (bug 1289011)
Backed out changeset 34e7dd6acb4c (bug 1289011)
Backed out changeset 900800f54055 (bug 1289011)
2016-09-02 19:46:39 -07:00
Zibi Braniecki b9edbd29bd Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: J34WJ9o1BKI
2016-09-03 03:20:14 +02:00
Andrew McCreight 3c69fd991a Bug 1300210 - Initialize nsCCUncollectableMarker::sGeneration to 1. r=smaug
The immediate reason we need to change this is that bug 1299911
proposes adding a verifier to check that there are no black-gray edges
in the JS heap, and sGeneration being 0 causes that to fail, due to
mozilla::dom::TraceBlackJS(). If something is a black root, I believe
the verifier requires that it be marked black. This makes sense,
because a black root is something that is definitely alive, and if the
object is marked gray, the CC might free it, as far as the GC knows.

This fails because when the browser starts, it GCs and marks the stuff
at the bottom of TraceBlackJS grey. Then it runs the CC, which flips
sGeneration to 1. Now, the verifier runs (before the GC runs!), and it
sees that the stuff in TraceBlackJS claims to be black, but is grey,
causing a verification failure.

In this particular case the code is actually safe. The purpose of the
black-gray invariant is to ensure that the CC does not incorrectly
unlink any gray C++ objects that are reachable from black JS
roots. The JS objects in TraceBlackJS should all be reachable directly
from a C++ object, and the CC knows that those C++ objects are alive
(because of refcounting). Therefore, the CC will not unlink any
objects that are reachable from black JS roots.

MozReview-Commit-ID: 8PrRkjqWBL

--HG--
extra : rebase_source : f9c2971bf71475202a1a6bbc719ab9ce19f94bc5
2016-09-02 15:51:05 -07:00
Andrzej Hunt 1c5b9d7220 Bug 1299977 - Add TopSites title to UnusedResourcesUtil r=me 2016-09-02 15:04:10 -07:00