Side by Side Diff: LayoutTests/http/tests/htmlimports/import-script-nosniff.html 
  
  
    
       
    Issue 19762002 : 
  [HTML Imports] Let script of imported document running.  (Closed) 
  
    Patch Set: Made a test more robust. 
    
  
  
    Use n/p to move between diff chunks;
    N/P to move between comments.
    
    Draft comments are only viewable by you. 
    
  
 
  
  
    Jump to: 
      
        LayoutTests/fast/html/imports/import-master.html 
      
        LayoutTests/fast/html/imports/import-master-expected.txt 
      
        LayoutTests/fast/html/imports/import-script.html 
      
        LayoutTests/fast/html/imports/import-script-expected.txt 
      
        LayoutTests/fast/html/imports/import-script-prototypes.html 
      
        LayoutTests/fast/html/imports/import-script-prototypes-expected.txt 
      
        LayoutTests/fast/html/imports/resources/script-leaf.html 
      
        LayoutTests/fast/html/imports/resources/script-leaf-external.js 
      
        LayoutTests/fast/html/imports/resources/script-leaf-external-async.js 
      
        LayoutTests/fast/html/imports/resources/script-leaf-external-dynamic.js 
      
        LayoutTests/fast/html/imports/resources/script-prototype-test.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-domain.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-domain-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-domain-nested.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-domain-nested-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-nonce.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-nonce-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-nonce-nested.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-nonce-nested-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-self.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-self-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-self-nested-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-and-eval.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-and-eval-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-and-eval-nested.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-and-eval-nested-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-expected.txt 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-nested.html 
      
        LayoutTests/http/tests/htmlimports/csp-import-block-but-unsafe-inline-nested-expected.txt 
      
        LayoutTests/http/tests/htmlimports/import-script-block-crossorigin-dynamic.html 
      
        LayoutTests/http/tests/htmlimports/import-script-block-crossorigin-dynamic-expected.txt 
      
        LayoutTests/http/tests/htmlimports/import-script-nosniff.html 
      
        LayoutTests/http/tests/htmlimports/import-script-nosniff-expected.txt 
      
        LayoutTests/http/tests/htmlimports/resources/child-having-domain-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/child-having-nonce-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/child-having-self-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/child-having-unsafe-eval-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/child-having-unsafe-inline-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/cors-having-crossorigin-scripts.cgi 
      
        LayoutTests/http/tests/htmlimports/resources/cors-js.cgi 
      
        LayoutTests/http/tests/htmlimports/resources/cors-js-for-localhost.cgi 
      
        LayoutTests/http/tests/htmlimports/resources/external-script.js 
      
        LayoutTests/http/tests/htmlimports/resources/external-script-with-nonce.js 
      
        LayoutTests/http/tests/htmlimports/resources/having-domain-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/having-nonce-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/having-self-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/having-sniffing-script.html 
      
        LayoutTests/http/tests/htmlimports/resources/having-unsafe-eval-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/having-unsafe-inline-policy.html 
      
        LayoutTests/http/tests/htmlimports/resources/run-check.js 
      
        LayoutTests/http/tests/htmlimports/resources/sniff-js.cgi 
      
        Source/core/dom/DocumentInit.cpp 
      
        Source/core/dom/ScriptLoader.h 
      
        Source/core/dom/ScriptLoader.cpp 
      
        Source/core/html/HTMLImport.h 
      
        Source/core/html/HTMLImportsController.cpp 
      
        Source/core/html/parser/HTMLDocumentParser.cpp 
      
        Source/core/html/parser/HTMLResourcePreloader.cpp 
      
        Source/core/loader/cache/ResourceFetcher.cpp