Wes Kocher
2ffe3f0783
Backed out 7 changesets (bug 1364364) for failures in test_multi_sharedWorker_lifetimes.html a=backout
...
Backed out changeset 6298563c1a81 (bug 1364364)
Backed out changeset 285633e277cb (bug 1364364)
Backed out changeset 6abd3298188a (bug 1364364)
Backed out changeset 6a0ec9eff8c3 (bug 1364364)
Backed out changeset f23aa9861e9b (bug 1364364)
Backed out changeset 5d6bf02b495a (bug 1364364)
Backed out changeset c9420f4e27f7 (bug 1364364)
MozReview-Commit-ID: IAFeH325T14
--HG--
rename : dom/indexedDB/test/bfcache_page1.html => dom/indexedDB/test/bfcache_iframe1.html
rename : dom/indexedDB/test/bfcache_page2.html => dom/indexedDB/test/bfcache_iframe2.html
rename : dom/media/webspeech/synth/test/file_bfcache_page1.html => dom/media/webspeech/synth/test/file_bfcache_frame.html
rename : dom/media/webspeech/synth/test/file_bfcache_page2.html => dom/media/webspeech/synth/test/file_bfcache_frame2.html
rename : dom/workers/test/WorkerDebugger_frozen_window1.html => dom/workers/test/WorkerDebugger_frozen_iframe1.html
rename : dom/workers/test/WorkerDebugger_frozen_window2.html => dom/workers/test/WorkerDebugger_frozen_iframe2.html
rename : dom/workers/test/suspend_window.html => dom/workers/test/suspend_iframe.html
2017-09-06 13:07:13 -07:00
Samael Wang
72673db64d
Bug 1364364 - Part 5.2: Remove browser.sessionhistory.cache_subframes and fix test cases relying on it. r=smaug
...
browser.sessionhistory.cache_subframes has been disabled for 12yrs. It's not
actually maintained and it leaks content viewers. Using this unreliable feature
in test cases is a bad practice, so remove the pref completely and fix existing
test cases.
MozReview-Commit-ID: 3tQLpsqmmaq
--HG--
extra : rebase_source : 567e01703983ef91a66fb35fdb7702d06ed3c6e4
2017-09-05 16:02:04 +08:00
Samael Wang
40f3b05fec
Bug 1364364 - Part 4: Add test case. r=smaug
...
MozReview-Commit-ID: BozQDPdx0MI
--HG--
extra : rebase_source : 861931ed42bd00cb698e051818d98808d828d65e
2017-08-30 17:00:12 +08:00
Wes Kocher
bf3d38a14c
Bug 1396926 - Update BUG_COMPONENT for the new component r=KWierso
...
MozReview-Commit-ID: 85zVvwDVQvu
--HG--
extra : rebase_source : 777df029c0b5167292cb7b3b1ab087b702a4154d
extra : source : 5c3e698a52dda9a2508ccda8963809d47d882c0a
2017-09-06 00:10:01 -07:00
Samael Wang
437fb82030
Bug 1375833 - Part 4.1: Revert test_bug123696.html & update file_bug1326251.html. r=smaug
...
Revert test_bug123696.html to what it was before bug 1326251 laned. Update
file_bug1326251.html to reflect the change that static frame entries won't be
cleared on reloading.
MozReview-Commit-ID: F93ZBNv1Gj
--HG--
extra : rebase_source : e6573c38d03656a41b5e016bc402ef0c579a1797
2017-08-21 18:28:53 +08:00
Samael Wang
4c4325a56c
Bug 1375833 - Part 3: Add test case. r=smaug
...
MozReview-Commit-ID: L86sMEzfU4h
--HG--
extra : rebase_source : da7c3919a2ce66fc2fa9e8cf09f826a2e463d1b3
2017-08-11 18:30:49 +08:00
Mike Conley
a48193a566
Bug 1385453 - Disable tab warming in browser_bug343515.js test. r=billm
...
MozReview-Commit-ID: 9DOv9drNi9n
--HG--
extra : rebase_source : f7927107e5374404f2043550e0cd1c9ee46f5991
2017-08-23 16:43:55 -04:00
Joel Maher
b97e05e9b4
Bug 1386393 - remove old docshell/test/unit/test_bug414201_jfif.js. rs=paolo
...
MozReview-Commit-ID: A5Ip1e8Fw2r
2017-08-22 15:45:39 -04:00
Masatoshi Kimura
9ab81a1042
Bug 1389723 - Remove @deprecated nsIMIMEInputStream.addContentLength. r=dragana
...
MozReview-Commit-ID: 9b45aozatin
--HG--
extra : rebase_source : 636da171929fe6ecd69de5c68d9ed4064a3a7b09
2017-08-12 13:34:02 +09:00
Carsten "Tomcat" Book
bcbc42d4e3
Merge mozilla-central to mozilla-inbound
2017-08-15 13:09:01 +02:00
Yoshi Huang
60b7d9f697
Bug 1390398: fix failures on windows for new data: URI inheritance model. r=smaug
2017-08-15 18:09:28 +08:00
Henry Chang
9e499caed6
Bug 1386391 - Poll to check if a document has loaded rather than a definite timeout. r=smaug
...
MozReview-Commit-ID: B293QZe3LIz
--HG--
extra : rebase_source : ae336c328b48799a3a952f8d14cb8532fc179a58
extra : source : ee4a89243a26456b495737d889402619d3e186cc
2017-08-14 10:34:04 +08:00
Valentin Gosu
3b95ce67d2
Bug 1380617 - Fix tests that use nsIURI.host expecting unicode domain name r=smaug,honzab
...
MozReview-Commit-ID: GKnbpc8GMb2
2017-08-09 17:44:06 +02:00
Christoph Kerschbaumer
2e072b2667
Bug 1387812 - Convert docshell/test/test_bug694612.html to comply with new data: URI inheritance model. r=smaug
2017-08-06 12:13:08 +02:00
Masatoshi Kimura
8b713b2b0f
Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
...
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.
MozReview-Commit-ID: 4ecl3RZhOwC
--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Yoshi Huang
bf7f152bbe
Bug 1384825 : update browser_loadDisallowInherit.js for new data: URI origin model. r=smaug
...
Configured browser_loadDisallowInherit.js to run with legacy data: URI
behavior, also write a new browser_dataURI_unique_opaque_origin.js for
the new behavior.
2017-08-03 09:35:45 +08:00
Christoph Kerschbaumer
c9a21fe70b
Bug 1385981 - Convert docshell/test/navigation/test_sessionhistory.html to comply with new data: URI inheritance model. r=smaug
2017-08-01 10:59:05 +02:00
Christoph Kerschbaumer
913d05755a
Bug 1385824 - Convert docshell/test/test_bug675587.html to comply with new data: URI inheritance model. r=smaug
2017-08-01 10:59:42 +02:00
Yoshi Huang
a4f1345f5b
Bug 1383011 : rewrite test_principalInherit.xul. r=smaug
...
Use legacy data: URI behavior to make this test simpler.
If we were to use a new document for the iframe, we need to figure out
how to do postMessage from content side to a XUL window
2017-07-24 10:01:51 +08:00
Boris Zbarsky
8fd50f23d4
Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete. r=smaug
...
Unfortunately, GetRestoringDocument can be false by the time we reach
LoadComplete, if part of the restoration process managed to set up and then
remove onload blockers. If that happens, we still don't want to fire a load
event for a document that has already has one fired.
Note that we could also use a boolean on the document to record whether we've
fired a load event, as long as we were careful to unset it when the readyState
transitions backwards from COMPLETE (e.g. document.open). It's not clear which
approach is more robust.
2017-07-17 23:21:41 -04:00
Boris Zbarsky
24a1bc48da
Bug 1379762 part 1. Don't call MediaFeaturesChanged if our override device pixel ratio is set to its current value. r=dbaron
2017-07-17 23:21:41 -04:00
Junior Hsu
ab6f1793a2
Bug 1373198 - Part 8: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=smaug
2017-07-11 20:11:00 +02:00
Junior Hsu
daf1b50996
Bug 1373198 - Part 3-1: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=bz
2017-07-11 02:04:00 +02:00
Yoshi Huang
71b8c7686e
Bug 1377492 - fix mochitest-1 failure in docshell when data: URI is a unique origin. r=smaug
...
When we turn on the pref security.data_uri.unique_opaque_origin to make
data URI is unique origin, the following tests will fail because now
data document is treated as cross origin, so we replace data URIs with
seperate files, hence it will still in the same origin.
2017-07-12 10:35:54 +08:00
Yoshi Huang
c6b138004a
Bug 1376592 - rewrite test_triggeringprincipal_window_open.html. r=ckerschb
...
See the test in
http://searchfox.org/mozilla-central/rev/fdb811340ac4e6b93703d72ee99217f3b1d250ac/docshell/test/navigation/test_triggeringprincipal_window_open.html#59
If we turn on the pref, dataWin.onload won't be called as now dataWin is
cross origin, so we change it to use postMessage instead.
2017-06-30 11:06:17 -07:00
Florian Quèze
2924991bf6
Bug 1368456 - remove Promise.jsm imports in tests, r=mconley.
2017-06-23 11:25:52 +02:00
Florian Quèze
66f6d259bc
Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop.
2017-06-22 12:51:42 +02:00
Geoff Brown
c353084858
Bug 1333702 - Allow assertion in test_bug385434.html; r=jmaher
...
Intermittent assertions observed for several months.
2017-06-02 08:46:06 -06:00
Ben Kelly
e89c30f6c4
Bug 1363829 P9 Make docshell chrome tests wait for next paint to avoid races. r=smaug
2017-05-31 17:13:19 -07:00
Geoff Brown
061c806f3d
Bug 1300351 - Fix non-standard manifest annotation; r=me,test-only
...
Just introduced this - did not put spaces in the right place.
2017-05-15 16:17:02 -06:00
Geoff Brown
0f0c36efe3
Bug 1300351 - Disable browser_onbeforeunload_navigation.js on non-debug windows; r=jmaher
2017-05-15 16:02:02 -06:00
Christoph Kerschbaumer
e4f38c8d7c
Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian
2017-05-15 21:49:50 +02:00
Christoph Kerschbaumer
8972930163
Bug 1363687 - Have gBrowser.loadOneTab() provide a valid triggeringPrincipal. r=gijs
2017-05-11 08:43:54 +02:00
Wes Kocher
1b5ad2c128
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Gijs Kruitbosch
faf81a4714
Bug 1087380 - avoid alternate (www....com) URI fixup for localhost and items with ports, r=bz
...
MozReview-Commit-ID: HB9SxRSWnz
--HG--
extra : rebase_source : 99a9708588b277e31c8082b9579371609fc658d1
2017-05-06 19:59:24 +01:00
Christoph Kerschbaumer
ebc12ce415
Bug 1359204 - Test view-source can open link is not blocked by security policies. r=gijs
2017-05-10 18:43:22 +02:00
Samael Wang
d158894b17
Bug 1347823 - Part 3: Add a test case. r=smaug
...
MozReview-Commit-ID: 9zwD0m1tknN
--HG--
extra : rebase_source : e98798b8d224596468c096ef8b69c7c67e6241ac
2017-04-28 17:01:48 +08:00
Mike Conley
a6486de489
Bug 1336763 - Wait for the browser to say it can go back before going back in browser_grouped_shistory_dead_navigate.js test. r=mystor
...
This test was accidentally taking advantage of the fact that closing a tab will result
in a nested event loop while waiting for the permitUnload messages to be sent back and
forth from the content process. This meant that the message that tells the parent that
the browser (which is having its history set) can now go back had a chance to be received
by the parent.
With the patches in bug 1336763, we're no longer spinning the event loop if the closing
tab doesn't have a beforeunload event handler in it, so we need to wait for the browser
to report that it can go back before actually sending it back in order to avoid a
test failure.
MozReview-Commit-ID: Lpl55iErrvf
--HG--
extra : rebase_source : 87b2d6a0fb448f729b82860de9d17c0db26097e7
2017-04-27 15:07:55 -04:00
Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Dan Banner
cdf987089d
Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
...
MozReview-Commit-ID: K5TLF92pHq4
--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Joel Maher
42a14db555
Bug 1350496 - add BUG_COMPONENT to docshell/* files. r=overholt
...
MozReview-Commit-ID: LpBfQrwEUS7
2017-04-09 05:43:52 -04:00
Christoph Kerschbaumer
78d8448ba5
Bug 1352778 - Do not reset triggeringPrincipal but only principalToInherit within loadInfo when forced to. r=gijs
2017-04-03 20:06:53 +02:00
Maxim Breev
f982515e79
Add a new flag to nsIWebProgressListener for redirects (bug 1342989). r=smaug
...
MozReview-Commit-ID: 5q29n6d3Iz8
2017-04-01 20:07:47 +03:00
Valentin Gosu
e0f474ede9
Bug 1326175 - Stop preserving empty passwords in URLs r=mcmanus
...
MozReview-Commit-ID: 7wdZSJmpErF
--HG--
extra : rebase_source : 100061a5c1921f1a10cf339207548aceb3afbe49
2017-03-27 23:56:28 +02:00
Carsten "Tomcat" Book
3e0a5441c6
Merge mozilla-central to mozilla-inbound
2017-03-17 14:55:15 +01:00
Kris Maglione
9e1cbea297
Bug 1333990: Part 2b - Don't enable editor until layout has started. r=ehsan
...
In order to support asynchronous loading of extension content scripts, we need
to be able to exit the HTML parser flush loop immediately after inserting the
document element. Normally this doesn't cause problems, but when we enter edit
mode with an empty element selected, the editor inserts a <br> node, and a
<br> node at the start of the <html> element causes issues.
These changes solve that issue by putting off entering editor mode until we
begin laying out the document.
MozReview-Commit-ID: H2ksNz0jRxs
--HG--
extra : rebase_source : 26e0d254744363f5bd60f3b4f4df7b51c3dc446f
2017-03-14 21:22:06 -07:00
Blake Kaplan
3a0ce09963
Bug 1346286 - Remove CPOWs from browser_bug554155.js. r=Gijs
...
MozReview-Commit-ID: IrvBw8LNt3B
--HG--
extra : rebase_source : ad7d508c1bbb071a6a937fbe633ce71b22cdd7c9
2017-03-09 15:52:25 -08:00
Brad Werth
983df24b1c
Bug 1151421 Part 3: Update tests of pageYOffset/scrollY to round off when checking expected results. r=smaug
...
MozReview-Commit-ID: JDS5l06FAaf
--HG--
extra : rebase_source : c7fa999490b04e591f12b3fe123d6409811f9bfe
2017-03-16 12:05:56 -07:00