c9fb476f66a2cac062d990a5017d4db0513946a3: Bug 1368897 - rewrite dom/base/test/test_x-frame-options.html. r=smaug
Yoshi Huang <allstars.chh@mozilla.com> - Wed, 14 Jun 2017 15:41:48 +0800 - rev 413023
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1368897 - rewrite dom/base/test/test_x-frame-options.html. r=smaug We test the expected behavior base on the pref, "security.data_uri.unique_opaque_origin". We run the legacy test when the pref is off, however if the pref is on, we run the new behavior, loading an iframe with X-FRAME-OPTIONS in a data: URI should be blocked.
95158357094fdea88cd6e319ddbfe2441e45b4e3: Bug 1368896 - rewrite dom/base/test/test_viewport_scroll.html. r=smaug
Yoshi Huang <allstars.chh@mozilla.com> - Wed, 14 Jun 2017 17:17:28 +0800 - rev 413022
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1368896 - rewrite dom/base/test/test_viewport_scroll.html. r=smaug
da4a476b331bf905f01254ffa0717f915b14816e: Bug 1368893 - rewrite dom/html/test/test_iframe_sandbox_inheritance.html. r=smaug
Yoshi Huang <allstars.chh@mozilla.com> - Fri, 09 Jun 2017 17:42:37 +0800 - rev 413021
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1368893 - rewrite dom/html/test/test_iframe_sandbox_inheritance.html. r=smaug Move the data URI in 'if_no_scripts' and 'if_scripts' to seperate files. Also remove the test 'if_19', as it seems redundant, it tests the same thing with the iframe 'if_scripts', and it also lacks of 'allow-scripts' in its sandbox flag.
a1ac004e0ea91819dd9ef135d13a5de1fb796b82: Bug 1267075 - Part 6: test state pseudo class for image blocking. r=bz
Yoshi Huang <allstars.chh@mozilla.com> - Tue, 06 Jun 2017 16:31:27 +0800 - rev 413020
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1267075 - Part 6: test state pseudo class for image blocking. r=bz Verify when image is blocked, the style of the following state pseudo class will apply: :-moz-suppressed :-moz-broken :-moz-user-disabled
808507feb0985901db9c2b9cbb24efc48be36e68: Bug 1267075 - Part 5: test for blocking image. r=bz
Yoshi Huang <allstars.chh@mozilla.com> - Fri, 31 Mar 2017 18:37:15 +0800 - rev 413019
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1267075 - Part 5: test for blocking image. r=bz A mochitest browser test for image blocking. We query the blocking status by reading imageBlockingStatus. See nsImageLoadingContent.cpp for the logic of blocking image. In this test we verified the following behavior: 1. image is loaded. 2. image is blocked. 3. mCurrentRequest doesn't have size yet, so it should be replaced. 4. mCurrentRequest already got size, the following request should be a pendingRequest.
721409fb579b148bcf1de6b653d7bae11d42d0f2: Bug 1267075 - Part 4: add a boolean to prevent calling asynchronously. r=bz
Yoshi Huang <allstars.chh@mozilla.com> - Thu, 16 Mar 2017 16:09:50 +0800 - rev 413018
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1267075 - Part 4: add a boolean to prevent calling asynchronously. r=bz Use a boolean to prevent calling SetBlockedRequest asynchronously. Also use the same boolean to prevent some evil code reenters LoadImage. Then we should redesign the correct bahavior in those follow-up bugs, Bug 1353685 - Should ServiceWorker call SetBlockedRequest Bug 1353683 - consider calling SetBlockedRequest in nsCORSListenerProxy::UpdateChannel Bug 1371237 - consider calling SetBlockedRequest in nsContentSecurityManager::CheckChannel
5160225f68b8a69283793f7644762e253bad01da: Bug 1267075 - Part 3: cancel imgRequestProxy if asyncOpen2 failed. r=tnikkel
Yoshi Huang <allstars.chh@mozilla.com> - Fri, 20 Jan 2017 11:32:08 +0800 - rev 413017
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1267075 - Part 3: cancel imgRequestProxy if asyncOpen2 failed. r=tnikkel The problem is if we found a cache hit, then we could go through ValidateRequestWithNewChannel to validate the cache. Then if the CSP check fail(asyncOpen2() will fail), then the imgRequestProxy will remain there, and cause the timeout. I run into problem when running mochitest browser/base/content/test/general/browser_aboutHome.js in non-e10s mode. In the beginning, browser.xul will load defaultFavicon.png, will create an image cache there. Next time when the test starts to run, when it loads about:home, then it will try to load defaultFavicon.png, it will found an image cache hit (loaded previously by browser.xul), and call ValidateRequestWithNewChannel there, however the asyncOpen2 call failed, and the imgRequestProxy is added to the loadGroup of about:home, and never be notified until timeout.
cc82ff5ef4fc7232a2b6f293f0fcef189800c3c4: Bug 1267075 - Part 2: bail out early if it's for data document. r=bz
Yoshi Huang <allstars.chh@mozilla.com> - Thu, 19 Jan 2017 11:48:00 +0800 - rev 413016
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1267075 - Part 2: bail out early if it's for data document. r=bz Check the document earlier before calling into imageLoader, this could save us tons of time if in the end the document isn't allowed to load images.
8feacdbd43fa5756246fa62f9b27c36727a53ce6: Bug 1267075 - Part 1: call SetBlockedRequest when CSP check failed. r=bz
Yoshi Huang <allstars.chh@mozilla.com> - Fri, 03 Feb 2017 11:49:07 +0800 - rev 413015
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1267075 - Part 1: call SetBlockedRequest when CSP check failed. r=bz As a follow-up from bug 1206961, we will remove calling CanLoadImage in this bug. Also in the case of CSP check failed, we will call SetBlockedRequest in those cases. See https://bugzilla.mozilla.org/show_bug.cgi?id=1267075#c30 for the analysis between the old and new setup.
ac1520300fc70eddfd93c89cee6ee9a4a95a0142: Bug 1356474 - Add units tests for the Grid Outline component. r=gl
Micah Tigley <tigleym@gmail.com> - Thu, 08 Jun 2017 19:12:25 -0600 - rev 413014
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1356474 - Add units tests for the Grid Outline component. r=gl MozReview-Commit-ID: 85ZjxjkpIgU
272e241194a6d722cfa61aa35ece43a45355b442: Bug 1373478 - Remove the remainder of gonk widget code. r=me
Mike Hommey <mh+mozilla@glandium.org> - Fri, 16 Jun 2017 10:39:14 +0900 - rev 413013
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1373478 - Remove the remainder of gonk widget code. r=me
4113e070fcbfe80ebca9c52d67838b92300707ab: Bug 1371787 P8 Change Timeout::mInterval member to a TimeDuration. r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:48 -0700 - rev 413012
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P8 Change Timeout::mInterval member to a TimeDuration. r=ehsan
91baba2cd85f69d107c43b73e87c0b6781238835: Bug 1371787 P7 Make CalculateDelay() return a TimeDuration. r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:48 -0700 - rev 413011
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P7 Make CalculateDelay() return a TimeDuration. r=ehsan
a727ed8466501803afc4f70065e2a40599408a6c: Bug 1371787 P6 Move the std::max() calculation into DOMMinTimeoutValue() and rename the method to CalculateDelay(). r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:47 -0700 - rev 413010
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P6 Move the std::max() calculation into DOMMinTimeoutValue() and rename the method to CalculateDelay(). r=ehsan
0775422cb097f49287970c6530a96221027c4f0c: Bug 1371787 P5 Move the Timeout conditional checking into DOMMinTimeoutValue(). r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:47 -0700 - rev 413009
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P5 Move the Timeout conditional checking into DOMMinTimeoutValue(). r=ehsan
66c516526c98aebb7850110615869d72abee78b8: Bug 1371787 P4 Pass Timeout to DOMMinTimeoutValue(). r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:47 -0700 - rev 413008
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P4 Pass Timeout to DOMMinTimeoutValue(). r=ehsan
a367269bcc9e65adb6fb8a0249dc3ab118411773: Bug 1371787 P3 Move some Timeout initialization earlier. r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:47 -0700 - rev 413007
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P3 Move some Timeout initialization earlier. r=ehsan
9e6ae8bd143a1ba14fa069f9766738b400772bef: Bug 1371787 P2 Don't adjust Timeout::When() values in TimeoutManager::Resume(). r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:47 -0700 - rev 413006
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P2 Don't adjust Timeout::When() values in TimeoutManager::Resume(). r=ehsan
d4caf4187300d145e8978a486ea2f84ca4855b99: Bug 1371787 P1 Rename TimeoutManager "min timeout" values to "min clamp timeout" for clarity. r=ehsan
Ben Kelly <ben@wanderview.com> - Thu, 15 Jun 2017 17:30:47 -0700 - rev 413005
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1371787 P1 Rename TimeoutManager "min timeout" values to "min clamp timeout" for clarity. r=ehsan
808952b1173fd48be1902d065422e818bcac26a5: Bug 1373467 - Update pdf.js to version 1.8.450. r=bdahl
Ryan VanderMeulen <ryanvm@gmail.com> - Thu, 15 Jun 2017 20:27:11 -0400 - rev 413004
Push 7566 by mtabara@mozilla.com at Wed, 02 Aug 2017 08:25:16 +0000
Bug 1373467 - Update pdf.js to version 1.8.450. r=bdahl
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip