As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 693425 - test file layout/forms/test/bug536567_subframe.html isn't used
: test file layout/forms/test/bug536567_subframe.html isn't used
Product: Core
Classification: Components
Component: Layout: Form Controls (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla10
Assigned To: Joel Maher ( :jmaher)
: Jet Villegas (:jet)
Depends on:
  Show dependency treegraph
Reported: 2011-10-10 13:48 PDT by Joel Maher ( :jmaher)
Modified: 2011-10-15 05:41 PDT (History)
8 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

move 536567_subframe file to the chrome folder (1.0) (2.04 KB, patch)
2011-10-11 11:33 PDT, Joel Maher ( :jmaher)
ehsan: review+
Details | Diff | Splinter Review

Description User image Joel Maher ( :jmaher) 2011-10-10 13:48:30 PDT
I found this file sitting around with no test to drive it.  Either we accidentally removed the test file or we forgot to remove this subframe file.
Comment 1 User image David Baron :dbaron: ⌚️UTC-8 2011-10-10 13:51:29 PDT
It's used by test_bug536567.html in the same directory.
Comment 2 User image David Baron :dbaron: ⌚️UTC-8 2011-10-10 13:53:14 PDT
Actually, did
break the test by not also moving the subframe document into the chrome list?
Comment 3 User image David Baron :dbaron: ⌚️UTC-8 2011-10-10 13:54:19 PDT
ah, bug 614151 comment 15 says that's intentional, I think.
Comment 4 User image Joel Maher ( :jmaher) 2011-10-10 18:24:45 PDT
can we put a comment in that test file?  It is really confusing as it is sitting in the mochitest plain files.  I don't have access to bug 614151, but by looking at the changeset that moved the test file I don't see a comment indicating why we left the subframe in mochitest-plain.

We  can move the _subframe file into the chrome directory and access it via:
Comment 5 User image Boris Zbarsky [:bz] (still a bit busy) 2011-10-10 18:48:59 PDT
Bug 614151 comment 15 says:

  The subframe file should be accessible through http, and therefore should not be
  packaged in the chrome package. 

If that's not the case, great.
Comment 6 User image :Ehsan Akhgari 2011-10-11 09:00:12 PDT
Yeah, I think the purpose of that test is to be able to access that page across multiple domains (see and  But I think comment 4 is right on, we should do that.

Joel, can you please take care of this?  :-)
Comment 7 User image Joel Maher ( :jmaher) 2011-10-11 11:33:59 PDT
Created attachment 566281 [details] [diff] [review]
move 536567_subframe file to the chrome folder (1.0)

tested locally and looking good on try server so far!
Comment 9 User image Ed Morley [:emorley] 2011-10-15 05:41:26 PDT

Note You need to log in before you can comment on or make changes to this bug.