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

490644 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang 3c241e2c75 Bug 1260931 - part 5: tests. r=smaug 2016-09-06 01:50:42 +08:00
Yoshi Huang 0f48c1a7b5 Bug 1260931 - Part 4: update OriginAttributes when http redirect. r=smaug 2016-09-06 01:50:37 +08:00
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
Johann Hofmann 2b02d71f08 Bug 1286118 followup - Remove accidentally added if clause. r=me 2016-09-05 15:51:37 +02:00
Christoph Kerschbaumer 863342e741 Bug 1299766 - Bring back contentpolicy check for websockets in child to avoid missing context for addon implemented content policies within parent. r=jduell
--HG--
extra : rebase_source : 82e5bb03c221e6f10f8598f096ca57a61875aa75
2016-09-05 13:54:41 +02:00
Glenn Randers-Pehrson e683cf2031 Bug 1299590 - Update in-tree libpng to version 1.6.25. r=tn
--HG--
extra : rebase_source : 1887acea914d4c63927ecb5de4867f8b7968492d
2016-09-07 13:30:00 -04:00
Sebastian Kaspari 3cf54d8f48 Bug 1300155 - IconTask: Disable debug logging. r=ahunt
MozReview-Commit-ID: 51pYsDqicNS

--HG--
extra : rebase_source : 5e8912d87f18bdcf9af48ba07e9dfe121a82c92f
2016-09-05 10:32:07 +02:00
Sebastian Kaspari cde95c1b07 Bug 1300484 - IconResponse: Throw if bitmap is null. r=ahunt
This will crash later anyways but throwing here will allow us to identify code
that creates a response with a null bitmap (This shouldn't happen).

MozReview-Commit-ID: LJMSsW51eXo

--HG--
extra : rebase_source : 22eefdc5ba28d36142b663c03f376045fcc542fd
2016-09-05 11:46:27 +02:00
Sebastian Kaspari c3c4c19eb4 Bug 1300484 - IconDownloader: Check if best bitmap is not null. r=ahunt
MozReview-Commit-ID: 7A1u6EefKt9

--HG--
extra : rebase_source : 36334c8dd49dcdbdf3f34edc633604d058112fb1
2016-09-05 11:43:00 +02:00
JW Wang d2fd8a9859 Bug 1300479. Part 3 - extract RunStateMachine() cases to its own function. r=kaku
MozReview-Commit-ID: LNLu7X8VD3s

--HG--
extra : rebase_source : 05c6ff7546d334e32bb3f57c17298f323f5a7111
2016-09-05 15:48:37 +08:00
JW Wang 69c466b569 Bug 1300479. Part 2 - replace empty cases with the default case. r=kaku
MozReview-Commit-ID: 7iXd8UtivEn

--HG--
extra : rebase_source : 6315d9e7775aaf293da588b9bf1fa0a031c853dc
2016-09-05 15:35:55 +08:00
JW Wang 43717c4c92 Bug 1300479. Part 1 - remove the aState parameter from EnterState()/ExitState() for we always pass mState. r=kaku
MozReview-Commit-ID: 8YLxMpevEJS

--HG--
extra : rebase_source : 493069c806c4e50cd617dab4db50595f7c51e83e
2016-09-05 15:28:37 +08:00
Sebastian Kaspari 14c8e61696 Bug 1300485 - DiskStorage: Re-open cache if it is closed (after clearing). r=ahunt
MozReview-Commit-ID: GX3q4YtRsDw

--HG--
extra : rebase_source : 706671be294f2a216d2932d09507abcbafcc2419
2016-09-05 11:21:21 +02:00
Masayuki Nakano 45df2cd377 Bug 1300319 part.1 NativeKey::IsControlChar() should return true when the char is 0x7F (control character, DELETE) r=m_kato
Ctrl+Backspace causes WM_CHAR for control character DELETE.  However, NativeKey::IsControlChar() doesn't treat it as a control character.  Therefore, NativeKey treats Backspace key as a printable character.

MozReview-Commit-ID: 29V45CNp8kW

--HG--
extra : rebase_source : 6656d884addf8b49dfa7c12d0b2c8d0543493c4f
2016-09-05 12:51:49 +09:00
Masayuki Nakano 62fe8134f6 Bug 1300319 part.0 Add automated tests for Ctrl+Backspace, Alt+Backspace, Ctrl+Enter and Alt+Enter because Backspace and Enter are handled with special path in mozilla::widget::NativeKey on Windows r=m_kato
MozReview-Commit-ID: 8LuYx65I5kY

--HG--
extra : rebase_source : 71e08f991535b485948f7720e8a214245c0203e7
2016-09-05 16:10:46 +09:00
Makoto Kato 4a99a0c673 Bug 1300452 - Add Noto Sans CJK setting for Android 7.0. r=jfkthame
When using Nexus 5X or 9 with Android 7.0, Japanese text is rendered by Chinese font.  Android 7's nexus image uses Noto Sans CJK (NotoSansCJK-Regular.ttc) for CJK font, so we need add this font name to our preference.

MozReview-Commit-ID: C0e5ikgC6cX

--HG--
extra : rebase_source : 36ea8115e97cf38dc5b04d53529e579a091c6f74
2016-09-05 12:01:01 +09:00
Phil Ringnalda f61de903c4 Backed out changeset cbf25d6711b7 (bug 1291946) for timeouts in test_peerConnection_addtrack_removetrack_events.html 2016-09-05 21:41:12 -07:00
Thomas Wisniewski dadce88a58 Bug 918751 - Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=keeler, r=Mossop, r=paul
--HG--
extra : rebase_source : 2d454dd6f7f66b0b2df44f6f4ce3740d8f6de04c
2016-09-03 18:45:08 -04:00
AdamG2 27382a6038 Bug 1288745 - Remove TelemetryHistogram::NewHistogram and replace with predefined histograms. r=chutten
MozReview-Commit-ID: 6v270MnquqT

--HG--
extra : rebase_source : 0546095872930c726e2a9010adc7496d08a87d06
2016-09-03 15:26:40 -04: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
Justin Wood 7be2611be7 Bug 1293789 - Single Locale in TC - Add task def for try. r=rail
MozReview-Commit-ID: 7n2NqqHj9wL

--HG--
rename : testing/mozharness/configs/single_locale/tc_android_api_15.py => testing/mozharness/configs/single_locale/tc_android-api-15.py
extra : rebase_source : 4a575d04ea6fac7078d483f00f169cfdb9ac5194
2016-09-03 10:32:22 -04:00
Justin Wood 45e087064b Bug 1293789 - Single Local TC, mozharness bits. r=rail
MozReview-Commit-ID: mH5MKaUodA

--HG--
extra : rebase_source : cd223902bb8fcd4f0d4d926ad5d17dbf69d760f2
2016-09-03 10:27:46 -04:00
Julian Descottes edb0888015 Bug 1300458 - fix linting errors in browser_key_shortcuts.js;r=ochameau
MozReview-Commit-ID: 85VRaDe8Vxf

--HG--
extra : rebase_source : 32ba5059c1f04e4d5df167b3a72104dfd47b5c4f
2016-09-06 10:38:40 +02:00
Julian Descottes e129828a38 Bug 1300458 - devtools key shortcuts fix shift+cmd shortcuts on OSX;r=ochameau
MozReview-Commit-ID: Aq6cFkF86Qa

--HG--
extra : rebase_source : 07c240f080dce7e4fe6d20275d26ffefb81d705d
2016-09-06 11:43:11 +02: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
Ruturaj Vartak f413b9b7dd Bug 1295010 - Don't move the eyedropper to the out of browser window by keyboard navigation. r=pbro
MozReview-Commit-ID: vBwmSxVNXK

--HG--
extra : rebase_source : b74df421630fc46dab6b6cc026bf3e0ae6b4a651
extra : amend_source : 6885024ef00cfa33d73c59dc03c48ebcda9ccbdd
extra : histedit_source : c43167f0a7cbe9f4c733b15da726e5150a9529ba
2016-09-03 00:07:00 +02:00
Oriol 4a071f812f Bug 1300336 - Allow pseudo-arrays to have a length property. r=fitzgen 2016-09-03 12:46:00 -04:00
Towkir Ahmed 5b6d08a081 Bug 1296648 - Fix direction of .ruleview-expander.theme-twisty in RTL locales. r=ntim 2016-09-03 22:53:00 -04:00
Wes Kocher 0cc6ee766a Merge m-c to fx-team, a=merge 2016-09-06 17:37:18 -07:00
James Long 28ba7c64a8 Bug 1300866 - expose devtools require to new debugger r=jlast,bgrins 2016-09-06 17:17:35 -04:00
Andrzej Hunt 9e859c42fc Bug 1297117 - Add documentation to stripAboutReaderUrl r=sebastian
MozReview-Commit-ID: Ibzhnk7LLmh

--HG--
extra : histedit_source : f8460143a4c00238defb68774e96ac99150779aa
2016-09-02 12:35:47 -07:00
Andrzej Hunt 2f3ba414fe Bug 1297117 - Make getUrlFromAboutReader private to avoid erronous usage r=sebastian
getUrlFromAboutReader can return null. There have been crashes caused by not checking this
result in the past. stripAboutReaderFromUrl is a safer version which returns the input URL
if necessary, and is probably what should be used in new code, hence we can make this method
private.

MozReview-Commit-ID: Lg7QWrpSE8F

--HG--
extra : histedit_source : 0964ebab8e9d66e65fc9c3a296031f720219f529
2016-09-02 12:35:08 -07:00
Andrzej Hunt 5b8fbc92f9 Bug 1297117 - Replace unnecessary usage of getUrlFromAboutReader with stripAboutReaderUrl r=sebastian
In some of these cases we're duplicating the work of stripAboutReaderUrl. In the other cases
there is no effective difference, however switching to stripAboutReaderUrl allows us
to make getUrlFromAboutReader private, which should help prevent future errors.

MozReview-Commit-ID: BLeQkve2XIs

--HG--
extra : histedit_source : 1818137ef447b70ca49a783a85cb1a198415df77
2016-09-05 12:56:49 -07:00
Julian Descottes 9b37310565 Bug 1299580 - Remove unused string from storage.properties file;r=flod
MozReview-Commit-ID: K1xTCYUKem6

--HG--
extra : rebase_source : 33abf20c2c68d46c565bd4833dc1f4153c8136c0
2016-09-05 12:17:43 +02:00
Ted Mielczarek d98ac10c0c bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW

--HG--
rename : toolkit/crashreporter/test/unit/test_crash_moz_crash.js => toolkit/crashreporter/test/unit/test_crash_rust_panic.js
extra : rebase_source : 7cfc08e62de49de869b97ae96630db573f882f18
2016-09-02 13:22:21 -04:00
Ted Mielczarek b482f0e214 bug 1300152 - add rust to mozinfo.json. r=mshal
This patch also reworks how we set all the boolean flags in mozinfo.py.

MozReview-Commit-ID: IhjXCFsx5J1

--HG--
extra : rebase_source : d984d9ecaed765126600c8d85847a82585ab3e67
2016-09-02 11:57:11 -04:00
Michael Layzell 60651a924f Bug 1301127 - Make nsNavHistoryFolderResultNode QueryInterface to mozIStorageStatementCallback, r=smaug
MozReview-Commit-ID: 5CPNIz3w4Iy
2016-09-07 14:46:27 -04:00
Lee Salzman 5abbe17848 Bug 1301136 - make Skia VerifyRGBXFormat assertions give more useful information. r=mchang
MozReview-Commit-ID: 2En9Unt2LMM
2016-09-07 14:42:15 -04:00
Boris Zbarsky e664d8bcd3 Bug 1299373. Scripts with an empty src attribute should not execute. r=bkelly 2016-09-07 14:21:36 -04:00
Boris Zbarsky 4e2656ef99 Bug 1300834. GC slice logging should say what process the slice is for. r=smaug 2016-09-07 14:21:36 -04:00
Andrew McCreight 36c2e02c42 Back out de84b1059f7f (bug 1299871) because it doesn't help the issue it was supposed to. 2016-09-07 11:09:15 -07:00
Ehsan Akhgari f49dc48eda Bug 1300884 follow-up: Remove files from package manifests too, landed on a CLOSED TREE 2016-09-07 13:58:46 -04:00