Commit graph

61 commits

Author SHA1 Message Date
Tim Huang
3bb0f70155 Bug 1278037 - Part 6: Add a test case for testing forgetting APIs, including nsICookieManager2.getCookiesWithOriginAttributes(), mozIGeckoMediaPluginChromeService.forgetThisSite() and nsIQuotaManagerService.clearStoragesForPrincipal(). r=baku
--HG--
extra : rebase_source : 86dbacc81b12a7d76b154c475ca52b9c302d281a
extra : histedit_source : fb21ce432f76e863c47982d3bdb34c376d14e53f
2016-08-24 15:00:17 +08:00
Dão Gottwald
e5b0ac3e96 Backed out changeset 08e4eadbb77d for causing bug 1299667 2016-09-02 13:06:24 +02:00
Kevin Chan
7a063f54cf Bug 1254867 - Remove some CPOWs from browser_windowName.js to avoid a dead CPOW intermittent. r=mconley
DONTBUILD

--HG--
extra : source : cea23a652dcf7b9ee67ac34b91d04972dde9baf9
2016-08-31 12:23:00 -04:00
Ryan VanderMeulen
0f50075670 Backed out changeset cea23a652dcf for landing with the wrong bug number in the commit message. 2016-09-01 13:14:39 -04:00
Kevin Chan
3e2e4745d5 Bug 1134307 - Remove some CPOWs from browser_windowName.js to avoid a dead CPOW intermittent. r=mconley
--HG--
extra : rebase_source : 5e14de829b32737d2303395fb1f61d8a43cd9d5d
2016-08-31 12:23:00 -04:00
Jonathan Kingston
b55bb2b76f Bug 1272256 - Adding in longpress new tab button container menu r=Gijs
MozReview-Commit-ID: 5KECDW34G8M

--HG--
extra : rebase_source : 95cd57a27dc0ac76e1a0ac15afa59ba04a2e3c8a
2016-07-14 11:44:39 +01:00
James Andreou
4c787b8989 Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer 2016-08-26 13:06:48 -04:00
Aryeh Gregor
f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Andrea Marchesini
864b069141 Bug 1288029 - Close container tabs when Containers are disabled from about:preferences, r=gijs 2016-08-23 11:19:00 +02:00
Jonathan Hao
800d25f9d5 Bug 1270680 - Part 3: Turn on todos in browser_forgetaboutsite.js. r=timhuang 2016-08-08 00:59:00 +02:00
Jonathan Hao
fbfaba735f Bug 1270680 - Part 2: Tests that make sure image cache respect originAttributes. r=jdm,seth
MozReview-Commit-ID: LbGy6MfZGEL
2016-08-05 00:10:00 +02:00
Jared Wein
fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Thomas Wisniewski
6a1fb99d2b Bug 709991 - Fire onerror instead of throwing on network errors for async XHRs. r=bz 2016-07-30 00:24:56 -04:00
Carsten "Tomcat" Book
0026e79c41 Merge mozilla-central to mozilla-inbound 2016-07-28 17:44:09 +02:00
Jonathan Hao
91f614aa94 Bug 1274265 - Move the final check of browser_broadcastchannel.js into content. r=baku 2016-07-26 20:35:00 -04:00
Rob Wood
b213a48cb9 Bug 1271182 - Temporarily disable browser_aboutURLS on win due to intermittent leak; r=jmaher
MozReview-Commit-ID: AxdmC66PUky

--HG--
extra : rebase_source : a4ff673baef0edc7f48dcb4a17cad47e6f04e4b2
2016-07-26 11:52:17 -04:00
Tim Huang
e18b1be852 Bug 1283325 - Part 2 : Add a test case to test the EME is originAttributes aware or not. r=cpearce 2016-07-25 08:55:00 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Tim Huang
790db280b4 Bug 1285492 - Stop using the CPOW when testing storages for the ForgetAboutSite test of containers. r=jimm 2016-07-18 19:54:00 -04:00
Pushpankar
c6670d980f Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
--HG--
extra : rebase_source : 72d50e73baf595840a2aade57ae782e4c40d4c27
2016-07-16 10:20:04 +02:00
Tim Huang
fd497dc733 Bug 1285889 - Moving the ContextualIdentityService.jsm from from browser/components/contextualidentity into tookit/components/contextualidentity. r=baku
--HG--
rename : browser/components/contextualidentity/ContextualIdentityService.jsm => toolkit/components/contextualidentity/ContextualIdentityService.jsm
2016-07-11 20:03:00 +02:00
Jonathan Hao
883083a3c9 Bug 1279568 - Capture thumbnails in an internal-only container. r=baku,markh 2016-07-09 21:41:32 +08:00
Tim Huang
fe82695f5e Bug 1238183 - Part 2 - Add a test case for testing the ForgetAboutSite with userContextId. r=jimm 2016-07-07 23:15:00 +02:00
Andrea Marchesini
60bdb1a86a Bug 1276006 - Add telemetry to count how many users use container tabs - part 2, r=me 2016-07-07 11:14:41 +02:00
Andrea Marchesini
6761995b11 Bug 1276006 - Add telemetry to count how many users use container tabs, r=mconley, data-review=bsmedberg 2016-07-07 09:55:53 +02:00
Phil Ringnalda
38f200f8da Back out 2 changesets (bug 1238183) for leaks from browser_forgetaboutsite.js
Backed out changeset 1207df32d737 (bug 1238183)
Backed out changeset 663a083774f4 (bug 1238183)
2016-07-04 10:11:21 -07:00
Tim Huang
472523ec05 Bug 1238183 - Part 2 - Add a test case for testing the ForgetAboutSite with userContextId. r=jimm
--HG--
extra : rebase_source : 5737f19a84813000297fc4c9bbd4bbc760f8a739
2016-07-04 00:36:00 +02:00
Andrea Marchesini
7c172bb734 Bug 1274265 - browser_broadcastchannel.js should not expose content promises to the rest of the test, r=jhao 2016-06-15 11:51:44 +01:00
Carsten "Tomcat" Book
eeea2c125f Backed out changeset ebeedb6959e8 (bug 1274265) for browser_broadcastchannel.js failures 2016-06-15 10:52:21 +01:00
Andrea Marchesini
f1ac321990 Bug 1274265 - browser_broadcastchannel.js should not expose content promises to the rest of the test, r=jhao 2016-06-15 10:11:46 +01:00
Jonathan Hao
b5797b008c Bug 1280006 - Backout "Bug 1270680 - Part 2: Tests that make sure image cache respect originAttributes." r=tanvi
This reverts commit c3ca86b9a6a787a8d81331453f5ff064de096038.
2016-06-14 12:43:17 +01:00
Andrea Marchesini
cede39dd18 Bug 1277765 - No referrer when a link is opened by middle-click or the context menu and containers are involved, r=mconley 2016-06-09 17:02:50 +02:00
Tim Huang
a4c22dfaca Bug 1270678 - Part 2: Add a test case to verify that the loading of favicon obey originAttributes. r=ckerschb 2016-06-07 16:38:00 +02:00
Jonathan Hao
df97b7592f Bug 1270680 - Part 2: Tests that make sure image cache respect originAttributes. r=jdm,seth
MozReview-Commit-ID: LbGy6MfZGEL
2016-06-06 03:39:00 +02:00
Andrea Marchesini
5d3755f656 Bug 1273628 - Containers tabs use inline CSS styling because of performances issues with CSS vars, r=mconley 2016-06-06 09:13:37 +02:00
Mike Conley
0c3578df60 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 87439bacd9643ab63d015f58f44af2f8a74675a0
extra : source : 9d903a6a12aa7182252ec3e220c89b569c14e11b
2016-04-29 14:29:03 -04:00
Carsten "Tomcat" Book
a91653581d Backed out changeset 9d903a6a12aa (bug 1276738) for test failures in test_blank_named_window.html on a CLOSED TREE
--HG--
extra : rebase_source : cd1218144d092a62764b014cffb6b0a92b5f9141
2016-06-02 08:13:16 +02:00
Mike Conley
0d5fa55d26 Bug 1276738 - Tag a bunch of tests that exercise opening windows with openwindow. r=me
There are a series of tests strewn about the tree that seem to exercise window
opening in one form or another, so I thought I'd put them under a tag.

MozReview-Commit-ID: 74JwLUTzaMU

--HG--
extra : rebase_source : 0c92084914ffe44a781f034b2416e17905656607
2016-04-29 14:29:03 -04:00
Yoshi Huang
1a5335d83c Bug 1270998 - increase timeout for about: URLs. r=baku 2016-05-23 11:30:56 +08:00
Andrea Marchesini
b73698fa89 Bug 1274211 - Typo in ContextualIdentityService, r=me 2016-05-19 11:20:44 +02:00
Andrea Marchesini
e42cf01dd7 Bug 1267923 - Move the CSS rules to ContextualIdentityService, r=mconley
--HG--
rename : browser/modules/UserContextUI.jsm => browser/components/contextualidentity/ContextualIdentityService.jsm
rename : browser/themes/shared/usercontext/usercontext.inc.css => browser/components/contextualidentity/content/usercontext.css
2016-05-17 15:03:43 +02:00
Andrea Marchesini
487efd0283 Bug 1270679 - Ensure blob URLs are only accessible within the same usercontextId, r=bz 2016-05-11 19:53:13 +02:00
Jonathan Hao
be53769e71 Bug 1270980 - Fix error: operation not possible on dead CPOW of browser_broadcastchannel.js. r=baku
MozReview-Commit-ID: ITaMjHXy84B
2016-05-09 17:48:35 +08:00
Yoshi Huang
75d52b17d4 Bug 1268276 - disable test for win and mac. r=Gijs 2016-05-09 19:04:16 +08:00
Jonathan Hao
2aa43a166a Bug 1269660 - Use SpecialPowers.pushPrefEnv correctly in contextual identity tests. r=baku
MozReview-Commit-ID: 8FFs4Y4dKhV
2016-05-06 17:51:29 +08:00
Yoshi Huang
de5b190579 Bug 1266022 - skip checking of LoadInfo for chrome resources. r=sicking
When tab with a userContextId!=0 contains a chrome page (such as
about:newtab) the userContextId in the LoadInfo won't match the
userContextId in the LoadContext. The LoadInfo will contain the
systemPrincipal and so use userContextId=0, the LoadContext has the
userContextId of the tab (!=0).

This is fine as long as we page only loads chrome-URLs and other
non-http URLs since those don't use cookies anyway.

So avoid asserting in this situation.

Long term we want the chrome page to use the default userContextId for
cookies, since that's what it chrome code normally use. This will work
properly once we get the cookie jar information from the LoadInfo rather
than from the LoadContext.
2016-05-06 11:04:50 +08:00
Jonathan Hao
36c3bf43e9 Bug 1268803 - Make sure BroadcastChannels are separated by userContextId r=baku
MozReview-Commit-ID: As8xpYSG6Vn

--HG--
extra : rebase_source : be126370de62a5a1d886a089f6ce270d2f31404a
2016-05-03 10:31:40 +08:00
Jonathan Hao
f779a5da81 Bug 1260915 - Write a test to make sure Service Worker handle userContextId correctly. r=bkelly
MozReview-Commit-ID: LoR56SiAfXk

--HG--
rename : dom/workers/test/serviceworkers/serviceworker.html => browser/components/contextualidentity/test/browser/serviceworker.html
rename : dom/workers/test/serviceworkers/worker.js => browser/components/contextualidentity/test/browser/worker.js
extra : rebase_source : dc37b1f1417ec6f2ef92342f09f7320495956d37
2016-04-27 16:37:20 +08:00
Yoshi Huang
f4f9ff9554 Bug 1237077 - Part 4: check referrer is empty. r=tanvi 2016-04-27 18:32:37 +08:00
Yoshi Huang
e037c41e1c Bug 1237077 - Part 2: drag an URL into an existing tab. r=Gijs, tanvi
Drag an URL into an existing tab should inherit the existing tab's userContextId.
See the table from
https://bugzilla.mozilla.org/show_bug.cgi?id=1237077#c11
2016-04-27 18:32:28 +08:00